llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpy9dkpbzi.c' source_filename = "/tmp/tmpy9dkpbzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy9dkpbzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplus5i4d0.c' source_filename = "/tmp/tmplus5i4d0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %27, %0 %4 = call signext i8 (...) @getchar() store i8 %4, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = load i8, ptr @EOF, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %5, %7 br i1 %8, label %9, label %28 9: ; preds = %3 %10 = load i8, ptr %2, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 32 br i1 %12, label %21, label %13 13: ; preds = %9 %14 = load i8, ptr %2, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 10 br i1 %16, label %21, label %17 17: ; preds = %13 %18 = load i8, ptr %2, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 9 br i1 %20, label %21, label %23 21: ; preds = %17, %13, %9 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %27 23: ; preds = %17 %24 = load i8, ptr %2, align 1 %25 = sext i8 %24 to i32 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25) br label %27 27: ; preds = %23, %21 br label %3, !llvm.loop !6 28: ; preds = %3 ret i32 0 } declare signext i8 @getchar(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplus5i4d0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call signext i8 (...) @getchar() store i8 %3, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = load i8, ptr @EOF, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %4, %6 br i1 %7, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %26 %9 = load i8, ptr %2, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 32 br i1 %11, label %20, label %12 12: ; preds = %8 %13 = load i8, ptr %2, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 10 br i1 %15, label %20, label %16 16: ; preds = %12 %17 = load i8, ptr %2, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 9 br i1 %19, label %20, label %22 20: ; preds = %16, %12, %8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %26 22: ; preds = %16 %23 = load i8, ptr %2, align 1 %24 = sext i8 %23 to i32 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24) br label %26 26: ; preds = %22, %20 %27 = call signext i8 (...) @getchar() store i8 %27, ptr %2, align 1 %28 = sext i8 %27 to i32 %29 = load i8, ptr @EOF, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %28, %30 br i1 %31, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %0 ret i32 0 } declare signext i8 @getchar(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpusxyc5g0.c' source_filename = "/tmp/tmpusxyc5g0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpusxyc5g0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsd5ulgax.c' source_filename = "/tmp/tmpsd5ulgax.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_index(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 br label %5 5: ; preds = %9, %2 %6 = load i32, ptr %4, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %4, align 4 %8 = icmp sgt i32 %6, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = call i32 @get_next(ptr noundef %3) br label %5, !llvm.loop !6 11: ; preds = %5 %12 = load ptr, ptr %3, align 8 ret ptr %12 } declare i32 @get_next(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsd5ulgax.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_index(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = add nsw i32 %5, -1 store i32 %6, ptr %4, align 4 %7 = icmp sgt i32 %5, 0 br i1 %7, label %.lr.ph, label %13 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %8 %9 = call i32 @get_next(ptr noundef %3) %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %4, align 4 %12 = icmp sgt i32 %10, 0 br i1 %12, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %13 13: ; preds = %._crit_edge, %2 %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare i32 @get_next(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp432hr5jl.c' source_filename = "/tmp/tmp432hr5jl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__xfree(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @free(ptr noundef %8) %10 = load i32, ptr %4, align 4 ret i32 %10 } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp432hr5jl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__xfree(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @free(ptr noundef %8) %10 = load i32, ptr %4, align 4 ret i32 %10 } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfgvaiqw0.c' source_filename = "/tmp/tmpfgvaiqw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfgvaiqw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcasf4qmg.c' source_filename = "/tmp/tmpcasf4qmg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcasf4qmg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp33ldcnxy.c' source_filename = "/tmp/tmp33ldcnxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%4s%21s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"Year\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Amount on deposit\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%4d%21d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 100000, ptr %4, align 8 store i64 5, ptr %5, align 8 %9 = load i64, ptr %5, align 8 %10 = add nsw i64 %9, 100 store i64 %10, ptr %7, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) store i32 1, ptr %2, align 4 br label %12 12: ; preds = %38, %0 %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %13, 10 br i1 %14, label %15, label %41 15: ; preds = %12 %16 = load i64, ptr %7, align 8 store i64 %16, ptr %6, align 8 store i32 1, ptr %8, align 4 br label %17 17: ; preds = %27, %15 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %30 21: ; preds = %17 %22 = load i64, ptr %7, align 8 %23 = load i64, ptr %6, align 8 %24 = mul nsw i64 %23, %22 store i64 %24, ptr %6, align 8 %25 = load i64, ptr %6, align 8 %26 = sdiv i64 %25, 100 store i64 %26, ptr %6, align 8 br label %27 27: ; preds = %21 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 br label %17, !llvm.loop !6 30: ; preds = %17 %31 = load i64, ptr %4, align 8 %32 = load i64, ptr %6, align 8 %33 = mul nsw i64 %31, %32 %34 = sdiv i64 %33, 100 store i64 %34, ptr %3, align 8 %35 = load i32, ptr %2, align 4 %36 = load i64, ptr %3, align 8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %35, i64 noundef %36) br label %38 38: ; preds = %30 %39 = load i32, ptr %2, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %2, align 4 br label %12, !llvm.loop !8 41: ; preds = %12 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp33ldcnxy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%4s%21s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"Year\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"Amount on deposit\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%4d%21d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 100000, ptr %4, align 8 store i64 5, ptr %5, align 8 %9 = load i64, ptr %5, align 8 %10 = add nsw i64 %9, 100 store i64 %10, ptr %7, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) store i32 1, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp sle i32 %12, 10 br i1 %13, label %.lr.ph2, label %44 .lr.ph2: ; preds = %0 br label %14 14: ; preds = %.lr.ph2, %39 %15 = load i64, ptr %7, align 8 store i64 %15, ptr %6, align 8 store i32 1, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %31 .lr.ph: ; preds = %14 br label %19 19: ; preds = %.lr.ph, %25 %20 = load i64, ptr %7, align 8 %21 = load i64, ptr %6, align 8 %22 = mul nsw i64 %21, %20 store i64 %22, ptr %6, align 8 %23 = load i64, ptr %6, align 8 %24 = sdiv i64 %23, 100 store i64 %24, ptr %6, align 8 br label %25 25: ; preds = %19 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %14 %32 = load i64, ptr %4, align 8 %33 = load i64, ptr %6, align 8 %34 = mul nsw i64 %32, %33 %35 = sdiv i64 %34, 100 store i64 %35, ptr %3, align 8 %36 = load i32, ptr %2, align 4 %37 = load i64, ptr %3, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36, i64 noundef %37) br label %39 39: ; preds = %31 %40 = load i32, ptr %2, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %2, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp sle i32 %42, 10 br i1 %43, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %39 br label %44 44: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwuv4fobk.c' source_filename = "/tmp/tmpwuv4fobk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @chisqp(double noundef %0, i64 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i64, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 store double %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 0, ptr %13, align 4 %14 = load i64, ptr %5, align 8 %15 = urem i64 %14, 2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %2 store i32 1, ptr %13, align 4 br label %18 18: ; preds = %17, %2 %19 = load double, ptr %4, align 8 store double %19, ptr %6, align 8 %20 = load double, ptr %6, align 8 %21 = fcmp ole double %20, 0.000000e+00 br i1 %21, label %25, label %22 22: ; preds = %18 %23 = load i64, ptr %5, align 8 %24 = icmp ult i64 %23, 1 br i1 %24, label %25, label %26 25: ; preds = %22, %18 store double 1.000000e+00, ptr %3, align 8 br label %142 26: ; preds = %22 %27 = load double, ptr %6, align 8 %28 = fdiv double %27, 2.000000e+00 store double %28, ptr %7, align 8 %29 = load i64, ptr %5, align 8 %30 = icmp ugt i64 %29, 1 br i1 %30, label %31, label %42 31: ; preds = %26 %32 = load double, ptr %7, align 8 %33 = fneg double %32 %34 = fcmp olt double %33, -2.000000e+01 br i1 %34, label %35, label %36 35: ; preds = %31 br label %40 36: ; preds = %31 %37 = load double, ptr %7, align 8 %38 = fneg double %37 %39 = call double @exp(double noundef %38) #4 br label %40 40: ; preds = %36, %35 %41 = phi double [ 0.000000e+00, %35 ], [ %39, %36 ] store double %41, ptr %8, align 8 br label %42 42: ; preds = %40, %26 %43 = load i32, ptr %13, align 4 %44 = icmp eq i32 %43, 1 br i1 %44, label %45, label %47 45: ; preds = %42 %46 = load double, ptr %8, align 8 store double %46, ptr %9, align 8 br label %53 47: ; preds = %42 %48 = load double, ptr %6, align 8 %49 = call double @sqrt(double noundef %48) #4 %50 = fneg double %49 %51 = call double @zcdf(double noundef %50) %52 = fmul double 2.000000e+00, %51 store double %52, ptr %9, align 8 br label %53 53: ; preds = %47, %45 %54 = load i64, ptr %5, align 8 %55 = icmp ugt i64 %54, 2 br i1 %55, label %56, label %140 56: ; preds = %53 %57 = load i64, ptr %5, align 8 %58 = uitofp i64 %57 to double %59 = fsub double %58, 1.000000e+00 %60 = fdiv double %59, 2.000000e+00 store double %60, ptr %6, align 8 %61 = load i32, ptr %13, align 4 %62 = icmp eq i32 %61, 1 br i1 %62, label %63, label %64 63: ; preds = %56 store double 1.000000e+00, ptr %12, align 8 br label %65 64: ; preds = %56 store double 5.000000e-01, ptr %12, align 8 br label %65 65: ; preds = %64, %63 %66 = load double, ptr %7, align 8 %67 = fcmp ogt double %66, 2.000000e+01 br i1 %67, label %68, label %111 68: ; preds = %65 %69 = load i32, ptr %13, align 4 %70 = icmp eq i32 %69, 1 br i1 %70, label %71, label %72 71: ; preds = %68 store double 0.000000e+00, ptr %10, align 8 br label %73 72: ; preds = %68 store double 0x3FE250D048E7A1BD, ptr %10, align 8 br label %73 73: ; preds = %72, %71 %74 = load double, ptr %7, align 8 %75 = call double @log(double noundef %74) #4 store double %75, ptr %11, align 8 br label %76 76: ; preds = %103, %73 %77 = load double, ptr %12, align 8 %78 = load double, ptr %6, align 8 %79 = fcmp ole double %77, %78 br i1 %79, label %80, label %109 80: ; preds = %76 %81 = load double, ptr %12, align 8 %82 = call double @log(double noundef %81) #4 %83 = load double, ptr %10, align 8 %84 = fadd double %82, %83 store double %84, ptr %10, align 8 %85 = load double, ptr %11, align 8 %86 = load double, ptr %12, align 8 %87 = load double, ptr %7, align 8 %88 = fneg double %87 %89 = call double @llvm.fmuladd.f64(double %85, double %86, double %88) %90 = load double, ptr %10, align 8 %91 = fsub double %89, %90 %92 = fcmp olt double %91, -2.000000e+01 br i1 %92, label %93, label %94 93: ; preds = %80 br label %103 94: ; preds = %80 %95 = load double, ptr %11, align 8 %96 = load double, ptr %12, align 8 %97 = load double, ptr %7, align 8 %98 = fneg double %97 %99 = call double @llvm.fmuladd.f64(double %95, double %96, double %98) %100 = load double, ptr %10, align 8 %101 = fsub double %99, %100 %102 = call double @exp(double noundef %101) #4 br label %103 103: ; preds = %94, %93 %104 = phi double [ 0.000000e+00, %93 ], [ %102, %94 ] %105 = load double, ptr %9, align 8 %106 = fadd double %105, %104 store double %106, ptr %9, align 8 %107 = load double, ptr %12, align 8 %108 = fadd double %107, 1.000000e+00 store double %108, ptr %12, align 8 br label %76, !llvm.loop !6 109: ; preds = %76 %110 = load double, ptr %9, align 8 store double %110, ptr %3, align 8 br label %142 111: ; preds = %65 %112 = load i32, ptr %13, align 4 %113 = icmp eq i32 %112, 1 br i1 %113, label %114, label %115 114: ; preds = %111 store double 1.000000e+00, ptr %10, align 8 br label %119 115: ; preds = %111 %116 = load double, ptr %7, align 8 %117 = call double @sqrt(double noundef %116) #4 %118 = fdiv double 0x3FE20DD750429B6D, %117 store double %118, ptr %10, align 8 br label %119 119: ; preds = %115, %114 store double 0.000000e+00, ptr %11, align 8 br label %120 120: ; preds = %124, %119 %121 = load double, ptr %12, align 8 %122 = load double, ptr %6, align 8 %123 = fcmp ole double %121, %122 br i1 %123, label %124, label %135 124: ; preds = %120 %125 = load double, ptr %10, align 8 %126 = load double, ptr %7, align 8 %127 = load double, ptr %12, align 8 %128 = fdiv double %126, %127 %129 = fmul double %125, %128 store double %129, ptr %10, align 8 %130 = load double, ptr %11, align 8 %131 = load double, ptr %10, align 8 %132 = fadd double %130, %131 store double %132, ptr %11, align 8 %133 = load double, ptr %12, align 8 %134 = fadd double %133, 1.000000e+00 store double %134, ptr %12, align 8 br label %120, !llvm.loop !8 135: ; preds = %120 %136 = load double, ptr %11, align 8 %137 = load double, ptr %8, align 8 %138 = load double, ptr %9, align 8 %139 = call double @llvm.fmuladd.f64(double %136, double %137, double %138) store double %139, ptr %3, align 8 br label %142 140: ; preds = %53 %141 = load double, ptr %9, align 8 store double %141, ptr %3, align 8 br label %142 142: ; preds = %140, %135, %109, %25 %143 = load double, ptr %3, align 8 ret double %143 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 declare double @zcdf(double noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwuv4fobk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @chisqp(double noundef %0, i64 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i64, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 store double %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 0, ptr %13, align 4 %14 = load i64, ptr %5, align 8 %15 = urem i64 %14, 2 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %2 store i32 1, ptr %13, align 4 br label %18 18: ; preds = %17, %2 %19 = load double, ptr %4, align 8 store double %19, ptr %6, align 8 %20 = load double, ptr %6, align 8 %21 = fcmp ole double %20, 0.000000e+00 br i1 %21, label %25, label %22 22: ; preds = %18 %23 = load i64, ptr %5, align 8 %24 = icmp ult i64 %23, 1 br i1 %24, label %25, label %26 25: ; preds = %22, %18 store double 1.000000e+00, ptr %3, align 8 br label %146 26: ; preds = %22 %27 = load double, ptr %6, align 8 %28 = fdiv double %27, 2.000000e+00 store double %28, ptr %7, align 8 %29 = load i64, ptr %5, align 8 %30 = icmp ugt i64 %29, 1 br i1 %30, label %31, label %42 31: ; preds = %26 %32 = load double, ptr %7, align 8 %33 = fneg double %32 %34 = fcmp olt double %33, -2.000000e+01 br i1 %34, label %35, label %36 35: ; preds = %31 br label %40 36: ; preds = %31 %37 = load double, ptr %7, align 8 %38 = fneg double %37 %39 = call double @exp(double noundef %38) #4 br label %40 40: ; preds = %36, %35 %41 = phi double [ 0.000000e+00, %35 ], [ %39, %36 ] store double %41, ptr %8, align 8 br label %42 42: ; preds = %40, %26 %43 = load i32, ptr %13, align 4 %44 = icmp eq i32 %43, 1 br i1 %44, label %45, label %47 45: ; preds = %42 %46 = load double, ptr %8, align 8 store double %46, ptr %9, align 8 br label %53 47: ; preds = %42 %48 = load double, ptr %6, align 8 %49 = call double @sqrt(double noundef %48) #4 %50 = fneg double %49 %51 = call double @zcdf(double noundef %50) %52 = fmul double 2.000000e+00, %51 store double %52, ptr %9, align 8 br label %53 53: ; preds = %47, %45 %54 = load i64, ptr %5, align 8 %55 = icmp ugt i64 %54, 2 br i1 %55, label %56, label %144 56: ; preds = %53 %57 = load i64, ptr %5, align 8 %58 = uitofp i64 %57 to double %59 = fsub double %58, 1.000000e+00 %60 = fdiv double %59, 2.000000e+00 store double %60, ptr %6, align 8 %61 = load i32, ptr %13, align 4 %62 = icmp eq i32 %61, 1 br i1 %62, label %63, label %64 63: ; preds = %56 store double 1.000000e+00, ptr %12, align 8 br label %65 64: ; preds = %56 store double 5.000000e-01, ptr %12, align 8 br label %65 65: ; preds = %64, %63 %66 = load double, ptr %7, align 8 %67 = fcmp ogt double %66, 2.000000e+01 br i1 %67, label %68, label %113 68: ; preds = %65 %69 = load i32, ptr %13, align 4 %70 = icmp eq i32 %69, 1 br i1 %70, label %71, label %72 71: ; preds = %68 store double 0.000000e+00, ptr %10, align 8 br label %73 72: ; preds = %68 store double 0x3FE250D048E7A1BD, ptr %10, align 8 br label %73 73: ; preds = %72, %71 %74 = load double, ptr %7, align 8 %75 = call double @log(double noundef %74) #4 store double %75, ptr %11, align 8 %76 = load double, ptr %12, align 8 %77 = load double, ptr %6, align 8 %78 = fcmp ole double %76, %77 br i1 %78, label %.lr.ph2, label %111 .lr.ph2: ; preds = %73 br label %79 79: ; preds = %.lr.ph2, %102 %80 = load double, ptr %12, align 8 %81 = call double @log(double noundef %80) #4 %82 = load double, ptr %10, align 8 %83 = fadd double %81, %82 store double %83, ptr %10, align 8 %84 = load double, ptr %11, align 8 %85 = load double, ptr %12, align 8 %86 = load double, ptr %7, align 8 %87 = fneg double %86 %88 = call double @llvm.fmuladd.f64(double %84, double %85, double %87) %89 = load double, ptr %10, align 8 %90 = fsub double %88, %89 %91 = fcmp olt double %90, -2.000000e+01 br i1 %91, label %92, label %93 92: ; preds = %79 br label %102 93: ; preds = %79 %94 = load double, ptr %11, align 8 %95 = load double, ptr %12, align 8 %96 = load double, ptr %7, align 8 %97 = fneg double %96 %98 = call double @llvm.fmuladd.f64(double %94, double %95, double %97) %99 = load double, ptr %10, align 8 %100 = fsub double %98, %99 %101 = call double @exp(double noundef %100) #4 br label %102 102: ; preds = %93, %92 %103 = phi double [ 0.000000e+00, %92 ], [ %101, %93 ] %104 = load double, ptr %9, align 8 %105 = fadd double %104, %103 store double %105, ptr %9, align 8 %106 = load double, ptr %12, align 8 %107 = fadd double %106, 1.000000e+00 store double %107, ptr %12, align 8 %108 = load double, ptr %12, align 8 %109 = load double, ptr %6, align 8 %110 = fcmp ole double %108, %109 br i1 %110, label %79, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %102 br label %111 111: ; preds = %._crit_edge3, %73 %112 = load double, ptr %9, align 8 store double %112, ptr %3, align 8 br label %146 113: ; preds = %65 %114 = load i32, ptr %13, align 4 %115 = icmp eq i32 %114, 1 br i1 %115, label %116, label %117 116: ; preds = %113 store double 1.000000e+00, ptr %10, align 8 br label %121 117: ; preds = %113 %118 = load double, ptr %7, align 8 %119 = call double @sqrt(double noundef %118) #4 %120 = fdiv double 0x3FE20DD750429B6D, %119 store double %120, ptr %10, align 8 br label %121 121: ; preds = %117, %116 store double 0.000000e+00, ptr %11, align 8 %122 = load double, ptr %12, align 8 %123 = load double, ptr %6, align 8 %124 = fcmp ole double %122, %123 br i1 %124, label %.lr.ph, label %139 .lr.ph: ; preds = %121 br label %125 125: ; preds = %.lr.ph, %125 %126 = load double, ptr %10, align 8 %127 = load double, ptr %7, align 8 %128 = load double, ptr %12, align 8 %129 = fdiv double %127, %128 %130 = fmul double %126, %129 store double %130, ptr %10, align 8 %131 = load double, ptr %11, align 8 %132 = load double, ptr %10, align 8 %133 = fadd double %131, %132 store double %133, ptr %11, align 8 %134 = load double, ptr %12, align 8 %135 = fadd double %134, 1.000000e+00 store double %135, ptr %12, align 8 %136 = load double, ptr %12, align 8 %137 = load double, ptr %6, align 8 %138 = fcmp ole double %136, %137 br i1 %138, label %125, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %125 br label %139 139: ; preds = %._crit_edge, %121 %140 = load double, ptr %11, align 8 %141 = load double, ptr %8, align 8 %142 = load double, ptr %9, align 8 %143 = call double @llvm.fmuladd.f64(double %140, double %141, double %142) store double %143, ptr %3, align 8 br label %146 144: ; preds = %53 %145 = load double, ptr %9, align 8 store double %145, ptr %3, align 8 br label %146 146: ; preds = %144, %139, %111, %25 %147 = load double, ptr %3, align 8 ret double %147 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 declare double @zcdf(double noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5p517kp7.c' source_filename = "/tmp/tmp5p517kp7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @knapsack(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %6, align 4 store i32 %10, ptr %9, align 4 br label %11 11: ; preds = %35, %4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp sge i32 %12, %13 br i1 %14, label %15, label %38 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %22, %23 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %21, i64 %25 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %27, %28 %30 = call i32 @max(i32 noundef %20, i32 noundef %29) %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 store i32 %30, ptr %34, align 4 br label %35 35: ; preds = %15 %36 = load i32, ptr %9, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %9, align 4 br label %11, !llvm.loop !6 38: ; preds = %11 ret void } declare i32 @max(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5p517kp7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @knapsack(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %6, align 4 store i32 %10, ptr %9, align 4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp sge i32 %11, %12 br i1 %13, label %.lr.ph, label %40 .lr.ph: ; preds = %4 br label %14 14: ; preds = %.lr.ph, %34 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = sub nsw i32 %21, %22 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %20, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %26, %27 %29 = call i32 @max(i32 noundef %19, i32 noundef %28) %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 store i32 %29, ptr %33, align 4 br label %34 34: ; preds = %14 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp sge i32 %37, %38 br i1 %39, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %4 ret void } declare i32 @max(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1xgofc52.c' source_filename = "/tmp/tmp1xgofc52.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"\0AOpenSHMEM Analyzer\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @shmem_putmem(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1xgofc52.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"\0AOpenSHMEM Analyzer\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @shmem_putmem(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz889m8id.c' source_filename = "/tmp/tmpz889m8id.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"I like eating your stones...\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Your stones are so sweet!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @make_move(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %11 = load ptr, ptr %8, align 8 %12 = load i32, ptr %7, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 store i32 %15, ptr %10, align 4 %16 = load ptr, ptr %8, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 store i32 0, ptr %19, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %10, align 4 %26 = call i32 @draw_move(i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef 0) br label %27 27: ; preds = %22, %4 br label %28 28: ; preds = %194, %27 br label %29 29: ; preds = %137, %28 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %7, align 4 %32 = icmp slt i32 %31, 6 br i1 %32, label %33, label %138 33: ; preds = %29 %34 = load ptr, ptr %8, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %37, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %56 42: ; preds = %33 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %7, align 4 %45 = load ptr, ptr %8, align 8 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = load ptr, ptr %8, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = call i32 @draw_move(i32 noundef %43, i32 noundef %44, i32 noundef %49, i32 noundef %54) br label %56 56: ; preds = %42, %33 %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, -1 store i32 %58, ptr %10, align 4 %59 = icmp slt i32 %58, 1 br i1 %59, label %60, label %137 60: ; preds = %56 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = icmp eq i32 %65, 1 br i1 %66, label %67, label %136 67: ; preds = %60 %68 = load ptr, ptr %9, align 8 %69 = load i32, ptr %7, align 4 %70 = sub nsw i32 5, %69 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %68, i64 %71 %73 = load i32, ptr %72, align 4 %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %136 75: ; preds = %67 %76 = load i32, ptr %6, align 4 %77 = icmp ne i32 %76, 0 br i1 %77, label %78, label %103 78: ; preds = %75 %79 = load i32, ptr %6, align 4 %80 = icmp eq i32 %79, 97 br i1 %80, label %81, label %88 81: ; preds = %78 %82 = call i32 (...) @rand() %83 = and i32 %82, 1 %84 = icmp ne i32 %83, 0 %85 = zext i1 %84 to i64 %86 = select i1 %84, ptr @.str, ptr @.str.1 %87 = call i32 @message(ptr noundef %86) br label %88 88: ; preds = %81, %78 %89 = load i32, ptr %6, align 4 %90 = xor i32 %89, 3 %91 = load i32, ptr %7, align 4 %92 = sub nsw i32 5, %91 %93 = load ptr, ptr %9, align 8 %94 = load i32, ptr %7, align 4 %95 = sub nsw i32 5, %94 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %93, i64 %96 %98 = load i32, ptr %97, align 4 %99 = call i32 @draw_move(i32 noundef %90, i32 noundef %92, i32 noundef %98, i32 noundef 0) %100 = load i32, ptr %6, align 4 %101 = load i32, ptr %7, align 4 %102 = call i32 @draw_move(i32 noundef %100, i32 noundef %101, i32 noundef 0, i32 noundef 0) br label %103 103: ; preds = %88, %75 %104 = load ptr, ptr %9, align 8 %105 = load i32, ptr %7, align 4 %106 = sub nsw i32 5, %105 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %104, i64 %107 %109 = load i32, ptr %108, align 4 %110 = add nsw i32 %109, 1 %111 = load ptr, ptr %8, align 8 %112 = getelementptr inbounds i32, ptr %111, i64 6 %113 = load i32, ptr %112, align 4 %114 = add nsw i32 %113, %110 store i32 %114, ptr %112, align 4 %115 = load ptr, ptr %9, align 8 %116 = load i32, ptr %7, align 4 %117 = sub nsw i32 5, %116 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i32, ptr %115, i64 %118 store i32 0, ptr %119, align 4 %120 = load ptr, ptr %8, align 8 %121 = load i32, ptr %7, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i32, ptr %120, i64 %122 store i32 0, ptr %123, align 4 %124 = load i32, ptr %6, align 4 %125 = icmp ne i32 %124, 0 br i1 %125, label %126, label %135 126: ; preds = %103 %127 = load i32, ptr %6, align 4 %128 = load ptr, ptr %8, align 8 %129 = getelementptr inbounds i32, ptr %128, i64 6 %130 = load i32, ptr %129, align 4 %131 = load ptr, ptr %8, align 8 %132 = getelementptr inbounds i32, ptr %131, i64 6 %133 = load i32, ptr %132, align 4 %134 = call i32 @draw_move(i32 noundef 107, i32 noundef %127, i32 noundef %130, i32 noundef %133) br label %135 135: ; preds = %126, %103 br label %136 136: ; preds = %135, %67, %60 store i32 1, ptr %5, align 4 br label %195 137: ; preds = %56 br label %29, !llvm.loop !6 138: ; preds = %29 %139 = load ptr, ptr %8, align 8 %140 = getelementptr inbounds i32, ptr %139, i64 6 %141 = load i32, ptr %140, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %140, align 4 %143 = load i32, ptr %6, align 4 %144 = icmp ne i32 %143, 0 br i1 %144, label %145, label %154 145: ; preds = %138 %146 = load i32, ptr %6, align 4 %147 = load ptr, ptr %8, align 8 %148 = getelementptr inbounds i32, ptr %147, i64 6 %149 = load i32, ptr %148, align 4 %150 = load ptr, ptr %8, align 8 %151 = getelementptr inbounds i32, ptr %150, i64 6 %152 = load i32, ptr %151, align 4 %153 = call i32 @draw_move(i32 noundef 107, i32 noundef %146, i32 noundef %149, i32 noundef %152) br label %154 154: ; preds = %145, %138 %155 = load i32, ptr %10, align 4 %156 = add nsw i32 %155, -1 store i32 %156, ptr %10, align 4 %157 = icmp slt i32 %156, 1 br i1 %157, label %158, label %159 158: ; preds = %154 store i32 0, ptr %5, align 4 br label %195 159: ; preds = %154 store i32 -1, ptr %7, align 4 br label %160 160: ; preds = %193, %159 %161 = load i32, ptr %7, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %7, align 4 %163 = icmp slt i32 %162, 6 br i1 %163, label %164, label %194 164: ; preds = %160 %165 = load ptr, ptr %9, align 8 %166 = load i32, ptr %7, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds i32, ptr %165, i64 %167 %169 = load i32, ptr %168, align 4 %170 = add nsw i32 %169, 1 store i32 %170, ptr %168, align 4 %171 = load i32, ptr %6, align 4 %172 = icmp ne i32 %171, 0 br i1 %172, label %173, label %188 173: ; preds = %164 %174 = load i32, ptr %6, align 4 %175 = xor i32 %174, 3 %176 = load i32, ptr %7, align 4 %177 = load ptr, ptr %9, align 8 %178 = load i32, ptr %7, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds i32, ptr %177, i64 %179 %181 = load i32, ptr %180, align 4 %182 = load ptr, ptr %9, align 8 %183 = load i32, ptr %7, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds i32, ptr %182, i64 %184 %186 = load i32, ptr %185, align 4 %187 = call i32 @draw_move(i32 noundef %175, i32 noundef %176, i32 noundef %181, i32 noundef %186) br label %188 188: ; preds = %173, %164 %189 = load i32, ptr %10, align 4 %190 = add nsw i32 %189, -1 store i32 %190, ptr %10, align 4 %191 = icmp slt i32 %190, 1 br i1 %191, label %192, label %193 192: ; preds = %188 store i32 1, ptr %5, align 4 br label %195 193: ; preds = %188 br label %160, !llvm.loop !8 194: ; preds = %160 store i32 -1, ptr %7, align 4 br label %28 195: ; preds = %192, %158, %136 %196 = load i32, ptr %5, align 4 ret i32 %196 } declare i32 @draw_move(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @message(ptr noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz889m8id.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"I like eating your stones...\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Your stones are so sweet!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @make_move(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %11 = load ptr, ptr %8, align 8 %12 = load i32, ptr %7, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 store i32 %15, ptr %10, align 4 %16 = load ptr, ptr %8, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 store i32 0, ptr %19, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %10, align 4 %26 = call i32 @draw_move(i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef 0) br label %27 27: ; preds = %22, %4 br label %28 28: ; preds = %198, %27 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 %31 = icmp slt i32 %30, 6 br i1 %31, label %.lr.ph, label %140 .lr.ph: ; preds = %28 br label %36 32: ; preds = %59 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = icmp slt i32 %34, 6 br i1 %35, label %36, label %._crit_edge, !llvm.loop !6 36: ; preds = %.lr.ph, %32 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %40, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %59 45: ; preds = %36 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %7, align 4 %48 = load ptr, ptr %8, align 8 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %8, align 8 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load i32, ptr %56, align 4 %58 = call i32 @draw_move(i32 noundef %46, i32 noundef %47, i32 noundef %52, i32 noundef %57) br label %59 59: ; preds = %45, %36 %60 = load i32, ptr %10, align 4 %61 = add nsw i32 %60, -1 store i32 %61, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %63, label %32 63: ; preds = %59 %64 = load ptr, ptr %8, align 8 %65 = load i32, ptr %7, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 %69 = icmp eq i32 %68, 1 br i1 %69, label %70, label %139 70: ; preds = %63 %71 = load ptr, ptr %9, align 8 %72 = load i32, ptr %7, align 4 %73 = sub nsw i32 5, %72 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %71, i64 %74 %76 = load i32, ptr %75, align 4 %77 = icmp ne i32 %76, 0 br i1 %77, label %78, label %139 78: ; preds = %70 %79 = load i32, ptr %6, align 4 %80 = icmp ne i32 %79, 0 br i1 %80, label %81, label %106 81: ; preds = %78 %82 = load i32, ptr %6, align 4 %83 = icmp eq i32 %82, 97 br i1 %83, label %84, label %91 84: ; preds = %81 %85 = call i32 (...) @rand() %86 = and i32 %85, 1 %87 = icmp ne i32 %86, 0 %88 = zext i1 %87 to i64 %89 = select i1 %87, ptr @.str, ptr @.str.1 %90 = call i32 @message(ptr noundef %89) br label %91 91: ; preds = %84, %81 %92 = load i32, ptr %6, align 4 %93 = xor i32 %92, 3 %94 = load i32, ptr %7, align 4 %95 = sub nsw i32 5, %94 %96 = load ptr, ptr %9, align 8 %97 = load i32, ptr %7, align 4 %98 = sub nsw i32 5, %97 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %96, i64 %99 %101 = load i32, ptr %100, align 4 %102 = call i32 @draw_move(i32 noundef %93, i32 noundef %95, i32 noundef %101, i32 noundef 0) %103 = load i32, ptr %6, align 4 %104 = load i32, ptr %7, align 4 %105 = call i32 @draw_move(i32 noundef %103, i32 noundef %104, i32 noundef 0, i32 noundef 0) br label %106 106: ; preds = %91, %78 %107 = load ptr, ptr %9, align 8 %108 = load i32, ptr %7, align 4 %109 = sub nsw i32 5, %108 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %107, i64 %110 %112 = load i32, ptr %111, align 4 %113 = add nsw i32 %112, 1 %114 = load ptr, ptr %8, align 8 %115 = getelementptr inbounds i32, ptr %114, i64 6 %116 = load i32, ptr %115, align 4 %117 = add nsw i32 %116, %113 store i32 %117, ptr %115, align 4 %118 = load ptr, ptr %9, align 8 %119 = load i32, ptr %7, align 4 %120 = sub nsw i32 5, %119 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i32, ptr %118, i64 %121 store i32 0, ptr %122, align 4 %123 = load ptr, ptr %8, align 8 %124 = load i32, ptr %7, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i32, ptr %123, i64 %125 store i32 0, ptr %126, align 4 %127 = load i32, ptr %6, align 4 %128 = icmp ne i32 %127, 0 br i1 %128, label %129, label %138 129: ; preds = %106 %130 = load i32, ptr %6, align 4 %131 = load ptr, ptr %8, align 8 %132 = getelementptr inbounds i32, ptr %131, i64 6 %133 = load i32, ptr %132, align 4 %134 = load ptr, ptr %8, align 8 %135 = getelementptr inbounds i32, ptr %134, i64 6 %136 = load i32, ptr %135, align 4 %137 = call i32 @draw_move(i32 noundef 107, i32 noundef %130, i32 noundef %133, i32 noundef %136) br label %138 138: ; preds = %129, %106 br label %139 139: ; preds = %138, %70, %63 store i32 1, ptr %5, align 4 br label %199 ._crit_edge: ; preds = %32 br label %140 140: ; preds = %._crit_edge, %28 %141 = load ptr, ptr %8, align 8 %142 = getelementptr inbounds i32, ptr %141, i64 6 %143 = load i32, ptr %142, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %142, align 4 %145 = load i32, ptr %6, align 4 %146 = icmp ne i32 %145, 0 br i1 %146, label %147, label %156 147: ; preds = %140 %148 = load i32, ptr %6, align 4 %149 = load ptr, ptr %8, align 8 %150 = getelementptr inbounds i32, ptr %149, i64 6 %151 = load i32, ptr %150, align 4 %152 = load ptr, ptr %8, align 8 %153 = getelementptr inbounds i32, ptr %152, i64 6 %154 = load i32, ptr %153, align 4 %155 = call i32 @draw_move(i32 noundef 107, i32 noundef %148, i32 noundef %151, i32 noundef %154) br label %156 156: ; preds = %147, %140 %157 = load i32, ptr %10, align 4 %158 = add nsw i32 %157, -1 store i32 %158, ptr %10, align 4 %159 = icmp slt i32 %158, 1 br i1 %159, label %160, label %161 160: ; preds = %156 store i32 0, ptr %5, align 4 br label %199 161: ; preds = %156 store i32 -1, ptr %7, align 4 %162 = load i32, ptr %7, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %7, align 4 %164 = icmp slt i32 %163, 6 br i1 %164, label %.lr.ph2, label %198 .lr.ph2: ; preds = %161 br label %169 165: ; preds = %193 %166 = load i32, ptr %7, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %7, align 4 %168 = icmp slt i32 %167, 6 br i1 %168, label %169, label %._crit_edge3, !llvm.loop !8 169: ; preds = %.lr.ph2, %165 %170 = load ptr, ptr %9, align 8 %171 = load i32, ptr %7, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds i32, ptr %170, i64 %172 %174 = load i32, ptr %173, align 4 %175 = add nsw i32 %174, 1 store i32 %175, ptr %173, align 4 %176 = load i32, ptr %6, align 4 %177 = icmp ne i32 %176, 0 br i1 %177, label %178, label %193 178: ; preds = %169 %179 = load i32, ptr %6, align 4 %180 = xor i32 %179, 3 %181 = load i32, ptr %7, align 4 %182 = load ptr, ptr %9, align 8 %183 = load i32, ptr %7, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds i32, ptr %182, i64 %184 %186 = load i32, ptr %185, align 4 %187 = load ptr, ptr %9, align 8 %188 = load i32, ptr %7, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds i32, ptr %187, i64 %189 %191 = load i32, ptr %190, align 4 %192 = call i32 @draw_move(i32 noundef %180, i32 noundef %181, i32 noundef %186, i32 noundef %191) br label %193 193: ; preds = %178, %169 %194 = load i32, ptr %10, align 4 %195 = add nsw i32 %194, -1 store i32 %195, ptr %10, align 4 %196 = icmp slt i32 %195, 1 br i1 %196, label %197, label %165 197: ; preds = %193 store i32 1, ptr %5, align 4 br label %199 ._crit_edge3: ; preds = %165 br label %198 198: ; preds = %._crit_edge3, %161 store i32 -1, ptr %7, align 4 br label %28 199: ; preds = %197, %160, %139 %200 = load i32, ptr %5, align 4 ret i32 %200 } declare i32 @draw_move(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @message(ptr noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp71oo05f9.c' source_filename = "/tmp/tmp71oo05f9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"This program sums a series of integers.\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Enter integers (0 to terminate): \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"The sum is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) br label %7 7: ; preds = %10, %0 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, %11 store i32 %13, ptr %3, align 4 %14 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) br label %7, !llvm.loop !6 15: ; preds = %7 %16 = load i32, ptr %3, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %16) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp71oo05f9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"This program sums a series of integers.\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Enter integers (0 to terminate): \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"The sum is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, %10 store i32 %12, ptr %3, align 4 %13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %14 = load i32, ptr %2, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %16 16: ; preds = %._crit_edge, %0 %17 = load i32, ptr %3, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9xzjagvx.c' source_filename = "/tmp/tmp9xzjagvx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"callstack_head\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"callstack_head++;\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @push_callstack(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @write_mem(ptr noundef %3, ptr noundef @.str) %5 = call i32 @pA(ptr noundef @.str.1) ret void } declare i32 @write_mem(ptr noundef, ptr noundef) #1 declare i32 @pA(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9xzjagvx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"callstack_head\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"callstack_head++;\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @push_callstack(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @write_mem(ptr noundef %3, ptr noundef @.str) %5 = call i32 @pA(ptr noundef @.str.1) ret void } declare i32 @write_mem(ptr noundef, ptr noundef) #1 declare i32 @pA(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw8sl0xrd.c' source_filename = "/tmp/tmpw8sl0xrd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw8sl0xrd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxoyloq_6.c' source_filename = "/tmp/tmpxoyloq_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_XMotionEvent_serial(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 ret i64 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxoyloq_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_XMotionEvent_serial(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 ret i64 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpixokn2ts.c' source_filename = "/tmp/tmpixokn2ts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mlt_sample_calculator(float noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca i32, align 4 %6 = alloca i64, align 8 store float %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %7 = load float, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load i64, ptr %6, align 8 %10 = add nsw i64 %9, 1 %11 = call i32 @mlt_sample_calculator_to_now(float noundef %7, i32 noundef %8, i64 noundef %10) %12 = load float, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = load i64, ptr %6, align 8 %15 = call i32 @mlt_sample_calculator_to_now(float noundef %12, i32 noundef %13, i64 noundef %14) %16 = sub nsw i32 %11, %15 ret i32 %16 } declare i32 @mlt_sample_calculator_to_now(float noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpixokn2ts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mlt_sample_calculator(float noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca i32, align 4 %6 = alloca i64, align 8 store float %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %7 = load float, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load i64, ptr %6, align 8 %10 = add nsw i64 %9, 1 %11 = call i32 @mlt_sample_calculator_to_now(float noundef %7, i32 noundef %8, i64 noundef %10) %12 = load float, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = load i64, ptr %6, align 8 %15 = call i32 @mlt_sample_calculator_to_now(float noundef %12, i32 noundef %13, i64 noundef %14) %16 = sub nsw i32 %11, %15 ret i32 %16 } declare i32 @mlt_sample_calculator_to_now(float noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl3068k7t.c' source_filename = "/tmp/tmpl3068k7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @mylibA() %3 = call i32 (...) @mylibD() %4 = add nsw i32 %2, %3 ret i32 %4 } declare i32 @mylibA(...) #1 declare i32 @mylibD(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl3068k7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @mylibA() %3 = call i32 (...) @mylibD() %4 = add nsw i32 %2, %3 ret i32 %4 } declare i32 @mylibA(...) #1 declare i32 @mylibD(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk69kvfxw.c' source_filename = "/tmp/tmpk69kvfxw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk69kvfxw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9giw3mkc.c' source_filename = "/tmp/tmp9giw3mkc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Conways Game of life\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"-h,--help\09display this message\0A\00", align 1 @.str.2 = private unnamed_addr constant [99 x i8] c"-d\09\09Debug mode, prints the key code of a key press,\0A\09\09waits for you to hit another key then exits\0A\00", align 1 @.str.3 = private unnamed_addr constant [42 x i8] c"-e,--editor\09Start the interactive editor\0A\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c"--engine\09Run the engine example\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"--glider\09Run the glider example\0A\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c"--gun\09\09Run the glider gun example\0A\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"--pulsar\09Run the pulsar example\0A\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"--pentimino\09Run the R-pentimino example\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9giw3mkc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Conways Game of life\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"-h,--help\09display this message\0A\00", align 1 @.str.2 = private unnamed_addr constant [99 x i8] c"-d\09\09Debug mode, prints the key code of a key press,\0A\09\09waits for you to hit another key then exits\0A\00", align 1 @.str.3 = private unnamed_addr constant [42 x i8] c"-e,--editor\09Start the interactive editor\0A\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c"--engine\09Run the engine example\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"--glider\09Run the glider example\0A\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c"--gun\09\09Run the glider gun example\0A\00", align 1 @.str.7 = private unnamed_addr constant [33 x i8] c"--pulsar\09Run the pulsar example\0A\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"--pentimino\09Run the R-pentimino example\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpimel8zob.c' source_filename = "/tmp/tmpimel8zob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpimel8zob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8fhaqska.c' source_filename = "/tmp/tmp8fhaqska.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8fhaqska.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppe_mqg5z.c' source_filename = "/tmp/tmppe_mqg5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"cmd line arguments:\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c" int mwidthension of matrices,\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c" int size of population,\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c" int number of annealing steps.\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"example: ./matrix 5 100 100\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @__const.main.lhs = private unnamed_addr constant [5 x i32] [i32 0, i32 0, i32 1, i32 1, i32 -1], align 16 @__const.main.rhs = private unnamed_addr constant [7 x i32] [i32 1, i32 1, i32 1, i32 0, i32 0, i32 0, i32 -1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [5 x i32], align 16 %10 = alloca [7 x i32], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %11 = load i32, ptr %3, align 4 %12 = icmp ne i32 4, %11 br i1 %12, label %13, label %25 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str) %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1) %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2) %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.3) %22 = load i32, ptr @stderr, align 4 %23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.4) %24 = call i32 @exit(i32 noundef -1) #4 unreachable 25: ; preds = %2 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call i32 @sscanf(ptr noundef %28, ptr noundef @.str.5, ptr noundef %5) %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 2 %32 = load ptr, ptr %31, align 8 %33 = call i32 @sscanf(ptr noundef %32, ptr noundef @.str.5, ptr noundef %6) %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 3 %36 = load ptr, ptr %35, align 8 %37 = call i32 @sscanf(ptr noundef %36, ptr noundef @.str.5, ptr noundef %7) store i32 2, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.lhs, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.rhs, i64 28, i1 false) %38 = call i32 (...) @init_random_generator() %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %7, align 4 %41 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %42 = getelementptr inbounds [7 x i32], ptr %10, i64 0, i64 0 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %5, align 4 %45 = call i32 @evolution(i32 noundef %39, i32 noundef %40, ptr noundef %41, ptr noundef %42, i32 noundef %43, i32 noundef %44) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @init_random_generator(...) #1 declare i32 @evolution(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppe_mqg5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"cmd line arguments:\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c" int mwidthension of matrices,\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c" int size of population,\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c" int number of annealing steps.\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"example: ./matrix 5 100 100\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @__const.main.lhs = private unnamed_addr constant [5 x i32] [i32 0, i32 0, i32 1, i32 1, i32 -1], align 16 @__const.main.rhs = private unnamed_addr constant [7 x i32] [i32 1, i32 1, i32 1, i32 0, i32 0, i32 0, i32 -1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [5 x i32], align 16 %10 = alloca [7 x i32], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %11 = load i32, ptr %3, align 4 %12 = icmp ne i32 4, %11 br i1 %12, label %13, label %25 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str) %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1) %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2) %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.3) %22 = load i32, ptr @stderr, align 4 %23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.4) %24 = call i32 @exit(i32 noundef -1) #4 unreachable 25: ; preds = %2 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = call i32 @sscanf(ptr noundef %28, ptr noundef @.str.5, ptr noundef %5) %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 2 %32 = load ptr, ptr %31, align 8 %33 = call i32 @sscanf(ptr noundef %32, ptr noundef @.str.5, ptr noundef %6) %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 3 %36 = load ptr, ptr %35, align 8 %37 = call i32 @sscanf(ptr noundef %36, ptr noundef @.str.5, ptr noundef %7) store i32 2, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.lhs, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.rhs, i64 28, i1 false) %38 = call i32 (...) @init_random_generator() %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %7, align 4 %41 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 0 %42 = getelementptr inbounds [7 x i32], ptr %10, i64 0, i64 0 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %5, align 4 %45 = call i32 @evolution(i32 noundef %39, i32 noundef %40, ptr noundef %41, ptr noundef %42, i32 noundef %43, i32 noundef %44) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @init_random_generator(...) #1 declare i32 @evolution(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1xprluu3.c' source_filename = "/tmp/tmp1xprluu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @skipPunct(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 br label %7 7: ; preds = %25, %2 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp ult ptr %8, %9 br i1 %10, label %11, label %23 11: ; preds = %7 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = call i64 @isspace(i8 noundef signext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = call i64 @ispunct(i8 noundef signext %18) %20 = icmp ne i64 %19, 0 br label %21 21: ; preds = %16, %11 %22 = phi i1 [ true, %11 ], [ %20, %16 ] br label %23 23: ; preds = %21, %7 %24 = phi i1 [ false, %7 ], [ %22, %21 ] br i1 %24, label %25, label %28 25: ; preds = %23 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %5, align 8 br label %7, !llvm.loop !6 28: ; preds = %23 %29 = load ptr, ptr %5, align 8 ret ptr %29 } declare i64 @isspace(i8 noundef signext) #1 declare i64 @ispunct(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1xprluu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @skipPunct(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 br label %7 7: ; preds = %25, %2 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp ult ptr %8, %9 br i1 %10, label %11, label %23 11: ; preds = %7 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = call i64 @isspace(i8 noundef signext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = call i64 @ispunct(i8 noundef signext %18) %20 = icmp ne i64 %19, 0 br label %21 21: ; preds = %16, %11 %22 = phi i1 [ true, %11 ], [ %20, %16 ] br label %23 23: ; preds = %21, %7 %24 = phi i1 [ false, %7 ], [ %22, %21 ] br i1 %24, label %25, label %28 25: ; preds = %23 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %5, align 8 br label %7, !llvm.loop !6 28: ; preds = %23 %29 = load ptr, ptr %5, align 8 ret ptr %29 } declare i64 @isspace(i8 noundef signext) #1 declare i64 @ispunct(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpi72dbbj1.c' source_filename = "/tmp/tmpi72dbbj1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"/dev/ker_rw\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"can't open /dev/ker_rw\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"r8\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"%02d. [%08x] = %02x\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"r16\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"%02d. [%08x] = %04x\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"r32\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"%02d. [%08x] = %08x\0A\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"w8\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"w16\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"w32\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [2 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 3 br i1 %11, label %12, label %20 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 4 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 %19 = call i32 @print_usage(ptr noundef %18) store i32 -1, ptr %3, align 4 br label %173 20: ; preds = %12, %2 %21 = load i32, ptr @O_RDWR, align 4 %22 = call i32 @open(ptr noundef @.str, i32 noundef %21) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %20 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -2, ptr %3, align 4 br label %173 27: ; preds = %20 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 @strtoul(ptr noundef %30, ptr noundef null, i32 noundef 0) %32 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 store i32 %31, ptr %32, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp eq i32 %33, 4 br i1 %34, label %35, label %43 35: ; preds = %27 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 3 %38 = load ptr, ptr %37, align 8 %39 = call i32 @strtoul(ptr noundef %38, ptr noundef null, i32 noundef 0) %40 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 store i32 %39, ptr %40, align 4 %41 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %9, align 4 br label %44 43: ; preds = %27 store i32 1, ptr %9, align 4 br label %44 44: ; preds = %43, %35 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 1 %47 = load ptr, ptr %46, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.2) %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %74 50: ; preds = %44 store i32 0, ptr %8, align 4 br label %51 51: ; preds = %70, %50 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %9, align 4 %54 = icmp ult i32 %52, %53 br i1 %54, label %55, label %73 55: ; preds = %51 %56 = load i32, ptr %6, align 4 %57 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %58 = call i32 @ioctl(i32 noundef %56, i32 noundef 100, ptr noundef %57) %59 = load i32, ptr %8, align 4 %60 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %61 = load i32, ptr %60, align 4 %62 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %63 = load i32, ptr %62, align 4 %64 = trunc i32 %63 to i8 %65 = zext i8 %64 to i32 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %59, i32 noundef %61, i32 noundef %65) %67 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %68 = load i32, ptr %67, align 4 %69 = add i32 %68, 1 store i32 %69, ptr %67, align 4 br label %70 70: ; preds = %55 %71 = load i32, ptr %8, align 4 %72 = add i32 %71, 1 store i32 %72, ptr %8, align 4 br label %51, !llvm.loop !6 73: ; preds = %51 br label %172 74: ; preds = %44 %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds ptr, ptr %75, i64 1 %77 = load ptr, ptr %76, align 8 %78 = call i64 @strcmp(ptr noundef %77, ptr noundef @.str.4) %79 = icmp eq i64 %78, 0 br i1 %79, label %80, label %104 80: ; preds = %74 store i32 0, ptr %8, align 4 br label %81 81: ; preds = %100, %80 %82 = load i32, ptr %8, align 4 %83 = load i32, ptr %9, align 4 %84 = icmp ult i32 %82, %83 br i1 %84, label %85, label %103 85: ; preds = %81 %86 = load i32, ptr %6, align 4 %87 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %88 = call i32 @ioctl(i32 noundef %86, i32 noundef 101, ptr noundef %87) %89 = load i32, ptr %8, align 4 %90 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %91 = load i32, ptr %90, align 4 %92 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %93 = load i32, ptr %92, align 4 %94 = trunc i32 %93 to i16 %95 = zext i16 %94 to i32 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %89, i32 noundef %91, i32 noundef %95) %97 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %98 = load i32, ptr %97, align 4 %99 = add i32 %98, 2 store i32 %99, ptr %97, align 4 br label %100 100: ; preds = %85 %101 = load i32, ptr %8, align 4 %102 = add i32 %101, 1 store i32 %102, ptr %8, align 4 br label %81, !llvm.loop !8 103: ; preds = %81 br label %171 104: ; preds = %74 %105 = load ptr, ptr %5, align 8 %106 = getelementptr inbounds ptr, ptr %105, i64 1 %107 = load ptr, ptr %106, align 8 %108 = call i64 @strcmp(ptr noundef %107, ptr noundef @.str.6) %109 = icmp eq i64 %108, 0 br i1 %109, label %110, label %132 110: ; preds = %104 store i32 0, ptr %8, align 4 br label %111 111: ; preds = %128, %110 %112 = load i32, ptr %8, align 4 %113 = load i32, ptr %9, align 4 %114 = icmp ult i32 %112, %113 br i1 %114, label %115, label %131 115: ; preds = %111 %116 = load i32, ptr %6, align 4 %117 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %118 = call i32 @ioctl(i32 noundef %116, i32 noundef 102, ptr noundef %117) %119 = load i32, ptr %8, align 4 %120 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %121 = load i32, ptr %120, align 4 %122 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %123 = load i32, ptr %122, align 4 %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %119, i32 noundef %121, i32 noundef %123) %125 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %126 = load i32, ptr %125, align 4 %127 = add i32 %126, 4 store i32 %127, ptr %125, align 4 br label %128 128: ; preds = %115 %129 = load i32, ptr %8, align 4 %130 = add i32 %129, 1 store i32 %130, ptr %8, align 4 br label %111, !llvm.loop !9 131: ; preds = %111 br label %170 132: ; preds = %104 %133 = load ptr, ptr %5, align 8 %134 = getelementptr inbounds ptr, ptr %133, i64 1 %135 = load ptr, ptr %134, align 8 %136 = call i64 @strcmp(ptr noundef %135, ptr noundef @.str.8) %137 = icmp eq i64 %136, 0 br i1 %137, label %138, label %142 138: ; preds = %132 %139 = load i32, ptr %6, align 4 %140 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %141 = call i32 @ioctl(i32 noundef %139, i32 noundef 103, ptr noundef %140) br label %169 142: ; preds = %132 %143 = load ptr, ptr %5, align 8 %144 = getelementptr inbounds ptr, ptr %143, i64 1 %145 = load ptr, ptr %144, align 8 %146 = call i64 @strcmp(ptr noundef %145, ptr noundef @.str.9) %147 = icmp eq i64 %146, 0 br i1 %147, label %148, label %152 148: ; preds = %142 %149 = load i32, ptr %6, align 4 %150 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %151 = call i32 @ioctl(i32 noundef %149, i32 noundef 104, ptr noundef %150) br label %168 152: ; preds = %142 %153 = load ptr, ptr %5, align 8 %154 = getelementptr inbounds ptr, ptr %153, i64 1 %155 = load ptr, ptr %154, align 8 %156 = call i64 @strcmp(ptr noundef %155, ptr noundef @.str.10) %157 = icmp eq i64 %156, 0 br i1 %157, label %158, label %162 158: ; preds = %152 %159 = load i32, ptr %6, align 4 %160 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %161 = call i32 @ioctl(i32 noundef %159, i32 noundef 105, ptr noundef %160) br label %167 162: ; preds = %152 %163 = load ptr, ptr %5, align 8 %164 = getelementptr inbounds ptr, ptr %163, i64 0 %165 = load ptr, ptr %164, align 8 %166 = call i32 (ptr, ...) @printf(ptr noundef %165) store i32 -1, ptr %3, align 4 br label %173 167: ; preds = %158 br label %168 168: ; preds = %167, %148 br label %169 169: ; preds = %168, %138 br label %170 170: ; preds = %169, %131 br label %171 171: ; preds = %170, %103 br label %172 172: ; preds = %171, %73 store i32 0, ptr %3, align 4 br label %173 173: ; preds = %172, %162, %25, %15 %174 = load i32, ptr %3, align 4 ret i32 %174 } declare i32 @print_usage(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi72dbbj1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"/dev/ker_rw\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"can't open /dev/ker_rw\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"r8\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"%02d. [%08x] = %02x\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"r16\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"%02d. [%08x] = %04x\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"r32\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"%02d. [%08x] = %08x\0A\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"w8\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"w16\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"w32\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [2 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 3 br i1 %11, label %12, label %20 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 4 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 %19 = call i32 @print_usage(ptr noundef %18) store i32 -1, ptr %3, align 4 br label %179 20: ; preds = %12, %2 %21 = load i32, ptr @O_RDWR, align 4 %22 = call i32 @open(ptr noundef @.str, i32 noundef %21) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %20 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -2, ptr %3, align 4 br label %179 27: ; preds = %20 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 @strtoul(ptr noundef %30, ptr noundef null, i32 noundef 0) %32 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 store i32 %31, ptr %32, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp eq i32 %33, 4 br i1 %34, label %35, label %43 35: ; preds = %27 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 3 %38 = load ptr, ptr %37, align 8 %39 = call i32 @strtoul(ptr noundef %38, ptr noundef null, i32 noundef 0) %40 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 store i32 %39, ptr %40, align 4 %41 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %9, align 4 br label %44 43: ; preds = %27 store i32 1, ptr %9, align 4 br label %44 44: ; preds = %43, %35 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 1 %47 = load ptr, ptr %46, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.2) %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %76 50: ; preds = %44 store i32 0, ptr %8, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %9, align 4 %53 = icmp ult i32 %51, %52 br i1 %53, label %.lr.ph5, label %75 .lr.ph5: ; preds = %50 br label %54 54: ; preds = %.lr.ph5, %69 %55 = load i32, ptr %6, align 4 %56 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %57 = call i32 @ioctl(i32 noundef %55, i32 noundef 100, ptr noundef %56) %58 = load i32, ptr %8, align 4 %59 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %60 = load i32, ptr %59, align 4 %61 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %62 = load i32, ptr %61, align 4 %63 = trunc i32 %62 to i8 %64 = zext i8 %63 to i32 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %58, i32 noundef %60, i32 noundef %64) %66 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %67 = load i32, ptr %66, align 4 %68 = add i32 %67, 1 store i32 %68, ptr %66, align 4 br label %69 69: ; preds = %54 %70 = load i32, ptr %8, align 4 %71 = add i32 %70, 1 store i32 %71, ptr %8, align 4 %72 = load i32, ptr %8, align 4 %73 = load i32, ptr %9, align 4 %74 = icmp ult i32 %72, %73 br i1 %74, label %54, label %._crit_edge6, !llvm.loop !6 ._crit_edge6: ; preds = %69 br label %75 75: ; preds = %._crit_edge6, %50 br label %178 76: ; preds = %44 %77 = load ptr, ptr %5, align 8 %78 = getelementptr inbounds ptr, ptr %77, i64 1 %79 = load ptr, ptr %78, align 8 %80 = call i64 @strcmp(ptr noundef %79, ptr noundef @.str.4) %81 = icmp eq i64 %80, 0 br i1 %81, label %82, label %108 82: ; preds = %76 store i32 0, ptr %8, align 4 %83 = load i32, ptr %8, align 4 %84 = load i32, ptr %9, align 4 %85 = icmp ult i32 %83, %84 br i1 %85, label %.lr.ph2, label %107 .lr.ph2: ; preds = %82 br label %86 86: ; preds = %.lr.ph2, %101 %87 = load i32, ptr %6, align 4 %88 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %89 = call i32 @ioctl(i32 noundef %87, i32 noundef 101, ptr noundef %88) %90 = load i32, ptr %8, align 4 %91 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %92 = load i32, ptr %91, align 4 %93 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %94 = load i32, ptr %93, align 4 %95 = trunc i32 %94 to i16 %96 = zext i16 %95 to i32 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %90, i32 noundef %92, i32 noundef %96) %98 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %99 = load i32, ptr %98, align 4 %100 = add i32 %99, 2 store i32 %100, ptr %98, align 4 br label %101 101: ; preds = %86 %102 = load i32, ptr %8, align 4 %103 = add i32 %102, 1 store i32 %103, ptr %8, align 4 %104 = load i32, ptr %8, align 4 %105 = load i32, ptr %9, align 4 %106 = icmp ult i32 %104, %105 br i1 %106, label %86, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %101 br label %107 107: ; preds = %._crit_edge3, %82 br label %177 108: ; preds = %76 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds ptr, ptr %109, i64 1 %111 = load ptr, ptr %110, align 8 %112 = call i64 @strcmp(ptr noundef %111, ptr noundef @.str.6) %113 = icmp eq i64 %112, 0 br i1 %113, label %114, label %138 114: ; preds = %108 store i32 0, ptr %8, align 4 %115 = load i32, ptr %8, align 4 %116 = load i32, ptr %9, align 4 %117 = icmp ult i32 %115, %116 br i1 %117, label %.lr.ph, label %137 .lr.ph: ; preds = %114 br label %118 118: ; preds = %.lr.ph, %131 %119 = load i32, ptr %6, align 4 %120 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %121 = call i32 @ioctl(i32 noundef %119, i32 noundef 102, ptr noundef %120) %122 = load i32, ptr %8, align 4 %123 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %124 = load i32, ptr %123, align 4 %125 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %126 = load i32, ptr %125, align 4 %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %122, i32 noundef %124, i32 noundef %126) %128 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %129 = load i32, ptr %128, align 4 %130 = add i32 %129, 4 store i32 %130, ptr %128, align 4 br label %131 131: ; preds = %118 %132 = load i32, ptr %8, align 4 %133 = add i32 %132, 1 store i32 %133, ptr %8, align 4 %134 = load i32, ptr %8, align 4 %135 = load i32, ptr %9, align 4 %136 = icmp ult i32 %134, %135 br i1 %136, label %118, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %131 br label %137 137: ; preds = %._crit_edge, %114 br label %176 138: ; preds = %108 %139 = load ptr, ptr %5, align 8 %140 = getelementptr inbounds ptr, ptr %139, i64 1 %141 = load ptr, ptr %140, align 8 %142 = call i64 @strcmp(ptr noundef %141, ptr noundef @.str.8) %143 = icmp eq i64 %142, 0 br i1 %143, label %144, label %148 144: ; preds = %138 %145 = load i32, ptr %6, align 4 %146 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %147 = call i32 @ioctl(i32 noundef %145, i32 noundef 103, ptr noundef %146) br label %175 148: ; preds = %138 %149 = load ptr, ptr %5, align 8 %150 = getelementptr inbounds ptr, ptr %149, i64 1 %151 = load ptr, ptr %150, align 8 %152 = call i64 @strcmp(ptr noundef %151, ptr noundef @.str.9) %153 = icmp eq i64 %152, 0 br i1 %153, label %154, label %158 154: ; preds = %148 %155 = load i32, ptr %6, align 4 %156 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %157 = call i32 @ioctl(i32 noundef %155, i32 noundef 104, ptr noundef %156) br label %174 158: ; preds = %148 %159 = load ptr, ptr %5, align 8 %160 = getelementptr inbounds ptr, ptr %159, i64 1 %161 = load ptr, ptr %160, align 8 %162 = call i64 @strcmp(ptr noundef %161, ptr noundef @.str.10) %163 = icmp eq i64 %162, 0 br i1 %163, label %164, label %168 164: ; preds = %158 %165 = load i32, ptr %6, align 4 %166 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %167 = call i32 @ioctl(i32 noundef %165, i32 noundef 105, ptr noundef %166) br label %173 168: ; preds = %158 %169 = load ptr, ptr %5, align 8 %170 = getelementptr inbounds ptr, ptr %169, i64 0 %171 = load ptr, ptr %170, align 8 %172 = call i32 (ptr, ...) @printf(ptr noundef %171) store i32 -1, ptr %3, align 4 br label %179 173: ; preds = %164 br label %174 174: ; preds = %173, %154 br label %175 175: ; preds = %174, %144 br label %176 176: ; preds = %175, %137 br label %177 177: ; preds = %176, %107 br label %178 178: ; preds = %177, %75 store i32 0, ptr %3, align 4 br label %179 179: ; preds = %178, %168, %25, %15 %180 = load i32, ptr %3, align 4 ret i32 %180 } declare i32 @print_usage(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpv3o7i0j6.c' source_filename = "/tmp/tmpv3o7i0j6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv3o7i0j6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1q9v_0v5.c' source_filename = "/tmp/tmp1q9v_0v5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_Locale_messages_create(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i64 @_Locale_create(ptr noundef %7, ptr noundef %8) %10 = inttoptr i64 %9 to ptr ret ptr %10 } declare i64 @_Locale_create(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1q9v_0v5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_Locale_messages_create(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i64 @_Locale_create(ptr noundef %7, ptr noundef %8) %10 = inttoptr i64 %9 to ptr ret ptr %10 } declare i64 @_Locale_create(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7tvdaznv.c' source_filename = "/tmp/tmp7tvdaznv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c" (section %s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_section_name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %13 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %5 %11 = load ptr, ptr %2, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %10, %5, %1 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7tvdaznv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c" (section %s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_section_name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %13 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %5 %11 = load ptr, ptr %2, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %10, %5, %1 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpora2vykp.c' source_filename = "/tmp/tmpora2vykp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpora2vykp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy8k9oiz0.c' source_filename = "/tmp/tmpy8k9oiz0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @countFileSectors(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [512 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [13312 x i8], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = getelementptr inbounds [13312 x i8], ptr %9, i64 0, i64 0 %12 = call i64 @readFile(i32 noundef %10, ptr noundef %11) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 store i32 -1, ptr %15, align 4 br label %70 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 store i32 0, ptr %17, align 4 %18 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0 %19 = call i32 @readSector(ptr noundef %18, i32 noundef 2) store i32 0, ptr %6, align 4 br label %20 20: ; preds = %66, %16 %21 = load i32, ptr %6, align 4 %22 = icmp ult i32 %21, 512 br i1 %22, label %23, label %69 23: ; preds = %20 %24 = load i32, ptr %6, align 4 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %23 br label %66 31: ; preds = %23 %32 = load i32, ptr %3, align 4 %33 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0 %34 = load i32, ptr %6, align 4 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = call i64 @strncmp(i32 noundef %32, ptr noundef %36, i32 noundef 6) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %64 39: ; preds = %31 store i32 6, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %40 40: ; preds = %58, %39 %41 = load i32, ptr %7, align 4 %42 = icmp ult i32 %41, 32 br i1 %42, label %43, label %63 43: ; preds = %40 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %7, align 4 %46 = add i32 %44, %45 %47 = zext i32 %46 to i64 %48 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %53 52: ; preds = %43 br label %70 53: ; preds = %43 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %54, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %54, align 4 br label %57 57: ; preds = %53 br label %58 58: ; preds = %57 %59 = load i32, ptr %7, align 4 %60 = add i32 %59, 1 store i32 %60, ptr %7, align 4 %61 = load i32, ptr %8, align 4 %62 = add i32 %61, 512 store i32 %62, ptr %8, align 4 br label %40, !llvm.loop !6 63: ; preds = %40 br label %64 64: ; preds = %63, %31 br label %65 65: ; preds = %64 br label %66 66: ; preds = %65, %30 %67 = load i32, ptr %6, align 4 %68 = add i32 %67, 32 store i32 %68, ptr %6, align 4 br label %20, !llvm.loop !8 69: ; preds = %20 br label %70 70: ; preds = %69, %52, %14 ret void } declare i64 @readFile(i32 noundef, ptr noundef) #1 declare i32 @readSector(ptr noundef, i32 noundef) #1 declare i64 @strncmp(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy8k9oiz0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @countFileSectors(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [512 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [13312 x i8], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = getelementptr inbounds [13312 x i8], ptr %9, i64 0, i64 0 %12 = call i64 @readFile(i32 noundef %10, ptr noundef %11) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 store i32 -1, ptr %15, align 4 br label %72 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 store i32 0, ptr %17, align 4 %18 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0 %19 = call i32 @readSector(ptr noundef %18, i32 noundef 2) store i32 0, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp ult i32 %20, 512 br i1 %21, label %.lr.ph2, label %71 .lr.ph2: ; preds = %16 br label %22 22: ; preds = %.lr.ph2, %66 %23 = load i32, ptr %6, align 4 %24 = zext i32 %23 to i64 %25 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %22 br label %66 30: ; preds = %22 %31 = load i32, ptr %3, align 4 %32 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 0 %33 = load i32, ptr %6, align 4 %34 = zext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = call i64 @strncmp(i32 noundef %31, ptr noundef %35, i32 noundef 6) %37 = icmp ne i64 %36, 0 br i1 %37, label %38, label %64 38: ; preds = %30 store i32 6, ptr %7, align 4 store i32 0, ptr %8, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp ult i32 %39, 32 br i1 %40, label %.lr.ph, label %63 .lr.ph: ; preds = %38 br label %41 41: ; preds = %.lr.ph, %56 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %7, align 4 %44 = add i32 %42, %43 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds [512 x i8], ptr %5, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %51 50: ; preds = %41 br label %72 51: ; preds = %41 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %52, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %52, align 4 br label %55 55: ; preds = %51 br label %56 56: ; preds = %55 %57 = load i32, ptr %7, align 4 %58 = add i32 %57, 1 store i32 %58, ptr %7, align 4 %59 = load i32, ptr %8, align 4 %60 = add i32 %59, 512 store i32 %60, ptr %8, align 4 %61 = load i32, ptr %7, align 4 %62 = icmp ult i32 %61, 32 br i1 %62, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %63 63: ; preds = %._crit_edge, %38 br label %64 64: ; preds = %63, %30 br label %65 65: ; preds = %64 br label %66 66: ; preds = %65, %29 %67 = load i32, ptr %6, align 4 %68 = add i32 %67, 32 store i32 %68, ptr %6, align 4 %69 = load i32, ptr %6, align 4 %70 = icmp ult i32 %69, 512 br i1 %70, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %66 br label %71 71: ; preds = %._crit_edge3, %16 br label %72 72: ; preds = %71, %50, %14 ret void } declare i64 @readFile(i32 noundef, ptr noundef) #1 declare i32 @readSector(ptr noundef, i32 noundef) #1 declare i64 @strncmp(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwy9csyqv.c' source_filename = "/tmp/tmpwy9csyqv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwy9csyqv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3mir6vm0.c' source_filename = "/tmp/tmp3mir6vm0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"path\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @jk_is_path_poperty(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @jk_is_some_property(ptr noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @jk_is_some_property(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3mir6vm0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"path\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @jk_is_path_poperty(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @jk_is_some_property(ptr noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @jk_is_some_property(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8l1068fm.c' source_filename = "/tmp/tmp8l1068fm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call i64 @malloc(i32 noundef 8388608) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %4, align 8 %8 = call i64 @malloc(i32 noundef 8388608) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds [1024 x [1024 x double]], ptr %10, i64 0, i64 0 %12 = call i32 @init_data(i32 noundef 1024, i32 noundef 1024, ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds [1024 x [1024 x double]], ptr %13, i64 0, i64 0 %15 = call i32 @init_data(i32 noundef 1024, i32 noundef 1024, ptr noundef %14) %16 = call double (...) @get_time() store double %16, ptr %2, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds [1024 x [1024 x double]], ptr %17, i64 0, i64 0 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds [1024 x [1024 x double]], ptr %19, i64 0, i64 0 %21 = call i32 @pencil_dsyrk_n_u(i32 noundef 1024, i32 noundef 1024, double noundef 1.000000e+01, i32 noundef 1, ptr noundef %18, double noundef 1.000000e+01, i32 noundef 1, ptr noundef %20) %22 = call double (...) @get_time() store double %22, ptr %3, align 8 ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @init_data(i32 noundef, i32 noundef, ptr noundef) #1 declare double @get_time(...) #1 declare i32 @pencil_dsyrk_n_u(i32 noundef, i32 noundef, double noundef, i32 noundef, ptr noundef, double noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8l1068fm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call i64 @malloc(i32 noundef 8388608) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %4, align 8 %8 = call i64 @malloc(i32 noundef 8388608) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds [1024 x [1024 x double]], ptr %10, i64 0, i64 0 %12 = call i32 @init_data(i32 noundef 1024, i32 noundef 1024, ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds [1024 x [1024 x double]], ptr %13, i64 0, i64 0 %15 = call i32 @init_data(i32 noundef 1024, i32 noundef 1024, ptr noundef %14) %16 = call double (...) @get_time() store double %16, ptr %2, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds [1024 x [1024 x double]], ptr %17, i64 0, i64 0 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds [1024 x [1024 x double]], ptr %19, i64 0, i64 0 %21 = call i32 @pencil_dsyrk_n_u(i32 noundef 1024, i32 noundef 1024, double noundef 1.000000e+01, i32 noundef 1, ptr noundef %18, double noundef 1.000000e+01, i32 noundef 1, ptr noundef %20) %22 = call double (...) @get_time() store double %22, ptr %3, align 8 ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @init_data(i32 noundef, i32 noundef, ptr noundef) #1 declare double @get_time(...) #1 declare i32 @pencil_dsyrk_n_u(i32 noundef, i32 noundef, double noundef, i32 noundef, ptr noundef, double noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkw74bpv4.c' source_filename = "/tmp/tmpkw74bpv4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"usage: ./seamcarving IMAGE_FILE NEW_WIDTH DESTINATION_FILE\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"error: can't find file '%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"error: file '%s'\0A not supported\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"error: invalid file '%s'\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [15 x i8] c"ERROR: %s:%d\09\09\00", align 1 @.str.5 = private unnamed_addr constant [135 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/HugZz/seamcarving/refs/heads/main/src/main.c\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"error opening file '%s'\0A\00", align 1 @.str.7 = private unnamed_addr constant [51 x i8] c"%d is the width of the given image, nothing to do\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [54 x i8] c"error: wanted width %d is bigger than original image\0A\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"allocating image failed\0A\00", align 1 @.str.10 = private unnamed_addr constant [27 x i8] c"problem filling the image\0A\00", align 1 @.str.11 = private unnamed_addr constant [30 x i8] c"error seam carving the image\0A\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"can not create image\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 4 br i1 %15, label %16, label %19 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %18, ptr %3, align 4 br label %153 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call i64 @atol(ptr noundef %22) %24 = trunc i64 %23 to i32 store i32 %24, ptr %6, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 store ptr %27, ptr %10, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 3 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %11, align 8 %31 = load ptr, ptr %10, align 8 %32 = call i32 @open_image(ptr noundef %31, ptr noundef %8, ptr noundef %9) store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %58 35: ; preds = %19 %36 = load i32, ptr %7, align 4 switch i32 %36, label %49 [ i32 -559038737, label %37 i32 -1091576147, label %41 i32 -559042549, label %45 ] 37: ; preds = %35 %38 = load ptr, ptr %10, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %38) %40 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %40, ptr %3, align 4 br label %153 41: ; preds = %35 %42 = load ptr, ptr %10, align 8 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %42) %44 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %44, ptr %3, align 4 br label %153 45: ; preds = %35 %46 = load ptr, ptr %10, align 8 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %46) %48 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %48, ptr %3, align 4 br label %153 49: ; preds = %35 br label %50 50: ; preds = %49 %51 = load i32, ptr @stderr, align 4 %52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 55) %53 = load i32, ptr @stderr, align 4 %54 = load ptr, ptr %10, align 8 %55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.6, ptr noundef %54) br label %56 56: ; preds = %50 %57 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %57, ptr %3, align 4 br label %153 58: ; preds = %19 %59 = load i32, ptr %6, align 4 %60 = load i32, ptr %9, align 4 %61 = icmp eq i32 %59, %60 br i1 %61, label %62, label %67 62: ; preds = %58 %63 = load i32, ptr %6, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %63) %65 = call i32 (...) @free_bmp() %66 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %66, ptr %3, align 4 br label %153 67: ; preds = %58 %68 = load i32, ptr %6, align 4 %69 = load i32, ptr %9, align 4 %70 = icmp sgt i32 %68, %69 br i1 %70, label %71, label %76 71: ; preds = %67 %72 = load i32, ptr %6, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %72) %74 = call i32 (...) @free_bmp() %75 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %75, ptr %3, align 4 br label %153 76: ; preds = %67 %77 = load i32, ptr %8, align 4 %78 = load i32, ptr %9, align 4 %79 = call i64 @alloc_image(i32 noundef %77, i32 noundef %78, i64 noundef 1) %80 = inttoptr i64 %79 to ptr store ptr %80, ptr %12, align 8 %81 = icmp eq ptr %80, null br i1 %81, label %82, label %91 82: ; preds = %76 br label %83 83: ; preds = %82 %84 = load i32, ptr @stderr, align 4 %85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 71) %86 = load i32, ptr @stderr, align 4 %87 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %86, ptr noundef @.str.9) br label %88 88: ; preds = %83 %89 = call i32 (...) @free_bmp() %90 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %90, ptr %3, align 4 br label %153 91: ; preds = %76 %92 = load ptr, ptr %12, align 8 %93 = load i32, ptr %8, align 4 %94 = load i32, ptr %9, align 4 %95 = call i64 @fill(ptr noundef %92, i32 noundef %93, i32 noundef %94) %96 = icmp slt i64 %95, 0 br i1 %96, label %97, label %108 97: ; preds = %91 br label %98 98: ; preds = %97 %99 = load i32, ptr @stderr, align 4 %100 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 76) %101 = load i32, ptr @stderr, align 4 %102 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef @.str.10) br label %103 103: ; preds = %98 %104 = call i32 (...) @free_bmp() %105 = load ptr, ptr %12, align 8 %106 = call i32 @free_image(ptr noundef %105) %107 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %107, ptr %3, align 4 br label %153 108: ; preds = %91 %109 = call i32 (...) @free_bmp() %110 = load ptr, ptr %12, align 8 %111 = load i32, ptr %9, align 4 %112 = load i32, ptr %6, align 4 %113 = sub nsw i32 %111, %112 %114 = load i32, ptr %8, align 4 %115 = load i32, ptr %9, align 4 %116 = call ptr @seam_carving(ptr noundef %110, i32 noundef %113, i32 noundef %114, i32 noundef %115) store ptr %116, ptr %13, align 8 %117 = load ptr, ptr %13, align 8 %118 = icmp eq ptr %117, null br i1 %118, label %119, label %129 119: ; preds = %108 br label %120 120: ; preds = %119 %121 = load i32, ptr @stderr, align 4 %122 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %121, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 84) %123 = load i32, ptr @stderr, align 4 %124 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %123, ptr noundef @.str.11) br label %125 125: ; preds = %120 %126 = load ptr, ptr %12, align 8 %127 = call i32 @free_image(ptr noundef %126) %128 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %128, ptr %3, align 4 br label %153 129: ; preds = %108 %130 = load ptr, ptr %12, align 8 %131 = call i32 @free_image(ptr noundef %130) %132 = load ptr, ptr %11, align 8 %133 = load ptr, ptr %13, align 8 %134 = load i32, ptr %8, align 4 %135 = load i32, ptr %6, align 4 %136 = call i32 @create_image(ptr noundef %132, ptr noundef %133, i32 noundef %134, i32 noundef %135) store i32 %136, ptr %7, align 4 %137 = load i32, ptr %7, align 4 %138 = icmp slt i32 %137, 0 br i1 %138, label %139, label %149 139: ; preds = %129 br label %140 140: ; preds = %139 %141 = load i32, ptr @stderr, align 4 %142 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %141, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 91) %143 = load i32, ptr @stderr, align 4 %144 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %143, ptr noundef @.str.12) br label %145 145: ; preds = %140 %146 = load ptr, ptr %13, align 8 %147 = call i32 @free_image(ptr noundef %146) %148 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %148, ptr %3, align 4 br label %153 149: ; preds = %129 %150 = load ptr, ptr %13, align 8 %151 = call i32 @free_image(ptr noundef %150) %152 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %152, ptr %3, align 4 br label %153 153: ; preds = %149, %145, %125, %103, %88, %71, %62, %56, %45, %41, %37, %16 %154 = load i32, ptr %3, align 4 ret i32 %154 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @atol(ptr noundef) #1 declare i32 @open_image(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @free_bmp(...) #1 declare i64 @alloc_image(i32 noundef, i32 noundef, i64 noundef) #1 declare i64 @fill(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free_image(ptr noundef) #1 declare ptr @seam_carving(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @create_image(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkw74bpv4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [60 x i8] c"usage: ./seamcarving IMAGE_FILE NEW_WIDTH DESTINATION_FILE\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"error: can't find file '%s'\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"error: file '%s'\0A not supported\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"error: invalid file '%s'\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [15 x i8] c"ERROR: %s:%d\09\09\00", align 1 @.str.5 = private unnamed_addr constant [135 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/HugZz/seamcarving/refs/heads/main/src/main.c\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"error opening file '%s'\0A\00", align 1 @.str.7 = private unnamed_addr constant [51 x i8] c"%d is the width of the given image, nothing to do\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [54 x i8] c"error: wanted width %d is bigger than original image\0A\00", align 1 @.str.9 = private unnamed_addr constant [25 x i8] c"allocating image failed\0A\00", align 1 @.str.10 = private unnamed_addr constant [27 x i8] c"problem filling the image\0A\00", align 1 @.str.11 = private unnamed_addr constant [30 x i8] c"error seam carving the image\0A\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"can not create image\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 4 br i1 %15, label %16, label %19 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) %18 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %18, ptr %3, align 4 br label %153 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call i64 @atol(ptr noundef %22) %24 = trunc i64 %23 to i32 store i32 %24, ptr %6, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 store ptr %27, ptr %10, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 3 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %11, align 8 %31 = load ptr, ptr %10, align 8 %32 = call i32 @open_image(ptr noundef %31, ptr noundef %8, ptr noundef %9) store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %58 35: ; preds = %19 %36 = load i32, ptr %7, align 4 switch i32 %36, label %49 [ i32 -559038737, label %37 i32 -1091576147, label %41 i32 -559042549, label %45 ] 37: ; preds = %35 %38 = load ptr, ptr %10, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %38) %40 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %40, ptr %3, align 4 br label %153 41: ; preds = %35 %42 = load ptr, ptr %10, align 8 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %42) %44 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %44, ptr %3, align 4 br label %153 45: ; preds = %35 %46 = load ptr, ptr %10, align 8 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %46) %48 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %48, ptr %3, align 4 br label %153 49: ; preds = %35 br label %50 50: ; preds = %49 %51 = load i32, ptr @stderr, align 4 %52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 55) %53 = load i32, ptr @stderr, align 4 %54 = load ptr, ptr %10, align 8 %55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.6, ptr noundef %54) br label %56 56: ; preds = %50 %57 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %57, ptr %3, align 4 br label %153 58: ; preds = %19 %59 = load i32, ptr %6, align 4 %60 = load i32, ptr %9, align 4 %61 = icmp eq i32 %59, %60 br i1 %61, label %62, label %67 62: ; preds = %58 %63 = load i32, ptr %6, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %63) %65 = call i32 (...) @free_bmp() %66 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %66, ptr %3, align 4 br label %153 67: ; preds = %58 %68 = load i32, ptr %6, align 4 %69 = load i32, ptr %9, align 4 %70 = icmp sgt i32 %68, %69 br i1 %70, label %71, label %76 71: ; preds = %67 %72 = load i32, ptr %6, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %72) %74 = call i32 (...) @free_bmp() %75 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %75, ptr %3, align 4 br label %153 76: ; preds = %67 %77 = load i32, ptr %8, align 4 %78 = load i32, ptr %9, align 4 %79 = call i64 @alloc_image(i32 noundef %77, i32 noundef %78, i64 noundef 1) %80 = inttoptr i64 %79 to ptr store ptr %80, ptr %12, align 8 %81 = icmp eq ptr %80, null br i1 %81, label %82, label %91 82: ; preds = %76 br label %83 83: ; preds = %82 %84 = load i32, ptr @stderr, align 4 %85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 71) %86 = load i32, ptr @stderr, align 4 %87 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %86, ptr noundef @.str.9) br label %88 88: ; preds = %83 %89 = call i32 (...) @free_bmp() %90 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %90, ptr %3, align 4 br label %153 91: ; preds = %76 %92 = load ptr, ptr %12, align 8 %93 = load i32, ptr %8, align 4 %94 = load i32, ptr %9, align 4 %95 = call i64 @fill(ptr noundef %92, i32 noundef %93, i32 noundef %94) %96 = icmp slt i64 %95, 0 br i1 %96, label %97, label %108 97: ; preds = %91 br label %98 98: ; preds = %97 %99 = load i32, ptr @stderr, align 4 %100 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 76) %101 = load i32, ptr @stderr, align 4 %102 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef @.str.10) br label %103 103: ; preds = %98 %104 = call i32 (...) @free_bmp() %105 = load ptr, ptr %12, align 8 %106 = call i32 @free_image(ptr noundef %105) %107 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %107, ptr %3, align 4 br label %153 108: ; preds = %91 %109 = call i32 (...) @free_bmp() %110 = load ptr, ptr %12, align 8 %111 = load i32, ptr %9, align 4 %112 = load i32, ptr %6, align 4 %113 = sub nsw i32 %111, %112 %114 = load i32, ptr %8, align 4 %115 = load i32, ptr %9, align 4 %116 = call ptr @seam_carving(ptr noundef %110, i32 noundef %113, i32 noundef %114, i32 noundef %115) store ptr %116, ptr %13, align 8 %117 = load ptr, ptr %13, align 8 %118 = icmp eq ptr %117, null br i1 %118, label %119, label %129 119: ; preds = %108 br label %120 120: ; preds = %119 %121 = load i32, ptr @stderr, align 4 %122 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %121, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 84) %123 = load i32, ptr @stderr, align 4 %124 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %123, ptr noundef @.str.11) br label %125 125: ; preds = %120 %126 = load ptr, ptr %12, align 8 %127 = call i32 @free_image(ptr noundef %126) %128 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %128, ptr %3, align 4 br label %153 129: ; preds = %108 %130 = load ptr, ptr %12, align 8 %131 = call i32 @free_image(ptr noundef %130) %132 = load ptr, ptr %11, align 8 %133 = load ptr, ptr %13, align 8 %134 = load i32, ptr %8, align 4 %135 = load i32, ptr %6, align 4 %136 = call i32 @create_image(ptr noundef %132, ptr noundef %133, i32 noundef %134, i32 noundef %135) store i32 %136, ptr %7, align 4 %137 = load i32, ptr %7, align 4 %138 = icmp slt i32 %137, 0 br i1 %138, label %139, label %149 139: ; preds = %129 br label %140 140: ; preds = %139 %141 = load i32, ptr @stderr, align 4 %142 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %141, ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 91) %143 = load i32, ptr @stderr, align 4 %144 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %143, ptr noundef @.str.12) br label %145 145: ; preds = %140 %146 = load ptr, ptr %13, align 8 %147 = call i32 @free_image(ptr noundef %146) %148 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %148, ptr %3, align 4 br label %153 149: ; preds = %129 %150 = load ptr, ptr %13, align 8 %151 = call i32 @free_image(ptr noundef %150) %152 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %152, ptr %3, align 4 br label %153 153: ; preds = %149, %145, %125, %103, %88, %71, %62, %56, %45, %41, %37, %16 %154 = load i32, ptr %3, align 4 ret i32 %154 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @atol(ptr noundef) #1 declare i32 @open_image(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @free_bmp(...) #1 declare i64 @alloc_image(i32 noundef, i32 noundef, i64 noundef) #1 declare i64 @fill(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free_image(ptr noundef) #1 declare ptr @seam_carving(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @create_image(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuxwd1oed.c' source_filename = "/tmp/tmpuxwd1oed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"%4u : %12.8f, e=%12.4e, del: %12.4e\0A\00", align 1 @M_PI = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"estimated minimum : %f (%f)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store double 0x3FF3333340000000, ptr %4, align 8 store double 2.000000e+00, ptr %6, align 8 store double 0x3FE6666660000000, ptr %7, align 8 store double 0x3EB0C6F7A0000000, ptr %8, align 8 %17 = load double, ptr %4, align 8 %18 = load double, ptr %6, align 8 %19 = fsub double %17, %18 store double %19, ptr %3, align 8 %20 = load double, ptr %4, align 8 %21 = load double, ptr %6, align 8 %22 = fadd double %20, %21 store double %22, ptr %5, align 8 store double 0.000000e+00, ptr %13, align 8 store i32 0, ptr %14, align 4 br label %23 23: ; preds = %123, %0 %24 = load i32, ptr %14, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp ult i32 %24, %25 br i1 %26, label %27, label %126 27: ; preds = %23 %28 = load double, ptr %3, align 8 %29 = load double, ptr %5, align 8 %30 = fadd double %28, %29 %31 = fmul double 5.000000e-01, %30 store double %31, ptr %4, align 8 %32 = load double, ptr %3, align 8 %33 = call double @function(double noundef %32) store double %33, ptr %9, align 8 %34 = load double, ptr %4, align 8 %35 = call double @function(double noundef %34) store double %35, ptr %10, align 8 %36 = load double, ptr %5, align 8 %37 = call double @function(double noundef %36) store double %37, ptr %11, align 8 %38 = load double, ptr %5, align 8 %39 = load double, ptr %4, align 8 %40 = fcmp ogt double %38, %39 %41 = zext i1 %40 to i32 %42 = call i32 @assert(i32 noundef %41) %43 = load double, ptr %4, align 8 %44 = load double, ptr %3, align 8 %45 = fcmp ogt double %43, %44 %46 = zext i1 %45 to i32 %47 = call i32 @assert(i32 noundef %46) %48 = load double, ptr %9, align 8 %49 = load double, ptr %4, align 8 %50 = load double, ptr %4, align 8 %51 = load double, ptr %5, align 8 %52 = load double, ptr %5, align 8 %53 = fmul double %51, %52 %54 = fneg double %53 %55 = call double @llvm.fmuladd.f64(double %49, double %50, double %54) %56 = load double, ptr %10, align 8 %57 = load double, ptr %5, align 8 %58 = load double, ptr %5, align 8 %59 = load double, ptr %3, align 8 %60 = load double, ptr %3, align 8 %61 = fmul double %59, %60 %62 = fneg double %61 %63 = call double @llvm.fmuladd.f64(double %57, double %58, double %62) %64 = fmul double %56, %63 %65 = call double @llvm.fmuladd.f64(double %48, double %55, double %64) %66 = load double, ptr %11, align 8 %67 = load double, ptr %3, align 8 %68 = load double, ptr %3, align 8 %69 = load double, ptr %4, align 8 %70 = load double, ptr %4, align 8 %71 = fmul double %69, %70 %72 = fneg double %71 %73 = call double @llvm.fmuladd.f64(double %67, double %68, double %72) %74 = call double @llvm.fmuladd.f64(double %66, double %73, double %65) store double %74, ptr %15, align 8 %75 = load double, ptr %9, align 8 %76 = load double, ptr %4, align 8 %77 = load double, ptr %5, align 8 %78 = fsub double %76, %77 %79 = load double, ptr %10, align 8 %80 = load double, ptr %5, align 8 %81 = load double, ptr %3, align 8 %82 = fsub double %80, %81 %83 = fmul double %79, %82 %84 = call double @llvm.fmuladd.f64(double %75, double %78, double %83) %85 = load double, ptr %11, align 8 %86 = load double, ptr %3, align 8 %87 = load double, ptr %4, align 8 %88 = fsub double %86, %87 %89 = call double @llvm.fmuladd.f64(double %85, double %88, double %84) store double %89, ptr %16, align 8 %90 = load double, ptr %15, align 8 %91 = fmul double 5.000000e-01, %90 %92 = load double, ptr %16, align 8 %93 = fdiv double %91, %92 store double %93, ptr %12, align 8 %94 = load double, ptr %12, align 8 %95 = load double, ptr %4, align 8 %96 = fsub double %94, %95 store double %96, ptr %13, align 8 %97 = load i32, ptr %14, align 4 %98 = uitofp i32 %97 to double %99 = load double, ptr %12, align 8 %100 = fptosi double %99 to i32 %101 = load double, ptr %12, align 8 %102 = load i32, ptr @M_PI, align 4 %103 = sdiv i32 %102, 2 %104 = sitofp i32 %103 to double %105 = fsub double %101, %104 %106 = load double, ptr %13, align 8 %107 = call i32 (ptr, double, i32, ...) @printf(ptr noundef @.str, double noundef %98, i32 noundef %100, double noundef %105, double noundef %106) %108 = load double, ptr %7, align 8 %109 = load double, ptr %6, align 8 %110 = fmul double %109, %108 store double %110, ptr %6, align 8 %111 = load double, ptr %12, align 8 %112 = load double, ptr %6, align 8 %113 = fsub double %111, %112 store double %113, ptr %3, align 8 %114 = load double, ptr %12, align 8 %115 = load double, ptr %6, align 8 %116 = fadd double %114, %115 store double %116, ptr %5, align 8 %117 = load double, ptr %13, align 8 %118 = call double @fabsf(double noundef %117) %119 = load double, ptr %8, align 8 %120 = fcmp olt double %118, %119 br i1 %120, label %121, label %122 121: ; preds = %27 br label %126 122: ; preds = %27 br label %123 123: ; preds = %122 %124 = load i32, ptr %14, align 4 %125 = add i32 %124, 1 store i32 %125, ptr %14, align 4 br label %23, !llvm.loop !6 126: ; preds = %121, %23 %127 = load double, ptr %12, align 8 %128 = load i32, ptr @M_PI, align 4 %129 = sdiv i32 %128, 2 %130 = call i32 (ptr, double, i32, ...) @printf(ptr noundef @.str.1, double noundef %127, i32 noundef %129) ret i32 0 } declare double @function(double noundef) #1 declare i32 @assert(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, double noundef, i32 noundef, ...) #1 declare double @fabsf(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuxwd1oed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"%4u : %12.8f, e=%12.4e, del: %12.4e\0A\00", align 1 @M_PI = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"estimated minimum : %f (%f)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store double 0x3FF3333340000000, ptr %4, align 8 store double 2.000000e+00, ptr %6, align 8 store double 0x3FE6666660000000, ptr %7, align 8 store double 0x3EB0C6F7A0000000, ptr %8, align 8 %17 = load double, ptr %4, align 8 %18 = load double, ptr %6, align 8 %19 = fsub double %17, %18 store double %19, ptr %3, align 8 %20 = load double, ptr %4, align 8 %21 = load double, ptr %6, align 8 %22 = fadd double %20, %21 store double %22, ptr %5, align 8 store double 0.000000e+00, ptr %13, align 8 store i32 0, ptr %14, align 4 %23 = load i32, ptr %14, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp ult i32 %23, %24 br i1 %25, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %26 26: ; preds = %.lr.ph, %122 %27 = load double, ptr %3, align 8 %28 = load double, ptr %5, align 8 %29 = fadd double %27, %28 %30 = fmul double 5.000000e-01, %29 store double %30, ptr %4, align 8 %31 = load double, ptr %3, align 8 %32 = call double @function(double noundef %31) store double %32, ptr %9, align 8 %33 = load double, ptr %4, align 8 %34 = call double @function(double noundef %33) store double %34, ptr %10, align 8 %35 = load double, ptr %5, align 8 %36 = call double @function(double noundef %35) store double %36, ptr %11, align 8 %37 = load double, ptr %5, align 8 %38 = load double, ptr %4, align 8 %39 = fcmp ogt double %37, %38 %40 = zext i1 %39 to i32 %41 = call i32 @assert(i32 noundef %40) %42 = load double, ptr %4, align 8 %43 = load double, ptr %3, align 8 %44 = fcmp ogt double %42, %43 %45 = zext i1 %44 to i32 %46 = call i32 @assert(i32 noundef %45) %47 = load double, ptr %9, align 8 %48 = load double, ptr %4, align 8 %49 = load double, ptr %4, align 8 %50 = load double, ptr %5, align 8 %51 = load double, ptr %5, align 8 %52 = fmul double %50, %51 %53 = fneg double %52 %54 = call double @llvm.fmuladd.f64(double %48, double %49, double %53) %55 = load double, ptr %10, align 8 %56 = load double, ptr %5, align 8 %57 = load double, ptr %5, align 8 %58 = load double, ptr %3, align 8 %59 = load double, ptr %3, align 8 %60 = fmul double %58, %59 %61 = fneg double %60 %62 = call double @llvm.fmuladd.f64(double %56, double %57, double %61) %63 = fmul double %55, %62 %64 = call double @llvm.fmuladd.f64(double %47, double %54, double %63) %65 = load double, ptr %11, align 8 %66 = load double, ptr %3, align 8 %67 = load double, ptr %3, align 8 %68 = load double, ptr %4, align 8 %69 = load double, ptr %4, align 8 %70 = fmul double %68, %69 %71 = fneg double %70 %72 = call double @llvm.fmuladd.f64(double %66, double %67, double %71) %73 = call double @llvm.fmuladd.f64(double %65, double %72, double %64) store double %73, ptr %15, align 8 %74 = load double, ptr %9, align 8 %75 = load double, ptr %4, align 8 %76 = load double, ptr %5, align 8 %77 = fsub double %75, %76 %78 = load double, ptr %10, align 8 %79 = load double, ptr %5, align 8 %80 = load double, ptr %3, align 8 %81 = fsub double %79, %80 %82 = fmul double %78, %81 %83 = call double @llvm.fmuladd.f64(double %74, double %77, double %82) %84 = load double, ptr %11, align 8 %85 = load double, ptr %3, align 8 %86 = load double, ptr %4, align 8 %87 = fsub double %85, %86 %88 = call double @llvm.fmuladd.f64(double %84, double %87, double %83) store double %88, ptr %16, align 8 %89 = load double, ptr %15, align 8 %90 = fmul double 5.000000e-01, %89 %91 = load double, ptr %16, align 8 %92 = fdiv double %90, %91 store double %92, ptr %12, align 8 %93 = load double, ptr %12, align 8 %94 = load double, ptr %4, align 8 %95 = fsub double %93, %94 store double %95, ptr %13, align 8 %96 = load i32, ptr %14, align 4 %97 = uitofp i32 %96 to double %98 = load double, ptr %12, align 8 %99 = fptosi double %98 to i32 %100 = load double, ptr %12, align 8 %101 = load i32, ptr @M_PI, align 4 %102 = sdiv i32 %101, 2 %103 = sitofp i32 %102 to double %104 = fsub double %100, %103 %105 = load double, ptr %13, align 8 %106 = call i32 (ptr, double, i32, ...) @printf(ptr noundef @.str, double noundef %97, i32 noundef %99, double noundef %104, double noundef %105) %107 = load double, ptr %7, align 8 %108 = load double, ptr %6, align 8 %109 = fmul double %108, %107 store double %109, ptr %6, align 8 %110 = load double, ptr %12, align 8 %111 = load double, ptr %6, align 8 %112 = fsub double %110, %111 store double %112, ptr %3, align 8 %113 = load double, ptr %12, align 8 %114 = load double, ptr %6, align 8 %115 = fadd double %113, %114 store double %115, ptr %5, align 8 %116 = load double, ptr %13, align 8 %117 = call double @fabsf(double noundef %116) %118 = load double, ptr %8, align 8 %119 = fcmp olt double %117, %118 br i1 %119, label %120, label %121 120: ; preds = %26 br label %128 121: ; preds = %26 br label %122 122: ; preds = %121 %123 = load i32, ptr %14, align 4 %124 = add i32 %123, 1 store i32 %124, ptr %14, align 4 %125 = load i32, ptr %14, align 4 %126 = load i32, ptr %2, align 4 %127 = icmp ult i32 %125, %126 br i1 %127, label %26, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %122 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %128 128: ; preds = %.loopexit, %120 %129 = load double, ptr %12, align 8 %130 = load i32, ptr @M_PI, align 4 %131 = sdiv i32 %130, 2 %132 = call i32 (ptr, double, i32, ...) @printf(ptr noundef @.str.1, double noundef %129, i32 noundef %131) ret i32 0 } declare double @function(double noundef) #1 declare i32 @assert(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, double noundef, i32 noundef, ...) #1 declare double @fabsf(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4995uqs7.c' source_filename = "/tmp/tmp4995uqs7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4995uqs7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7akbdglm.c' source_filename = "/tmp/tmp7akbdglm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false) store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %14, %0 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %9, label %17 9: ; preds = %6 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %11 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12) br label %14 14: ; preds = %9 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %6, !llvm.loop !6 17: ; preds = %6 store i32 1, ptr %3, align 4 br label %18 18: ; preds = %34, %17 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %19, 10 br i1 %20, label %21, label %37 21: ; preds = %18 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp slt i32 %25, %29 br i1 %30, label %31, label %33 31: ; preds = %21 %32 = load i32, ptr %3, align 4 store i32 %32, ptr %4, align 4 br label %33 33: ; preds = %31, %21 br label %34 34: ; preds = %33 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 br label %18, !llvm.loop !8 37: ; preds = %18 store i32 0, ptr %3, align 4 br label %38 38: ; preds = %59, %37 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %39, 10 br i1 %40, label %41, label %62 41: ; preds = %38 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp ne i32 %42, %43 br i1 %44, label %45, label %58 45: ; preds = %41 %46 = load i32, ptr %5, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = load i32, ptr %3, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 %54 = icmp slt i32 %49, %53 br i1 %54, label %55, label %57 55: ; preds = %45 %56 = load i32, ptr %3, align 4 store i32 %56, ptr %5, align 4 br label %57 57: ; preds = %55, %45 br label %58 58: ; preds = %57, %41 br label %59 59: ; preds = %58 %60 = load i32, ptr %3, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %3, align 4 br label %38, !llvm.loop !9 62: ; preds = %38 %63 = load i32, ptr %5, align 4 %64 = call i32 @printf(ptr noundef @.str, i32 noundef %63) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7akbdglm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false) store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %13 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %10 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %8 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 10 br i1 %17, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 store i32 1, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %19, 10 br i1 %20, label %.lr.ph2, label %39 .lr.ph2: ; preds = %18 br label %21 21: ; preds = %.lr.ph2, %34 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp slt i32 %25, %29 br i1 %30, label %31, label %33 31: ; preds = %21 %32 = load i32, ptr %3, align 4 store i32 %32, ptr %4, align 4 br label %33 33: ; preds = %31, %21 br label %34 34: ; preds = %33 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %37, 10 br i1 %38, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %39 39: ; preds = %._crit_edge3, %18 store i32 0, ptr %3, align 4 %40 = load i32, ptr %3, align 4 %41 = icmp slt i32 %40, 10 br i1 %41, label %.lr.ph5, label %65 .lr.ph5: ; preds = %39 br label %42 42: ; preds = %.lr.ph5, %60 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp ne i32 %43, %44 br i1 %45, label %46, label %59 46: ; preds = %42 %47 = load i32, ptr %5, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %3, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = icmp slt i32 %50, %54 br i1 %55, label %56, label %58 56: ; preds = %46 %57 = load i32, ptr %3, align 4 store i32 %57, ptr %5, align 4 br label %58 58: ; preds = %56, %46 br label %59 59: ; preds = %58, %42 br label %60 60: ; preds = %59 %61 = load i32, ptr %3, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %3, align 4 %63 = load i32, ptr %3, align 4 %64 = icmp slt i32 %63, 10 br i1 %64, label %42, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %60 br label %65 65: ; preds = %._crit_edge6, %39 %66 = load i32, ptr %5, align 4 %67 = call i32 @printf(ptr noundef @.str, i32 noundef %66) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpij44tt6n.c' source_filename = "/tmp/tmpij44tt6n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @flu_msleep(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca %struct.timespec, align 8 %4 = alloca %struct.timespec, align 8 store i64 %0, ptr %2, align 8 %5 = load i64, ptr %2, align 8 %6 = sdiv i64 %5, 1000 %7 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i64 %6, ptr %7, align 8 %8 = load i64, ptr %2, align 8 %9 = mul nsw i64 %8, 1000000 %10 = srem i64 %9, 1000000000 %11 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 %10, ptr %11, align 8 %12 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 store i64 0, ptr %12, align 8 %13 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1 store i64 0, ptr %13, align 8 %14 = call i32 @nanosleep(ptr noundef %3, ptr noundef %4) %15 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 %16 = load i64, ptr %15, align 8 %17 = mul nsw i64 %16, 1000 %18 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1 %19 = load i64, ptr %18, align 8 %20 = sdiv i64 %19, 1000000 %21 = add nsw i64 %17, %20 ret i64 %21 } declare i32 @nanosleep(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpij44tt6n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @flu_msleep(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca %struct.timespec, align 8 %4 = alloca %struct.timespec, align 8 store i64 %0, ptr %2, align 8 %5 = load i64, ptr %2, align 8 %6 = sdiv i64 %5, 1000 %7 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i64 %6, ptr %7, align 8 %8 = load i64, ptr %2, align 8 %9 = mul nsw i64 %8, 1000000 %10 = srem i64 %9, 1000000000 %11 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i64 %10, ptr %11, align 8 %12 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 store i64 0, ptr %12, align 8 %13 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1 store i64 0, ptr %13, align 8 %14 = call i32 @nanosleep(ptr noundef %3, ptr noundef %4) %15 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 %16 = load i64, ptr %15, align 8 %17 = mul nsw i64 %16, 1000 %18 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1 %19 = load i64, ptr %18, align 8 %20 = sdiv i64 %19, 1000000 %21 = add nsw i64 %17, %20 ret i64 %21 } declare i32 @nanosleep(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfqm4u73w.c' source_filename = "/tmp/tmpfqm4u73w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @_IONBF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @stdout, align 4 %7 = load i32, ptr @_IONBF, align 4 %8 = call i32 @setvbuf(i32 noundef %6, ptr noundef null, i32 noundef %7, i32 noundef 0) %9 = call i32 (...) @dac_open() %10 = icmp ne i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %2 %14 = call i32 @dac_set_voltage(double noundef 1.200000e+00, i32 noundef 1, i32 noundef 2) %15 = call i32 @dac_set_voltage(double noundef 2.500000e+00, i32 noundef 2, i32 noundef 2) %16 = call i32 (...) @dac_close() %17 = load i32, ptr %4, align 4 %18 = load ptr, ptr %5, align 8 ret i32 0 } declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dac_open(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @dac_set_voltage(double noundef, i32 noundef, i32 noundef) #1 declare i32 @dac_close(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfqm4u73w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @_IONBF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @stdout, align 4 %7 = load i32, ptr @_IONBF, align 4 %8 = call i32 @setvbuf(i32 noundef %6, ptr noundef null, i32 noundef %7, i32 noundef 0) %9 = call i32 (...) @dac_open() %10 = icmp ne i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %2 %14 = call i32 @dac_set_voltage(double noundef 1.200000e+00, i32 noundef 1, i32 noundef 2) %15 = call i32 @dac_set_voltage(double noundef 2.500000e+00, i32 noundef 2, i32 noundef 2) %16 = call i32 (...) @dac_close() %17 = load i32, ptr %4, align 4 %18 = load ptr, ptr %5, align 8 ret i32 0 } declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dac_open(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @dac_set_voltage(double noundef, i32 noundef, i32 noundef) #1 declare i32 @dac_close(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz6jeo5kk.c' source_filename = "/tmp/tmpz6jeo5kk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @_c0_main() %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @_c0_main(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz6jeo5kk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @_c0_main() %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @_c0_main(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpof6y9vlj.c' source_filename = "/tmp/tmpof6y9vlj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Please set keyword\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [512 x i8], align 16 %7 = alloca [512 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 512, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 512, i1 false) %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %34 12: ; preds = %2 %13 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @strcpy(ptr noundef %13, ptr noundef %16) br label %18 18: ; preds = %12 %19 = load i32, ptr %4, align 4 %20 = icmp sle i32 %19, 2 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.1) br label %30 24: ; preds = %18 %25 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strcpy(ptr noundef %25, ptr noundef %28) br label %30 30: ; preds = %24, %21 %31 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %32 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %33 = call i32 @scan_dir(ptr noundef %31, ptr noundef %32, i32 noundef 0) store i32 0, ptr %3, align 4 br label %34 34: ; preds = %30, %10 %35 = load i32, ptr %3, align 4 ret i32 %35 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @scan_dir(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpof6y9vlj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Please set keyword\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [512 x i8], align 16 %7 = alloca [512 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 512, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 512, i1 false) %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %34 12: ; preds = %2 %13 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @strcpy(ptr noundef %13, ptr noundef %16) br label %18 18: ; preds = %12 %19 = load i32, ptr %4, align 4 %20 = icmp sle i32 %19, 2 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.1) br label %30 24: ; preds = %18 %25 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strcpy(ptr noundef %25, ptr noundef %28) br label %30 30: ; preds = %24, %21 %31 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %32 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0 %33 = call i32 @scan_dir(ptr noundef %31, ptr noundef %32, i32 noundef 0) store i32 0, ptr %3, align 4 br label %34 34: ; preds = %30, %10 %35 = load i32, ptr %3, align 4 ret i32 %35 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @scan_dir(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr_d8yj1g.c' source_filename = "/tmp/tmpr_d8yj1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @resampler_delete(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr_d8yj1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @resampler_delete(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoke11w1j.c' source_filename = "/tmp/tmpoke11w1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Get_Word() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @Get_Byte() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = shl i32 %3, 8 %5 = call i32 (...) @Get_Byte() %6 = or i32 %4, %5 ret i32 %6 } declare i32 @Get_Byte(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoke11w1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Get_Word() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @Get_Byte() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = shl i32 %3, 8 %5 = call i32 (...) @Get_Byte() %6 = or i32 %4, %5 ret i32 %6 } declare i32 @Get_Byte(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprss7fm4r.c' source_filename = "/tmp/tmprss7fm4r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 5, ptr %6, align 8 store i64 3, ptr %7, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %7, align 8 %14 = mul i64 %12, %13 store i64 %14, ptr %8, align 8 %15 = load i64, ptr %8, align 8 %16 = mul i64 4, %15 %17 = trunc i64 %16 to i32 %18 = call ptr @malloc(i32 noundef %17) store ptr %18, ptr %9, align 8 %19 = load i64, ptr %8, align 8 %20 = mul i64 4, %19 %21 = trunc i64 %20 to i32 %22 = call ptr @malloc(i32 noundef %21) store ptr %22, ptr %10, align 8 %23 = load i64, ptr %8, align 8 %24 = mul i64 4, %23 %25 = trunc i64 %24 to i32 %26 = call ptr @malloc(i32 noundef %25) store ptr %26, ptr %11, align 8 %27 = load ptr, ptr %9, align 8 %28 = load ptr, ptr %10, align 8 %29 = load ptr, ptr %11, align 8 %30 = load i64, ptr %6, align 8 %31 = load i64, ptr %7, align 8 %32 = call i32 @functionAddTab(ptr noundef %27, ptr noundef %28, ptr noundef %29, i64 noundef %30, i64 noundef %31) %33 = load ptr, ptr %9, align 8 %34 = call i32 @free(ptr noundef %33) %35 = load ptr, ptr %10, align 8 %36 = call i32 @free(ptr noundef %35) %37 = load ptr, ptr %11, align 8 %38 = call i32 @free(ptr noundef %37) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @functionAddTab(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprss7fm4r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 5, ptr %6, align 8 store i64 3, ptr %7, align 8 %12 = load i64, ptr %6, align 8 %13 = load i64, ptr %7, align 8 %14 = mul i64 %12, %13 store i64 %14, ptr %8, align 8 %15 = load i64, ptr %8, align 8 %16 = mul i64 4, %15 %17 = trunc i64 %16 to i32 %18 = call ptr @malloc(i32 noundef %17) store ptr %18, ptr %9, align 8 %19 = load i64, ptr %8, align 8 %20 = mul i64 4, %19 %21 = trunc i64 %20 to i32 %22 = call ptr @malloc(i32 noundef %21) store ptr %22, ptr %10, align 8 %23 = load i64, ptr %8, align 8 %24 = mul i64 4, %23 %25 = trunc i64 %24 to i32 %26 = call ptr @malloc(i32 noundef %25) store ptr %26, ptr %11, align 8 %27 = load ptr, ptr %9, align 8 %28 = load ptr, ptr %10, align 8 %29 = load ptr, ptr %11, align 8 %30 = load i64, ptr %6, align 8 %31 = load i64, ptr %7, align 8 %32 = call i32 @functionAddTab(ptr noundef %27, ptr noundef %28, ptr noundef %29, i64 noundef %30, i64 noundef %31) %33 = load ptr, ptr %9, align 8 %34 = call i32 @free(ptr noundef %33) %35 = load ptr, ptr %10, align 8 %36 = call i32 @free(ptr noundef %35) %37 = load ptr, ptr %11, align 8 %38 = call i32 @free(ptr noundef %37) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @functionAddTab(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxolat6mp.c' source_filename = "/tmp/tmpxolat6mp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [143 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jlettvin/Unicode/refs/heads/master/c/test_PassFail.c\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Expect exactly 1 [FAIL]\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Expect [PASS]\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Expect [FAIL]\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_passfail() #0 { %1 = call i32 @passfail(i32 noundef 1, ptr noundef @.str, i32 noundef 13, ptr noundef @.str.1) %2 = call i32 @passfail(i32 noundef 1, ptr noundef @.str, i32 noundef 14, ptr noundef @.str.2) %3 = call i32 @passfail(i32 noundef 0, ptr noundef @.str, i32 noundef 15, ptr noundef @.str.3) %4 = call i32 @passfail(i32 noundef 1, ptr noundef @.str, i32 noundef 16, ptr noundef @.str.4) ret void } declare i32 @passfail(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxolat6mp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [143 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jlettvin/Unicode/refs/heads/master/c/test_PassFail.c\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Expect exactly 1 [FAIL]\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Expect [PASS]\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Expect [FAIL]\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_passfail() #0 { %1 = call i32 @passfail(i32 noundef 1, ptr noundef @.str, i32 noundef 13, ptr noundef @.str.1) %2 = call i32 @passfail(i32 noundef 1, ptr noundef @.str, i32 noundef 14, ptr noundef @.str.2) %3 = call i32 @passfail(i32 noundef 0, ptr noundef @.str, i32 noundef 15, ptr noundef @.str.3) %4 = call i32 @passfail(i32 noundef 1, ptr noundef @.str, i32 noundef 16, ptr noundef @.str.4) ret void } declare i32 @passfail(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp041tcb0t.c' source_filename = "/tmp/tmp041tcb0t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp041tcb0t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2iwp4b7y.c' source_filename = "/tmp/tmp2iwp4b7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @RAND_egd_bytes(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @RAND_query_egd_bytes(ptr noundef %7, ptr noundef null, i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 1 br i1 %11, label %12, label %13 12: ; preds = %2 br label %19 13: ; preds = %2 %14 = call i32 (...) @RAND_status() %15 = icmp eq i32 %14, 1 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = load i32, ptr %5, align 4 store i32 %17, ptr %6, align 4 br label %18 18: ; preds = %16, %13 br label %19 19: ; preds = %18, %12 %20 = load i32, ptr %6, align 4 ret i32 %20 } declare i32 @RAND_query_egd_bytes(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @RAND_status(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2iwp4b7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @RAND_egd_bytes(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @RAND_query_egd_bytes(ptr noundef %7, ptr noundef null, i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 1 br i1 %11, label %12, label %13 12: ; preds = %2 br label %19 13: ; preds = %2 %14 = call i32 (...) @RAND_status() %15 = icmp eq i32 %14, 1 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = load i32, ptr %5, align 4 store i32 %17, ptr %6, align 4 br label %18 18: ; preds = %16, %13 br label %19 19: ; preds = %18, %12 %20 = load i32, ptr %6, align 4 ret i32 %20 } declare i32 @RAND_query_egd_bytes(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @RAND_status(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2i409ft4.c' source_filename = "/tmp/tmp2i409ft4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2i409ft4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplwsb44u5.c' source_filename = "/tmp/tmplwsb44u5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fooPlusOne() #0 { %1 = call i32 (...) @foo() %2 = add nsw i32 %1, 1 ret i32 %2 } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplwsb44u5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fooPlusOne() #0 { %1 = call i32 (...) @foo() %2 = add nsw i32 %1, 1 ret i32 %2 } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmq5qhoyb.c' source_filename = "/tmp/tmpmq5qhoyb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @I2C2_ER_IRQHandler() #0 { %1 = call i32 (...) @default_handler() ret void } declare i32 @default_handler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmq5qhoyb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @I2C2_ER_IRQHandler() #0 { %1 = call i32 (...) @default_handler() ret void } declare i32 @default_handler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpys78dnuy.c' source_filename = "/tmp/tmpys78dnuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpys78dnuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpepw8f4sb.c' source_filename = "/tmp/tmpepw8f4sb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [76 x i8] c"Welcome to Fibonacci (A simple C program to calculate Fibonacci sequences)\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c" %d \09\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\07\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 1, ptr %5, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %8 8: ; preds = %11, %0 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 20 br i1 %10, label %11, label %21 11: ; preds = %8 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %12, %13 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %4, align 4 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) %19 = load i32, ptr %2, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %2, align 4 store i32 0, ptr %4, align 4 br label %8, !llvm.loop !6 21: ; preds = %8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpepw8f4sb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [76 x i8] c"Welcome to Fibonacci (A simple C program to calculate Fibonacci sequences)\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c" %d \09\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\07\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 1, ptr %5, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 20 br i1 %9, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %11, %12 store i32 %13, ptr %4, align 4 %14 = load i32, ptr %5, align 4 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %4, align 4 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 store i32 0, ptr %4, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %20, 20 br i1 %21, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0ec2iz6i.c' source_filename = "/tmp/tmp0ec2iz6i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.x = private unnamed_addr constant [8 x double] [double 1.000000e+00, double 2.000000e+00, double -3.000000e+00, double -4.000000e+00, double 5.000000e+00, double -6.000000e+00, double -7.000000e+00, double 8.000000e+00], align 16 @.str = private unnamed_addr constant [13 x i8] c"minabs: %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [8 x double], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 64, i1 false) store i32 4, ptr %2, align 4 store i32 2, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [8 x double], ptr %1, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call double @stdlib_strided_dminabs(i32 noundef %5, ptr noundef %6, i32 noundef %7) store double %8, ptr %4, align 8 %9 = load double, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str, double noundef %9) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare double @stdlib_strided_dminabs(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ec2iz6i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.x = private unnamed_addr constant [8 x double] [double 1.000000e+00, double 2.000000e+00, double -3.000000e+00, double -4.000000e+00, double 5.000000e+00, double -6.000000e+00, double -7.000000e+00, double 8.000000e+00], align 16 @.str = private unnamed_addr constant [13 x i8] c"minabs: %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [8 x double], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 64, i1 false) store i32 4, ptr %2, align 4 store i32 2, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [8 x double], ptr %1, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call double @stdlib_strided_dminabs(i32 noundef %5, ptr noundef %6, i32 noundef %7) store double %8, ptr %4, align 8 %9 = load double, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str, double noundef %9) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare double @stdlib_strided_dminabs(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprvgzj6xr.c' source_filename = "/tmp/tmprvgzj6xr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprvgzj6xr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplzxy3dq2.c' source_filename = "/tmp/tmplzxy3dq2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @onepole_note_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplzxy3dq2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @onepole_note_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpopqe96jd.c' source_filename = "/tmp/tmpopqe96jd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpopqe96jd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6rl90l9e.c' source_filename = "/tmp/tmp6rl90l9e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sam3HandshakeIP(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 1 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %11, 65535 br i1 %12, label %13, label %14 13: ; preds = %10, %2 br label %16 14: ; preds = %10 %15 = load i32, ptr %5, align 4 br label %16 16: ; preds = %14, %13 %17 = phi i32 [ 7656, %13 ], [ %15, %14 ] %18 = call i32 @sam3tcpConnectIP(i32 noundef %7, i32 noundef %17) store i32 %18, ptr %6, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %16 store i32 -1, ptr %3, align 4 br label %24 21: ; preds = %16 %22 = load i32, ptr %6, align 4 %23 = call i32 @sam3HandshakeInternal(i32 noundef %22) store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %21, %20 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @sam3tcpConnectIP(i32 noundef, i32 noundef) #1 declare i32 @sam3HandshakeInternal(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6rl90l9e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sam3HandshakeIP(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 1 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %11, 65535 br i1 %12, label %13, label %14 13: ; preds = %10, %2 br label %16 14: ; preds = %10 %15 = load i32, ptr %5, align 4 br label %16 16: ; preds = %14, %13 %17 = phi i32 [ 7656, %13 ], [ %15, %14 ] %18 = call i32 @sam3tcpConnectIP(i32 noundef %7, i32 noundef %17) store i32 %18, ptr %6, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %16 store i32 -1, ptr %3, align 4 br label %24 21: ; preds = %16 %22 = load i32, ptr %6, align 4 %23 = call i32 @sam3HandshakeInternal(i32 noundef %22) store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %21, %20 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @sam3tcpConnectIP(i32 noundef, i32 noundef) #1 declare i32 @sam3HandshakeInternal(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqvmdx1i5.c' source_filename = "/tmp/tmpqvmdx1i5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"\0Ainput reg3: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"VCO: %u \0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"CDIV: %u \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reg3() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i64 @scanf(ptr noundef @.str.1, ptr noundef %1) %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %14 5: ; preds = %0 %6 = load i32, ptr %1, align 4 %7 = and i32 %6, -67108864 %8 = ashr i32 %7, 26 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) %10 = load i32, ptr %1, align 4 %11 = and i32 %10, 32760 %12 = ashr i32 %11, 3 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12) br label %14 14: ; preds = %5, %0 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqvmdx1i5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"\0Ainput reg3: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"VCO: %u \0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"CDIV: %u \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reg3() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i64 @scanf(ptr noundef @.str.1, ptr noundef %1) %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %14 5: ; preds = %0 %6 = load i32, ptr %1, align 4 %7 = and i32 %6, -67108864 %8 = ashr i32 %7, 26 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) %10 = load i32, ptr %1, align 4 %11 = and i32 %10, 32760 %12 = ashr i32 %11, 3 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12) br label %14 14: ; preds = %5, %0 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp08roym70.c' source_filename = "/tmp/tmp08roym70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp08roym70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7adlzned.c' source_filename = "/tmp/tmp7adlzned.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @snorm.a = internal global [32 x double] [double 0.000000e+00, double 0x3FA40EE34C0AC9DA, double 0x3FB412D5FC4A067C, double 0x3FBE262A9FC56E3C, double 0x3FC422C1AADB247A, double 0x3FC93A8AF48ECADC, double 0x3FCE5CA3830DFE6A, double 0x3FD1C5AE1F5C830F, double 0x3FD464965BDC7E52, double 0x3FD70C5E3EE31612, double 0x3FD9BE770ED7B8BF, double 0x3FDC7C7622981096, double 0x3FDF481CDB32CC3D, double 0x3FE111B13B759B6B, double 0x3FE288402C1E6119, double 0x3FE40900CBC2BE4F, double 0x3FE5956B875289E0, double 0x3FE72F38C9D299EA, double 0x3FE8D87273010EAA, double 0x3FEA938B8C9BA914, double 0x3FEC63812E37D6E1, double 0x3FEE4C0940F865A7, double 0x3FF028EB73A355D1, double 0x3FF13D80F695E6D5, double 0x3FF267D4C07B0543, double 0x3FF3AD8060D88CB2, double 0x3FF51692983B0B5F, double 0x3FF6AF4C0D40E693, double 0x3FF88BC1FBE1DA75, double 0x3FFAD0A62BB61155, double 0x3FFDCDBFEE3CAFEE, double 0x40013B22A7D56839], align 16 @snorm.d = internal global [31 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0x3FD0E034350D6AB8, double 0x3FCF0A8457FD6B61, double 0x3FCCDF64DD1A0476, double 0x3FCB16D40E5A8409, double 0x3FC9971E4F47AB7E, double 0x3FC84EFEE84AA079, double 0x3FC7326300D17435, double 0x3FC6389218964FB2, double 0x3FC55B135EA9AC2B, double 0x3FC494FCBA912BAC, double 0x3FC3E27FE200CB86, double 0x3FC3409D5C46D381, double 0x3FC2ACEF85F9D434, double 0x3FC225853B259BAF, double 0x3FC1A8C6FB89783B, double 0x3FC135633C6E602E, double 0x3FC0CA3FBFC447D9, double 0x3FC0666E7EFDEFA9, double 0x3FC009252D585368, double 0x3FBF636D44212057, double 0x3FBEBF1B5CDB9F09, double 0x3FBE24520D061FD4, double 0x3FBD922FF78EF8A2, double 0x3FBD07EFB3590044, double 0x3FBC84E380FAF7AD, double 0x3FBC0871C7331058], align 16 @snorm.t = internal global [31 x double] [double 0x3F492546187CA902, double 0x3F62E5DB9D3F4710, double 0x3F6FA04DBEAE2131, double 0x3F7646A1E5BDE803, double 0x3F7CE13189FFD178, double 0x3F81D5B519FC993C, double 0x3F8558F3DCE0849F, double 0x3F89014FA362D479, double 0x3F8CD6A106B763DC, double 0x3F9070EDB24472D9, double 0x3F9296AC8C38332D, double 0x3F94E29E6372013B, double 0x3F975BF7CA80677B, double 0x3F9A0B63C4823817, double 0x3F9CFB7338C30474, double 0x3FA01C9A69DE4082, double 0x3FA1EA83E7943438, double 0x3FA3F1E32EB8CF68, double 0x3FA6403ACE6EF964, double 0x3FA8E76349FEA931, double 0x3FABFF745C7EC8B2, double 0x3FAFA9C8B2D30C84, double 0x3FB20AF74AA42D3D, double 0x3FB4C5103F4DBC6F, double 0x3FB8394E9735B842, double 0x3FBCBFB2AE30BB1B, double 0x3FC178C436048E82, double 0x3FC5F9E4073FEF8C, double 0x3FCD22C8F7C08520, double 0x3FD526E1332A4AFF, double 0x3FE2B5E343462743], align 16 @snorm.h = internal global [31 x double] [double 0x3FA412D4D20B7711, double 0x3FA422ACD0133DBE, double 0x3FA43AA76F95C56A, double 0x3FA45B0873BE238C, double 0x3FA4842D38329937, double 0x3FA4B68F7C775250, double 0x3FA4F2C92BF562DF, double 0x3FA539995DC24D6A, double 0x3FA58BEADEBD04F9, double 0x3FA5EADCB91A1E89, double 0x3FA657CD5A7D6A9E, double 0x3FA6D4693C3A9D6C, double 0x3FA762BE533D28D6, double 0x3FA80556202A6A3E, double 0x3FA8BF5919EEEA17, double 0x3FA994BF8EF5F227, double 0x3FAA8A9652EC6C6A, double 0x3FABA7613D2D6BBD, double 0x3FACF3ABC3D2F988, double 0x3FAE7AE319968CEE, double 0x3FB02654D1EF3DF5, double 0x3FB13F7D83AC4B7C, double 0x3FB298E429F64BC0, double 0x3FB44AB13AFFE9FC, double 0x3FB67B5213D55909, double 0x3FB96BFC60600CE6, double 0x3FBD955619A5A469, double 0x3FC1F9C0FE076856, double 0x3FC780AB68567BD4, double 0x3FD1DB29AC143EF1, double 0x3FE66EFB026E0ABF], align 16 @snorm.i = internal global i64 0, align 8 @snorm.snorm = internal global double 0.000000e+00, align 8 @snorm.u = internal global double 0.000000e+00, align 8 @snorm.s = internal global double 0.000000e+00, align 8 @snorm.ustar = internal global double 0.000000e+00, align 8 @snorm.aa = internal global double 0.000000e+00, align 8 @snorm.w = internal global double 0.000000e+00, align 8 @snorm.y = internal global double 0.000000e+00, align 8 @snorm.tt = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @snorm() #0 { %1 = call double (...) @ranf() store double %1, ptr @snorm.u, align 8 store double 0.000000e+00, ptr @snorm.s, align 8 %2 = load double, ptr @snorm.u, align 8 %3 = fcmp ogt double %2, 5.000000e-01 br i1 %3, label %4, label %5 4: ; preds = %0 store double 1.000000e+00, ptr @snorm.s, align 8 br label %5 5: ; preds = %4, %0 %6 = load double, ptr @snorm.u, align 8 %7 = load double, ptr @snorm.s, align 8 %8 = fsub double %6, %7 %9 = load double, ptr @snorm.u, align 8 %10 = fadd double %9, %8 store double %10, ptr @snorm.u, align 8 %11 = load double, ptr @snorm.u, align 8 %12 = fmul double 3.200000e+01, %11 store double %12, ptr @snorm.u, align 8 %13 = load double, ptr @snorm.u, align 8 %14 = fptosi double %13 to i64 store i64 %14, ptr @snorm.i, align 8 %15 = load i64, ptr @snorm.i, align 8 %16 = icmp eq i64 %15, 32 br i1 %16, label %17, label %18 17: ; preds = %5 store i64 31, ptr @snorm.i, align 8 br label %18 18: ; preds = %17, %5 %19 = load i64, ptr @snorm.i, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %18 br label %93 22: ; preds = %18 %23 = load double, ptr @snorm.u, align 8 %24 = load i64, ptr @snorm.i, align 8 %25 = sitofp i64 %24 to double %26 = fsub double %23, %25 store double %26, ptr @snorm.ustar, align 8 %27 = load i64, ptr @snorm.i, align 8 %28 = getelementptr inbounds double, ptr @snorm.a, i64 %27 %29 = getelementptr inbounds double, ptr %28, i64 -1 %30 = load double, ptr %29, align 8 store double %30, ptr @snorm.aa, align 8 br label %31 31: ; preds = %91, %22 %32 = load double, ptr @snorm.ustar, align 8 %33 = load i64, ptr @snorm.i, align 8 %34 = getelementptr inbounds double, ptr @snorm.t, i64 %33 %35 = getelementptr inbounds double, ptr %34, i64 -1 %36 = load double, ptr %35, align 8 %37 = fcmp ole double %32, %36 br i1 %37, label %38, label %39 38: ; preds = %31 br label %63 39: ; preds = %31 %40 = load double, ptr @snorm.ustar, align 8 %41 = load i64, ptr @snorm.i, align 8 %42 = getelementptr inbounds double, ptr @snorm.t, i64 %41 %43 = getelementptr inbounds double, ptr %42, i64 -1 %44 = load double, ptr %43, align 8 %45 = fsub double %40, %44 %46 = load i64, ptr @snorm.i, align 8 %47 = getelementptr inbounds double, ptr @snorm.h, i64 %46 %48 = getelementptr inbounds double, ptr %47, i64 -1 %49 = load double, ptr %48, align 8 %50 = fmul double %45, %49 store double %50, ptr @snorm.w, align 8 br label %51 51: ; preds = %133, %84, %39 %52 = load double, ptr @snorm.aa, align 8 %53 = load double, ptr @snorm.w, align 8 %54 = fadd double %52, %53 store double %54, ptr @snorm.y, align 8 %55 = load double, ptr @snorm.y, align 8 store double %55, ptr @snorm.snorm, align 8 %56 = load double, ptr @snorm.s, align 8 %57 = fcmp oeq double %56, 1.000000e+00 br i1 %57, label %58, label %61 58: ; preds = %51 %59 = load double, ptr @snorm.y, align 8 %60 = fneg double %59 store double %60, ptr @snorm.snorm, align 8 br label %61 61: ; preds = %58, %51 %62 = load double, ptr @snorm.snorm, align 8 ret double %62 63: ; preds = %38 %64 = call double (...) @ranf() store double %64, ptr @snorm.u, align 8 %65 = load double, ptr @snorm.u, align 8 %66 = load i64, ptr @snorm.i, align 8 %67 = getelementptr inbounds double, ptr @snorm.a, i64 %66 %68 = load double, ptr %67, align 8 %69 = load double, ptr @snorm.aa, align 8 %70 = fsub double %68, %69 %71 = fmul double %65, %70 store double %71, ptr @snorm.w, align 8 %72 = load double, ptr @snorm.w, align 8 %73 = load double, ptr @snorm.aa, align 8 %74 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %72, double %73) %75 = load double, ptr @snorm.w, align 8 %76 = fmul double %74, %75 store double %76, ptr @snorm.tt, align 8 br label %80 77: ; preds = %90 %78 = load double, ptr @snorm.u, align 8 store double %78, ptr @snorm.tt, align 8 %79 = call double (...) @ranf() store double %79, ptr @snorm.ustar, align 8 br label %80 80: ; preds = %77, %63 %81 = load double, ptr @snorm.ustar, align 8 %82 = load double, ptr @snorm.tt, align 8 %83 = fcmp ogt double %81, %82 br i1 %83, label %84, label %85 84: ; preds = %80 br label %51 85: ; preds = %80 %86 = call double (...) @ranf() store double %86, ptr @snorm.u, align 8 %87 = load double, ptr @snorm.ustar, align 8 %88 = load double, ptr @snorm.u, align 8 %89 = fcmp oge double %87, %88 br i1 %89, label %90, label %91 90: ; preds = %85 br label %77 91: ; preds = %85 %92 = call double (...) @ranf() store double %92, ptr @snorm.ustar, align 8 br label %31 93: ; preds = %21 store i64 6, ptr @snorm.i, align 8 %94 = load double, ptr getelementptr inbounds (double, ptr @snorm.a, i64 31), align 8 store double %94, ptr @snorm.aa, align 8 br label %104 95: ; preds = %110 %96 = load i64, ptr @snorm.i, align 8 %97 = getelementptr inbounds double, ptr @snorm.d, i64 %96 %98 = getelementptr inbounds double, ptr %97, i64 -1 %99 = load double, ptr %98, align 8 %100 = load double, ptr @snorm.aa, align 8 %101 = fadd double %100, %99 store double %101, ptr @snorm.aa, align 8 %102 = load i64, ptr @snorm.i, align 8 %103 = add nsw i64 %102, 1 store i64 %103, ptr @snorm.i, align 8 br label %104 104: ; preds = %95, %93 %105 = load double, ptr @snorm.u, align 8 %106 = load double, ptr @snorm.u, align 8 %107 = fadd double %106, %105 store double %107, ptr @snorm.u, align 8 %108 = load double, ptr @snorm.u, align 8 %109 = fcmp olt double %108, 1.000000e+00 br i1 %109, label %110, label %111 110: ; preds = %104 br label %95 111: ; preds = %104 %112 = load double, ptr @snorm.u, align 8 %113 = fsub double %112, 1.000000e+00 store double %113, ptr @snorm.u, align 8 br label %114 114: ; preds = %140, %111 %115 = load double, ptr @snorm.u, align 8 %116 = load i64, ptr @snorm.i, align 8 %117 = getelementptr inbounds double, ptr @snorm.d, i64 %116 %118 = getelementptr inbounds double, ptr %117, i64 -1 %119 = load double, ptr %118, align 8 %120 = fmul double %115, %119 store double %120, ptr @snorm.w, align 8 %121 = load double, ptr @snorm.w, align 8 %122 = load double, ptr @snorm.aa, align 8 %123 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %121, double %122) %124 = load double, ptr @snorm.w, align 8 %125 = fmul double %123, %124 store double %125, ptr @snorm.tt, align 8 br label %128 126: ; preds = %139 %127 = load double, ptr @snorm.u, align 8 store double %127, ptr @snorm.tt, align 8 br label %128 128: ; preds = %126, %114 %129 = call double (...) @ranf() store double %129, ptr @snorm.ustar, align 8 %130 = load double, ptr @snorm.ustar, align 8 %131 = load double, ptr @snorm.tt, align 8 %132 = fcmp ogt double %130, %131 br i1 %132, label %133, label %134 133: ; preds = %128 br label %51 134: ; preds = %128 %135 = call double (...) @ranf() store double %135, ptr @snorm.u, align 8 %136 = load double, ptr @snorm.ustar, align 8 %137 = load double, ptr @snorm.u, align 8 %138 = fcmp oge double %136, %137 br i1 %138, label %139, label %140 139: ; preds = %134 br label %126 140: ; preds = %134 %141 = call double (...) @ranf() store double %141, ptr @snorm.u, align 8 br label %114 } declare double @ranf(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7adlzned.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @snorm.a = internal global [32 x double] [double 0.000000e+00, double 0x3FA40EE34C0AC9DA, double 0x3FB412D5FC4A067C, double 0x3FBE262A9FC56E3C, double 0x3FC422C1AADB247A, double 0x3FC93A8AF48ECADC, double 0x3FCE5CA3830DFE6A, double 0x3FD1C5AE1F5C830F, double 0x3FD464965BDC7E52, double 0x3FD70C5E3EE31612, double 0x3FD9BE770ED7B8BF, double 0x3FDC7C7622981096, double 0x3FDF481CDB32CC3D, double 0x3FE111B13B759B6B, double 0x3FE288402C1E6119, double 0x3FE40900CBC2BE4F, double 0x3FE5956B875289E0, double 0x3FE72F38C9D299EA, double 0x3FE8D87273010EAA, double 0x3FEA938B8C9BA914, double 0x3FEC63812E37D6E1, double 0x3FEE4C0940F865A7, double 0x3FF028EB73A355D1, double 0x3FF13D80F695E6D5, double 0x3FF267D4C07B0543, double 0x3FF3AD8060D88CB2, double 0x3FF51692983B0B5F, double 0x3FF6AF4C0D40E693, double 0x3FF88BC1FBE1DA75, double 0x3FFAD0A62BB61155, double 0x3FFDCDBFEE3CAFEE, double 0x40013B22A7D56839], align 16 @snorm.d = internal global [31 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0x3FD0E034350D6AB8, double 0x3FCF0A8457FD6B61, double 0x3FCCDF64DD1A0476, double 0x3FCB16D40E5A8409, double 0x3FC9971E4F47AB7E, double 0x3FC84EFEE84AA079, double 0x3FC7326300D17435, double 0x3FC6389218964FB2, double 0x3FC55B135EA9AC2B, double 0x3FC494FCBA912BAC, double 0x3FC3E27FE200CB86, double 0x3FC3409D5C46D381, double 0x3FC2ACEF85F9D434, double 0x3FC225853B259BAF, double 0x3FC1A8C6FB89783B, double 0x3FC135633C6E602E, double 0x3FC0CA3FBFC447D9, double 0x3FC0666E7EFDEFA9, double 0x3FC009252D585368, double 0x3FBF636D44212057, double 0x3FBEBF1B5CDB9F09, double 0x3FBE24520D061FD4, double 0x3FBD922FF78EF8A2, double 0x3FBD07EFB3590044, double 0x3FBC84E380FAF7AD, double 0x3FBC0871C7331058], align 16 @snorm.t = internal global [31 x double] [double 0x3F492546187CA902, double 0x3F62E5DB9D3F4710, double 0x3F6FA04DBEAE2131, double 0x3F7646A1E5BDE803, double 0x3F7CE13189FFD178, double 0x3F81D5B519FC993C, double 0x3F8558F3DCE0849F, double 0x3F89014FA362D479, double 0x3F8CD6A106B763DC, double 0x3F9070EDB24472D9, double 0x3F9296AC8C38332D, double 0x3F94E29E6372013B, double 0x3F975BF7CA80677B, double 0x3F9A0B63C4823817, double 0x3F9CFB7338C30474, double 0x3FA01C9A69DE4082, double 0x3FA1EA83E7943438, double 0x3FA3F1E32EB8CF68, double 0x3FA6403ACE6EF964, double 0x3FA8E76349FEA931, double 0x3FABFF745C7EC8B2, double 0x3FAFA9C8B2D30C84, double 0x3FB20AF74AA42D3D, double 0x3FB4C5103F4DBC6F, double 0x3FB8394E9735B842, double 0x3FBCBFB2AE30BB1B, double 0x3FC178C436048E82, double 0x3FC5F9E4073FEF8C, double 0x3FCD22C8F7C08520, double 0x3FD526E1332A4AFF, double 0x3FE2B5E343462743], align 16 @snorm.h = internal global [31 x double] [double 0x3FA412D4D20B7711, double 0x3FA422ACD0133DBE, double 0x3FA43AA76F95C56A, double 0x3FA45B0873BE238C, double 0x3FA4842D38329937, double 0x3FA4B68F7C775250, double 0x3FA4F2C92BF562DF, double 0x3FA539995DC24D6A, double 0x3FA58BEADEBD04F9, double 0x3FA5EADCB91A1E89, double 0x3FA657CD5A7D6A9E, double 0x3FA6D4693C3A9D6C, double 0x3FA762BE533D28D6, double 0x3FA80556202A6A3E, double 0x3FA8BF5919EEEA17, double 0x3FA994BF8EF5F227, double 0x3FAA8A9652EC6C6A, double 0x3FABA7613D2D6BBD, double 0x3FACF3ABC3D2F988, double 0x3FAE7AE319968CEE, double 0x3FB02654D1EF3DF5, double 0x3FB13F7D83AC4B7C, double 0x3FB298E429F64BC0, double 0x3FB44AB13AFFE9FC, double 0x3FB67B5213D55909, double 0x3FB96BFC60600CE6, double 0x3FBD955619A5A469, double 0x3FC1F9C0FE076856, double 0x3FC780AB68567BD4, double 0x3FD1DB29AC143EF1, double 0x3FE66EFB026E0ABF], align 16 @snorm.i = internal global i64 0, align 8 @snorm.snorm = internal global double 0.000000e+00, align 8 @snorm.u = internal global double 0.000000e+00, align 8 @snorm.s = internal global double 0.000000e+00, align 8 @snorm.ustar = internal global double 0.000000e+00, align 8 @snorm.aa = internal global double 0.000000e+00, align 8 @snorm.w = internal global double 0.000000e+00, align 8 @snorm.y = internal global double 0.000000e+00, align 8 @snorm.tt = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @snorm() #0 { %1 = call double (...) @ranf() store double %1, ptr @snorm.u, align 8 store double 0.000000e+00, ptr @snorm.s, align 8 %2 = load double, ptr @snorm.u, align 8 %3 = fcmp ogt double %2, 5.000000e-01 br i1 %3, label %4, label %5 4: ; preds = %0 store double 1.000000e+00, ptr @snorm.s, align 8 br label %5 5: ; preds = %4, %0 %6 = load double, ptr @snorm.u, align 8 %7 = load double, ptr @snorm.s, align 8 %8 = fsub double %6, %7 %9 = load double, ptr @snorm.u, align 8 %10 = fadd double %9, %8 store double %10, ptr @snorm.u, align 8 %11 = load double, ptr @snorm.u, align 8 %12 = fmul double 3.200000e+01, %11 store double %12, ptr @snorm.u, align 8 %13 = load double, ptr @snorm.u, align 8 %14 = fptosi double %13 to i64 store i64 %14, ptr @snorm.i, align 8 %15 = load i64, ptr @snorm.i, align 8 %16 = icmp eq i64 %15, 32 br i1 %16, label %17, label %18 17: ; preds = %5 store i64 31, ptr @snorm.i, align 8 br label %18 18: ; preds = %17, %5 %19 = load i64, ptr @snorm.i, align 8 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %18 br label %100 22: ; preds = %18 %23 = load double, ptr @snorm.u, align 8 %24 = load i64, ptr @snorm.i, align 8 %25 = sitofp i64 %24 to double %26 = fsub double %23, %25 store double %26, ptr @snorm.ustar, align 8 %27 = load i64, ptr @snorm.i, align 8 %28 = getelementptr inbounds double, ptr @snorm.a, i64 %27 %29 = getelementptr inbounds double, ptr %28, i64 -1 %30 = load double, ptr %29, align 8 store double %30, ptr @snorm.aa, align 8 %31 = load double, ptr @snorm.ustar, align 8 %32 = load i64, ptr @snorm.i, align 8 %33 = getelementptr inbounds double, ptr @snorm.t, i64 %32 %34 = getelementptr inbounds double, ptr %33, i64 -1 %35 = load double, ptr %34, align 8 %36 = fcmp ole double %31, %35 br i1 %36, label %.lr.ph3, label %38 .lr.ph3: ; preds = %22 br label %37 37: ; preds = %.lr.ph3, %92 br label %62 ._crit_edge4: ; preds = %92 br label %38 38: ; preds = %._crit_edge4, %22 %39 = load double, ptr @snorm.ustar, align 8 %40 = load i64, ptr @snorm.i, align 8 %41 = getelementptr inbounds double, ptr @snorm.t, i64 %40 %42 = getelementptr inbounds double, ptr %41, i64 -1 %43 = load double, ptr %42, align 8 %44 = fsub double %39, %43 %45 = load i64, ptr @snorm.i, align 8 %46 = getelementptr inbounds double, ptr @snorm.h, i64 %45 %47 = getelementptr inbounds double, ptr %46, i64 -1 %48 = load double, ptr %47, align 8 %49 = fmul double %44, %48 store double %49, ptr @snorm.w, align 8 br label %50 50: ; preds = %147, %85, %38 %51 = load double, ptr @snorm.aa, align 8 %52 = load double, ptr @snorm.w, align 8 %53 = fadd double %51, %52 store double %53, ptr @snorm.y, align 8 %54 = load double, ptr @snorm.y, align 8 store double %54, ptr @snorm.snorm, align 8 %55 = load double, ptr @snorm.s, align 8 %56 = fcmp oeq double %55, 1.000000e+00 br i1 %56, label %57, label %60 57: ; preds = %50 %58 = load double, ptr @snorm.y, align 8 %59 = fneg double %58 store double %59, ptr @snorm.snorm, align 8 br label %60 60: ; preds = %57, %50 %61 = load double, ptr @snorm.snorm, align 8 ret double %61 62: ; preds = %37 %63 = call double (...) @ranf() store double %63, ptr @snorm.u, align 8 %64 = load double, ptr @snorm.u, align 8 %65 = load i64, ptr @snorm.i, align 8 %66 = getelementptr inbounds double, ptr @snorm.a, i64 %65 %67 = load double, ptr %66, align 8 %68 = load double, ptr @snorm.aa, align 8 %69 = fsub double %67, %68 %70 = fmul double %64, %69 store double %70, ptr @snorm.w, align 8 %71 = load double, ptr @snorm.w, align 8 %72 = load double, ptr @snorm.aa, align 8 %73 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %71, double %72) %74 = load double, ptr @snorm.w, align 8 %75 = fmul double %73, %74 store double %75, ptr @snorm.tt, align 8 %76 = load double, ptr @snorm.ustar, align 8 %77 = load double, ptr @snorm.tt, align 8 %78 = fcmp ogt double %76, %77 br i1 %78, label %._crit_edge, label %.lr.ph .lr.ph: ; preds = %62 br label %86 79: ; preds = %91 %80 = load double, ptr @snorm.u, align 8 store double %80, ptr @snorm.tt, align 8 %81 = call double (...) @ranf() store double %81, ptr @snorm.ustar, align 8 %82 = load double, ptr @snorm.ustar, align 8 %83 = load double, ptr @snorm.tt, align 8 %84 = fcmp ogt double %82, %83 br i1 %84, label %._crit_edge1, label %86 ._crit_edge: ; preds = %62 br label %85 ._crit_edge1: ; preds = %79 br label %85 85: ; preds = %._crit_edge1, %._crit_edge br label %50 86: ; preds = %.lr.ph, %79 %87 = call double (...) @ranf() store double %87, ptr @snorm.u, align 8 %88 = load double, ptr @snorm.ustar, align 8 %89 = load double, ptr @snorm.u, align 8 %90 = fcmp oge double %88, %89 br i1 %90, label %91, label %92 91: ; preds = %86 br label %79 92: ; preds = %86 %93 = call double (...) @ranf() store double %93, ptr @snorm.ustar, align 8 %94 = load double, ptr @snorm.ustar, align 8 %95 = load i64, ptr @snorm.i, align 8 %96 = getelementptr inbounds double, ptr @snorm.t, i64 %95 %97 = getelementptr inbounds double, ptr %96, i64 -1 %98 = load double, ptr %97, align 8 %99 = fcmp ole double %94, %98 br i1 %99, label %37, label %._crit_edge4 100: ; preds = %21 store i64 6, ptr @snorm.i, align 8 %101 = load double, ptr getelementptr inbounds (double, ptr @snorm.a, i64 31), align 8 store double %101, ptr @snorm.aa, align 8 %102 = load double, ptr @snorm.u, align 8 %103 = load double, ptr @snorm.u, align 8 %104 = fadd double %103, %102 store double %104, ptr @snorm.u, align 8 %105 = load double, ptr @snorm.u, align 8 %106 = fcmp olt double %105, 1.000000e+00 br i1 %106, label %.lr.ph6, label %122 .lr.ph6: ; preds = %100 br label %121 107: ; preds = %121 %108 = load i64, ptr @snorm.i, align 8 %109 = getelementptr inbounds double, ptr @snorm.d, i64 %108 %110 = getelementptr inbounds double, ptr %109, i64 -1 %111 = load double, ptr %110, align 8 %112 = load double, ptr @snorm.aa, align 8 %113 = fadd double %112, %111 store double %113, ptr @snorm.aa, align 8 %114 = load i64, ptr @snorm.i, align 8 %115 = add nsw i64 %114, 1 store i64 %115, ptr @snorm.i, align 8 %116 = load double, ptr @snorm.u, align 8 %117 = load double, ptr @snorm.u, align 8 %118 = fadd double %117, %116 store double %118, ptr @snorm.u, align 8 %119 = load double, ptr @snorm.u, align 8 %120 = fcmp olt double %119, 1.000000e+00 br i1 %120, label %121, label %._crit_edge7 121: ; preds = %.lr.ph6, %107 br label %107 ._crit_edge7: ; preds = %107 br label %122 122: ; preds = %._crit_edge7, %100 %123 = load double, ptr @snorm.u, align 8 %124 = fsub double %123, 1.000000e+00 store double %124, ptr @snorm.u, align 8 br label %125 125: ; preds = %154, %122 %126 = load double, ptr @snorm.u, align 8 %127 = load i64, ptr @snorm.i, align 8 %128 = getelementptr inbounds double, ptr @snorm.d, i64 %127 %129 = getelementptr inbounds double, ptr %128, i64 -1 %130 = load double, ptr %129, align 8 %131 = fmul double %126, %130 store double %131, ptr @snorm.w, align 8 %132 = load double, ptr @snorm.w, align 8 %133 = load double, ptr @snorm.aa, align 8 %134 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %132, double %133) %135 = load double, ptr @snorm.w, align 8 %136 = fmul double %134, %135 store double %136, ptr @snorm.tt, align 8 %137 = call double (...) @ranf() store double %137, ptr @snorm.ustar, align 8 %138 = load double, ptr @snorm.ustar, align 8 %139 = load double, ptr @snorm.tt, align 8 %140 = fcmp ogt double %138, %139 br i1 %140, label %._crit_edge10, label %.lr.ph9 .lr.ph9: ; preds = %125 br label %148 141: ; preds = %153 %142 = load double, ptr @snorm.u, align 8 store double %142, ptr @snorm.tt, align 8 %143 = call double (...) @ranf() store double %143, ptr @snorm.ustar, align 8 %144 = load double, ptr @snorm.ustar, align 8 %145 = load double, ptr @snorm.tt, align 8 %146 = fcmp ogt double %144, %145 br i1 %146, label %._crit_edge11, label %148 ._crit_edge10: ; preds = %125 br label %147 ._crit_edge11: ; preds = %141 br label %147 147: ; preds = %._crit_edge11, %._crit_edge10 br label %50 148: ; preds = %.lr.ph9, %141 %149 = call double (...) @ranf() store double %149, ptr @snorm.u, align 8 %150 = load double, ptr @snorm.ustar, align 8 %151 = load double, ptr @snorm.u, align 8 %152 = fcmp oge double %150, %151 br i1 %152, label %153, label %154 153: ; preds = %148 br label %141 154: ; preds = %148 %155 = call double (...) @ranf() store double %155, ptr @snorm.u, align 8 br label %125 } declare double @ranf(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0lqhkfb4.c' source_filename = "/tmp/tmp0lqhkfb4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c"\0A\0A\09\09Das Ergebnis lautet: ( %.2lf + %.2lf ) = %.2lf\0A\0A\09\09\00", align 1 @.str.1 = private unnamed_addr constant [55 x i8] c"\0A\0A\09\09Das Ergebnis lautet: ( %.2lf / %.2lf ) = %.2lf\0A\0A\09\09\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c"\0A\0A\09\09Das Ergebnis lautet: ( %.2lf - %.2lf ) = %.2lf\0A\0A\09\09\00", align 1 @.str.3 = private unnamed_addr constant [55 x i8] c"\0A\0A\09\09Das Ergebnis lautet: ( %.2lf * %.2lf ) = %.2lf\0A\0A\09\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @ergebnisausgabe(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store i32 %0, ptr %6, align 4 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %17 12: ; preds = %4 %13 = load double, ptr %7, align 8 %14 = load double, ptr %8, align 8 %15 = load double, ptr %9, align 8 %16 = call double @printf(ptr noundef @.str, double noundef %13, double noundef %14, double noundef %15) store double %16, ptr %5, align 8 br label %45 17: ; preds = %4 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, 2 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load double, ptr %7, align 8 %22 = load double, ptr %8, align 8 %23 = load double, ptr %9, align 8 %24 = call double @printf(ptr noundef @.str.1, double noundef %21, double noundef %22, double noundef %23) store double %24, ptr %5, align 8 br label %45 25: ; preds = %17 %26 = load i32, ptr %6, align 4 %27 = icmp eq i32 %26, 3 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load double, ptr %7, align 8 %30 = load double, ptr %8, align 8 %31 = load double, ptr %9, align 8 %32 = call double @printf(ptr noundef @.str.2, double noundef %29, double noundef %30, double noundef %31) store double %32, ptr %5, align 8 br label %45 33: ; preds = %25 %34 = load i32, ptr %6, align 4 %35 = icmp eq i32 %34, 4 br i1 %35, label %36, label %41 36: ; preds = %33 %37 = load double, ptr %7, align 8 %38 = load double, ptr %8, align 8 %39 = load double, ptr %9, align 8 %40 = call double @printf(ptr noundef @.str.3, double noundef %37, double noundef %38, double noundef %39) store double %40, ptr %5, align 8 br label %45 41: ; preds = %33 br label %42 42: ; preds = %41 br label %43 43: ; preds = %42 br label %44 44: ; preds = %43 store double 0.000000e+00, ptr %5, align 8 br label %45 45: ; preds = %44, %36, %28, %20, %12 %46 = load double, ptr %5, align 8 ret double %46 } declare double @printf(ptr noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0lqhkfb4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c"\0A\0A\09\09Das Ergebnis lautet: ( %.2lf + %.2lf ) = %.2lf\0A\0A\09\09\00", align 1 @.str.1 = private unnamed_addr constant [55 x i8] c"\0A\0A\09\09Das Ergebnis lautet: ( %.2lf / %.2lf ) = %.2lf\0A\0A\09\09\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c"\0A\0A\09\09Das Ergebnis lautet: ( %.2lf - %.2lf ) = %.2lf\0A\0A\09\09\00", align 1 @.str.3 = private unnamed_addr constant [55 x i8] c"\0A\0A\09\09Das Ergebnis lautet: ( %.2lf * %.2lf ) = %.2lf\0A\0A\09\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @ergebnisausgabe(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store i32 %0, ptr %6, align 4 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %17 12: ; preds = %4 %13 = load double, ptr %7, align 8 %14 = load double, ptr %8, align 8 %15 = load double, ptr %9, align 8 %16 = call double @printf(ptr noundef @.str, double noundef %13, double noundef %14, double noundef %15) store double %16, ptr %5, align 8 br label %45 17: ; preds = %4 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, 2 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load double, ptr %7, align 8 %22 = load double, ptr %8, align 8 %23 = load double, ptr %9, align 8 %24 = call double @printf(ptr noundef @.str.1, double noundef %21, double noundef %22, double noundef %23) store double %24, ptr %5, align 8 br label %45 25: ; preds = %17 %26 = load i32, ptr %6, align 4 %27 = icmp eq i32 %26, 3 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load double, ptr %7, align 8 %30 = load double, ptr %8, align 8 %31 = load double, ptr %9, align 8 %32 = call double @printf(ptr noundef @.str.2, double noundef %29, double noundef %30, double noundef %31) store double %32, ptr %5, align 8 br label %45 33: ; preds = %25 %34 = load i32, ptr %6, align 4 %35 = icmp eq i32 %34, 4 br i1 %35, label %36, label %41 36: ; preds = %33 %37 = load double, ptr %7, align 8 %38 = load double, ptr %8, align 8 %39 = load double, ptr %9, align 8 %40 = call double @printf(ptr noundef @.str.3, double noundef %37, double noundef %38, double noundef %39) store double %40, ptr %5, align 8 br label %45 41: ; preds = %33 br label %42 42: ; preds = %41 br label %43 43: ; preds = %42 br label %44 44: ; preds = %43 store double 0.000000e+00, ptr %5, align 8 br label %45 45: ; preds = %44, %36, %28, %20, %12 %46 = load double, ptr %5, align 8 ret double %46 } declare double @printf(ptr noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpylp4uko8.c' source_filename = "/tmp/tmpylp4uko8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpylp4uko8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyxdil14c.c' source_filename = "/tmp/tmpyxdil14c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f_sub_uint8_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %15 15: ; preds = %52, %6 %16 = load i32, ptr %13, align 4 %17 = load i32, ptr %12, align 4 %18 = icmp ult i32 %16, %17 br i1 %18, label %19, label %55 19: ; preds = %15 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %13, align 4 %22 = zext i32 %21 to i64 %23 = getelementptr inbounds i64, ptr %20, i64 %22 %24 = load i64, ptr %23, align 8 %25 = load ptr, ptr %11, align 8 %26 = load i32, ptr %13, align 4 %27 = zext i32 %26 to i64 %28 = getelementptr inbounds i64, ptr %25, i64 %27 %29 = load i64, ptr %28, align 8 %30 = sub nsw i64 %24, %29 store i64 %30, ptr %14, align 8 %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr %13, align 4 %33 = zext i32 %32 to i64 %34 = getelementptr inbounds i64, ptr %31, i64 %33 %35 = load i64, ptr %34, align 8 %36 = load i64, ptr %9, align 8 %37 = icmp slt i64 %35, %36 br i1 %37, label %38, label %40 38: ; preds = %19 %39 = load i64, ptr %14, align 8 br label %46 40: ; preds = %19 %41 = load ptr, ptr %11, align 8 %42 = load i32, ptr %13, align 4 %43 = zext i32 %42 to i64 %44 = getelementptr inbounds i64, ptr %41, i64 %43 %45 = load i64, ptr %44, align 8 br label %46 46: ; preds = %40, %38 %47 = phi i64 [ %39, %38 ], [ %45, %40 ] %48 = load ptr, ptr %7, align 8 %49 = load i32, ptr %13, align 4 %50 = zext i32 %49 to i64 %51 = getelementptr inbounds i64, ptr %48, i64 %50 store i64 %47, ptr %51, align 8 br label %52 52: ; preds = %46 %53 = load i32, ptr %13, align 4 %54 = add i32 %53, 1 store i32 %54, ptr %13, align 4 br label %15, !llvm.loop !6 55: ; preds = %15 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyxdil14c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f_sub_uint8_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 store i32 0, ptr %13, align 4 %15 = load i32, ptr %13, align 4 %16 = load i32, ptr %12, align 4 %17 = icmp ult i32 %15, %16 br i1 %17, label %.lr.ph, label %57 .lr.ph: ; preds = %6 br label %18 18: ; preds = %.lr.ph, %51 %19 = load ptr, ptr %10, align 8 %20 = load i32, ptr %13, align 4 %21 = zext i32 %20 to i64 %22 = getelementptr inbounds i64, ptr %19, i64 %21 %23 = load i64, ptr %22, align 8 %24 = load ptr, ptr %11, align 8 %25 = load i32, ptr %13, align 4 %26 = zext i32 %25 to i64 %27 = getelementptr inbounds i64, ptr %24, i64 %26 %28 = load i64, ptr %27, align 8 %29 = sub nsw i64 %23, %28 store i64 %29, ptr %14, align 8 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %13, align 4 %32 = zext i32 %31 to i64 %33 = getelementptr inbounds i64, ptr %30, i64 %32 %34 = load i64, ptr %33, align 8 %35 = load i64, ptr %9, align 8 %36 = icmp slt i64 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %18 %38 = load i64, ptr %14, align 8 br label %45 39: ; preds = %18 %40 = load ptr, ptr %11, align 8 %41 = load i32, ptr %13, align 4 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds i64, ptr %40, i64 %42 %44 = load i64, ptr %43, align 8 br label %45 45: ; preds = %39, %37 %46 = phi i64 [ %38, %37 ], [ %44, %39 ] %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr %13, align 4 %49 = zext i32 %48 to i64 %50 = getelementptr inbounds i64, ptr %47, i64 %49 store i64 %46, ptr %50, align 8 br label %51 51: ; preds = %45 %52 = load i32, ptr %13, align 4 %53 = add i32 %52, 1 store i32 %53, ptr %13, align 4 %54 = load i32, ptr %13, align 4 %55 = load i32, ptr %12, align 4 %56 = icmp ult i32 %54, %55 br i1 %56, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %57 57: ; preds = %._crit_edge, %6 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjxlwxrqw.c' source_filename = "/tmp/tmpjxlwxrqw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f298(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @f297(ptr noundef %3) ret i32 %4 } declare i32 @f297(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjxlwxrqw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f298(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @f297(ptr noundef %3) ret i32 %4 } declare i32 @f297(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0dzau2ct.c' source_filename = "/tmp/tmp0dzau2ct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gleIntLoad_Version_3_1() #0 { %1 = alloca i32, align 4 store i32 1, ptr %1, align 4 %2 = call i32 (...) @gleIntClear() %3 = call i32 (...) @gleIntLoadCore_1_1_Version_3_1() %4 = icmp ne i32 %3, 0 br i1 %4, label %6, label %5 5: ; preds = %0 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %5, %0 %7 = call i32 (...) @gleIntLoadCore_1_2_Version_3_1() %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %6 store i32 0, ptr %1, align 4 br label %10 10: ; preds = %9, %6 %11 = call i32 (...) @gleIntLoadCore_1_3_Version_3_1() %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %10 store i32 0, ptr %1, align 4 br label %14 14: ; preds = %13, %10 %15 = call i32 (...) @gleIntLoadCore_1_4_Version_3_1() %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %14 store i32 0, ptr %1, align 4 br label %18 18: ; preds = %17, %14 %19 = call i32 (...) @gleIntLoadCore_1_5_Version_3_1() %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %18 store i32 0, ptr %1, align 4 br label %22 22: ; preds = %21, %18 %23 = call i32 (...) @gleIntLoadCore_2_0_Version_3_1() %24 = icmp ne i32 %23, 0 br i1 %24, label %26, label %25 25: ; preds = %22 store i32 0, ptr %1, align 4 br label %26 26: ; preds = %25, %22 %27 = call i32 (...) @gleIntLoadCore_2_1_Version_3_1() %28 = icmp ne i32 %27, 0 br i1 %28, label %30, label %29 29: ; preds = %26 store i32 0, ptr %1, align 4 br label %30 30: ; preds = %29, %26 %31 = call i32 (...) @gleIntLoadCore_3_0_Version_3_1() %32 = icmp ne i32 %31, 0 br i1 %32, label %34, label %33 33: ; preds = %30 store i32 0, ptr %1, align 4 br label %34 34: ; preds = %33, %30 %35 = call i32 (...) @gleIntLoadCore_3_1_Base() %36 = icmp ne i32 %35, 0 br i1 %36, label %38, label %37 37: ; preds = %34 store i32 0, ptr %1, align 4 br label %38 38: ; preds = %37, %34 %39 = load i32, ptr %1, align 4 ret i32 %39 } declare i32 @gleIntClear(...) #1 declare i32 @gleIntLoadCore_1_1_Version_3_1(...) #1 declare i32 @gleIntLoadCore_1_2_Version_3_1(...) #1 declare i32 @gleIntLoadCore_1_3_Version_3_1(...) #1 declare i32 @gleIntLoadCore_1_4_Version_3_1(...) #1 declare i32 @gleIntLoadCore_1_5_Version_3_1(...) #1 declare i32 @gleIntLoadCore_2_0_Version_3_1(...) #1 declare i32 @gleIntLoadCore_2_1_Version_3_1(...) #1 declare i32 @gleIntLoadCore_3_0_Version_3_1(...) #1 declare i32 @gleIntLoadCore_3_1_Base(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0dzau2ct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gleIntLoad_Version_3_1() #0 { %1 = alloca i32, align 4 store i32 1, ptr %1, align 4 %2 = call i32 (...) @gleIntClear() %3 = call i32 (...) @gleIntLoadCore_1_1_Version_3_1() %4 = icmp ne i32 %3, 0 br i1 %4, label %6, label %5 5: ; preds = %0 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %5, %0 %7 = call i32 (...) @gleIntLoadCore_1_2_Version_3_1() %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %6 store i32 0, ptr %1, align 4 br label %10 10: ; preds = %9, %6 %11 = call i32 (...) @gleIntLoadCore_1_3_Version_3_1() %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %10 store i32 0, ptr %1, align 4 br label %14 14: ; preds = %13, %10 %15 = call i32 (...) @gleIntLoadCore_1_4_Version_3_1() %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %14 store i32 0, ptr %1, align 4 br label %18 18: ; preds = %17, %14 %19 = call i32 (...) @gleIntLoadCore_1_5_Version_3_1() %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %18 store i32 0, ptr %1, align 4 br label %22 22: ; preds = %21, %18 %23 = call i32 (...) @gleIntLoadCore_2_0_Version_3_1() %24 = icmp ne i32 %23, 0 br i1 %24, label %26, label %25 25: ; preds = %22 store i32 0, ptr %1, align 4 br label %26 26: ; preds = %25, %22 %27 = call i32 (...) @gleIntLoadCore_2_1_Version_3_1() %28 = icmp ne i32 %27, 0 br i1 %28, label %30, label %29 29: ; preds = %26 store i32 0, ptr %1, align 4 br label %30 30: ; preds = %29, %26 %31 = call i32 (...) @gleIntLoadCore_3_0_Version_3_1() %32 = icmp ne i32 %31, 0 br i1 %32, label %34, label %33 33: ; preds = %30 store i32 0, ptr %1, align 4 br label %34 34: ; preds = %33, %30 %35 = call i32 (...) @gleIntLoadCore_3_1_Base() %36 = icmp ne i32 %35, 0 br i1 %36, label %38, label %37 37: ; preds = %34 store i32 0, ptr %1, align 4 br label %38 38: ; preds = %37, %34 %39 = load i32, ptr %1, align 4 ret i32 %39 } declare i32 @gleIntClear(...) #1 declare i32 @gleIntLoadCore_1_1_Version_3_1(...) #1 declare i32 @gleIntLoadCore_1_2_Version_3_1(...) #1 declare i32 @gleIntLoadCore_1_3_Version_3_1(...) #1 declare i32 @gleIntLoadCore_1_4_Version_3_1(...) #1 declare i32 @gleIntLoadCore_1_5_Version_3_1(...) #1 declare i32 @gleIntLoadCore_2_0_Version_3_1(...) #1 declare i32 @gleIntLoadCore_2_1_Version_3_1(...) #1 declare i32 @gleIntLoadCore_3_0_Version_3_1(...) #1 declare i32 @gleIntLoadCore_3_1_Base(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8ahztgap.c' source_filename = "/tmp/tmp8ahztgap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert_dec_to_x_bit_binary(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %7, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @convert_dec_to_another_base(i32 noundef %13, i32 noundef 2) store i32 %14, ptr %8, align 4 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store i8 0, ptr %18, align 1 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %7, align 4 br label %21 21: ; preds = %36, %3 %22 = load i32, ptr %8, align 4 %23 = srem i32 %22, 10 %24 = icmp eq i32 %23, 0 %25 = zext i1 %24 to i64 %26 = select i1 %24, i32 48, i32 49 %27 = trunc i32 %26 to i8 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 %27, ptr %31, align 1 %32 = load i32, ptr %8, align 4 %33 = sdiv i32 %32, 10 store i32 %33, ptr %8, align 4 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %7, align 4 br label %36 36: ; preds = %21 %37 = load i32, ptr %8, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %21, label %39, !llvm.loop !6 39: ; preds = %36 br label %40 40: ; preds = %48, %39 %41 = load i32, ptr %7, align 4 %42 = icmp sge i32 %41, 0 br i1 %42, label %43, label %51 43: ; preds = %40 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 48, ptr %47, align 1 br label %48 48: ; preds = %43 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, -1 store i32 %50, ptr %7, align 4 br label %40, !llvm.loop !8 51: ; preds = %40 %52 = load i32, ptr %4, align 4 %53 = icmp slt i32 %52, 0 br i1 %53, label %54, label %93 54: ; preds = %51 %55 = load i32, ptr %5, align 4 %56 = sub nsw i32 %55, 2 store i32 %56, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %57 57: ; preds = %89, %54 %58 = load i32, ptr %9, align 4 %59 = icmp sge i32 %58, 0 br i1 %59, label %60, label %92 60: ; preds = %57 %61 = load i32, ptr %10, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %73 63: ; preds = %60 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 49 br i1 %70, label %71, label %72 71: ; preds = %63 store i32 1, ptr %10, align 4 br label %89 72: ; preds = %63 br label %88 73: ; preds = %60 %74 = load ptr, ptr %6, align 8 %75 = load i32, ptr %9, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp eq i32 %79, 49 %81 = zext i1 %80 to i64 %82 = select i1 %80, i32 48, i32 49 %83 = trunc i32 %82 to i8 %84 = load ptr, ptr %6, align 8 %85 = load i32, ptr %9, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %84, i64 %86 store i8 %83, ptr %87, align 1 br label %88 88: ; preds = %73, %72 br label %89 89: ; preds = %88, %71 %90 = load i32, ptr %9, align 4 %91 = add nsw i32 %90, -1 store i32 %91, ptr %9, align 4 br label %57, !llvm.loop !9 92: ; preds = %57 br label %93 93: ; preds = %92, %51 ret void } declare i32 @convert_dec_to_another_base(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8ahztgap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert_dec_to_x_bit_binary(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %7, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @convert_dec_to_another_base(i32 noundef %13, i32 noundef 2) store i32 %14, ptr %8, align 4 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store i8 0, ptr %18, align 1 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %7, align 4 br label %21 21: ; preds = %36, %3 %22 = load i32, ptr %8, align 4 %23 = srem i32 %22, 10 %24 = icmp eq i32 %23, 0 %25 = zext i1 %24 to i64 %26 = select i1 %24, i32 48, i32 49 %27 = trunc i32 %26 to i8 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 %27, ptr %31, align 1 %32 = load i32, ptr %8, align 4 %33 = sdiv i32 %32, 10 store i32 %33, ptr %8, align 4 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %7, align 4 br label %36 36: ; preds = %21 %37 = load i32, ptr %8, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %21, label %39, !llvm.loop !6 39: ; preds = %36 %40 = load i32, ptr %7, align 4 %41 = icmp sge i32 %40, 0 br i1 %41, label %.lr.ph, label %52 .lr.ph: ; preds = %39 br label %42 42: ; preds = %.lr.ph, %47 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store i8 48, ptr %46, align 1 br label %47 47: ; preds = %42 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, -1 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = icmp sge i32 %50, 0 br i1 %51, label %42, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %47 br label %52 52: ; preds = %._crit_edge, %39 %53 = load i32, ptr %4, align 4 %54 = icmp slt i32 %53, 0 br i1 %54, label %55, label %95 55: ; preds = %52 %56 = load i32, ptr %5, align 4 %57 = sub nsw i32 %56, 2 store i32 %57, ptr %9, align 4 store i32 0, ptr %10, align 4 %58 = load i32, ptr %9, align 4 %59 = icmp sge i32 %58, 0 br i1 %59, label %.lr.ph2, label %94 .lr.ph2: ; preds = %55 br label %60 60: ; preds = %.lr.ph2, %89 %61 = load i32, ptr %10, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %73 63: ; preds = %60 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 49 br i1 %70, label %71, label %72 71: ; preds = %63 store i32 1, ptr %10, align 4 br label %89 72: ; preds = %63 br label %88 73: ; preds = %60 %74 = load ptr, ptr %6, align 8 %75 = load i32, ptr %9, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp eq i32 %79, 49 %81 = zext i1 %80 to i64 %82 = select i1 %80, i32 48, i32 49 %83 = trunc i32 %82 to i8 %84 = load ptr, ptr %6, align 8 %85 = load i32, ptr %9, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %84, i64 %86 store i8 %83, ptr %87, align 1 br label %88 88: ; preds = %73, %72 br label %89 89: ; preds = %88, %71 %90 = load i32, ptr %9, align 4 %91 = add nsw i32 %90, -1 store i32 %91, ptr %9, align 4 %92 = load i32, ptr %9, align 4 %93 = icmp sge i32 %92, 0 br i1 %93, label %60, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %89 br label %94 94: ; preds = %._crit_edge3, %55 br label %95 95: ; preds = %94, %52 ret void } declare i32 @convert_dec_to_another_base(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpcnzk_cw5.c' source_filename = "/tmp/tmpcnzk_cw5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcnzk_cw5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgywmvp51.c' source_filename = "/tmp/tmpgywmvp51.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgywmvp51.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvs0l0e6w.c' source_filename = "/tmp/tmpvs0l0e6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca double, i64 %12, align 16 store i64 %12, ptr %7, align 8 %15 = load i32, ptr %4, align 4 %16 = zext i32 %15 to i64 %17 = alloca double, i64 %16, align 16 store i64 %16, ptr %8, align 8 store i32 0, ptr %10, align 4 br label %18 18: ; preds = %30, %2 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %33 22: ; preds = %18 %23 = call double @rand_uniform(double noundef -1.000000e+01, double noundef 1.000000e+01) %24 = load i32, ptr %10, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %14, i64 %25 store double %23, ptr %26, align 8 %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %17, i64 %28 store double 0.000000e+00, ptr %29, align 8 br label %30 30: ; preds = %22 %31 = load i32, ptr %10, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %10, align 4 br label %18, !llvm.loop !6 33: ; preds = %18 %34 = call double (...) @tic() store double %34, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %35 35: ; preds = %50, %33 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %53 39: ; preds = %35 %40 = load i32, ptr %4, align 4 %41 = call i32 @stdlib_strided_dceil(i32 noundef %40, ptr noundef %14, i32 noundef 1, ptr noundef %17, i32 noundef 1) %42 = getelementptr inbounds double, ptr %17, i64 0 %43 = load double, ptr %42, align 16 %44 = getelementptr inbounds double, ptr %17, i64 0 %45 = load double, ptr %44, align 16 %46 = fcmp une double %43, %45 br i1 %46, label %47, label %49 47: ; preds = %39 %48 = call i32 @printf(ptr noundef @.str) br label %53 49: ; preds = %39 br label %50 50: ; preds = %49 %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %10, align 4 br label %35, !llvm.loop !8 53: ; preds = %47, %35 %54 = call double (...) @tic() %55 = load double, ptr %9, align 8 %56 = fsub double %54, %55 store double %56, ptr %5, align 8 %57 = getelementptr inbounds double, ptr %17, i64 0 %58 = load double, ptr %57, align 16 %59 = getelementptr inbounds double, ptr %17, i64 0 %60 = load double, ptr %59, align 16 %61 = fcmp une double %58, %60 br i1 %61, label %62, label %64 62: ; preds = %53 %63 = call i32 @printf(ptr noundef @.str) br label %64 64: ; preds = %62, %53 %65 = load double, ptr %5, align 8 %66 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %66) ret double %65 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare double @rand_uniform(double noundef, double noundef) #2 declare double @tic(...) #2 declare i32 @stdlib_strided_dceil(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvs0l0e6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca double, i64 %12, align 16 store i64 %12, ptr %7, align 8 %15 = load i32, ptr %4, align 4 %16 = zext i32 %15 to i64 %17 = alloca double, i64 %16, align 16 store i64 %16, ptr %8, align 8 store i32 0, ptr %10, align 4 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %21 21: ; preds = %.lr.ph, %29 %22 = call double @rand_uniform(double noundef -1.000000e+01, double noundef 1.000000e+01) %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %14, i64 %24 store double %22, ptr %25, align 8 %26 = load i32, ptr %10, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %17, i64 %27 store double 0.000000e+00, ptr %28, align 8 br label %29 29: ; preds = %21 %30 = load i32, ptr %10, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %2 %36 = call double (...) @tic() store double %36, ptr %9, align 8 store i32 0, ptr %10, align 4 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %35 br label %40 40: ; preds = %.lr.ph2, %51 %41 = load i32, ptr %4, align 4 %42 = call i32 @stdlib_strided_dceil(i32 noundef %41, ptr noundef %14, i32 noundef 1, ptr noundef %17, i32 noundef 1) %43 = getelementptr inbounds double, ptr %17, i64 0 %44 = load double, ptr %43, align 16 %45 = getelementptr inbounds double, ptr %17, i64 0 %46 = load double, ptr %45, align 16 %47 = fcmp une double %44, %46 br i1 %47, label %48, label %50 48: ; preds = %40 %49 = call i32 @printf(ptr noundef @.str) br label %57 50: ; preds = %40 br label %51 51: ; preds = %50 %52 = load i32, ptr %10, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %10, align 4 %54 = load i32, ptr %10, align 4 %55 = load i32, ptr %3, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %40, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %51 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %35 br label %57 57: ; preds = %.loopexit, %48 %58 = call double (...) @tic() %59 = load double, ptr %9, align 8 %60 = fsub double %58, %59 store double %60, ptr %5, align 8 %61 = getelementptr inbounds double, ptr %17, i64 0 %62 = load double, ptr %61, align 16 %63 = getelementptr inbounds double, ptr %17, i64 0 %64 = load double, ptr %63, align 16 %65 = fcmp une double %62, %64 br i1 %65, label %66, label %68 66: ; preds = %57 %67 = call i32 @printf(ptr noundef @.str) br label %68 68: ; preds = %66, %57 %69 = load double, ptr %5, align 8 %70 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %70) ret double %69 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare double @rand_uniform(double noundef, double noundef) #2 declare double @tic(...) #2 declare i32 @stdlib_strided_dceil(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpex6km_fh.c' source_filename = "/tmp/tmpex6km_fh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"filename\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testSocket() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = call i32 @socket(i32 noundef 2, i32 noundef 1, i32 noundef 0) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @read(i32 noundef %4, ptr noundef %5, i32 noundef 100) %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @execl(ptr noundef %7, ptr noundef @.str, i32 noundef 0) %9 = call i32 @socket(i32 noundef 1, i32 noundef 1, i32 noundef 0) store i32 %9, ptr %1, align 4 %10 = load i32, ptr %1, align 4 %11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @read(i32 noundef %10, ptr noundef %11, i32 noundef 100) %13 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @execl(ptr noundef %13, ptr noundef @.str, i32 noundef 0) ret void } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpex6km_fh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"filename\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testSocket() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = call i32 @socket(i32 noundef 2, i32 noundef 1, i32 noundef 0) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @read(i32 noundef %4, ptr noundef %5, i32 noundef 100) %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @execl(ptr noundef %7, ptr noundef @.str, i32 noundef 0) %9 = call i32 @socket(i32 noundef 1, i32 noundef 1, i32 noundef 0) store i32 %9, ptr %1, align 4 %10 = load i32, ptr %1, align 4 %11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @read(i32 noundef %10, ptr noundef %11, i32 noundef 100) %13 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @execl(ptr noundef %13, ptr noundef @.str, i32 noundef 0) ret void } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxxoua2ct.c' source_filename = "/tmp/tmpxxoua2ct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxxoua2ct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphjyx6v98.c' source_filename = "/tmp/tmphjyx6v98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %26, %0 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 100000000 br i1 %7, label %8, label %29 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = call double @cos(i32 noundef %9) %11 = load i32, ptr %2, align 4 %12 = call double @cos(i32 noundef %11) %13 = load i32, ptr %2, align 4 %14 = call double @sin(i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = call double @sin(i32 noundef %15) %17 = fmul double %14, %16 %18 = call double @llvm.fmuladd.f64(double %10, double %12, double %17) store double %18, ptr %4, align 8 %19 = load double, ptr %4, align 8 %20 = fcmp ogt double %19, 1.000500e+00 br i1 %20, label %24, label %21 21: ; preds = %8 %22 = load double, ptr %4, align 8 %23 = fcmp olt double %22, 9.995000e-01 br i1 %23, label %24, label %25 24: ; preds = %21, %8 store i32 1, ptr %3, align 4 br label %29 25: ; preds = %21 br label %26 26: ; preds = %25 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 br label %5, !llvm.loop !6 29: ; preds = %24, %5 %30 = load i32, ptr %3, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %30) %32 = load i32, ptr %1, align 4 ret i32 %32 } declare double @cos(i32 noundef) #1 declare double @sin(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphjyx6v98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 100000000 br i1 %6, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %25 %8 = load i32, ptr %2, align 4 %9 = call double @cos(i32 noundef %8) %10 = load i32, ptr %2, align 4 %11 = call double @cos(i32 noundef %10) %12 = load i32, ptr %2, align 4 %13 = call double @sin(i32 noundef %12) %14 = load i32, ptr %2, align 4 %15 = call double @sin(i32 noundef %14) %16 = fmul double %13, %15 %17 = call double @llvm.fmuladd.f64(double %9, double %11, double %16) store double %17, ptr %4, align 8 %18 = load double, ptr %4, align 8 %19 = fcmp ogt double %18, 1.000500e+00 br i1 %19, label %23, label %20 20: ; preds = %7 %21 = load double, ptr %4, align 8 %22 = fcmp olt double %21, 9.995000e-01 br i1 %22, label %23, label %24 23: ; preds = %20, %7 store i32 1, ptr %3, align 4 br label %30 24: ; preds = %20 br label %25 25: ; preds = %24 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %2, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %28, 100000000 br i1 %29, label %7, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %25 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %30 30: ; preds = %.loopexit, %23 %31 = load i32, ptr %3, align 4 %32 = call i32 @printf(ptr noundef @.str, i32 noundef %31) %33 = load i32, ptr %1, align 4 ret i32 %33 } declare double @cos(i32 noundef) #1 declare double @sin(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpk0hc5fde.c' source_filename = "/tmp/tmpk0hc5fde.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk0hc5fde.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdgnj58xg.c' source_filename = "/tmp/tmpdgnj58xg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @sumPrimes(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = sub nsw i32 %11, 1 %13 = ashr i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = sdiv i32 %14, 8 %16 = add nsw i32 %15, 1 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %4, align 8 %19 = alloca i8, i64 %17, align 16 store i64 %17, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 3, ptr %7, align 4 store i64 2, ptr %8, align 8 %20 = trunc i64 %17 to i32 %21 = call i32 @memset(ptr noundef %19, i32 noundef 255, i32 noundef %20) store i64 9, ptr %10, align 8 br label %22 22: ; preds = %69, %1 %23 = load i64, ptr %10, align 8 %24 = load i32, ptr %2, align 4 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %23, %25 br i1 %26, label %27, label %78 27: ; preds = %22 %28 = load i32, ptr %6, align 4 %29 = ashr i32 %28, 3 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %19, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = load i32, ptr %6, align 4 %35 = and i32 %34, 7 %36 = shl i32 1, %35 %37 = and i32 %33, %36 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %69 39: ; preds = %27 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = load i64, ptr %8, align 8 %43 = add nsw i64 %42, %41 store i64 %43, ptr %8, align 8 %44 = load i64, ptr %10, align 8 %45 = sub nsw i64 %44, 3 %46 = ashr i64 %45, 1 %47 = trunc i64 %46 to i32 store i32 %47, ptr %9, align 4 br label %48 48: ; preds = %52, %39 %49 = load i32, ptr %9, align 4 %50 = load i32, ptr %3, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %68 52: ; preds = %48 %53 = load i32, ptr %9, align 4 %54 = and i32 %53, 7 %55 = shl i32 1, %54 %56 = xor i32 %55, 255 %57 = load i32, ptr %9, align 4 %58 = ashr i32 %57, 3 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %19, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = and i32 %62, %56 %64 = trunc i32 %63 to i8 store i8 %64, ptr %60, align 1 %65 = load i32, ptr %7, align 4 %66 = load i32, ptr %9, align 4 %67 = add nsw i32 %66, %65 store i32 %67, ptr %9, align 4 br label %48, !llvm.loop !6 68: ; preds = %48 br label %69 69: ; preds = %68, %27 %70 = load i32, ptr %6, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %6, align 4 %72 = load i32, ptr %7, align 4 %73 = add nsw i32 %72, 2 store i32 %73, ptr %7, align 4 %74 = load i32, ptr %7, align 4 %75 = load i32, ptr %7, align 4 %76 = mul nsw i32 %74, %75 %77 = sext i32 %76 to i64 store i64 %77, ptr %10, align 8 br label %22, !llvm.loop !8 78: ; preds = %22 br label %79 79: ; preds = %100, %78 %80 = load i32, ptr %6, align 4 %81 = load i32, ptr %3, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %83, label %105 83: ; preds = %79 %84 = load i32, ptr %6, align 4 %85 = ashr i32 %84, 3 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %19, i64 %86 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = load i32, ptr %6, align 4 %91 = and i32 %90, 7 %92 = shl i32 1, %91 %93 = and i32 %89, %92 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %100 95: ; preds = %83 %96 = load i32, ptr %7, align 4 %97 = sext i32 %96 to i64 %98 = load i64, ptr %8, align 8 %99 = add nsw i64 %98, %97 store i64 %99, ptr %8, align 8 br label %100 100: ; preds = %95, %83 %101 = load i32, ptr %6, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %6, align 4 %103 = load i32, ptr %7, align 4 %104 = add nsw i32 %103, 2 store i32 %104, ptr %7, align 4 br label %79, !llvm.loop !9 105: ; preds = %79 %106 = load i64, ptr %8, align 8 %107 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %107) ret i64 %106 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdgnj58xg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @sumPrimes(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = sub nsw i32 %11, 1 %13 = ashr i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = sdiv i32 %14, 8 %16 = add nsw i32 %15, 1 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %4, align 8 %19 = alloca i8, i64 %17, align 16 store i64 %17, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 3, ptr %7, align 4 store i64 2, ptr %8, align 8 %20 = trunc i64 %17 to i32 %21 = call i32 @memset(ptr noundef %19, i32 noundef 255, i32 noundef %20) store i64 9, ptr %10, align 8 %22 = load i64, ptr %10, align 8 %23 = load i32, ptr %2, align 4 %24 = sext i32 %23 to i64 %25 = icmp slt i64 %22, %24 br i1 %25, label %.lr.ph2, label %83 .lr.ph2: ; preds = %1 br label %26 26: ; preds = %.lr.ph2, %70 %27 = load i32, ptr %6, align 4 %28 = ashr i32 %27, 3 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %19, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load i32, ptr %6, align 4 %34 = and i32 %33, 7 %35 = shl i32 1, %34 %36 = and i32 %32, %35 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %70 38: ; preds = %26 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = load i64, ptr %8, align 8 %42 = add nsw i64 %41, %40 store i64 %42, ptr %8, align 8 %43 = load i64, ptr %10, align 8 %44 = sub nsw i64 %43, 3 %45 = ashr i64 %44, 1 %46 = trunc i64 %45 to i32 store i32 %46, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %.lr.ph, label %69 .lr.ph: ; preds = %38 br label %50 50: ; preds = %.lr.ph, %50 %51 = load i32, ptr %9, align 4 %52 = and i32 %51, 7 %53 = shl i32 1, %52 %54 = xor i32 %53, 255 %55 = load i32, ptr %9, align 4 %56 = ashr i32 %55, 3 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %19, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = and i32 %60, %54 %62 = trunc i32 %61 to i8 store i8 %62, ptr %58, align 1 %63 = load i32, ptr %7, align 4 %64 = load i32, ptr %9, align 4 %65 = add nsw i32 %64, %63 store i32 %65, ptr %9, align 4 %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %3, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %69 69: ; preds = %._crit_edge, %38 br label %70 70: ; preds = %69, %26 %71 = load i32, ptr %6, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %6, align 4 %73 = load i32, ptr %7, align 4 %74 = add nsw i32 %73, 2 store i32 %74, ptr %7, align 4 %75 = load i32, ptr %7, align 4 %76 = load i32, ptr %7, align 4 %77 = mul nsw i32 %75, %76 %78 = sext i32 %77 to i64 store i64 %78, ptr %10, align 8 %79 = load i64, ptr %10, align 8 %80 = load i32, ptr %2, align 4 %81 = sext i32 %80 to i64 %82 = icmp slt i64 %79, %81 br i1 %82, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %70 br label %83 83: ; preds = %._crit_edge3, %1 %84 = load i32, ptr %6, align 4 %85 = load i32, ptr %3, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %.lr.ph5, label %112 .lr.ph5: ; preds = %83 br label %87 87: ; preds = %.lr.ph5, %104 %88 = load i32, ptr %6, align 4 %89 = ashr i32 %88, 3 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %19, i64 %90 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = load i32, ptr %6, align 4 %95 = and i32 %94, 7 %96 = shl i32 1, %95 %97 = and i32 %93, %96 %98 = icmp ne i32 %97, 0 br i1 %98, label %99, label %104 99: ; preds = %87 %100 = load i32, ptr %7, align 4 %101 = sext i32 %100 to i64 %102 = load i64, ptr %8, align 8 %103 = add nsw i64 %102, %101 store i64 %103, ptr %8, align 8 br label %104 104: ; preds = %99, %87 %105 = load i32, ptr %6, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %6, align 4 %107 = load i32, ptr %7, align 4 %108 = add nsw i32 %107, 2 store i32 %108, ptr %7, align 4 %109 = load i32, ptr %6, align 4 %110 = load i32, ptr %3, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %87, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %104 br label %112 112: ; preds = %._crit_edge6, %83 %113 = load i64, ptr %8, align 8 %114 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %114) ret i64 %113 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpl2cfpoe0.c' source_filename = "/tmp/tmpl2cfpoe0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %7 7: ; preds = %34, %2 %8 = call i32 (...) @getchar() store i32 %8, ptr %6, align 4 %9 = load i32, ptr @EOF, align 4 %10 = icmp ne i32 %8, %9 br i1 %10, label %11, label %35 11: ; preds = %7 %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %12, 9 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = call i32 @putchar(i32 noundef 92) %16 = call i32 @putchar(i32 noundef 116) br label %34 17: ; preds = %11 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, 8 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = call i32 @putchar(i32 noundef 92) %22 = call i32 @putchar(i32 noundef 98) br label %33 23: ; preds = %17 %24 = load i32, ptr %6, align 4 %25 = icmp eq i32 %24, 92 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = call i32 @putchar(i32 noundef 92) %28 = call i32 @putchar(i32 noundef 92) br label %32 29: ; preds = %23 %30 = load i32, ptr %6, align 4 %31 = call i32 @putchar(i32 noundef %30) br label %32 32: ; preds = %29, %26 br label %33 33: ; preds = %32, %20 br label %34 34: ; preds = %33, %14 br label %7, !llvm.loop !6 35: ; preds = %7 %36 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %36 } declare i32 @getchar(...) #1 declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl2cfpoe0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @getchar() store i32 %7, ptr %6, align 4 %8 = load i32, ptr @EOF, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %33 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, 9 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = call i32 @putchar(i32 noundef 92) %15 = call i32 @putchar(i32 noundef 116) br label %33 16: ; preds = %10 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, 8 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = call i32 @putchar(i32 noundef 92) %21 = call i32 @putchar(i32 noundef 98) br label %32 22: ; preds = %16 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, 92 br i1 %24, label %25, label %28 25: ; preds = %22 %26 = call i32 @putchar(i32 noundef 92) %27 = call i32 @putchar(i32 noundef 92) br label %31 28: ; preds = %22 %29 = load i32, ptr %6, align 4 %30 = call i32 @putchar(i32 noundef %29) br label %31 31: ; preds = %28, %25 br label %32 32: ; preds = %31, %19 br label %33 33: ; preds = %32, %13 %34 = call i32 (...) @getchar() store i32 %34, ptr %6, align 4 %35 = load i32, ptr @EOF, align 4 %36 = icmp ne i32 %34, %35 br i1 %36, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %37 37: ; preds = %._crit_edge, %2 %38 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %38 } declare i32 @getchar(...) #1 declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdka0qwj5.c' source_filename = "/tmp/tmpdka0qwj5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @sum_x() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca i32, align 4 store float 2.000000e+00, ptr %1, align 4 store float 0.000000e+00, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %4 4: ; preds = %8, %0 %5 = load float, ptr %1, align 4 %6 = fpext float %5 to double %7 = fcmp ogt double %6, 1.000000e-04 br i1 %7, label %8, label %23 8: ; preds = %4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = call i64 @pow(i32 noundef %9, i32 noundef %10) %12 = sitofp i64 %11 to float %13 = fdiv float 1.000000e+00, %12 %14 = load float, ptr %2, align 4 %15 = fadd float %14, %13 store float %15, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = call i64 @pow(i32 noundef %16, i32 noundef %17) %19 = sitofp i64 %18 to float %20 = fdiv float 1.000000e+00, %19 store float %20, ptr %1, align 4 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %4, !llvm.loop !6 23: ; preds = %4 %24 = load float, ptr %2, align 4 ret float %24 } declare i64 @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdka0qwj5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @sum_x() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca i32, align 4 store float 2.000000e+00, ptr %1, align 4 store float 0.000000e+00, ptr %2, align 4 store i32 1, ptr %3, align 4 %4 = load float, ptr %1, align 4 %5 = fpext float %4 to double %6 = fcmp ogt double %5, 1.000000e-04 br i1 %6, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %7 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = call i64 @pow(i32 noundef %8, i32 noundef %9) %11 = sitofp i64 %10 to float %12 = fdiv float 1.000000e+00, %11 %13 = load float, ptr %2, align 4 %14 = fadd float %13, %12 store float %14, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = call i64 @pow(i32 noundef %15, i32 noundef %16) %18 = sitofp i64 %17 to float %19 = fdiv float 1.000000e+00, %18 store float %19, ptr %1, align 4 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = load float, ptr %1, align 4 %23 = fpext float %22 to double %24 = fcmp ogt double %23, 1.000000e-04 br i1 %24, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %25 25: ; preds = %._crit_edge, %0 %26 = load float, ptr %2, align 4 ret float %26 } declare i64 @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6ty5v2ui.c' source_filename = "/tmp/tmp6ty5v2ui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @statRoll(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %7, %1 %5 = load i32, ptr %3, align 4 %6 = icmp sle i32 %5, 5 br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = call i32 @rollDie(i32 noundef 1, i32 noundef %8) store i32 %9, ptr %3, align 4 br label %4, !llvm.loop !6 10: ; preds = %4 %11 = load i32, ptr %3, align 4 ret i32 %11 } declare i32 @rollDie(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ty5v2ui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @statRoll(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sle i32 %4, 5 br i1 %5, label %.lr.ph, label %11 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %2, align 4 %8 = call i32 @rollDie(i32 noundef 1, i32 noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp sle i32 %9, 5 br i1 %10, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %11 11: ; preds = %._crit_edge, %1 %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @rollDie(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp10f2lnnq.c' source_filename = "/tmp/tmp10f2lnnq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"BUFSIZ = %d\0A\00", align 1 @BUFSIZ = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"test_1.txt\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"fopen error!\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"fwrite start\0A\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"ABCD\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"fwrite end\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @BUFSIZ, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 -1, ptr %1, align 4 br label %26 11: ; preds = %0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %13 13: ; preds = %19, %11 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 2048 br i1 %15, label %16, label %22 16: ; preds = %13 %17 = load ptr, ptr %2, align 8 %18 = call i32 @fwrite(ptr noundef @.str.5, i32 noundef 4, i32 noundef 1, ptr noundef %17) br label %19 19: ; preds = %16 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 br label %13, !llvm.loop !6 22: ; preds = %13 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %24 = load ptr, ptr %2, align 8 %25 = call i32 @fclose(ptr noundef %24) store i32 0, ptr %1, align 4 br label %26 26: ; preds = %22, %9 %27 = load i32, ptr %1, align 4 ret i32 %27 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp10f2lnnq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"BUFSIZ = %d\0A\00", align 1 @BUFSIZ = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"test_1.txt\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"fopen error!\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"fwrite start\0A\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"ABCD\00", align 1 @.str.6 = private unnamed_addr constant [12 x i8] c"fwrite end\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr @BUFSIZ, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %4) %6 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 -1, ptr %1, align 4 br label %27 11: ; preds = %0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 2048 br i1 %14, label %.lr.ph, label %23 .lr.ph: ; preds = %11 br label %15 15: ; preds = %.lr.ph, %18 %16 = load ptr, ptr %2, align 8 %17 = call i32 @fwrite(ptr noundef @.str.5, i32 noundef 4, i32 noundef 1, ptr noundef %16) br label %18 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 2048 br i1 %22, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %11 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %25 = load ptr, ptr %2, align 8 %26 = call i32 @fclose(ptr noundef %25) store i32 0, ptr %1, align 4 br label %27 27: ; preds = %23, %9 %28 = load i32, ptr %1, align 4 ret i32 %28 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwnrgkp5v.c' source_filename = "/tmp/tmpwnrgkp5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CWE535_Info_Exposure_Shell_Error__w32_char_01_good() #0 { %1 = call i32 (...) @good1() ret void } declare i32 @good1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwnrgkp5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CWE535_Info_Exposure_Shell_Error__w32_char_01_good() #0 { %1 = call i32 (...) @good1() ret void } declare i32 @good1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp82biclr.c' source_filename = "/tmp/tmpp82biclr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @kernel___Pointer_free___impl(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp82biclr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @kernel___Pointer_free___impl(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4thh2ytu.c' source_filename = "/tmp/tmp4thh2ytu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4thh2ytu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxqi9q4xs.c' source_filename = "/tmp/tmpxqi9q4xs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"pwd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add_pwd_to_path() #0 { %1 = call i32 @pipe2string(ptr noundef @.str) %2 = call i32 @set_path(i32 noundef %1) ret void } declare i32 @set_path(i32 noundef) #1 declare i32 @pipe2string(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxqi9q4xs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"pwd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add_pwd_to_path() #0 { %1 = call i32 @pipe2string(ptr noundef @.str) %2 = call i32 @set_path(i32 noundef %1) ret void } declare i32 @set_path(i32 noundef) #1 declare i32 @pipe2string(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6arrymxd.c' source_filename = "/tmp/tmp6arrymxd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"Skipped\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6arrymxd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"Skipped\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmparyho506.c' source_filename = "/tmp/tmparyho506.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @strncasecmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %11 11: ; preds = %65, %3 %12 = load i32, ptr %9, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %9, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %12, %14 br i1 %15, label %16, label %66 16: ; preds = %11 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %4, align 8 %19 = load i8, ptr %17, align 1 store i8 %19, ptr %7, align 1 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %5, align 8 %22 = load i8, ptr %20, align 1 store i8 %22, ptr %8, align 1 %23 = load i8, ptr %7, align 1 %24 = sext i8 %23 to i32 %25 = icmp sge i32 %24, 97 br i1 %25, label %26, label %35 26: ; preds = %16 %27 = load i8, ptr %7, align 1 %28 = sext i8 %27 to i32 %29 = icmp sle i32 %28, 122 br i1 %29, label %30, label %35 30: ; preds = %26 %31 = load i8, ptr %7, align 1 %32 = sext i8 %31 to i32 %33 = sub nsw i32 %32, 32 %34 = trunc i32 %33 to i8 store i8 %34, ptr %7, align 1 br label %35 35: ; preds = %30, %26, %16 %36 = load i8, ptr %8, align 1 %37 = sext i8 %36 to i32 %38 = icmp sge i32 %37, 97 br i1 %38, label %39, label %48 39: ; preds = %35 %40 = load i8, ptr %8, align 1 %41 = sext i8 %40 to i32 %42 = icmp sle i32 %41, 122 br i1 %42, label %43, label %48 43: ; preds = %39 %44 = load i8, ptr %8, align 1 %45 = sext i8 %44 to i32 %46 = sub nsw i32 %45, 32 %47 = trunc i32 %46 to i8 store i8 %47, ptr %8, align 1 br label %48 48: ; preds = %43, %39, %35 %49 = load i8, ptr %7, align 1 %50 = sext i8 %49 to i32 %51 = load i8, ptr %8, align 1 %52 = sext i8 %51 to i32 %53 = sub nsw i32 %50, %52 store i32 %53, ptr %10, align 4 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %56 55: ; preds = %48 br label %66 56: ; preds = %48 %57 = load i8, ptr %7, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 0 br i1 %59, label %64, label %60 60: ; preds = %56 %61 = load i8, ptr %8, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %65 64: ; preds = %60, %56 br label %66 65: ; preds = %60 br label %11, !llvm.loop !6 66: ; preds = %64, %55, %11 %67 = load i32, ptr %10, align 4 ret i32 %67 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmparyho506.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @strncasecmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %11 = load i32, ptr %9, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %9, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %11, %13 br i1 %14, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %20 15: ; preds = %64 %16 = load i32, ptr %9, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %9, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %16, %18 br i1 %19, label %20, label %..loopexit_crit_edge, !llvm.loop !6 20: ; preds = %.lr.ph, %15 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 %23 = load i8, ptr %21, align 1 store i8 %23, ptr %7, align 1 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %5, align 8 %26 = load i8, ptr %24, align 1 store i8 %26, ptr %8, align 1 %27 = load i8, ptr %7, align 1 %28 = sext i8 %27 to i32 %29 = icmp sge i32 %28, 97 br i1 %29, label %30, label %39 30: ; preds = %20 %31 = load i8, ptr %7, align 1 %32 = sext i8 %31 to i32 %33 = icmp sle i32 %32, 122 br i1 %33, label %34, label %39 34: ; preds = %30 %35 = load i8, ptr %7, align 1 %36 = sext i8 %35 to i32 %37 = sub nsw i32 %36, 32 %38 = trunc i32 %37 to i8 store i8 %38, ptr %7, align 1 br label %39 39: ; preds = %34, %30, %20 %40 = load i8, ptr %8, align 1 %41 = sext i8 %40 to i32 %42 = icmp sge i32 %41, 97 br i1 %42, label %43, label %52 43: ; preds = %39 %44 = load i8, ptr %8, align 1 %45 = sext i8 %44 to i32 %46 = icmp sle i32 %45, 122 br i1 %46, label %47, label %52 47: ; preds = %43 %48 = load i8, ptr %8, align 1 %49 = sext i8 %48 to i32 %50 = sub nsw i32 %49, 32 %51 = trunc i32 %50 to i8 store i8 %51, ptr %8, align 1 br label %52 52: ; preds = %47, %43, %39 %53 = load i8, ptr %7, align 1 %54 = sext i8 %53 to i32 %55 = load i8, ptr %8, align 1 %56 = sext i8 %55 to i32 %57 = sub nsw i32 %54, %56 store i32 %57, ptr %10, align 4 %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %60 59: ; preds = %52 br label %69 60: ; preds = %52 %61 = load i8, ptr %7, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 0 br i1 %63, label %68, label %64 64: ; preds = %60 %65 = load i8, ptr %8, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %15 68: ; preds = %64, %60 br label %69 ..loopexit_crit_edge: ; preds = %15 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %69 69: ; preds = %.loopexit, %68, %59 %70 = load i32, ptr %10, align 4 ret i32 %70 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwserd99n.c' source_filename = "/tmp/tmpwserd99n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @anetRead(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %29, %3 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %14, label %37 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %9, align 4 %19 = sub nsw i32 %17, %18 %20 = call i32 @read(i32 noundef %15, ptr noundef %16, i32 noundef %19) store i32 %20, ptr %8, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %14 %24 = load i32, ptr %9, align 4 store i32 %24, ptr %4, align 4 br label %39 25: ; preds = %14 %26 = load i32, ptr %8, align 4 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %29 28: ; preds = %25 store i32 -1, ptr %4, align 4 br label %39 29: ; preds = %25 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, %30 store i32 %32, ptr %9, align 4 %33 = load i32, ptr %8, align 4 %34 = load ptr, ptr %6, align 8 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store ptr %36, ptr %6, align 8 br label %10, !llvm.loop !6 37: ; preds = %10 %38 = load i32, ptr %9, align 4 store i32 %38, ptr %4, align 4 br label %39 39: ; preds = %37, %28, %23 %40 = load i32, ptr %4, align 4 ret i32 %40 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwserd99n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @anetRead(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp ne i32 %10, %11 br i1 %12, label %.lr.ph, label %39 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %28 %14 = load i32, ptr %5, align 4 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %9, align 4 %18 = sub nsw i32 %16, %17 %19 = call i32 @read(i32 noundef %14, ptr noundef %15, i32 noundef %18) store i32 %19, ptr %8, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %13 %23 = load i32, ptr %9, align 4 store i32 %23, ptr %4, align 4 br label %41 24: ; preds = %13 %25 = load i32, ptr %8, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %28 27: ; preds = %24 store i32 -1, ptr %4, align 4 br label %41 28: ; preds = %24 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, %29 store i32 %31, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = load ptr, ptr %6, align 8 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds i8, ptr %33, i64 %34 store ptr %35, ptr %6, align 8 %36 = load i32, ptr %9, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp ne i32 %36, %37 br i1 %38, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %39 39: ; preds = %._crit_edge, %3 %40 = load i32, ptr %9, align 4 store i32 %40, ptr %4, align 4 br label %41 41: ; preds = %39, %27, %22 %42 = load i32, ptr %4, align 4 ret i32 %42 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpequgdh21.c' source_filename = "/tmp/tmpequgdh21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @matvec1(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = trunc i64 %12 to i32 %14 = call ptr @Malloc(i32 noundef %13) store ptr %14, ptr %9, align 8 store i32 0, ptr %7, align 4 br label %15 15: ; preds = %24, %3 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %27 19: ; preds = %15 %20 = load ptr, ptr %9, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 store i32 0, ptr %23, align 4 br label %24 24: ; preds = %19 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 br label %15, !llvm.loop !6 27: ; preds = %15 store i32 0, ptr %7, align 4 br label %28 28: ; preds = %63, %27 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %66 32: ; preds = %28 store i32 0, ptr %8, align 4 br label %33 33: ; preds = %59, %32 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %62 37: ; preds = %33 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 %51 = load i32, ptr %50, align 4 %52 = mul nsw i32 %46, %51 %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load i32, ptr %56, align 4 %58 = add nsw i32 %57, %52 store i32 %58, ptr %56, align 4 br label %59 59: ; preds = %37 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %8, align 4 br label %33, !llvm.loop !8 62: ; preds = %33 br label %63 63: ; preds = %62 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %7, align 4 br label %28, !llvm.loop !9 66: ; preds = %28 %67 = load ptr, ptr %9, align 8 ret ptr %67 } declare ptr @Malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpequgdh21.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @matvec1(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = trunc i64 %12 to i32 %14 = call ptr @Malloc(i32 noundef %13) store ptr %14, ptr %9, align 8 store i32 0, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %29 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %23 %19 = load ptr, ptr %9, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 store i32 0, ptr %22, align 4 br label %23 23: ; preds = %18 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %3 store i32 0, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph5, label %72 .lr.ph5: ; preds = %29 br label %33 33: ; preds = %.lr.ph5, %66 store i32 0, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph2, label %65 .lr.ph2: ; preds = %33 br label %37 37: ; preds = %.lr.ph2, %59 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 %51 = load i32, ptr %50, align 4 %52 = mul nsw i32 %46, %51 %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load i32, ptr %56, align 4 %58 = add nsw i32 %57, %52 store i32 %58, ptr %56, align 4 br label %59 59: ; preds = %37 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %8, align 4 %62 = load i32, ptr %8, align 4 %63 = load i32, ptr %6, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %59 br label %65 65: ; preds = %._crit_edge3, %33 br label %66 66: ; preds = %65 %67 = load i32, ptr %7, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %7, align 4 %69 = load i32, ptr %7, align 4 %70 = load i32, ptr %6, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %33, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %66 br label %72 72: ; preds = %._crit_edge6, %29 %73 = load ptr, ptr %9, align 8 ret ptr %73 } declare ptr @Malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpcuskvczh.c' source_filename = "/tmp/tmpcuskvczh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcuskvczh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuqgoaax5.c' source_filename = "/tmp/tmpuqgoaax5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuqgoaax5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp689t1_iq.c' source_filename = "/tmp/tmp689t1_iq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Usage: %s 2352-byte-sector-file\0A\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"could not open file %s for reading.\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"difference at sector %u\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\0D\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [28 x i8] c"%u sectors, %u verified ok\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [2448 x i8], align 16 %11 = alloca [2448 x i8], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %22 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %20) store i32 0, ptr %3, align 4 br label %117 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 45 br i1 %29, label %30, label %32 30: ; preds = %22 %31 = load i32, ptr @STDIN_FILENO, align 4 store i32 %31, ptr %6, align 4 br label %38 32: ; preds = %22 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr @O_RDONLY, align 4 %37 = call i32 @open(ptr noundef %35, i32 noundef %36) store i32 %37, ptr %6, align 4 br label %38 38: ; preds = %32, %30 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %49 41: ; preds = %38 %42 = call i32 @perror(ptr noundef @.str.1) %43 = load i32, ptr @stderr, align 4 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.2, ptr noundef %46) %48 = call i32 @exit(i32 noundef 1) #3 unreachable 49: ; preds = %38 store i32 150, ptr %9, align 4 br label %50 50: ; preds = %107, %49 br i1 true, label %51, label %110 51: ; preds = %50 store i32 0, ptr %12, align 4 br label %52 52: ; preds = %73, %51 %53 = load i32, ptr %12, align 4 %54 = icmp ne i32 2352, %53 br i1 %54, label %55, label %77 55: ; preds = %52 %56 = load i32, ptr %6, align 4 %57 = getelementptr inbounds [2448 x i8], ptr %10, i64 0, i64 0 %58 = load i32, ptr %12, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i32, ptr %12, align 4 %62 = sub nsw i32 2352, %61 %63 = call i32 @read(i32 noundef %56, ptr noundef %60, i32 noundef %62) store i32 %63, ptr %13, align 4 %64 = load i32, ptr %13, align 4 %65 = icmp slt i32 %64, 0 br i1 %65, label %66, label %68 66: ; preds = %55 %67 = call i32 @exit(i32 noundef 0) #3 unreachable 68: ; preds = %55 %69 = load i32, ptr %13, align 4 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %73 71: ; preds = %68 %72 = call i32 @exit(i32 noundef 0) #3 unreachable 73: ; preds = %68 %74 = load i32, ptr %13, align 4 %75 = load i32, ptr %12, align 4 %76 = add nsw i32 %75, %74 store i32 %76, ptr %12, align 4 br label %52, !llvm.loop !6 77: ; preds = %52 %78 = getelementptr inbounds [2448 x i8], ptr %11, i64 0, i64 0 %79 = getelementptr inbounds [2448 x i8], ptr %10, i64 0, i64 0 %80 = call i32 @memcpy(ptr noundef %78, ptr noundef %79, i32 noundef 2352) %81 = getelementptr inbounds [2448 x i8], ptr %11, i64 0, i64 0 %82 = call i32 @memset(ptr noundef %81, i32 noundef 0, i32 noundef 16) %83 = getelementptr inbounds [2448 x i8], ptr %11, i64 0, i64 0 %84 = getelementptr inbounds i8, ptr %83, i64 16 %85 = getelementptr inbounds i8, ptr %84, i64 2048 %86 = call i32 @memset(ptr noundef %85, i32 noundef 0, i32 noundef 288) %87 = getelementptr inbounds [2448 x i8], ptr %11, i64 0, i64 0 %88 = load i32, ptr %9, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %9, align 4 %90 = call i32 @do_encode_L2(ptr noundef %87, i32 noundef 1, i32 noundef %88) %91 = getelementptr inbounds [2448 x i8], ptr %11, i64 0, i64 0 %92 = getelementptr inbounds [2448 x i8], ptr %10, i64 0, i64 0 %93 = call i64 @memcmp(ptr noundef %91, ptr noundef %92, i32 noundef 2352) %94 = icmp ne i64 %93, 0 br i1 %94, label %95, label %99 95: ; preds = %77 %96 = load i32, ptr @stderr, align 4 %97 = load i32, ptr %7, align 4 %98 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.3, i32 noundef %97) br label %102 99: ; preds = %77 %100 = load i32, ptr %8, align 4 %101 = add i32 %100, 1 store i32 %101, ptr %8, align 4 br label %102 102: ; preds = %99, %95 %103 = load i32, ptr %7, align 4 %104 = call i32 @printf(ptr noundef @.str.4, i32 noundef %103) %105 = load i32, ptr @stdout, align 4 %106 = call i32 @fflush(i32 noundef %105) br label %107 107: ; preds = %102 %108 = load i32, ptr %7, align 4 %109 = add i32 %108, 1 store i32 %109, ptr %7, align 4 br label %50 110: ; preds = %50 %111 = load i32, ptr @stderr, align 4 %112 = load i32, ptr %7, align 4 %113 = load i32, ptr %8, align 4 %114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %111, ptr noundef @.str.5, i32 noundef %112, i32 noundef %113) %115 = load i32, ptr %6, align 4 %116 = call i32 @close(i32 noundef %115) store i32 0, ptr %3, align 4 br label %117 117: ; preds = %110, %16 %118 = load i32, ptr %3, align 4 ret i32 %118 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @do_encode_L2(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp689t1_iq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Usage: %s 2352-byte-sector-file\0A\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"could not open file %s for reading.\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"difference at sector %u\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\0D\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [28 x i8] c"%u sectors, %u verified ok\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [2448 x i8], align 16 %11 = alloca [2448 x i8], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %22 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %20) store i32 0, ptr %3, align 4 br label %117 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 45 br i1 %29, label %30, label %32 30: ; preds = %22 %31 = load i32, ptr @STDIN_FILENO, align 4 store i32 %31, ptr %6, align 4 br label %38 32: ; preds = %22 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr @O_RDONLY, align 4 %37 = call i32 @open(ptr noundef %35, i32 noundef %36) store i32 %37, ptr %6, align 4 br label %38 38: ; preds = %32, %30 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %49 41: ; preds = %38 %42 = call i32 @perror(ptr noundef @.str.1) %43 = load i32, ptr @stderr, align 4 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.2, ptr noundef %46) %48 = call i32 @exit(i32 noundef 1) #3 unreachable 49: ; preds = %38 store i32 150, ptr %9, align 4 br label %50 50: ; preds = %49, %107 store i32 0, ptr %12, align 4 %51 = load i32, ptr %12, align 4 %52 = icmp ne i32 2352, %51 br i1 %52, label %.lr.ph, label %77 .lr.ph: ; preds = %50 br label %53 53: ; preds = %.lr.ph, %71 %54 = load i32, ptr %6, align 4 %55 = getelementptr inbounds [2448 x i8], ptr %10, i64 0, i64 0 %56 = load i32, ptr %12, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = load i32, ptr %12, align 4 %60 = sub nsw i32 2352, %59 %61 = call i32 @read(i32 noundef %54, ptr noundef %58, i32 noundef %60) store i32 %61, ptr %13, align 4 %62 = load i32, ptr %13, align 4 %63 = icmp slt i32 %62, 0 br i1 %63, label %64, label %66 64: ; preds = %53 %65 = call i32 @exit(i32 noundef 0) #3 unreachable 66: ; preds = %53 %67 = load i32, ptr %13, align 4 %68 = icmp eq i32 %67, 0 br i1 %68, label %69, label %71 69: ; preds = %66 %70 = call i32 @exit(i32 noundef 0) #3 unreachable 71: ; preds = %66 %72 = load i32, ptr %13, align 4 %73 = load i32, ptr %12, align 4 %74 = add nsw i32 %73, %72 store i32 %74, ptr %12, align 4 %75 = load i32, ptr %12, align 4 %76 = icmp ne i32 2352, %75 br i1 %76, label %53, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %71 br label %77 77: ; preds = %._crit_edge, %50 %78 = getelementptr inbounds [2448 x i8], ptr %11, i64 0, i64 0 %79 = getelementptr inbounds [2448 x i8], ptr %10, i64 0, i64 0 %80 = call i32 @memcpy(ptr noundef %78, ptr noundef %79, i32 noundef 2352) %81 = getelementptr inbounds [2448 x i8], ptr %11, i64 0, i64 0 %82 = call i32 @memset(ptr noundef %81, i32 noundef 0, i32 noundef 16) %83 = getelementptr inbounds [2448 x i8], ptr %11, i64 0, i64 0 %84 = getelementptr inbounds i8, ptr %83, i64 16 %85 = getelementptr inbounds i8, ptr %84, i64 2048 %86 = call i32 @memset(ptr noundef %85, i32 noundef 0, i32 noundef 288) %87 = getelementptr inbounds [2448 x i8], ptr %11, i64 0, i64 0 %88 = load i32, ptr %9, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %9, align 4 %90 = call i32 @do_encode_L2(ptr noundef %87, i32 noundef 1, i32 noundef %88) %91 = getelementptr inbounds [2448 x i8], ptr %11, i64 0, i64 0 %92 = getelementptr inbounds [2448 x i8], ptr %10, i64 0, i64 0 %93 = call i64 @memcmp(ptr noundef %91, ptr noundef %92, i32 noundef 2352) %94 = icmp ne i64 %93, 0 br i1 %94, label %95, label %99 95: ; preds = %77 %96 = load i32, ptr @stderr, align 4 %97 = load i32, ptr %7, align 4 %98 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.3, i32 noundef %97) br label %102 99: ; preds = %77 %100 = load i32, ptr %8, align 4 %101 = add i32 %100, 1 store i32 %101, ptr %8, align 4 br label %102 102: ; preds = %99, %95 %103 = load i32, ptr %7, align 4 %104 = call i32 @printf(ptr noundef @.str.4, i32 noundef %103) %105 = load i32, ptr @stdout, align 4 %106 = call i32 @fflush(i32 noundef %105) br label %107 107: ; preds = %102 %108 = load i32, ptr %7, align 4 %109 = add i32 %108, 1 store i32 %109, ptr %7, align 4 br i1 true, label %50, label %110 110: ; preds = %107 %111 = load i32, ptr @stderr, align 4 %112 = load i32, ptr %7, align 4 %113 = load i32, ptr %8, align 4 %114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %111, ptr noundef @.str.5, i32 noundef %112, i32 noundef %113) %115 = load i32, ptr %6, align 4 %116 = call i32 @close(i32 noundef %115) store i32 0, ptr %3, align 4 br label %117 117: ; preds = %110, %16 %118 = load i32, ptr %3, align 4 ret i32 %118 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @do_encode_L2(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplh6g09j7.c' source_filename = "/tmp/tmplh6g09j7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.fst_arr = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16 @__const.main.snd_arr = private unnamed_addr constant [5 x i32] [i32 5, i32 4, i32 3, i32 2, i32 1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [5 x i32], align 16 %4 = alloca [5 x i32], align 16 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.fst_arr, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.snd_arr, i64 20, i1 false) %8 = call ptr @llvm.stacksave() store ptr %8, ptr %5, align 8 %9 = alloca i32, i64 5, align 16 %10 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %11 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 %12 = call i32 @array_sum(ptr noundef %10, ptr noundef %11, ptr noundef %9, i32 noundef 5) %13 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %14 = call i32 @print_array(ptr noundef %13, i32 noundef 5) %15 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 %16 = call i32 @print_array(ptr noundef %15, i32 noundef 5) %17 = call i32 @print_array(ptr noundef %9, i32 noundef 5) %18 = call i64 @malloc(i32 noundef 20) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %20 20: ; preds = %29, %0 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %21, 5 br i1 %22, label %23, label %32 23: ; preds = %20 %24 = load i32, ptr %7, align 4 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 store i32 %24, ptr %28, align 4 br label %29 29: ; preds = %23 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %7, align 4 br label %20, !llvm.loop !6 32: ; preds = %20 %33 = load ptr, ptr %6, align 8 %34 = call i32 @print_array(ptr noundef %33, i32 noundef 5) %35 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %36 = call i32 @delete_shift(ptr noundef %35, i32 noundef 2, i32 noundef 5) %37 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %38 = call i32 @print_array(ptr noundef %37, i32 noundef 4) %39 = load ptr, ptr %6, align 8 %40 = call i32 @delete_realloc(ptr noundef %39, i32 noundef 1, i32 noundef 5) %41 = load ptr, ptr %6, align 8 %42 = call i32 @print_array(ptr noundef %41, i32 noundef 4) %43 = load ptr, ptr %6, align 8 %44 = call i32 @free(ptr noundef %43) %45 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %46 = call i32 @reset_array(ptr noundef %45, i32 noundef 5) %47 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %48 = call i32 @print_array(ptr noundef %47, i32 noundef 5) %49 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 %50 = call i32 @inverse(ptr noundef %49, i32 noundef 5) %51 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 %52 = call i32 @print_array(ptr noundef %51, i32 noundef 5) %53 = call i32 @square(ptr noundef %9, i32 noundef 5) %54 = call i32 @print_array(ptr noundef %9, i32 noundef 5) store i32 0, ptr %1, align 4 %55 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %55) %56 = load i32, ptr %1, align 4 ret i32 %56 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @array_sum(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3 declare i32 @print_array(ptr noundef, i32 noundef) #3 declare i64 @malloc(i32 noundef) #3 declare i32 @delete_shift(ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @delete_realloc(ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @free(ptr noundef) #3 declare i32 @reset_array(ptr noundef, i32 noundef) #3 declare i32 @inverse(ptr noundef, i32 noundef) #3 declare i32 @square(ptr noundef, i32 noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplh6g09j7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.fst_arr = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16 @__const.main.snd_arr = private unnamed_addr constant [5 x i32] [i32 5, i32 4, i32 3, i32 2, i32 1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [5 x i32], align 16 %4 = alloca [5 x i32], align 16 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.fst_arr, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.snd_arr, i64 20, i1 false) %8 = call ptr @llvm.stacksave() store ptr %8, ptr %5, align 8 %9 = alloca i32, i64 5, align 16 %10 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %11 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 %12 = call i32 @array_sum(ptr noundef %10, ptr noundef %11, ptr noundef %9, i32 noundef 5) %13 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %14 = call i32 @print_array(ptr noundef %13, i32 noundef 5) %15 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 %16 = call i32 @print_array(ptr noundef %15, i32 noundef 5) %17 = call i32 @print_array(ptr noundef %9, i32 noundef 5) %18 = call i64 @malloc(i32 noundef 20) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %6, align 8 store i32 0, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 5 br i1 %21, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %22 22: ; preds = %.lr.ph, %28 %23 = load i32, ptr %7, align 4 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 store i32 %23, ptr %27, align 4 br label %28 28: ; preds = %22 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %31, 5 br i1 %32, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %0 %34 = load ptr, ptr %6, align 8 %35 = call i32 @print_array(ptr noundef %34, i32 noundef 5) %36 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %37 = call i32 @delete_shift(ptr noundef %36, i32 noundef 2, i32 noundef 5) %38 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %39 = call i32 @print_array(ptr noundef %38, i32 noundef 4) %40 = load ptr, ptr %6, align 8 %41 = call i32 @delete_realloc(ptr noundef %40, i32 noundef 1, i32 noundef 5) %42 = load ptr, ptr %6, align 8 %43 = call i32 @print_array(ptr noundef %42, i32 noundef 4) %44 = load ptr, ptr %6, align 8 %45 = call i32 @free(ptr noundef %44) %46 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %47 = call i32 @reset_array(ptr noundef %46, i32 noundef 5) %48 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %49 = call i32 @print_array(ptr noundef %48, i32 noundef 5) %50 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 %51 = call i32 @inverse(ptr noundef %50, i32 noundef 5) %52 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 %53 = call i32 @print_array(ptr noundef %52, i32 noundef 5) %54 = call i32 @square(ptr noundef %9, i32 noundef 5) %55 = call i32 @print_array(ptr noundef %9, i32 noundef 5) store i32 0, ptr %1, align 4 %56 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %56) %57 = load i32, ptr %1, align 4 ret i32 %57 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @array_sum(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3 declare i32 @print_array(ptr noundef, i32 noundef) #3 declare i64 @malloc(i32 noundef) #3 declare i32 @delete_shift(ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @delete_realloc(ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @free(ptr noundef) #3 declare i32 @reset_array(ptr noundef, i32 noundef) #3 declare i32 @inverse(ptr noundef, i32 noundef) #3 declare i32 @square(ptr noundef, i32 noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7klvt15q.c' source_filename = "/tmp/tmp7klvt15q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"zzzz\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"aaaa\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 br label %10 10: ; preds = %29, %2 %11 = load i32, ptr %8, align 4 %12 = icmp slt i32 %11, 512 br i1 %12, label %13, label %38 13: ; preds = %10 %14 = load i32, ptr %8, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) %16 = call ptr @calloc(i32 noundef 128, i32 noundef 1) store ptr %16, ptr %6, align 8 %17 = call ptr @calloc(i32 noundef 128, i32 noundef 1) store ptr %17, ptr %7, align 8 store i32 0, ptr %9, align 4 br label %18 18: ; preds = %22, %13 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %29 22: ; preds = %18 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 store i8 97, ptr %26, align 1 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 br label %18, !llvm.loop !6 29: ; preds = %18 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %31 = load ptr, ptr %6, align 8 %32 = call i32 @free(ptr noundef %31) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %34 = load ptr, ptr %7, align 8 %35 = call i32 @free(ptr noundef %34) %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 br label %10, !llvm.loop !8 38: ; preds = %10 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7klvt15q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"zzzz\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"aaaa\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = icmp slt i32 %10, 512 br i1 %11, label %.lr.ph2, label %41 .lr.ph2: ; preds = %2 br label %12 12: ; preds = %.lr.ph2, %30 %13 = load i32, ptr %8, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13) %15 = call ptr @calloc(i32 noundef 128, i32 noundef 1) store ptr %15, ptr %6, align 8 %16 = call ptr @calloc(i32 noundef 128, i32 noundef 1) store ptr %16, ptr %7, align 8 store i32 0, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %30 .lr.ph: ; preds = %12 br label %20 20: ; preds = %.lr.ph, %20 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %9, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 store i8 97, ptr %24, align 1 %25 = load i32, ptr %9, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %30 30: ; preds = %._crit_edge, %12 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %32 = load ptr, ptr %6, align 8 %33 = call i32 @free(ptr noundef %32) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %35 = load ptr, ptr %7, align 8 %36 = call i32 @free(ptr noundef %35) %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = icmp slt i32 %39, 512 br i1 %40, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %41 41: ; preds = %._crit_edge3, %2 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpm6v22q14.c' source_filename = "/tmp/tmpm6v22q14.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64 } @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"stat\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"device : 0x%x\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"inode : %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"mode : 0x%x\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"nlink : %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"uid : %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"gid : %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"rdev : 0x%x\0A\00", align 1 @.str.9 = private unnamed_addr constant [17 x i8] c"size : %ld\0A\00", align 1 @.str.10 = private unnamed_addr constant [17 x i8] c"blksize : %ld\0A\00", align 1 @.str.11 = private unnamed_addr constant [17 x i8] c"blocks : %ld\0A\00", align 1 @.str.12 = private unnamed_addr constant [17 x i8] c"atime : %ld\0A\00", align 1 @.str.13 = private unnamed_addr constant [17 x i8] c"mtime : %ld\0A\00", align 1 @.str.14 = private unnamed_addr constant [17 x i8] c"ctime : %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.stat, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @stat(ptr noundef @.str, ptr noundef %6) store i32 %8, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = call i32 @perror(ptr noundef @.str.1) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 %15 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 12 %16 = load i64, ptr %15, align 8 %17 = trunc i64 %16 to i32 %18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17) %19 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 11 %20 = load i64, ptr %19, align 8 %21 = trunc i64 %20 to i32 %22 = call i32 @printf(ptr noundef @.str.3, i32 noundef %21) %23 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %24 = load i32, ptr %23, align 8 %25 = call i32 @printf(ptr noundef @.str.4, i32 noundef %24) %26 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = call i32 @printf(ptr noundef @.str.5, i32 noundef %27) %29 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 2 %30 = load i32, ptr %29, align 8 %31 = call i32 @printf(ptr noundef @.str.6, i32 noundef %30) %32 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 3 %33 = load i32, ptr %32, align 4 %34 = call i32 @printf(ptr noundef @.str.7, i32 noundef %33) %35 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 10 %36 = load i64, ptr %35, align 8 %37 = trunc i64 %36 to i32 %38 = call i32 @printf(ptr noundef @.str.8, i32 noundef %37) %39 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 4 %40 = load i32, ptr %39, align 8 %41 = call i32 @printf(ptr noundef @.str.9, i32 noundef %40) %42 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 5 %43 = load i32, ptr %42, align 4 %44 = call i32 @printf(ptr noundef @.str.10, i32 noundef %43) %45 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 6 %46 = load i32, ptr %45, align 8 %47 = call i32 @printf(ptr noundef @.str.11, i32 noundef %46) %48 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 7 %49 = load i32, ptr %48, align 4 %50 = call i32 @printf(ptr noundef @.str.12, i32 noundef %49) %51 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 8 %52 = load i32, ptr %51, align 8 %53 = call i32 @printf(ptr noundef @.str.13, i32 noundef %52) %54 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 9 %55 = load i32, ptr %54, align 4 %56 = call i32 @printf(ptr noundef @.str.14, i32 noundef %55) %57 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm6v22q14.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64 } @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"stat\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"device : 0x%x\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"inode : %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"mode : 0x%x\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"nlink : %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"uid : %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"gid : %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"rdev : 0x%x\0A\00", align 1 @.str.9 = private unnamed_addr constant [17 x i8] c"size : %ld\0A\00", align 1 @.str.10 = private unnamed_addr constant [17 x i8] c"blksize : %ld\0A\00", align 1 @.str.11 = private unnamed_addr constant [17 x i8] c"blocks : %ld\0A\00", align 1 @.str.12 = private unnamed_addr constant [17 x i8] c"atime : %ld\0A\00", align 1 @.str.13 = private unnamed_addr constant [17 x i8] c"mtime : %ld\0A\00", align 1 @.str.14 = private unnamed_addr constant [17 x i8] c"ctime : %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.stat, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @stat(ptr noundef @.str, ptr noundef %6) store i32 %8, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = call i32 @perror(ptr noundef @.str.1) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 %15 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 12 %16 = load i64, ptr %15, align 8 %17 = trunc i64 %16 to i32 %18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17) %19 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 11 %20 = load i64, ptr %19, align 8 %21 = trunc i64 %20 to i32 %22 = call i32 @printf(ptr noundef @.str.3, i32 noundef %21) %23 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %24 = load i32, ptr %23, align 8 %25 = call i32 @printf(ptr noundef @.str.4, i32 noundef %24) %26 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = call i32 @printf(ptr noundef @.str.5, i32 noundef %27) %29 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 2 %30 = load i32, ptr %29, align 8 %31 = call i32 @printf(ptr noundef @.str.6, i32 noundef %30) %32 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 3 %33 = load i32, ptr %32, align 4 %34 = call i32 @printf(ptr noundef @.str.7, i32 noundef %33) %35 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 10 %36 = load i64, ptr %35, align 8 %37 = trunc i64 %36 to i32 %38 = call i32 @printf(ptr noundef @.str.8, i32 noundef %37) %39 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 4 %40 = load i32, ptr %39, align 8 %41 = call i32 @printf(ptr noundef @.str.9, i32 noundef %40) %42 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 5 %43 = load i32, ptr %42, align 4 %44 = call i32 @printf(ptr noundef @.str.10, i32 noundef %43) %45 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 6 %46 = load i32, ptr %45, align 8 %47 = call i32 @printf(ptr noundef @.str.11, i32 noundef %46) %48 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 7 %49 = load i32, ptr %48, align 4 %50 = call i32 @printf(ptr noundef @.str.12, i32 noundef %49) %51 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 8 %52 = load i32, ptr %51, align 8 %53 = call i32 @printf(ptr noundef @.str.13, i32 noundef %52) %54 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 9 %55 = load i32, ptr %54, align 4 %56 = call i32 @printf(ptr noundef @.str.14, i32 noundef %55) %57 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpagcgfqhn.c' source_filename = "/tmp/tmpagcgfqhn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_int(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store ptr %5, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = load i32, ptr %6, align 4 %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 store ptr %13, ptr %8, align 8 br label %14 14: ; preds = %23, %3 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %7, align 8 %17 = icmp uge ptr %15, %16 br i1 %17, label %18, label %26 18: ; preds = %14 %19 = load ptr, ptr %8, align 8 %20 = load i8, ptr %19, align 1 %21 = load ptr, ptr %4, align 8 %22 = call i32 @fputc(i8 noundef zeroext %20, ptr noundef %21) br label %23 23: ; preds = %18 %24 = load ptr, ptr %8, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 -1 store ptr %25, ptr %8, align 8 br label %14, !llvm.loop !6 26: ; preds = %14 ret void } declare i32 @fputc(i8 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpagcgfqhn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_int(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store ptr %5, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = load i32, ptr %6, align 4 %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %7, align 8 %16 = icmp uge ptr %14, %15 br i1 %16, label %.lr.ph, label %28 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %22 %18 = load ptr, ptr %8, align 8 %19 = load i8, ptr %18, align 1 %20 = load ptr, ptr %4, align 8 %21 = call i32 @fputc(i8 noundef zeroext %19, ptr noundef %20) br label %22 22: ; preds = %17 %23 = load ptr, ptr %8, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 -1 store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %8, align 8 %26 = load ptr, ptr %7, align 8 %27 = icmp uge ptr %25, %26 br i1 %27, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %3 ret void } declare i32 @fputc(i8 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpif0f1iwp.c' source_filename = "/tmp/tmpif0f1iwp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @radio_df_ant_switch_pattern_set(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpif0f1iwp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @radio_df_ant_switch_pattern_set(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyjruh5gy.c' source_filename = "/tmp/tmpyjruh5gy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Vetor na ordem digitada:\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"posi\C3\A7\C3\A3o: %d %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"\0AVetor na posi\C3\A7\C3\A3o invertida:\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"Posi\C3\A7\C3\A3o: %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [8 x i32], align 16 %4 = alloca [8 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10000000, ptr %7, align 4 store i32 4, ptr %8, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %5, align 4 br label %10 10: ; preds = %29, %0 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 8 br i1 %12, label %13, label %32 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %15 store i32 0, ptr %16, align 4 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %7, align 4 %19 = sdiv i32 %17, %18 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %2, align 4 %22 = srem i32 %21, %20 store i32 %22, ptr %2, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %25 store i32 %23, ptr %26, align 4 %27 = load i32, ptr %7, align 4 %28 = sdiv i32 %27, 10 store i32 %28, ptr %7, align 4 br label %29 29: ; preds = %13 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 br label %10, !llvm.loop !6 32: ; preds = %10 store i32 0, ptr %5, align 4 br label %33 33: ; preds = %53, %32 %34 = load i32, ptr %5, align 4 %35 = icmp slt i32 %34, 8 br i1 %35, label %36, label %56 36: ; preds = %33 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %38 store i32 0, ptr %39, align 4 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %45 store i32 %43, ptr %46, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp eq i32 %47, 7 br i1 %48, label %49, label %50 49: ; preds = %36 store i32 -1, ptr %8, align 4 br label %50 50: ; preds = %49, %36 %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %8, align 4 br label %53 53: ; preds = %50 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %5, align 4 br label %33, !llvm.loop !8 56: ; preds = %33 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %5, align 4 br label %58 58: ; preds = %68, %56 %59 = load i32, ptr %5, align 4 %60 = icmp slt i32 %59, 8 br i1 %60, label %61, label %71 61: ; preds = %58 %62 = load i32, ptr %5, align 4 %63 = load i32, ptr %5, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %64 %66 = load i32, ptr %65, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %62, i32 noundef %66) br label %68 68: ; preds = %61 %69 = load i32, ptr %5, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %5, align 4 br label %58, !llvm.loop !9 71: ; preds = %58 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %5, align 4 br label %73 73: ; preds = %83, %71 %74 = load i32, ptr %5, align 4 %75 = icmp slt i32 %74, 8 br i1 %75, label %76, label %86 76: ; preds = %73 %77 = load i32, ptr %5, align 4 %78 = load i32, ptr %5, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %79 %81 = load i32, ptr %80, align 4 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %77, i32 noundef %81) br label %83 83: ; preds = %76 %84 = load i32, ptr %5, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %5, align 4 br label %73, !llvm.loop !10 86: ; preds = %73 %87 = load i32, ptr %1, align 4 ret i32 %87 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyjruh5gy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Vetor na ordem digitada:\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"posi\C3\A7\C3\A3o: %d %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"\0AVetor na posi\C3\A7\C3\A3o invertida:\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"Posi\C3\A7\C3\A3o: %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [8 x i32], align 16 %4 = alloca [8 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10000000, ptr %7, align 4 store i32 4, ptr %8, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 8 br i1 %11, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %28 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %14 store i32 0, ptr %15, align 4 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %7, align 4 %18 = sdiv i32 %16, %17 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %2, align 4 %21 = srem i32 %20, %19 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %24 store i32 %22, ptr %25, align 4 %26 = load i32, ptr %7, align 4 %27 = sdiv i32 %26, 10 store i32 %27, ptr %7, align 4 br label %28 28: ; preds = %12 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp slt i32 %31, 8 br i1 %32, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %0 store i32 0, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp slt i32 %34, 8 br i1 %35, label %.lr.ph2, label %58 .lr.ph2: ; preds = %33 br label %36 36: ; preds = %.lr.ph2, %53 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %38 store i32 0, ptr %39, align 4 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %45 store i32 %43, ptr %46, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp eq i32 %47, 7 br i1 %48, label %49, label %50 49: ; preds = %36 store i32 -1, ptr %8, align 4 br label %50 50: ; preds = %49, %36 %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %8, align 4 br label %53 53: ; preds = %50 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %5, align 4 %56 = load i32, ptr %5, align 4 %57 = icmp slt i32 %56, 8 br i1 %57, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %58 58: ; preds = %._crit_edge3, %33 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %5, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp slt i32 %60, 8 br i1 %61, label %.lr.ph5, label %74 .lr.ph5: ; preds = %58 br label %62 62: ; preds = %.lr.ph5, %69 %63 = load i32, ptr %5, align 4 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %63, i32 noundef %67) br label %69 69: ; preds = %62 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %5, align 4 %72 = load i32, ptr %5, align 4 %73 = icmp slt i32 %72, 8 br i1 %73, label %62, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %69 br label %74 74: ; preds = %._crit_edge6, %58 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %5, align 4 %76 = load i32, ptr %5, align 4 %77 = icmp slt i32 %76, 8 br i1 %77, label %.lr.ph8, label %90 .lr.ph8: ; preds = %74 br label %78 78: ; preds = %.lr.ph8, %85 %79 = load i32, ptr %5, align 4 %80 = load i32, ptr %5, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %81 %83 = load i32, ptr %82, align 4 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %79, i32 noundef %83) br label %85 85: ; preds = %78 %86 = load i32, ptr %5, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %5, align 4 %88 = load i32, ptr %5, align 4 %89 = icmp slt i32 %88, 8 br i1 %89, label %78, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %85 br label %90 90: ; preds = %._crit_edge9, %74 %91 = load i32, ptr %1, align 4 ret i32 %91 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpjhqvdggq.c' source_filename = "/tmp/tmpjhqvdggq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"one\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"two\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"three\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"four\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"five\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"six\0A\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"seven\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"eight\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"nine\0A\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"zero\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %11, %0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %5 5: ; preds = %3 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 9 br label %11 11: ; preds = %8, %5 %12 = phi i1 [ true, %5 ], [ %10, %8 ] br i1 %12, label %3, label %13, !llvm.loop !6 13: ; preds = %11 %14 = load i32, ptr %2, align 4 switch i32 %14, label %35 [ i32 1, label %15 i32 2, label %17 i32 3, label %19 i32 4, label %21 i32 5, label %23 i32 6, label %25 i32 7, label %27 i32 8, label %29 i32 9, label %31 i32 0, label %33 ] 15: ; preds = %13 %16 = call i32 @printf(ptr noundef @.str.1) br label %35 17: ; preds = %13 %18 = call i32 @printf(ptr noundef @.str.2) br label %35 19: ; preds = %13 %20 = call i32 @printf(ptr noundef @.str.3) br label %35 21: ; preds = %13 %22 = call i32 @printf(ptr noundef @.str.4) br label %35 23: ; preds = %13 %24 = call i32 @printf(ptr noundef @.str.5) br label %35 25: ; preds = %13 %26 = call i32 @printf(ptr noundef @.str.6) br label %35 27: ; preds = %13 %28 = call i32 @printf(ptr noundef @.str.7) br label %35 29: ; preds = %13 %30 = call i32 @printf(ptr noundef @.str.8) br label %35 31: ; preds = %13 %32 = call i32 @printf(ptr noundef @.str.9) br label %35 33: ; preds = %13 %34 = call i32 @printf(ptr noundef @.str.10) br label %35 35: ; preds = %13, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjhqvdggq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"one\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"two\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"three\0A\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"four\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"five\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"six\0A\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"seven\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"eight\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"nine\0A\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"zero\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %11, %0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %5 5: ; preds = %3 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 9 br label %11 11: ; preds = %8, %5 %12 = phi i1 [ true, %5 ], [ %10, %8 ] br i1 %12, label %3, label %13, !llvm.loop !6 13: ; preds = %11 %14 = load i32, ptr %2, align 4 switch i32 %14, label %35 [ i32 1, label %15 i32 2, label %17 i32 3, label %19 i32 4, label %21 i32 5, label %23 i32 6, label %25 i32 7, label %27 i32 8, label %29 i32 9, label %31 i32 0, label %33 ] 15: ; preds = %13 %16 = call i32 @printf(ptr noundef @.str.1) br label %35 17: ; preds = %13 %18 = call i32 @printf(ptr noundef @.str.2) br label %35 19: ; preds = %13 %20 = call i32 @printf(ptr noundef @.str.3) br label %35 21: ; preds = %13 %22 = call i32 @printf(ptr noundef @.str.4) br label %35 23: ; preds = %13 %24 = call i32 @printf(ptr noundef @.str.5) br label %35 25: ; preds = %13 %26 = call i32 @printf(ptr noundef @.str.6) br label %35 27: ; preds = %13 %28 = call i32 @printf(ptr noundef @.str.7) br label %35 29: ; preds = %13 %30 = call i32 @printf(ptr noundef @.str.8) br label %35 31: ; preds = %13 %32 = call i32 @printf(ptr noundef @.str.9) br label %35 33: ; preds = %13 %34 = call i32 @printf(ptr noundef @.str.10) br label %35 35: ; preds = %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr5jf6qlk.c' source_filename = "/tmp/tmpr5jf6qlk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @buf_htonl(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %27, %2 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = udiv i64 %12, 4 %14 = add i64 %13, 1 %15 = icmp ult i64 %10, %14 br i1 %15, label %16, label %30 16: ; preds = %8 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = call i32 @htonl(i32 noundef %21) %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 store i32 %22, ptr %26, align 4 br label %27 27: ; preds = %16 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 br label %8, !llvm.loop !6 30: ; preds = %8 ret void } declare i32 @htonl(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr5jf6qlk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @buf_htonl(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = sext i32 %8 to i64 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = udiv i64 %11, 4 %13 = add i64 %12, 1 %14 = icmp ult i64 %9, %13 br i1 %14, label %.lr.ph, label %36 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %26 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 @htonl(i32 noundef %20) %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 store i32 %21, ptr %25, align 4 br label %26 26: ; preds = %15 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = udiv i64 %32, 4 %34 = add i64 %33, 1 %35 = icmp ult i64 %30, %34 br i1 %35, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %36 36: ; preds = %._crit_edge, %2 ret void } declare i32 @htonl(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphzgpqqm6.c' source_filename = "/tmp/tmphzgpqqm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 0 for :\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isxdigit_0x3a() #0 { %1 = call i64 @isxdigit(i32 noundef 58) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 295, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isxdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphzgpqqm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 0 for :\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isxdigit_0x3a() #0 { %1 = call i64 @isxdigit(i32 noundef 58) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 295, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isxdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu1_ktw9y.c' source_filename = "/tmp/tmpu1_ktw9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fpsr_getter() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @__builtin_aarch64_get_fpsr() store i32 %2, ptr %1, align 4 ret void } declare i32 @__builtin_aarch64_get_fpsr(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu1_ktw9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fpsr_getter() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @__builtin_aarch64_get_fpsr() store i32 %2, ptr %1, align 4 ret void } declare i32 @__builtin_aarch64_get_fpsr(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxoz69pri.c' source_filename = "/tmp/tmpxoz69pri.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } @CLOCK_REALTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @record_get_time_usecs() #0 { %1 = alloca %struct.timespec, align 8 %2 = load i32, ptr @CLOCK_REALTIME, align 4 %3 = call i32 @clock_gettime(i32 noundef %2, ptr noundef %1) %4 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = mul i64 %5, 1000000 %7 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 1 %8 = load i64, ptr %7, align 8 %9 = udiv i64 %8, 1000 %10 = add i64 %6, %9 ret i64 %10 } declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxoz69pri.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } @CLOCK_REALTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @record_get_time_usecs() #0 { %1 = alloca %struct.timespec, align 8 %2 = load i32, ptr @CLOCK_REALTIME, align 4 %3 = call i32 @clock_gettime(i32 noundef %2, ptr noundef %1) %4 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = mul i64 %5, 1000000 %7 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 1 %8 = load i64, ptr %7, align 8 %9 = udiv i64 %8, 1000 %10 = add i64 %6, %9 ret i64 %10 } declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}