llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp1g60f5tw.c' source_filename = "/tmp/tmp1g60f5tw.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_4__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rmpanel(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i32 0, i32 0 %6 = load ptr, ptr %5, align 8 store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @del_panel(ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 @delwin(ptr noundef %9) ret void } declare i32 @del_panel(ptr noundef) #1 declare i32 @delwin(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/tmp1g60f5tw.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_4__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rmpanel(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i32 0, i32 0 %6 = load ptr, ptr %5, align 8 store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @del_panel(ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 @delwin(ptr noundef %9) ret void } declare i32 @del_panel(ptr noundef) #1 declare i32 @delwin(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/tmp2bkkjvpq.c' source_filename = "/tmp/tmp2bkkjvpq.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 [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"snanvariancech\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 br label %11 11: ; preds = %41, %0 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 6 br i1 %13, label %14, label %44 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = call i32 @pow(i32 noundef 10, i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %17, 1 %19 = call i32 @pow(i32 noundef 10, i32 noundef %18) %20 = sdiv i32 1000000, %19 store i32 %20, ptr %4, align 4 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %37, %14 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %24, label %40 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call double @benchmark(i32 noundef %29, i32 noundef %30) store double %31, ptr %2, align 8 %32 = load i32, ptr %4, align 4 %33 = load double, ptr %2, align 8 %34 = call i32 @print_results(i32 noundef %32, double noundef %33) %35 = load i32, ptr %3, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) br label %37 37: ; preds = %24 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %21, !llvm.loop !6 40: ; preds = %21 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %11, !llvm.loop !8 44: ; preds = %11 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %3, align 4 %47 = call i32 @print_summary(i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %1, align 4 ret i32 %48 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2bkkjvpq.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 [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"snanvariancech\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %11, 6 br i1 %12, label %.lr.ph2, label %46 .lr.ph2: ; preds = %0 br label %13 13: ; preds = %.lr.ph2, %41 %14 = load i32, ptr %6, align 4 %15 = call i32 @pow(i32 noundef 10, i32 noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 %18 = call i32 @pow(i32 noundef 10, i32 noundef %17) %19 = sdiv i32 1000000, %18 store i32 %19, ptr %4, align 4 store i32 0, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %.lr.ph, label %40 .lr.ph: ; preds = %13 br label %22 22: ; preds = %.lr.ph, %35 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %25) %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = call double @benchmark(i32 noundef %27, i32 noundef %28) store double %29, ptr %2, align 8 %30 = load i32, ptr %4, align 4 %31 = load double, ptr %2, align 8 %32 = call i32 @print_results(i32 noundef %30, double noundef %31) %33 = load i32, ptr %3, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33) br label %35 35: ; preds = %22 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %38, 3 br i1 %39, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %13 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sle i32 %44, 6 br i1 %45, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %0 %47 = load i32, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = call i32 @print_summary(i32 noundef %47, i32 noundef %48) %50 = load i32, ptr %1, align 4 ret i32 %50 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(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}
; ModuleID = '/tmp/tmpj9j3krkh.c' source_filename = "/tmp/tmpj9j3krkh.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/tmpj9j3krkh.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/tmpa6nizvyt.c' source_filename = "/tmp/tmpa6nizvyt.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 i64 @time(i32 noundef 0) %3 = call i32 @srand(i64 noundef %2) %4 = call i32 @test(i32 noundef 10, i32 noundef 13) %5 = call i32 @test(i32 noundef 56, i32 noundef 101) %6 = call i32 @test(i32 noundef 8218, i32 noundef 10007) %7 = call i32 @test(i32 noundef 8219, i32 noundef 10007) %8 = call i32 @test(i32 noundef 331575, i32 noundef 1000003) %9 = call i32 @test(i32 noundef 665165880, i32 noundef 1000000007) ret i32 0 } declare i32 @srand(i64 noundef) #1 declare i64 @time(i32 noundef) #1 declare i32 @test(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/tmpa6nizvyt.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 i64 @time(i32 noundef 0) %3 = call i32 @srand(i64 noundef %2) %4 = call i32 @test(i32 noundef 10, i32 noundef 13) %5 = call i32 @test(i32 noundef 56, i32 noundef 101) %6 = call i32 @test(i32 noundef 8218, i32 noundef 10007) %7 = call i32 @test(i32 noundef 8219, i32 noundef 10007) %8 = call i32 @test(i32 noundef 331575, i32 noundef 1000003) %9 = call i32 @test(i32 noundef 665165880, i32 noundef 1000000007) ret i32 0 } declare i32 @srand(i64 noundef) #1 declare i64 @time(i32 noundef) #1 declare i32 @test(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/tmphvrtdslk.c' source_filename = "/tmp/tmphvrtdslk.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/tmphvrtdslk.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/tmp14e6i2k2.c' source_filename = "/tmp/tmp14e6i2k2.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"\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printdashes(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 %0, ptr %2, align 4 store i64 0, ptr %3, align 8 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str) br label %8 8: ; preds = %6, %1 br label %9 9: ; preds = %13, %8 %10 = load i64, ptr %3, align 8 %11 = add i64 %10, 1 store i64 %11, ptr %3, align 8 %12 = icmp ult i64 %10, 70 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = call i32 @printf(ptr noundef @.str.1) br label %9, !llvm.loop !6 15: ; preds = %9 %16 = load i32, ptr %2, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %15 %19 = call i32 @printf(ptr noundef @.str) br label %22 20: ; preds = %15 %21 = call i32 @printf(ptr noundef @.str.2) br label %22 22: ; preds = %20, %18 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp14e6i2k2.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"\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printdashes(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 %0, ptr %2, align 4 store i64 0, ptr %3, align 8 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str) br label %8 8: ; preds = %6, %1 %9 = load i64, ptr %3, align 8 %10 = add i64 %9, 1 store i64 %10, ptr %3, align 8 %11 = icmp ult i64 %9, 70 br i1 %11, label %.lr.ph, label %17 .lr.ph: ; preds = %8 br label %12 12: ; preds = %.lr.ph, %12 %13 = call i32 @printf(ptr noundef @.str.1) %14 = load i64, ptr %3, align 8 %15 = add i64 %14, 1 store i64 %15, ptr %3, align 8 %16 = icmp ult i64 %14, 70 br i1 %16, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %8 %18 = load i32, ptr %2, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %17 %21 = call i32 @printf(ptr noundef @.str) br label %24 22: ; preds = %17 %23 = call i32 @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22, %20 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpb3dv818z.c' source_filename = "/tmp/tmpb3dv818z.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/tmpb3dv818z.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/tmpa8xsmthe.c' source_filename = "/tmp/tmpa8xsmthe.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 [6 x i8] c"test\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert_key_to_bits(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [8 x i32], align 16 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = call i64 @malloc(i32 noundef 8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %11 11: ; preds = %24, %2 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 8 br i1 %13, label %14, label %27 14: ; preds = %11 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = call i32 @get_int_from_hex(i8 noundef signext %19) %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %22 store i32 %20, ptr %23, align 4 br label %24 24: ; preds = %14 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 br label %11, !llvm.loop !6 27: ; preds = %11 store i32 0, ptr %6, align 4 br label %28 28: ; preds = %60, %27 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %29, 8 br i1 %30, label %31, label %63 31: ; preds = %28 %32 = call i32 @printf(ptr noundef @.str) %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = trunc i32 %37 to i8 %39 = call i32 @sBox_converter(ptr noundef %33, i8 noundef signext %38, i32 noundef 32, i32 noundef 8) store i32 0, ptr %8, align 4 br label %40 40: ; preds = %56, %31 %41 = load i32, ptr %8, align 4 %42 = icmp slt i32 %41, 8 br i1 %42, label %43, label %59 43: ; preds = %40 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr %6, align 4 %52 = mul nsw i32 8, %51 %53 = add nsw i32 %50, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %49, i64 %54 store i8 %48, ptr %55, align 1 br label %56 56: ; preds = %43 %57 = load i32, ptr %8, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %8, align 4 br label %40, !llvm.loop !8 59: ; preds = %40 br label %60 60: ; preds = %59 %61 = load i32, ptr %6, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %6, align 4 br label %28, !llvm.loop !9 63: ; preds = %28 %64 = load ptr, ptr %5, align 8 %65 = call i32 @free(ptr noundef %64) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @get_int_from_hex(i8 noundef signext) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sBox_converter(ptr noundef, i8 noundef signext, 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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa8xsmthe.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 [6 x i8] c"test\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert_key_to_bits(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [8 x i32], align 16 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = call i64 @malloc(i32 noundef 8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %5, align 8 store i32 0, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 8 br i1 %12, label %.lr.ph, label %28 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %23 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = call i32 @get_int_from_hex(i8 noundef signext %18) %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %21 store i32 %19, ptr %22, align 4 br label %23 23: ; preds = %13 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %26, 8 br i1 %27, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %2 store i32 0, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %29, 8 br i1 %30, label %.lr.ph5, label %66 .lr.ph5: ; preds = %28 br label %31 31: ; preds = %.lr.ph5, %61 %32 = call i32 @printf(ptr noundef @.str) %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [8 x i32], ptr %7, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = trunc i32 %37 to i8 %39 = call i32 @sBox_converter(ptr noundef %33, i8 noundef signext %38, i32 noundef 32, i32 noundef 8) store i32 0, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = icmp slt i32 %40, 8 br i1 %41, label %.lr.ph2, label %60 .lr.ph2: ; preds = %31 br label %42 42: ; preds = %.lr.ph2, %55 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %8, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %6, align 4 %51 = mul nsw i32 8, %50 %52 = add nsw i32 %49, %51 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %48, i64 %53 store i8 %47, ptr %54, align 1 br label %55 55: ; preds = %42 %56 = load i32, ptr %8, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %8, align 4 %58 = load i32, ptr %8, align 4 %59 = icmp slt i32 %58, 8 br i1 %59, label %42, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %60 60: ; preds = %._crit_edge3, %31 br label %61 61: ; preds = %60 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %6, align 4 %64 = load i32, ptr %6, align 4 %65 = icmp slt i32 %64, 8 br i1 %65, label %31, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %61 br label %66 66: ; preds = %._crit_edge6, %28 %67 = load ptr, ptr %5, align 8 %68 = call i32 @free(ptr noundef %67) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @get_int_from_hex(i8 noundef signext) #1 declare i32 @printf(ptr noundef) #1 declare i32 @sBox_converter(ptr noundef, i8 noundef signext, 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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpjh_iyenq.c' source_filename = "/tmp/tmpjh_iyenq.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 @allocate_clear(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @allocate(i64 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %2, align 8 %8 = call i32 @memset(ptr noundef %6, i32 noundef 0, i64 noundef %7) %9 = load ptr, ptr %3, align 8 ret ptr %9 } declare ptr @allocate(i64 noundef) #1 declare i32 @memset(ptr 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/tmpjh_iyenq.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 @allocate_clear(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @allocate(i64 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %2, align 8 %8 = call i32 @memset(ptr noundef %6, i32 noundef 0, i64 noundef %7) %9 = load ptr, ptr %3, align 8 ret ptr %9 } declare ptr @allocate(i64 noundef) #1 declare i32 @memset(ptr 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/tmp3r8nkjq1.c' source_filename = "/tmp/tmp3r8nkjq1.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 [7 x i8] c"malloc\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %1 %8 = call i32 @perror(ptr noundef @.str) %9 = load i32, ptr @EXIT_FAILURE, align 4 %10 = call i32 @exit(i32 noundef %9) #5 unreachable 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 ret ptr %12 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #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 = { allocsize(0) "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 = { 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 #4 = { allocsize(0) } attributes #5 = { 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/tmp3r8nkjq1.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 [7 x i8] c"malloc\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %1 %8 = call i32 @perror(ptr noundef @.str) %9 = load i32, ptr @EXIT_FAILURE, align 4 %10 = call i32 @exit(i32 noundef %9) #5 unreachable 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 ret ptr %12 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #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 = { allocsize(0) "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 = { 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 #4 = { allocsize(0) } attributes #5 = { 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/tmp05rkwpzj.c' source_filename = "/tmp/tmp05rkwpzj.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 @lock_term(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [1025 x i8], align 16 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = call i32 (...) @getpid() store i32 %6, ptr %5, align 4 %7 = load i32, ptr %2, align 4 ret i32 %7 } declare i32 @getpid(...) #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/tmp05rkwpzj.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 @lock_term(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [1025 x i8], align 16 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = call i32 (...) @getpid() store i32 %6, ptr %5, align 4 %7 = load i32, ptr %2, align 4 ret i32 %7 } declare i32 @getpid(...) #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/tmpu5abhrus.c' source_filename = "/tmp/tmpu5abhrus.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 @bitpos(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @mask(i32 noundef %5, i32 noundef %6) %8 = shl i32 1, %7 ret i32 %8 } declare i32 @mask(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/tmpu5abhrus.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 @bitpos(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @mask(i32 noundef %5, i32 noundef %6) %8 = shl i32 1, %7 ret i32 %8 } declare i32 @mask(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/tmp_0fin9kz.c' source_filename = "/tmp/tmp_0fin9kz.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 @foo_read(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 @inline_read(ptr noundef %3) ret i32 %4 } declare i32 @inline_read(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/tmp_0fin9kz.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 @foo_read(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 @inline_read(ptr noundef %3) ret i32 %4 } declare i32 @inline_read(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/tmptxewue9s.c' source_filename = "/tmp/tmptxewue9s.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" @RTLD_NOW = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\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 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 i32 1, ptr %6, align 4 br label %8 8: ; preds = %30, %2 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %33 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr @RTLD_NOW, align 4 %19 = call ptr @dlopen(ptr noundef %17, i32 noundef %18) store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %26, label %22 22: ; preds = %12 %23 = load i32, ptr @stderr, align 4 %24 = call ptr (...) @dlerror() %25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str, ptr noundef %24) store i32 1, ptr %3, align 4 br label %34 26: ; preds = %12 %27 = load ptr, ptr %7, align 8 %28 = call i32 @dlclose(ptr noundef %27) br label %29 29: ; preds = %26 br label %30 30: ; preds = %29 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 br label %8, !llvm.loop !6 33: ; preds = %8 store i32 0, ptr %3, align 4 br label %34 34: ; preds = %33, %22 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare ptr @dlopen(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @dlerror(...) #1 declare i32 @dlclose(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/tmptxewue9s.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" @RTLD_NOW = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\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 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 i32 1, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %29 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr @RTLD_NOW, align 4 %18 = call ptr @dlopen(ptr noundef %16, i32 noundef %17) store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %25, label %21 21: ; preds = %11 %22 = load i32, ptr @stderr, align 4 %23 = call ptr (...) @dlerror() %24 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str, ptr noundef %23) store i32 1, ptr %3, align 4 br label %36 25: ; preds = %11 %26 = load ptr, ptr %7, align 8 %27 = call i32 @dlclose(ptr noundef %26) br label %28 28: ; preds = %25 br label %29 29: ; preds = %28 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %2 store i32 0, ptr %3, align 4 br label %36 36: ; preds = %35, %21 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare ptr @dlopen(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @dlerror(...) #1 declare i32 @dlclose(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/tmpsgwdr95i.c' source_filename = "/tmp/tmpsgwdr95i.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 [19 x i8] c"/sandbox/input.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %35, %0 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %38 8: ; preds = %5 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = load ptr, ptr %3, align 8 %15 = call signext i8 @fgetc(ptr noundef %14) store i8 %15, ptr %4, align 1 br label %16 16: ; preds = %22, %8 %17 = load i8, ptr %4, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr @EOF, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %18, %20 br i1 %21, label %22, label %34 22: ; preds = %16 %23 = load i8, ptr %4, align 1 %24 = load i32, ptr @stdout, align 4 %25 = call signext i8 @fputc(i8 noundef signext %23, i32 noundef %24) %26 = sext i8 %25 to i32 %27 = load i8, ptr @EOF, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %26, %28 %30 = zext i1 %29 to i32 %31 = call i32 @assert(i32 noundef %30) %32 = load ptr, ptr %3, align 8 %33 = call signext i8 @fgetc(ptr noundef %32) store i8 %33, ptr %4, align 1 br label %16, !llvm.loop !6 34: ; preds = %16 br label %35 35: ; preds = %34 %36 = load i32, ptr %2, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %2, align 4 br label %5, !llvm.loop !8 38: ; preds = %5 %39 = load i32, ptr %1, align 4 ret i32 %39 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare signext i8 @fputc(i8 noundef signext, 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/tmpsgwdr95i.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 [19 x i8] c"/sandbox/input.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 2 br i1 %6, label %.lr.ph2, label %43 .lr.ph2: ; preds = %0 br label %7 7: ; preds = %.lr.ph2, %38 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load ptr, ptr %3, align 8 %14 = call signext i8 @fgetc(ptr noundef %13) store i8 %14, ptr %4, align 1 %15 = load i8, ptr %4, align 1 %16 = sext i8 %15 to i32 %17 = load i8, ptr @EOF, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %16, %18 br i1 %19, label %.lr.ph, label %37 .lr.ph: ; preds = %7 br label %20 20: ; preds = %.lr.ph, %20 %21 = load i8, ptr %4, align 1 %22 = load i32, ptr @stdout, align 4 %23 = call signext i8 @fputc(i8 noundef signext %21, i32 noundef %22) %24 = sext i8 %23 to i32 %25 = load i8, ptr @EOF, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %24, %26 %28 = zext i1 %27 to i32 %29 = call i32 @assert(i32 noundef %28) %30 = load ptr, ptr %3, align 8 %31 = call signext i8 @fgetc(ptr noundef %30) store i8 %31, ptr %4, align 1 %32 = load i8, ptr %4, align 1 %33 = sext i8 %32 to i32 %34 = load i8, ptr @EOF, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %33, %35 br i1 %36, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %37 37: ; preds = %._crit_edge, %7 br label %38 38: ; preds = %37 %39 = load i32, ptr %2, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %2, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp slt i32 %41, 2 br i1 %42, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %43 43: ; preds = %._crit_edge3, %0 %44 = load i32, ptr %1, align 4 ret i32 %44 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare signext i8 @fputc(i8 noundef signext, 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/tmpdu3ku59t.c' source_filename = "/tmp/tmpdu3ku59t.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"csv-task.csv\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @function_urole(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(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3) ret void } declare i32 @write(ptr noundef, 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/tmpdu3ku59t.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"csv-task.csv\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @function_urole(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(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3) ret void } declare i32 @write(ptr noundef, 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/tmpb3_2pxj5.c' source_filename = "/tmp/tmpb3_2pxj5.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"/proc/cpuinfo\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"vendor_id\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"AMD\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"cpu family\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"not a opteron cpu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @checkk8() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr null, ptr %1, align 8 store i64 0, ptr %2, align 8 store i32 0, ptr %3, align 4 %7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %0 br label %66 11: ; preds = %0 br label %12 12: ; preds = %54, %11 %13 = load ptr, ptr %4, align 8 %14 = call i64 @getline(ptr noundef %1, ptr noundef %2, ptr noundef %13) %15 = icmp sgt i64 %14, 0 br i1 %15, label %16, label %55 16: ; preds = %12 %17 = load ptr, ptr %1, align 8 %18 = call i32 @strncmp(ptr noundef @.str.2, ptr noundef %17, i32 noundef 9) %19 = icmp ne i32 %18, 0 br i1 %19, label %28, label %20 20: ; preds = %16 %21 = load ptr, ptr %1, align 8 %22 = call i32 @strstr(ptr noundef %21, ptr noundef @.str.3) %23 = icmp ne i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %20 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %24, %20 br label %28 28: ; preds = %27, %16 %29 = load ptr, ptr %1, align 8 %30 = call i32 @strncmp(ptr noundef @.str.4, ptr noundef %29, i32 noundef 10) %31 = icmp ne i32 %30, 0 br i1 %31, label %54, label %32 32: ; preds = %28 %33 = load ptr, ptr %1, align 8 %34 = load ptr, ptr %1, align 8 %35 = call i32 @strcspn(ptr noundef %34, ptr noundef @.str.5) %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %33, i64 %36 store ptr %37, ptr %5, align 8 %38 = load ptr, ptr %5, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 58 br i1 %41, label %42, label %45 42: ; preds = %32 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %5, align 8 br label %45 45: ; preds = %42, %32 %46 = load ptr, ptr %5, align 8 %47 = call i32 @strtoul(ptr noundef %46, ptr noundef null, i32 noundef 0) store i32 %47, ptr %6, align 4 %48 = load i32, ptr %6, align 4 %49 = icmp ne i32 %48, 15 br i1 %49, label %50, label %53 50: ; preds = %45 %51 = load i32, ptr %3, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %3, align 4 br label %53 53: ; preds = %50, %45 br label %54 54: ; preds = %53, %28 br label %12, !llvm.loop !6 55: ; preds = %12 %56 = load i32, ptr %3, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %58, label %61 58: ; preds = %55 %59 = call i32 @printf(ptr noundef @.str.6) %60 = call i32 @exit(i32 noundef 1) #3 unreachable 61: ; preds = %55 %62 = load ptr, ptr %1, align 8 %63 = call i32 @free(ptr noundef %62) %64 = load ptr, ptr %4, align 8 %65 = call i32 @fclose(ptr noundef %64) br label %66 66: ; preds = %61, %10 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strstr(ptr noundef, ptr noundef) #1 declare i32 @strcspn(ptr noundef, ptr noundef) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @free(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" } 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/tmpb3_2pxj5.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"/proc/cpuinfo\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"vendor_id\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"AMD\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"cpu family\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"not a opteron cpu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @checkk8() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr null, ptr %1, align 8 store i64 0, ptr %2, align 8 store i32 0, ptr %3, align 4 %7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %0 br label %68 11: ; preds = %0 %12 = load ptr, ptr %4, align 8 %13 = call i64 @getline(ptr noundef %1, ptr noundef %2, ptr noundef %12) %14 = icmp sgt i64 %13, 0 br i1 %14, label %.lr.ph, label %57 .lr.ph: ; preds = %11 br label %15 15: ; preds = %.lr.ph, %53 %16 = load ptr, ptr %1, align 8 %17 = call i32 @strncmp(ptr noundef @.str.2, ptr noundef %16, i32 noundef 9) %18 = icmp ne i32 %17, 0 br i1 %18, label %27, label %19 19: ; preds = %15 %20 = load ptr, ptr %1, align 8 %21 = call i32 @strstr(ptr noundef %20, ptr noundef @.str.3) %22 = icmp ne i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %19 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %23, %19 br label %27 27: ; preds = %26, %15 %28 = load ptr, ptr %1, align 8 %29 = call i32 @strncmp(ptr noundef @.str.4, ptr noundef %28, i32 noundef 10) %30 = icmp ne i32 %29, 0 br i1 %30, label %53, label %31 31: ; preds = %27 %32 = load ptr, ptr %1, align 8 %33 = load ptr, ptr %1, align 8 %34 = call i32 @strcspn(ptr noundef %33, ptr noundef @.str.5) %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 store ptr %36, ptr %5, align 8 %37 = load ptr, ptr %5, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 58 br i1 %40, label %41, label %44 41: ; preds = %31 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %5, align 8 br label %44 44: ; preds = %41, %31 %45 = load ptr, ptr %5, align 8 %46 = call i32 @strtoul(ptr noundef %45, ptr noundef null, i32 noundef 0) store i32 %46, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = icmp ne i32 %47, 15 br i1 %48, label %49, label %52 49: ; preds = %44 %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %3, align 4 br label %52 52: ; preds = %49, %44 br label %53 53: ; preds = %52, %27 %54 = load ptr, ptr %4, align 8 %55 = call i64 @getline(ptr noundef %1, ptr noundef %2, ptr noundef %54) %56 = icmp sgt i64 %55, 0 br i1 %56, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %57 57: ; preds = %._crit_edge, %11 %58 = load i32, ptr %3, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %57 %61 = call i32 @printf(ptr noundef @.str.6) %62 = call i32 @exit(i32 noundef 1) #3 unreachable 63: ; preds = %57 %64 = load ptr, ptr %1, align 8 %65 = call i32 @free(ptr noundef %64) %66 = load ptr, ptr %4, align 8 %67 = call i32 @fclose(ptr noundef %66) br label %68 68: ; preds = %63, %10 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strstr(ptr noundef, ptr noundef) #1 declare i32 @strcspn(ptr noundef, ptr noundef) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @free(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" } 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/tmpw6ex67fd.c' source_filename = "/tmp/tmpw6ex67fd.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" @SIGKILL = dso_local global i32 0, align 4 @SIGALRM = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @term_all_processes() #0 { %1 = load i32, ptr @SIGKILL, align 4 %2 = call i32 @kill(i32 noundef -1, i32 noundef %1) %3 = load i32, ptr @SIGALRM, align 4 %4 = load i32, ptr @SIG_IGN, align 4 %5 = call i32 @signal(i32 noundef %3, i32 noundef %4) ret void } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @signal(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/tmpw6ex67fd.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" @SIGKILL = dso_local global i32 0, align 4 @SIGALRM = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @term_all_processes() #0 { %1 = load i32, ptr @SIGKILL, align 4 %2 = call i32 @kill(i32 noundef -1, i32 noundef %1) %3 = load i32, ptr @SIGALRM, align 4 %4 = load i32, ptr @SIG_IGN, align 4 %5 = call i32 @signal(i32 noundef %3, i32 noundef %4) ret void } declare i32 @kill(i32 noundef, i32 noundef) #1 declare i32 @signal(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/tmpj58omn1b.c' source_filename = "/tmp/tmpj58omn1b.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 [23 x i8] c"Usage : %s <n> [seed]\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"\09n : number of iterations\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"\09seed : random seed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exit_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = call i32 @exit(i32 noundef 2) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #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/tmpj58omn1b.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 [23 x i8] c"Usage : %s <n> [seed]\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"\09n : number of iterations\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"\09seed : random seed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exit_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = call i32 @exit(i32 noundef 2) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #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/tmpm6yejyvt.c' source_filename = "/tmp/tmpm6yejyvt.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 [110 x i8] c"select uniProt.taxon.binomial from image,uniProt.taxon where image.id = %d and image.taxon = uniProt.taxon.id\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @genePixOrganism(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 %6 = alloca [256 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %8 = load i32, ptr %4, align 4 %9 = call i32 @sqlSafef(ptr noundef %7, i32 noundef 256, ptr noundef @.str, i32 noundef %8) %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %12 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @sqlQuickQuery(ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 256) %14 = call ptr @cloneOrNull(i32 noundef %13) ret ptr %14 } declare i32 @sqlSafef(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @cloneOrNull(i32 noundef) #1 declare i32 @sqlQuickQuery(ptr noundef, 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/tmpm6yejyvt.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 [110 x i8] c"select uniProt.taxon.binomial from image,uniProt.taxon where image.id = %d and image.taxon = uniProt.taxon.id\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @genePixOrganism(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 %6 = alloca [256 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %8 = load i32, ptr %4, align 4 %9 = call i32 @sqlSafef(ptr noundef %7, i32 noundef 256, ptr noundef @.str, i32 noundef %8) %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %12 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @sqlQuickQuery(ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 256) %14 = call ptr @cloneOrNull(i32 noundef %13) ret ptr %14 } declare i32 @sqlSafef(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @cloneOrNull(i32 noundef) #1 declare i32 @sqlQuickQuery(ptr noundef, 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/tmpmcez4bpz.c' source_filename = "/tmp/tmpmcez4bpz.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_RDWR = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @O_EXCL = dso_local global i32 0, align 4 @O_CLOEXEC = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_APPEND = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__fmodeflags(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strchr(ptr noundef %4, i8 noundef signext 43) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load i32, ptr @O_RDWR, align 4 store i32 %8, ptr %3, align 4 br label %19 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 114 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = load i32, ptr @O_RDONLY, align 4 store i32 %15, ptr %3, align 4 br label %18 16: ; preds = %9 %17 = load i32, ptr @O_WRONLY, align 4 store i32 %17, ptr %3, align 4 br label %18 18: ; preds = %16, %14 br label %19 19: ; preds = %18, %7 %20 = load ptr, ptr %2, align 8 %21 = call i64 @strchr(ptr noundef %20, i8 noundef signext 120) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %19 %24 = load i32, ptr @O_EXCL, align 4 %25 = load i32, ptr %3, align 4 %26 = or i32 %25, %24 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %23, %19 %28 = load ptr, ptr %2, align 8 %29 = call i64 @strchr(ptr noundef %28, i8 noundef signext 101) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i32, ptr @O_CLOEXEC, align 4 %33 = load i32, ptr %3, align 4 %34 = or i32 %33, %32 store i32 %34, ptr %3, align 4 br label %35 35: ; preds = %31, %27 %36 = load ptr, ptr %2, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 114 br i1 %39, label %40, label %44 40: ; preds = %35 %41 = load i32, ptr @O_CREAT, align 4 %42 = load i32, ptr %3, align 4 %43 = or i32 %42, %41 store i32 %43, ptr %3, align 4 br label %44 44: ; preds = %40, %35 %45 = load ptr, ptr %2, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 119 br i1 %48, label %49, label %53 49: ; preds = %44 %50 = load i32, ptr @O_TRUNC, align 4 %51 = load i32, ptr %3, align 4 %52 = or i32 %51, %50 store i32 %52, ptr %3, align 4 br label %53 53: ; preds = %49, %44 %54 = load ptr, ptr %2, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 97 br i1 %57, label %58, label %62 58: ; preds = %53 %59 = load i32, ptr @O_APPEND, align 4 %60 = load i32, ptr %3, align 4 %61 = or i32 %60, %59 store i32 %61, ptr %3, align 4 br label %62 62: ; preds = %58, %53 %63 = load i32, ptr %3, align 4 ret i32 %63 } declare i64 @strchr(ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmcez4bpz.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_RDWR = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @O_EXCL = dso_local global i32 0, align 4 @O_CLOEXEC = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_APPEND = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__fmodeflags(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strchr(ptr noundef %4, i8 noundef signext 43) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = load i32, ptr @O_RDWR, align 4 store i32 %8, ptr %3, align 4 br label %19 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 114 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = load i32, ptr @O_RDONLY, align 4 store i32 %15, ptr %3, align 4 br label %18 16: ; preds = %9 %17 = load i32, ptr @O_WRONLY, align 4 store i32 %17, ptr %3, align 4 br label %18 18: ; preds = %16, %14 br label %19 19: ; preds = %18, %7 %20 = load ptr, ptr %2, align 8 %21 = call i64 @strchr(ptr noundef %20, i8 noundef signext 120) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %19 %24 = load i32, ptr @O_EXCL, align 4 %25 = load i32, ptr %3, align 4 %26 = or i32 %25, %24 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %23, %19 %28 = load ptr, ptr %2, align 8 %29 = call i64 @strchr(ptr noundef %28, i8 noundef signext 101) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i32, ptr @O_CLOEXEC, align 4 %33 = load i32, ptr %3, align 4 %34 = or i32 %33, %32 store i32 %34, ptr %3, align 4 br label %35 35: ; preds = %31, %27 %36 = load ptr, ptr %2, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 114 br i1 %39, label %40, label %44 40: ; preds = %35 %41 = load i32, ptr @O_CREAT, align 4 %42 = load i32, ptr %3, align 4 %43 = or i32 %42, %41 store i32 %43, ptr %3, align 4 br label %44 44: ; preds = %40, %35 %45 = load ptr, ptr %2, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 119 br i1 %48, label %49, label %53 49: ; preds = %44 %50 = load i32, ptr @O_TRUNC, align 4 %51 = load i32, ptr %3, align 4 %52 = or i32 %51, %50 store i32 %52, ptr %3, align 4 br label %53 53: ; preds = %49, %44 %54 = load ptr, ptr %2, align 8 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 97 br i1 %57, label %58, label %62 58: ; preds = %53 %59 = load i32, ptr @O_APPEND, align 4 %60 = load i32, ptr %3, align 4 %61 = or i32 %60, %59 store i32 %61, ptr %3, align 4 br label %62 62: ; preds = %58, %53 %63 = load i32, ptr %3, align 4 ret i32 %63 } declare i64 @strchr(ptr noundef, 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"}
; ModuleID = '/tmp/tmp761ew_d_.c' source_filename = "/tmp/tmp761ew_d_.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/tmp761ew_d_.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/tmp3sxhp4dh.c' source_filename = "/tmp/tmp3sxhp4dh.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 { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Tetris_sleep_ms(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.timespec, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = udiv i32 %5, 1000 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = mul i32 %8, 1000 %10 = sub i32 %7, %9 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %2, align 4 %14 = sext i32 %13 to i64 %15 = mul nsw i64 %14, 1000000 %16 = trunc i64 %15 to i32 %17 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1 store i32 %16, ptr %17, align 4 br label %18 18: ; preds = %21, %1 %19 = call i32 @nanosleep(ptr noundef %4, ptr noundef %4) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %22 21: ; preds = %18 br label %18, !llvm.loop !6 22: ; preds = %18 ret void } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3sxhp4dh.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 { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Tetris_sleep_ms(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.timespec, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = udiv i32 %5, 1000 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = mul i32 %8, 1000 %10 = sub i32 %7, %9 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %2, align 4 %14 = sext i32 %13 to i64 %15 = mul nsw i64 %14, 1000000 %16 = trunc i64 %15 to i32 %17 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1 store i32 %16, ptr %17, align 4 br label %18 18: ; preds = %18, %1 %19 = call i32 @nanosleep(ptr noundef %4, ptr noundef %4) %20 = icmp eq i32 %19, -1 br i1 %20, label %18, label %21, !llvm.loop !6 21: ; preds = %18 ret void } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpatvs3ip7.c' source_filename = "/tmp/tmpatvs3ip7.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.eraseFlash.data = private unnamed_addr constant [2 x i32] [i32 255, i32 0], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @eraseFlash(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [2 x i32], align 4 store i32 %0, ptr %3, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const.eraseFlash.data, i64 8, i1 false) %5 = load i32, ptr %3, align 4 %6 = call i64 @sendCommand(i32 noundef %5, i32 noundef 67) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 -1, ptr %2, align 4 br label %21 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %12 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef 2) %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %15 14: ; preds = %9 store i32 -1, ptr %2, align 4 br label %21 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = call i64 @readAck(i32 noundef %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %15 store i32 -1, ptr %2, align 4 br label %21 20: ; preds = %15 store i32 0, ptr %2, align 4 br label %21 21: ; preds = %20, %19, %14, %8 %22 = load i32, ptr %2, align 4 ret i32 %22 } ; 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 i64 @sendCommand(i32 noundef, i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @readAck(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: 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/tmpatvs3ip7.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.eraseFlash.data = private unnamed_addr constant [2 x i32] [i32 255, i32 0], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @eraseFlash(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [2 x i32], align 4 store i32 %0, ptr %3, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const.eraseFlash.data, i64 8, i1 false) %5 = load i32, ptr %3, align 4 %6 = call i64 @sendCommand(i32 noundef %5, i32 noundef 67) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 -1, ptr %2, align 4 br label %21 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %12 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef 2) %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %15 14: ; preds = %9 store i32 -1, ptr %2, align 4 br label %21 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = call i64 @readAck(i32 noundef %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %15 store i32 -1, ptr %2, align 4 br label %21 20: ; preds = %15 store i32 0, ptr %2, align 4 br label %21 21: ; preds = %20, %19, %14, %8 %22 = load i32, ptr %2, align 4 ret i32 %22 } ; 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 i64 @sendCommand(i32 noundef, i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @readAck(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: 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/tmp7fbfbitq.c' source_filename = "/tmp/tmp7fbfbitq.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/tmp7fbfbitq.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/tmp6u20hjgn.c' source_filename = "/tmp/tmp6u20hjgn.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" @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @time_strcpy(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 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = call double (...) @clock() store double %10, ptr %7, align 8 store i32 0, ptr %9, align 4 br label %11 11: ; preds = %19, %3 %12 = load i32, ptr %9, align 4 %13 = icmp slt i32 %12, 1000000 br i1 %13, label %14, label %22 14: ; preds = %11 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %6, align 8 %18 = call ptr %15(ptr noundef %16, ptr noundef %17) br label %19 19: ; preds = %14 %20 = load i32, ptr %9, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %9, align 4 br label %11, !llvm.loop !6 22: ; preds = %11 %23 = call double (...) @clock() %24 = load double, ptr %7, align 8 %25 = fsub double %23, %24 store double %25, ptr %8, align 8 %26 = load double, ptr %8, align 8 %27 = fmul double 1.000000e+00, %26 %28 = load double, ptr @CLOCKS_PER_SEC, align 8 %29 = fdiv double %27, %28 ret double %29 } declare double @clock(...) #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/tmp6u20hjgn.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" @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @time_strcpy(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 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = call double (...) @clock() store double %10, ptr %7, align 8 store i32 0, ptr %9, align 4 %11 = load i32, ptr %9, align 4 %12 = icmp slt i32 %11, 1000000 br i1 %12, label %.lr.ph, label %23 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %18 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %6, align 8 %17 = call ptr %14(ptr noundef %15, ptr noundef %16) br label %18 18: ; preds = %13 %19 = load i32, ptr %9, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %21, 1000000 br i1 %22, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %3 %24 = call double (...) @clock() %25 = load double, ptr %7, align 8 %26 = fsub double %24, %25 store double %26, ptr %8, align 8 %27 = load double, ptr %8, align 8 %28 = fmul double 1.000000e+00, %27 %29 = load double, ptr @CLOCKS_PER_SEC, align 8 %30 = fdiv double %28, %29 ret double %30 } declare double @clock(...) #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/tmpkuj49lw6.c' source_filename = "/tmp/tmpkuj49lw6.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 i32 @get_XIMPreeditCaretCallbackStruct_style(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 %6 = trunc i64 %5 to i32 ret i32 %6 } 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/tmpkuj49lw6.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 i32 @get_XIMPreeditCaretCallbackStruct_style(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 %6 = trunc i64 %5 to i32 ret i32 %6 } 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/tmptj6xcwrt.c' source_filename = "/tmp/tmptj6xcwrt.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" @TTY_ON = 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/tmptj6xcwrt.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" @TTY_ON = 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/tmpeiyqo3r9.c' source_filename = "/tmp/tmpeiyqo3r9.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 [8 x i8] c"0x%08X\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_hex(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stderr, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @fprintf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeiyqo3r9.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 [8 x i8] c"0x%08X\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_hex(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @stderr, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @fprintf(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"}
; ModuleID = '/tmp/tmp_xpoymj0.c' source_filename = "/tmp/tmp_xpoymj0.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 @__wrap_malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @dllmalloc(i64 noundef %3) ret ptr %4 } declare ptr @dllmalloc(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/tmp_xpoymj0.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 @__wrap_malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @dllmalloc(i64 noundef %3) ret ptr %4 } declare ptr @dllmalloc(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/tmph83z4vk1.c' source_filename = "/tmp/tmph83z4vk1.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 [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readNumbers(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 1, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 4, %9 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %1 store ptr null, ptr %2, align 8 br label %66 16: ; preds = %1 br label %17 17: ; preds = %38, %16 %18 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %19 = icmp eq i32 %18, 1 br i1 %19, label %20, label %53 20: ; preds = %17 br label %21 21: ; preds = %37, %20 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp sge i32 %22, %23 br i1 %24, label %25, label %38 25: ; preds = %21 %26 = load i32, ptr %5, align 4 %27 = mul nsw i32 %26, 2 store i32 %27, ptr %5, align 4 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = mul i64 4, %30 %32 = trunc i64 %31 to i32 %33 = call ptr @realloc(ptr noundef %28, i32 noundef %32) store ptr %33, ptr %6, align 8 %34 = load ptr, ptr %6, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %37 36: ; preds = %25 store ptr null, ptr %2, align 8 br label %66 37: ; preds = %25 br label %21, !llvm.loop !6 38: ; preds = %21 %39 = load i32, ptr %7, align 4 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %4, align 4 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds i32, ptr %40, i64 %43 store i32 %39, ptr %44, align 4 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %4, align 4 %47 = sub nsw i32 %46, 1 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %45, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load i32, ptr %7, align 4 %52 = call i32 @printf(ptr noundef @.str.1, i32 noundef %50, i32 noundef %51) br label %17, !llvm.loop !8 53: ; preds = %17 %54 = load ptr, ptr %6, align 8 %55 = load i32, ptr %4, align 4 %56 = sext i32 %55 to i64 %57 = mul i64 4, %56 %58 = trunc i64 %57 to i32 %59 = call ptr @realloc(ptr noundef %54, i32 noundef %58) store ptr %59, ptr %6, align 8 %60 = load i32, ptr %4, align 4 %61 = load ptr, ptr %3, align 8 store i32 %60, ptr %61, align 4 %62 = load ptr, ptr %3, align 8 %63 = getelementptr inbounds i32, ptr %62, i32 1 store ptr %63, ptr %3, align 8 %64 = load i32, ptr %62, align 4 %65 = load ptr, ptr %6, align 8 store ptr %65, ptr %2, align 8 br label %66 66: ; preds = %53, %36, %15 %67 = load ptr, ptr %2, align 8 ret ptr %67 } declare ptr @malloc(i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph83z4vk1.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 [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readNumbers(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 1, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 4, %9 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %1 store ptr null, ptr %2, align 8 br label %69 16: ; preds = %1 %17 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %18 = icmp eq i32 %17, 1 br i1 %18, label %.lr.ph2, label %56 .lr.ph2: ; preds = %16 br label %19 19: ; preds = %.lr.ph2, %39 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp sge i32 %20, %21 br i1 %22, label %.lr.ph, label %39 .lr.ph: ; preds = %19 br label %27 23: ; preds = %27 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp sge i32 %24, %25 br i1 %26, label %27, label %._crit_edge, !llvm.loop !6 27: ; preds = %.lr.ph, %23 %28 = load i32, ptr %5, align 4 %29 = mul nsw i32 %28, 2 store i32 %29, ptr %5, align 4 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = mul i64 4, %32 %34 = trunc i64 %33 to i32 %35 = call ptr @realloc(ptr noundef %30, i32 noundef %34) store ptr %35, ptr %6, align 8 %36 = load ptr, ptr %6, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %23 38: ; preds = %27 store ptr null, ptr %2, align 8 br label %69 ._crit_edge: ; preds = %23 br label %39 39: ; preds = %._crit_edge, %19 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 %44 = sext i32 %42 to i64 %45 = getelementptr inbounds i32, ptr %41, i64 %44 store i32 %40, ptr %45, align 4 %46 = load ptr, ptr %6, align 8 %47 = load i32, ptr %4, align 4 %48 = sub nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %46, i64 %49 %51 = load i32, ptr %50, align 4 %52 = load i32, ptr %7, align 4 %53 = call i32 @printf(ptr noundef @.str.1, i32 noundef %51, i32 noundef %52) %54 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %55 = icmp eq i32 %54, 1 br i1 %55, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %39 br label %56 56: ; preds = %._crit_edge3, %16 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = mul i64 4, %59 %61 = trunc i64 %60 to i32 %62 = call ptr @realloc(ptr noundef %57, i32 noundef %61) store ptr %62, ptr %6, align 8 %63 = load i32, ptr %4, align 4 %64 = load ptr, ptr %3, align 8 store i32 %63, ptr %64, align 4 %65 = load ptr, ptr %3, align 8 %66 = getelementptr inbounds i32, ptr %65, i32 1 store ptr %66, ptr %3, align 8 %67 = load i32, ptr %65, align 4 %68 = load ptr, ptr %6, align 8 store ptr %68, ptr %2, align 8 br label %69 69: ; preds = %56, %38, %15 %70 = load ptr, ptr %2, align 8 ret ptr %70 } declare ptr @malloc(i32 noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpheavcdo5.c' source_filename = "/tmp/tmpheavcdo5.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/tmpheavcdo5.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/tmp577hbwwu.c' source_filename = "/tmp/tmp577hbwwu.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 @vectorCopy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i32 0, ptr %7, align 4 store i64 0, ptr %8, align 8 br label %9 9: ; preds = %28, %3 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %31 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = load i64, ptr %8, align 8 %16 = getelementptr inbounds i32, ptr %14, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %8, align 8 %20 = getelementptr inbounds i32, ptr %18, i64 %19 %21 = load i32, ptr %20, align 4 %22 = call i32 (...) @mpfr_get_default_rounding_mode() %23 = call i64 @mpfr_set(i32 noundef %17, i32 noundef %21, i32 noundef %22) %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = add nsw i64 %25, %23 %27 = trunc i64 %26 to i32 store i32 %27, ptr %7, align 4 br label %28 28: ; preds = %13 %29 = load i64, ptr %8, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %8, align 8 br label %9, !llvm.loop !6 31: ; preds = %9 %32 = load i32, ptr %7, align 4 ret i32 %32 } declare i64 @mpfr_set(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpfr_get_default_rounding_mode(...) #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/tmp577hbwwu.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 @vectorCopy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store i32 0, ptr %7, align 4 store i64 0, ptr %8, align 8 %9 = load i64, ptr %8, align 8 %10 = load i64, ptr %6, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %.lr.ph, label %33 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %27 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %8, align 8 %15 = getelementptr inbounds i32, ptr %13, i64 %14 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %8, align 8 %19 = getelementptr inbounds i32, ptr %17, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 (...) @mpfr_get_default_rounding_mode() %22 = call i64 @mpfr_set(i32 noundef %16, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = add nsw i64 %24, %22 %26 = trunc i64 %25 to i32 store i32 %26, ptr %7, align 4 br label %27 27: ; preds = %12 %28 = load i64, ptr %8, align 8 %29 = add i64 %28, 1 store i64 %29, ptr %8, align 8 %30 = load i64, ptr %8, align 8 %31 = load i64, ptr %6, align 8 %32 = icmp ult i64 %30, %31 br i1 %32, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %3 %34 = load i32, ptr %7, align 4 ret i32 %34 } declare i64 @mpfr_set(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mpfr_get_default_rounding_mode(...) #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/tmpeg0j96_q.c' source_filename = "/tmp/tmpeg0j96_q.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/tmpeg0j96_q.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/tmpmm3w23xr.c' source_filename = "/tmp/tmpmm3w23xr.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" @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/tmpmm3w23xr.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" @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/tmpnp1281pb.c' source_filename = "/tmp/tmpnp1281pb.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 @getCustomSplitStatisticMultivariateClassification(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, double noundef %8, double noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12) #0 { %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 store i32 %0, ptr %14, align 4 store ptr %1, ptr %15, align 8 store ptr %2, ptr %16, align 8 store ptr %3, ptr %17, align 8 store i32 %4, ptr %18, align 4 store i32 %5, ptr %19, align 4 store ptr %6, ptr %20, align 8 store ptr %7, ptr %21, align 8 store double %8, ptr %22, align 8 store double %9, ptr %23, align 8 store i32 %10, ptr %24, align 4 store ptr %11, ptr %25, align 8 store i32 %12, ptr %26, align 4 store double 0.000000e+00, ptr %33, align 8 store double 0.000000e+00, ptr %32, align 8 store i32 0, ptr %35, align 4 store i32 0, ptr %34, align 4 store double 0.000000e+00, ptr %31, align 8 %38 = load i32, ptr %24, align 4 %39 = call ptr @alloc_uivector(i32 noundef %38) store ptr %39, ptr %27, align 8 %40 = load i32, ptr %24, align 4 %41 = call ptr @alloc_uivector(i32 noundef %40) store ptr %41, ptr %28, align 8 store i32 1, ptr %37, align 4 br label %42 42: ; preds = %55, %13 %43 = load i32, ptr %37, align 4 %44 = load i32, ptr %24, align 4 %45 = icmp ule i32 %43, %44 br i1 %45, label %46, label %58 46: ; preds = %42 %47 = load ptr, ptr %28, align 8 %48 = load i32, ptr %37, align 4 %49 = zext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 store i32 0, ptr %50, align 4 %51 = load ptr, ptr %27, align 8 %52 = load i32, ptr %37, align 4 %53 = zext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 store i32 0, ptr %54, align 4 br label %55 55: ; preds = %46 %56 = load i32, ptr %37, align 4 %57 = add i32 %56, 1 store i32 %57, ptr %37, align 4 br label %42, !llvm.loop !6 58: ; preds = %42 store i32 1, ptr %36, align 4 br label %59 59: ; preds = %100, %58 %60 = load i32, ptr %36, align 4 %61 = load i32, ptr %14, align 4 %62 = icmp ule i32 %60, %61 br i1 %62, label %63, label %103 63: ; preds = %59 %64 = load ptr, ptr %15, align 8 %65 = load i32, ptr %36, align 4 %66 = zext 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, 1 br i1 %70, label %71, label %85 71: ; preds = %63 %72 = load ptr, ptr %27, align 8 %73 = load ptr, ptr %21, align 8 %74 = load i32, ptr %36, align 4 %75 = zext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %73, i64 %75 %77 = load double, ptr %76, align 8 %78 = fptoui double %77 to i32 %79 = zext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %72, i64 %79 %81 = load i32, ptr %80, align 4 %82 = add i32 %81, 1 store i32 %82, ptr %80, align 4 %83 = load i32, ptr %34, align 4 %84 = add i32 %83, 1 store i32 %84, ptr %34, align 4 br label %99 85: ; preds = %63 %86 = load ptr, ptr %28, align 8 %87 = load ptr, ptr %21, align 8 %88 = load i32, ptr %36, align 4 %89 = zext i32 %88 to i64 %90 = getelementptr inbounds double, ptr %87, i64 %89 %91 = load double, ptr %90, align 8 %92 = fptoui double %91 to i32 %93 = zext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %86, i64 %93 %95 = load i32, ptr %94, align 4 %96 = add i32 %95, 1 store i32 %96, ptr %94, align 4 %97 = load i32, ptr %35, align 4 %98 = add i32 %97, 1 store i32 %98, ptr %35, align 4 br label %99 99: ; preds = %85, %71 br label %100 100: ; preds = %99 %101 = load i32, ptr %36, align 4 %102 = add i32 %101, 1 store i32 %102, ptr %36, align 4 br label %59, !llvm.loop !8 103: ; preds = %59 store i32 1, ptr %37, align 4 br label %104 104: ; preds = %129, %103 %105 = load i32, ptr %37, align 4 %106 = load i32, ptr %24, align 4 %107 = icmp ule i32 %105, %106 br i1 %107, label %108, label %132 108: ; preds = %104 %109 = load ptr, ptr %27, align 8 %110 = load i32, ptr %37, align 4 %111 = zext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %109, i64 %111 %113 = load i32, ptr %112, align 4 %114 = uitofp i32 %113 to double %115 = call i64 @pow(double noundef %114, double noundef 2.000000e+00) %116 = sitofp i64 %115 to double %117 = load double, ptr %32, align 8 %118 = fadd double %117, %116 store double %118, ptr %32, align 8 %119 = load ptr, ptr %28, align 8 %120 = load i32, ptr %37, align 4 %121 = zext i32 %120 to i64 %122 = getelementptr inbounds i32, ptr %119, i64 %121 %123 = load i32, ptr %122, align 4 %124 = uitofp i32 %123 to double %125 = call i64 @pow(double noundef %124, double noundef 2.000000e+00) %126 = sitofp i64 %125 to double %127 = load double, ptr %33, align 8 %128 = fadd double %127, %126 store double %128, ptr %33, align 8 br label %129 129: ; preds = %108 %130 = load i32, ptr %37, align 4 %131 = add i32 %130, 1 store i32 %131, ptr %37, align 4 br label %104, !llvm.loop !9 132: ; preds = %104 %133 = load ptr, ptr %27, align 8 %134 = load i32, ptr %24, align 4 %135 = call i32 @dealloc_uivector(ptr noundef %133, i32 noundef %134) %136 = load ptr, ptr %28, align 8 %137 = load i32, ptr %24, align 4 %138 = call i32 @dealloc_uivector(ptr noundef %136, i32 noundef %137) %139 = load double, ptr %32, align 8 %140 = load i32, ptr %34, align 4 %141 = uitofp i32 %140 to double %142 = fdiv double %139, %141 store double %142, ptr %29, align 8 %143 = load double, ptr %33, align 8 %144 = load i32, ptr %35, align 4 %145 = uitofp i32 %144 to double %146 = fdiv double %143, %145 store double %146, ptr %30, align 8 %147 = load double, ptr %29, align 8 %148 = load double, ptr %30, align 8 %149 = fadd double %147, %148 store double %149, ptr %31, align 8 %150 = load double, ptr %31, align 8 ret double %150 } declare ptr @alloc_uivector(i32 noundef) #1 declare i64 @pow(double noundef, double noundef) #1 declare i32 @dealloc_uivector(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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnp1281pb.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 @getCustomSplitStatisticMultivariateClassification(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, double noundef %8, double noundef %9, i32 noundef %10, ptr noundef %11, i32 noundef %12) #0 { %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca i32, align 4 %35 = alloca i32, align 4 %36 = alloca i32, align 4 %37 = alloca i32, align 4 store i32 %0, ptr %14, align 4 store ptr %1, ptr %15, align 8 store ptr %2, ptr %16, align 8 store ptr %3, ptr %17, align 8 store i32 %4, ptr %18, align 4 store i32 %5, ptr %19, align 4 store ptr %6, ptr %20, align 8 store ptr %7, ptr %21, align 8 store double %8, ptr %22, align 8 store double %9, ptr %23, align 8 store i32 %10, ptr %24, align 4 store ptr %11, ptr %25, align 8 store i32 %12, ptr %26, align 4 store double 0.000000e+00, ptr %33, align 8 store double 0.000000e+00, ptr %32, align 8 store i32 0, ptr %35, align 4 store i32 0, ptr %34, align 4 store double 0.000000e+00, ptr %31, align 8 %38 = load i32, ptr %24, align 4 %39 = call ptr @alloc_uivector(i32 noundef %38) store ptr %39, ptr %27, align 8 %40 = load i32, ptr %24, align 4 %41 = call ptr @alloc_uivector(i32 noundef %40) store ptr %41, ptr %28, align 8 store i32 1, ptr %37, align 4 %42 = load i32, ptr %37, align 4 %43 = load i32, ptr %24, align 4 %44 = icmp ule i32 %42, %43 br i1 %44, label %.lr.ph, label %60 .lr.ph: ; preds = %13 br label %45 45: ; preds = %.lr.ph, %54 %46 = load ptr, ptr %28, align 8 %47 = load i32, ptr %37, align 4 %48 = zext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 store i32 0, ptr %49, align 4 %50 = load ptr, ptr %27, align 8 %51 = load i32, ptr %37, align 4 %52 = zext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 store i32 0, ptr %53, align 4 br label %54 54: ; preds = %45 %55 = load i32, ptr %37, align 4 %56 = add i32 %55, 1 store i32 %56, ptr %37, align 4 %57 = load i32, ptr %37, align 4 %58 = load i32, ptr %24, align 4 %59 = icmp ule i32 %57, %58 br i1 %59, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %60 60: ; preds = %._crit_edge, %13 store i32 1, ptr %36, align 4 %61 = load i32, ptr %36, align 4 %62 = load i32, ptr %14, align 4 %63 = icmp ule i32 %61, %62 br i1 %63, label %.lr.ph2, label %107 .lr.ph2: ; preds = %60 br label %64 64: ; preds = %.lr.ph2, %101 %65 = load ptr, ptr %15, align 8 %66 = load i32, ptr %36, align 4 %67 = zext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 1 br i1 %71, label %72, label %86 72: ; preds = %64 %73 = load ptr, ptr %27, align 8 %74 = load ptr, ptr %21, align 8 %75 = load i32, ptr %36, align 4 %76 = zext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %74, i64 %76 %78 = load double, ptr %77, align 8 %79 = fptoui double %78 to i32 %80 = zext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %73, i64 %80 %82 = load i32, ptr %81, align 4 %83 = add i32 %82, 1 store i32 %83, ptr %81, align 4 %84 = load i32, ptr %34, align 4 %85 = add i32 %84, 1 store i32 %85, ptr %34, align 4 br label %100 86: ; preds = %64 %87 = load ptr, ptr %28, align 8 %88 = load ptr, ptr %21, align 8 %89 = load i32, ptr %36, align 4 %90 = zext i32 %89 to i64 %91 = getelementptr inbounds double, ptr %88, i64 %90 %92 = load double, ptr %91, align 8 %93 = fptoui double %92 to i32 %94 = zext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %87, i64 %94 %96 = load i32, ptr %95, align 4 %97 = add i32 %96, 1 store i32 %97, ptr %95, align 4 %98 = load i32, ptr %35, align 4 %99 = add i32 %98, 1 store i32 %99, ptr %35, align 4 br label %100 100: ; preds = %86, %72 br label %101 101: ; preds = %100 %102 = load i32, ptr %36, align 4 %103 = add i32 %102, 1 store i32 %103, ptr %36, align 4 %104 = load i32, ptr %36, align 4 %105 = load i32, ptr %14, align 4 %106 = icmp ule i32 %104, %105 br i1 %106, label %64, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %101 br label %107 107: ; preds = %._crit_edge3, %60 store i32 1, ptr %37, align 4 %108 = load i32, ptr %37, align 4 %109 = load i32, ptr %24, align 4 %110 = icmp ule i32 %108, %109 br i1 %110, label %.lr.ph5, label %138 .lr.ph5: ; preds = %107 br label %111 111: ; preds = %.lr.ph5, %132 %112 = load ptr, ptr %27, align 8 %113 = load i32, ptr %37, align 4 %114 = zext i32 %113 to i64 %115 = getelementptr inbounds i32, ptr %112, i64 %114 %116 = load i32, ptr %115, align 4 %117 = uitofp i32 %116 to double %118 = call i64 @pow(double noundef %117, double noundef 2.000000e+00) %119 = sitofp i64 %118 to double %120 = load double, ptr %32, align 8 %121 = fadd double %120, %119 store double %121, ptr %32, align 8 %122 = load ptr, ptr %28, align 8 %123 = load i32, ptr %37, align 4 %124 = zext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %122, i64 %124 %126 = load i32, ptr %125, align 4 %127 = uitofp i32 %126 to double %128 = call i64 @pow(double noundef %127, double noundef 2.000000e+00) %129 = sitofp i64 %128 to double %130 = load double, ptr %33, align 8 %131 = fadd double %130, %129 store double %131, ptr %33, align 8 br label %132 132: ; preds = %111 %133 = load i32, ptr %37, align 4 %134 = add i32 %133, 1 store i32 %134, ptr %37, align 4 %135 = load i32, ptr %37, align 4 %136 = load i32, ptr %24, align 4 %137 = icmp ule i32 %135, %136 br i1 %137, label %111, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %132 br label %138 138: ; preds = %._crit_edge6, %107 %139 = load ptr, ptr %27, align 8 %140 = load i32, ptr %24, align 4 %141 = call i32 @dealloc_uivector(ptr noundef %139, i32 noundef %140) %142 = load ptr, ptr %28, align 8 %143 = load i32, ptr %24, align 4 %144 = call i32 @dealloc_uivector(ptr noundef %142, i32 noundef %143) %145 = load double, ptr %32, align 8 %146 = load i32, ptr %34, align 4 %147 = uitofp i32 %146 to double %148 = fdiv double %145, %147 store double %148, ptr %29, align 8 %149 = load double, ptr %33, align 8 %150 = load i32, ptr %35, align 4 %151 = uitofp i32 %150 to double %152 = fdiv double %149, %151 store double %152, ptr %30, align 8 %153 = load double, ptr %29, align 8 %154 = load double, ptr %30, align 8 %155 = fadd double %153, %154 store double %155, ptr %31, align 8 %156 = load double, ptr %31, align 8 ret double %156 } declare ptr @alloc_uivector(i32 noundef) #1 declare i64 @pow(double noundef, double noundef) #1 declare i32 @dealloc_uivector(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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp3gu_tc5y.c' source_filename = "/tmp/tmp3gu_tc5y.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"HOME\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"Err.(%s) get HOME env_var\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"$HOME: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"EDITOR\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Err.(%s) get EDITOR env_var\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"Valore di default $EDITOR -> \00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"$EDITOR: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"nano\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"Err.(%s) set EDITOR env_var\0A\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"Valore $EDITOR modificato -> \00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"TEST\00", align 1 @.str.11 = private unnamed_addr constant [8 x i8] c"Testing\00", align 1 @.str.12 = private unnamed_addr constant [38 x i8] c"Nuova variabile di ambiente TEST: %s\0A\00", align 1 @.str.13 = private unnamed_addr constant [42 x i8] c"Variabile di ambiente TEST non esistente\0A\00", align 1 @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 ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = 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 %11 = call ptr @getenv(ptr noundef @.str) store ptr %11, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %20 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load i32, ptr @errno, align 4 %16 = call ptr @strerror(i32 noundef %15) %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.1, ptr noundef %16) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable 20: ; preds = %2 %21 = load ptr, ptr %6, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21) %23 = call ptr @getenv(ptr noundef @.str.3) store ptr %23, ptr %7, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %32 25: ; preds = %20 %26 = load i32, ptr @stderr, align 4 %27 = load i32, ptr @errno, align 4 %28 = call ptr @strerror(i32 noundef %27) %29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.4, ptr noundef %28) %30 = load i32, ptr @EXIT_FAILURE, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %20 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %34 = load ptr, ptr %7, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %34) %36 = call i32 @setenv(ptr noundef @.str.3, ptr noundef @.str.7, i32 noundef 1) %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %45 38: ; preds = %32 %39 = load i32, ptr @stderr, align 4 %40 = load i32, ptr @errno, align 4 %41 = call ptr @strerror(i32 noundef %40) %42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.8, ptr noundef %41) %43 = load i32, ptr @EXIT_FAILURE, align 4 %44 = call i32 @exit(i32 noundef %43) #3 unreachable 45: ; preds = %32 %46 = call ptr @getenv(ptr noundef @.str.3) store ptr %46, ptr %8, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %55 48: ; preds = %45 %49 = load i32, ptr @stderr, align 4 %50 = load i32, ptr @errno, align 4 %51 = call ptr @strerror(i32 noundef %50) %52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str.4, ptr noundef %51) %53 = load i32, ptr @EXIT_FAILURE, align 4 %54 = call i32 @exit(i32 noundef %53) #3 unreachable 55: ; preds = %45 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %57 = load ptr, ptr %8, align 8 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %57) store ptr @.str.10, ptr %9, align 8 store ptr @.str.11, ptr %10, align 8 %59 = load ptr, ptr %9, align 8 %60 = load ptr, ptr %10, align 8 %61 = call i32 @setenv(ptr noundef %59, ptr noundef %60, i32 noundef 0) %62 = call ptr @getenv(ptr noundef @.str.10) %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %62) %64 = load ptr, ptr %9, align 8 %65 = call i32 @unsetenv(ptr noundef %64) %66 = call ptr @getenv(ptr noundef @.str.10) store ptr %66, ptr %9, align 8 %67 = icmp eq ptr %66, null br i1 %67, label %68, label %71 68: ; preds = %55 %69 = load i32, ptr @stderr, align 4 %70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %69, ptr noundef @.str.13) br label %71 71: ; preds = %68, %55 %72 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %72 } declare ptr @getenv(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @unsetenv(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" } 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/tmp3gu_tc5y.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"HOME\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"Err.(%s) get HOME env_var\0A\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"$HOME: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"EDITOR\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Err.(%s) get EDITOR env_var\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"Valore di default $EDITOR -> \00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"$EDITOR: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"nano\00", align 1 @.str.8 = private unnamed_addr constant [29 x i8] c"Err.(%s) set EDITOR env_var\0A\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"Valore $EDITOR modificato -> \00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"TEST\00", align 1 @.str.11 = private unnamed_addr constant [8 x i8] c"Testing\00", align 1 @.str.12 = private unnamed_addr constant [38 x i8] c"Nuova variabile di ambiente TEST: %s\0A\00", align 1 @.str.13 = private unnamed_addr constant [42 x i8] c"Variabile di ambiente TEST non esistente\0A\00", align 1 @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 ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = 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 %11 = call ptr @getenv(ptr noundef @.str) store ptr %11, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %20 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load i32, ptr @errno, align 4 %16 = call ptr @strerror(i32 noundef %15) %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.1, ptr noundef %16) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable 20: ; preds = %2 %21 = load ptr, ptr %6, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21) %23 = call ptr @getenv(ptr noundef @.str.3) store ptr %23, ptr %7, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %32 25: ; preds = %20 %26 = load i32, ptr @stderr, align 4 %27 = load i32, ptr @errno, align 4 %28 = call ptr @strerror(i32 noundef %27) %29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.4, ptr noundef %28) %30 = load i32, ptr @EXIT_FAILURE, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %20 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %34 = load ptr, ptr %7, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %34) %36 = call i32 @setenv(ptr noundef @.str.3, ptr noundef @.str.7, i32 noundef 1) %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %45 38: ; preds = %32 %39 = load i32, ptr @stderr, align 4 %40 = load i32, ptr @errno, align 4 %41 = call ptr @strerror(i32 noundef %40) %42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.8, ptr noundef %41) %43 = load i32, ptr @EXIT_FAILURE, align 4 %44 = call i32 @exit(i32 noundef %43) #3 unreachable 45: ; preds = %32 %46 = call ptr @getenv(ptr noundef @.str.3) store ptr %46, ptr %8, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %55 48: ; preds = %45 %49 = load i32, ptr @stderr, align 4 %50 = load i32, ptr @errno, align 4 %51 = call ptr @strerror(i32 noundef %50) %52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str.4, ptr noundef %51) %53 = load i32, ptr @EXIT_FAILURE, align 4 %54 = call i32 @exit(i32 noundef %53) #3 unreachable 55: ; preds = %45 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %57 = load ptr, ptr %8, align 8 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %57) store ptr @.str.10, ptr %9, align 8 store ptr @.str.11, ptr %10, align 8 %59 = load ptr, ptr %9, align 8 %60 = load ptr, ptr %10, align 8 %61 = call i32 @setenv(ptr noundef %59, ptr noundef %60, i32 noundef 0) %62 = call ptr @getenv(ptr noundef @.str.10) %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %62) %64 = load ptr, ptr %9, align 8 %65 = call i32 @unsetenv(ptr noundef %64) %66 = call ptr @getenv(ptr noundef @.str.10) store ptr %66, ptr %9, align 8 %67 = icmp eq ptr %66, null br i1 %67, label %68, label %71 68: ; preds = %55 %69 = load i32, ptr @stderr, align 4 %70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %69, ptr noundef @.str.13) br label %71 71: ; preds = %68, %55 %72 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %72 } declare ptr @getenv(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @unsetenv(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" } 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/tmp1o12l8pk.c' source_filename = "/tmp/tmp1o12l8pk.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_filename(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = add nsw i32 %6, 2 %8 = sext i32 %7 to i64 %9 = mul i64 1, %8 %10 = trunc i64 %9 to i32 %11 = call ptr @MALLOC(i32 noundef %10) store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = add nsw i32 %13, 2 %15 = sext i32 %14 to i64 %16 = mul i64 1, %15 %17 = trunc i64 %16 to i32 %18 = call ptr @MALLOC(i32 noundef %17) store ptr %18, ptr %4, align 8 %19 = load ptr, ptr %2, align 8 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %4, align 8 %22 = call i32 @split_dir_and_file(ptr noundef %19, ptr noundef %20, ptr noundef %21) %23 = load ptr, ptr %3, align 8 %24 = call i32 @free(ptr noundef %23) %25 = load ptr, ptr %4, align 8 ret ptr %25 } declare ptr @MALLOC(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @split_dir_and_file(ptr noundef, ptr noundef, ptr 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/tmp1o12l8pk.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_filename(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = add nsw i32 %6, 2 %8 = sext i32 %7 to i64 %9 = mul i64 1, %8 %10 = trunc i64 %9 to i32 %11 = call ptr @MALLOC(i32 noundef %10) store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = add nsw i32 %13, 2 %15 = sext i32 %14 to i64 %16 = mul i64 1, %15 %17 = trunc i64 %16 to i32 %18 = call ptr @MALLOC(i32 noundef %17) store ptr %18, ptr %4, align 8 %19 = load ptr, ptr %2, align 8 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %4, align 8 %22 = call i32 @split_dir_and_file(ptr noundef %19, ptr noundef %20, ptr noundef %21) %23 = load ptr, ptr %3, align 8 %24 = call i32 @free(ptr noundef %23) %25 = load ptr, ptr %4, align 8 ret ptr %25 } declare ptr @MALLOC(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @split_dir_and_file(ptr noundef, ptr noundef, ptr 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/tmppnejd4ep.c' source_filename = "/tmp/tmppnejd4ep.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 } %struct.flock = type { i64, i64, i32, i32 } @.str = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"--help\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [3 x i8] c"-n\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [47 x i8] c"run-with-lockfile: `%s' is not a valid option\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"run-with-lockfile: incorrect arguments\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [27 x i8] c"run-with-lockfile: %s: %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [46 x i8] c"run-with-lockfile: %s: is not a regular file\0A\00", align 1 @F_WRLCK = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @F_SETLKW = dso_local global i32 0, align 4 @F_SETLK = dso_local global i32 0, align 4 @EINTR = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 @EACCES = dso_local global i64 0, align 8 @.str.7 = private unnamed_addr constant [37 x i8] c"run-with-lockfile: %s: set lock: %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"LOCKFILE=%s\00", align 1 @.str.9 = private unnamed_addr constant [32 x i8] c"run-with-lockfile: /bin/sh: %s\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 ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca %struct.stat, align 4 %13 = alloca %struct.flock, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %9, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %33 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str) %23 = icmp eq i64 0, %22 br i1 %23, label %30, label %24 24: ; preds = %18 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.1) %29 = icmp eq i64 0, %28 br i1 %29, label %30, label %33 30: ; preds = %24, %18 %31 = load i32, ptr @stdout, align 4 %32 = call i32 @usage(i32 noundef %31) store i32 0, ptr %3, align 4 br label %188 33: ; preds = %24, %2 %34 = load i32, ptr %4, align 4 %35 = icmp eq i32 %34, 4 br i1 %35, label %36, label %56 36: ; preds = %33 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.2) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %50 42: ; preds = %36 %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.3, ptr noundef %46) %48 = load i32, ptr @stderr, align 4 %49 = call i32 @usage(i32 noundef %48) store i32 101, ptr %3, align 4 br label %188 50: ; preds = %36 store i32 0, ptr %9, align 4 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, -1 store i32 %52, ptr %4, align 4 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i32 1 store ptr %54, ptr %5, align 8 br label %55 55: ; preds = %50 br label %56 56: ; preds = %55, %33 %57 = load i32, ptr %4, align 4 %58 = icmp ne i32 %57, 3 br i1 %58, label %59, label %64 59: ; preds = %56 %60 = load i32, ptr @stderr, align 4 %61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.4) %62 = load i32, ptr @stderr, align 4 %63 = call i32 @usage(i32 noundef %62) store i32 101, ptr %3, align 4 br label %188 64: ; preds = %56 %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds ptr, ptr %65, i64 1 %67 = load ptr, ptr %66, align 8 store ptr %67, ptr %6, align 8 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds ptr, ptr %68, i64 2 %70 = load ptr, ptr %69, align 8 store ptr %70, ptr %7, align 8 %71 = load ptr, ptr %6, align 8 %72 = load i32, ptr @O_RDWR, align 4 %73 = load i32, ptr @O_CREAT, align 4 %74 = or i32 %72, %73 %75 = call i32 @open(ptr noundef %71, i32 noundef %74, i32 noundef 438) store i32 %75, ptr %11, align 4 %76 = icmp eq i32 -1, %75 br i1 %76, label %77, label %83 77: ; preds = %64 %78 = load i32, ptr @stderr, align 4 %79 = load ptr, ptr %6, align 8 %80 = load i64, ptr @errno, align 8 %81 = call ptr @strerror(i64 noundef %80) %82 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %78, ptr noundef @.str.5, ptr noundef %79, ptr noundef %81) store i32 101, ptr %3, align 4 br label %188 83: ; preds = %64 %84 = load i32, ptr %11, align 4 %85 = call i32 @fstat(i32 noundef %84, ptr noundef %12) %86 = icmp eq i32 -1, %85 br i1 %86, label %87, label %93 87: ; preds = %83 %88 = load i32, ptr @stderr, align 4 %89 = load ptr, ptr %6, align 8 %90 = load i64, ptr @errno, align 8 %91 = call ptr @strerror(i64 noundef %90) %92 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %88, ptr noundef @.str.5, ptr noundef %89, ptr noundef %91) store i32 101, ptr %3, align 4 br label %188 93: ; preds = %83 %94 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0 %95 = load i32, ptr %94, align 4 %96 = call i32 @S_ISREG(i32 noundef %95) %97 = icmp ne i32 %96, 0 br i1 %97, label %102, label %98 98: ; preds = %93 %99 = load i32, ptr @stderr, align 4 %100 = load ptr, ptr %6, align 8 %101 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef @.str.6, ptr noundef %100) store i32 101, ptr %3, align 4 br label %188 102: ; preds = %93 br label %103 103: ; preds = %102 %104 = load i32, ptr @F_WRLCK, align 4 %105 = getelementptr inbounds %struct.flock, ptr %13, i32 0, i32 3 store i32 %104, ptr %105, align 4 %106 = load i32, ptr @SEEK_SET, align 4 %107 = getelementptr inbounds %struct.flock, ptr %13, i32 0, i32 2 store i32 %106, ptr %107, align 8 %108 = getelementptr inbounds %struct.flock, ptr %13, i32 0, i32 1 store i64 0, ptr %108, align 8 %109 = getelementptr inbounds %struct.flock, ptr %13, i32 0, i32 0 store i64 0, ptr %109, align 8 br label %110 110: ; preds = %128, %103 %111 = load i32, ptr %11, align 4 %112 = load i32, ptr %9, align 4 %113 = icmp ne i32 %112, 0 br i1 %113, label %114, label %116 114: ; preds = %110 %115 = load i32, ptr @F_SETLKW, align 4 br label %118 116: ; preds = %110 %117 = load i32, ptr @F_SETLK, align 4 br label %118 118: ; preds = %116, %114 %119 = phi i32 [ %115, %114 ], [ %117, %116 ] %120 = call i32 @fcntl(i32 noundef %111, i32 noundef %119, ptr noundef %13) store i32 %120, ptr %10, align 4 %121 = icmp eq i32 -1, %120 br i1 %121, label %122, label %126 122: ; preds = %118 %123 = load i64, ptr @errno, align 8 %124 = load i64, ptr @EINTR, align 8 %125 = icmp eq i64 %123, %124 br label %126 126: ; preds = %122, %118 %127 = phi i1 [ false, %118 ], [ %125, %122 ] br i1 %127, label %128, label %129 128: ; preds = %126 br label %110, !llvm.loop !6 129: ; preds = %126 %130 = load i32, ptr %10, align 4 %131 = icmp eq i32 %130, -1 br i1 %131, label %132, label %150 132: ; preds = %129 %133 = load i32, ptr %9, align 4 %134 = icmp ne i32 %133, 0 br i1 %134, label %144, label %135 135: ; preds = %132 %136 = load i64, ptr @errno, align 8 %137 = load i64, ptr @EAGAIN, align 8 %138 = icmp eq i64 %136, %137 br i1 %138, label %143, label %139 139: ; preds = %135 %140 = load i64, ptr @errno, align 8 %141 = load i64, ptr @EACCES, align 8 %142 = icmp eq i64 %140, %141 br i1 %142, label %143, label %144 143: ; preds = %139, %135 store i32 100, ptr %3, align 4 br label %188 144: ; preds = %139, %132 %145 = load i32, ptr @stderr, align 4 %146 = load ptr, ptr %6, align 8 %147 = load i64, ptr @errno, align 8 %148 = call ptr @strerror(i64 noundef %147) %149 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %145, ptr noundef @.str.7, ptr noundef %146, ptr noundef %148) store i32 101, ptr %3, align 4 br label %188 150: ; preds = %129 %151 = load ptr, ptr %6, align 8 %152 = call i32 @strlen(ptr noundef %151) %153 = sext i32 %152 to i64 %154 = add i64 %153, 10 %155 = trunc i64 %154 to i32 %156 = call ptr @malloc(i32 noundef %155) store ptr %156, ptr %8, align 8 %157 = load ptr, ptr %8, align 8 %158 = load ptr, ptr %6, align 8 %159 = call i32 @sprintf(ptr noundef %157, ptr noundef @.str.8, ptr noundef %158) %160 = load ptr, ptr %8, align 8 %161 = call i32 @putenv(ptr noundef %160) store i64 0, ptr @errno, align 8 %162 = load ptr, ptr %7, align 8 %163 = call i32 @system(ptr noundef %162) store i32 %163, ptr %10, align 4 %164 = load i32, ptr %10, align 4 %165 = icmp eq i32 %164, -1 br i1 %165, label %166, label %172 166: ; preds = %150 %167 = load i32, ptr @stderr, align 4 %168 = load ptr, ptr %7, align 8 %169 = load i64, ptr @errno, align 8 %170 = call ptr @strerror(i64 noundef %169) %171 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %167, ptr noundef @.str.5, ptr noundef %168, ptr noundef %170) store i32 101, ptr %10, align 4 br label %184 172: ; preds = %150 %173 = load i32, ptr %10, align 4 %174 = icmp eq i32 %173, 127 br i1 %174, label %175, label %183 175: ; preds = %172 %176 = load i64, ptr @errno, align 8 %177 = icmp ne i64 %176, 0 br i1 %177, label %178, label %183 178: ; preds = %175 %179 = load i32, ptr @stderr, align 4 %180 = load i64, ptr @errno, align 8 %181 = call ptr @strerror(i64 noundef %180) %182 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %179, ptr noundef @.str.9, ptr noundef %181) store i32 101, ptr %10, align 4 br label %183 183: ; preds = %178, %175, %172 br label %184 184: ; preds = %183, %166 %185 = load i32, ptr %11, align 4 %186 = call i32 @close(i32 noundef %185) %187 = load i32, ptr %10, align 4 store i32 %187, ptr %3, align 4 br label %188 188: ; preds = %184, %144, %143, %98, %87, %77, %59, %42, %30 %189 = load i32, ptr %3, align 4 ret i32 %189 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @usage(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @S_ISREG(i32 noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @putenv(ptr noundef) #1 declare i32 @system(ptr 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" } !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/tmppnejd4ep.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 } %struct.flock = type { i64, i64, i32, i32 } @.str = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"--help\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [3 x i8] c"-n\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [47 x i8] c"run-with-lockfile: `%s' is not a valid option\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"run-with-lockfile: incorrect arguments\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [27 x i8] c"run-with-lockfile: %s: %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [46 x i8] c"run-with-lockfile: %s: is not a regular file\0A\00", align 1 @F_WRLCK = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @F_SETLKW = dso_local global i32 0, align 4 @F_SETLK = dso_local global i32 0, align 4 @EINTR = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 @EACCES = dso_local global i64 0, align 8 @.str.7 = private unnamed_addr constant [37 x i8] c"run-with-lockfile: %s: set lock: %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"LOCKFILE=%s\00", align 1 @.str.9 = private unnamed_addr constant [32 x i8] c"run-with-lockfile: /bin/sh: %s\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 ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca %struct.stat, align 4 %13 = alloca %struct.flock, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %9, align 4 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %33 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str) %23 = icmp eq i64 0, %22 br i1 %23, label %30, label %24 24: ; preds = %18 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.1) %29 = icmp eq i64 0, %28 br i1 %29, label %30, label %33 30: ; preds = %24, %18 %31 = load i32, ptr @stdout, align 4 %32 = call i32 @usage(i32 noundef %31) store i32 0, ptr %3, align 4 br label %187 33: ; preds = %24, %2 %34 = load i32, ptr %4, align 4 %35 = icmp eq i32 %34, 4 br i1 %35, label %36, label %56 36: ; preds = %33 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.2) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %50 42: ; preds = %36 %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.3, ptr noundef %46) %48 = load i32, ptr @stderr, align 4 %49 = call i32 @usage(i32 noundef %48) store i32 101, ptr %3, align 4 br label %187 50: ; preds = %36 store i32 0, ptr %9, align 4 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, -1 store i32 %52, ptr %4, align 4 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i32 1 store ptr %54, ptr %5, align 8 br label %55 55: ; preds = %50 br label %56 56: ; preds = %55, %33 %57 = load i32, ptr %4, align 4 %58 = icmp ne i32 %57, 3 br i1 %58, label %59, label %64 59: ; preds = %56 %60 = load i32, ptr @stderr, align 4 %61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.4) %62 = load i32, ptr @stderr, align 4 %63 = call i32 @usage(i32 noundef %62) store i32 101, ptr %3, align 4 br label %187 64: ; preds = %56 %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds ptr, ptr %65, i64 1 %67 = load ptr, ptr %66, align 8 store ptr %67, ptr %6, align 8 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds ptr, ptr %68, i64 2 %70 = load ptr, ptr %69, align 8 store ptr %70, ptr %7, align 8 %71 = load ptr, ptr %6, align 8 %72 = load i32, ptr @O_RDWR, align 4 %73 = load i32, ptr @O_CREAT, align 4 %74 = or i32 %72, %73 %75 = call i32 @open(ptr noundef %71, i32 noundef %74, i32 noundef 438) store i32 %75, ptr %11, align 4 %76 = icmp eq i32 -1, %75 br i1 %76, label %77, label %83 77: ; preds = %64 %78 = load i32, ptr @stderr, align 4 %79 = load ptr, ptr %6, align 8 %80 = load i64, ptr @errno, align 8 %81 = call ptr @strerror(i64 noundef %80) %82 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %78, ptr noundef @.str.5, ptr noundef %79, ptr noundef %81) store i32 101, ptr %3, align 4 br label %187 83: ; preds = %64 %84 = load i32, ptr %11, align 4 %85 = call i32 @fstat(i32 noundef %84, ptr noundef %12) %86 = icmp eq i32 -1, %85 br i1 %86, label %87, label %93 87: ; preds = %83 %88 = load i32, ptr @stderr, align 4 %89 = load ptr, ptr %6, align 8 %90 = load i64, ptr @errno, align 8 %91 = call ptr @strerror(i64 noundef %90) %92 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %88, ptr noundef @.str.5, ptr noundef %89, ptr noundef %91) store i32 101, ptr %3, align 4 br label %187 93: ; preds = %83 %94 = getelementptr inbounds %struct.stat, ptr %12, i32 0, i32 0 %95 = load i32, ptr %94, align 4 %96 = call i32 @S_ISREG(i32 noundef %95) %97 = icmp ne i32 %96, 0 br i1 %97, label %102, label %98 98: ; preds = %93 %99 = load i32, ptr @stderr, align 4 %100 = load ptr, ptr %6, align 8 %101 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef @.str.6, ptr noundef %100) store i32 101, ptr %3, align 4 br label %187 102: ; preds = %93 br label %103 103: ; preds = %102 %104 = load i32, ptr @F_WRLCK, align 4 %105 = getelementptr inbounds %struct.flock, ptr %13, i32 0, i32 3 store i32 %104, ptr %105, align 4 %106 = load i32, ptr @SEEK_SET, align 4 %107 = getelementptr inbounds %struct.flock, ptr %13, i32 0, i32 2 store i32 %106, ptr %107, align 8 %108 = getelementptr inbounds %struct.flock, ptr %13, i32 0, i32 1 store i64 0, ptr %108, align 8 %109 = getelementptr inbounds %struct.flock, ptr %13, i32 0, i32 0 store i64 0, ptr %109, align 8 br label %110 110: ; preds = %126, %103 %111 = load i32, ptr %11, align 4 %112 = load i32, ptr %9, align 4 %113 = icmp ne i32 %112, 0 br i1 %113, label %114, label %116 114: ; preds = %110 %115 = load i32, ptr @F_SETLKW, align 4 br label %118 116: ; preds = %110 %117 = load i32, ptr @F_SETLK, align 4 br label %118 118: ; preds = %116, %114 %119 = phi i32 [ %115, %114 ], [ %117, %116 ] %120 = call i32 @fcntl(i32 noundef %111, i32 noundef %119, ptr noundef %13) store i32 %120, ptr %10, align 4 %121 = icmp eq i32 -1, %120 br i1 %121, label %122, label %126 122: ; preds = %118 %123 = load i64, ptr @errno, align 8 %124 = load i64, ptr @EINTR, align 8 %125 = icmp eq i64 %123, %124 br label %126 126: ; preds = %122, %118 %127 = phi i1 [ false, %118 ], [ %125, %122 ] br i1 %127, label %110, label %128, !llvm.loop !6 128: ; preds = %126 %129 = load i32, ptr %10, align 4 %130 = icmp eq i32 %129, -1 br i1 %130, label %131, label %149 131: ; preds = %128 %132 = load i32, ptr %9, align 4 %133 = icmp ne i32 %132, 0 br i1 %133, label %143, label %134 134: ; preds = %131 %135 = load i64, ptr @errno, align 8 %136 = load i64, ptr @EAGAIN, align 8 %137 = icmp eq i64 %135, %136 br i1 %137, label %142, label %138 138: ; preds = %134 %139 = load i64, ptr @errno, align 8 %140 = load i64, ptr @EACCES, align 8 %141 = icmp eq i64 %139, %140 br i1 %141, label %142, label %143 142: ; preds = %138, %134 store i32 100, ptr %3, align 4 br label %187 143: ; preds = %138, %131 %144 = load i32, ptr @stderr, align 4 %145 = load ptr, ptr %6, align 8 %146 = load i64, ptr @errno, align 8 %147 = call ptr @strerror(i64 noundef %146) %148 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %144, ptr noundef @.str.7, ptr noundef %145, ptr noundef %147) store i32 101, ptr %3, align 4 br label %187 149: ; preds = %128 %150 = load ptr, ptr %6, align 8 %151 = call i32 @strlen(ptr noundef %150) %152 = sext i32 %151 to i64 %153 = add i64 %152, 10 %154 = trunc i64 %153 to i32 %155 = call ptr @malloc(i32 noundef %154) store ptr %155, ptr %8, align 8 %156 = load ptr, ptr %8, align 8 %157 = load ptr, ptr %6, align 8 %158 = call i32 @sprintf(ptr noundef %156, ptr noundef @.str.8, ptr noundef %157) %159 = load ptr, ptr %8, align 8 %160 = call i32 @putenv(ptr noundef %159) store i64 0, ptr @errno, align 8 %161 = load ptr, ptr %7, align 8 %162 = call i32 @system(ptr noundef %161) store i32 %162, ptr %10, align 4 %163 = load i32, ptr %10, align 4 %164 = icmp eq i32 %163, -1 br i1 %164, label %165, label %171 165: ; preds = %149 %166 = load i32, ptr @stderr, align 4 %167 = load ptr, ptr %7, align 8 %168 = load i64, ptr @errno, align 8 %169 = call ptr @strerror(i64 noundef %168) %170 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %166, ptr noundef @.str.5, ptr noundef %167, ptr noundef %169) store i32 101, ptr %10, align 4 br label %183 171: ; preds = %149 %172 = load i32, ptr %10, align 4 %173 = icmp eq i32 %172, 127 br i1 %173, label %174, label %182 174: ; preds = %171 %175 = load i64, ptr @errno, align 8 %176 = icmp ne i64 %175, 0 br i1 %176, label %177, label %182 177: ; preds = %174 %178 = load i32, ptr @stderr, align 4 %179 = load i64, ptr @errno, align 8 %180 = call ptr @strerror(i64 noundef %179) %181 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %178, ptr noundef @.str.9, ptr noundef %180) store i32 101, ptr %10, align 4 br label %182 182: ; preds = %177, %174, %171 br label %183 183: ; preds = %182, %165 %184 = load i32, ptr %11, align 4 %185 = call i32 @close(i32 noundef %184) %186 = load i32, ptr %10, align 4 store i32 %186, ptr %3, align 4 br label %187 187: ; preds = %183, %143, %142, %98, %87, %77, %59, %42, %30 %188 = load i32, ptr %3, align 4 ret i32 %188 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @usage(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @S_ISREG(i32 noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @putenv(ptr noundef) #1 declare i32 @system(ptr 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" } !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/tmps2t1bwou.c' source_filename = "/tmp/tmps2t1bwou.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/tmps2t1bwou.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/tmpriikxyht.c' source_filename = "/tmp/tmpriikxyht.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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @test_empty() %7 = call i32 (...) @test_getpid() %8 = call i32 (...) @test_fstat() %9 = call i32 (...) @test_mmap() ret i32 0 } declare i32 @test_empty(...) #1 declare i32 @test_getpid(...) #1 declare i32 @test_fstat(...) #1 declare i32 @test_mmap(...) #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/tmpriikxyht.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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @test_empty() %7 = call i32 (...) @test_getpid() %8 = call i32 (...) @test_fstat() %9 = call i32 (...) @test_mmap() ret i32 0 } declare i32 @test_empty(...) #1 declare i32 @test_getpid(...) #1 declare i32 @test_fstat(...) #1 declare i32 @test_mmap(...) #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/tmpa6xnazmp.c' source_filename = "/tmp/tmpa6xnazmp.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 @mutt_copy_stream(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [1024 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %8 8: ; preds = %21, %2 %9 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %10 = load ptr, ptr %4, align 8 %11 = call i64 @fread(ptr noundef %9, i32 noundef 1, i32 noundef 1024, ptr noundef %10) store i64 %11, ptr %6, align 8 %12 = icmp ugt i64 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %8 %14 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %15 = load i64, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i64 @fwrite(ptr noundef %14, i32 noundef 1, i64 noundef %15, ptr noundef %16) %18 = load i64, ptr %6, align 8 %19 = icmp ne i64 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %13 store i32 -1, ptr %3, align 4 br label %23 21: ; preds = %13 br label %8, !llvm.loop !6 22: ; preds = %8 store i32 0, ptr %3, align 4 br label %23 23: ; preds = %22, %20 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i64 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/tmpa6xnazmp.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 @mutt_copy_stream(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [1024 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %9 = load ptr, ptr %4, align 8 %10 = call i64 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1024, ptr noundef %9) store i64 %10, ptr %6, align 8 %11 = icmp ugt i64 %10, 0 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %16 12: ; preds = %16 %13 = load ptr, ptr %4, align 8 %14 = call i64 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1024, ptr noundef %13) store i64 %14, ptr %6, align 8 %15 = icmp ugt i64 %14, 0 br i1 %15, label %16, label %._crit_edge, !llvm.loop !6 16: ; preds = %.lr.ph, %12 %17 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %18 = load i64, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i64 @fwrite(ptr noundef %17, i32 noundef 1, i64 noundef %18, ptr noundef %19) %21 = load i64, ptr %6, align 8 %22 = icmp ne i64 %20, %21 br i1 %22, label %23, label %12 23: ; preds = %16 store i32 -1, ptr %3, align 4 br label %25 ._crit_edge: ; preds = %12 br label %24 24: ; preds = %._crit_edge, %2 store i32 0, ptr %3, align 4 br label %25 25: ; preds = %24, %23 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i64 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/tmpx4eo4zcm.c' source_filename = "/tmp/tmpx4eo4zcm.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/tmpx4eo4zcm.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/tmp1eqnnq7o.c' source_filename = "/tmp/tmp1eqnnq7o.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 @swap(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %9, align 4 %24 = icmp eq i32 %22, %23 br i1 %24, label %25, label %27 25: ; preds = %4 %26 = load i32, ptr %6, align 4 store i32 %26, ptr %5, align 4 br label %84 27: ; preds = %4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %9, align 4 %30 = icmp sgt i32 %28, %29 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i32, ptr %8, align 4 store i32 %32, ptr %10, align 4 %33 = load i32, ptr %9, align 4 store i32 %33, ptr %8, align 4 %34 = load i32, ptr %10, align 4 store i32 %34, ptr %9, align 4 br label %35 35: ; preds = %31, %27 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %8, align 4 %38 = call i32 @get_magic_number(i32 noundef %36, i32 noundef %37, i32 noundef 0) store i32 %38, ptr %11, align 4 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %8, align 4 %41 = call i32 @get_magic_number(i32 noundef %39, i32 noundef %40, i32 noundef 1) store i32 %41, ptr %12, align 4 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %9, align 4 %44 = call i32 @get_magic_number(i32 noundef %42, i32 noundef %43, i32 noundef 0) store i32 %44, ptr %13, align 4 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %9, align 4 %47 = call i32 @get_magic_number(i32 noundef %45, i32 noundef %46, i32 noundef 1) store i32 %47, ptr %14, align 4 %48 = load i32, ptr %12, align 4 %49 = load i32, ptr %14, align 4 %50 = and i32 %48, %49 %51 = load i32, ptr %11, align 4 %52 = load i32, ptr %13, align 4 %53 = and i32 %51, %52 %54 = or i32 %50, %53 store i32 %54, ptr %15, align 4 %55 = load i32, ptr %14, align 4 %56 = load i32, ptr %11, align 4 %57 = and i32 %55, %56 store i32 %57, ptr %16, align 4 %58 = load i32, ptr %13, align 4 %59 = load i32, ptr %12, align 4 %60 = and i32 %58, %59 store i32 %60, ptr %17, align 4 %61 = load i32, ptr %9, align 4 %62 = shl i32 1, %61 %63 = load i32, ptr %8, align 4 %64 = shl i32 1, %63 %65 = sub nsw i32 %62, %64 store i32 %65, ptr %18, align 4 %66 = load i32, ptr %6, align 4 %67 = load i32, ptr %15, align 4 %68 = and i32 %66, %67 store i32 %68, ptr %19, align 4 %69 = load i32, ptr %6, align 4 %70 = load i32, ptr %16, align 4 %71 = and i32 %69, %70 store i32 %71, ptr %20, align 4 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr %17, align 4 %74 = and i32 %72, %73 store i32 %74, ptr %21, align 4 %75 = load i32, ptr %19, align 4 %76 = load i32, ptr %21, align 4 %77 = load i32, ptr %18, align 4 %78 = shl i32 %76, %77 %79 = or i32 %75, %78 %80 = load i32, ptr %20, align 4 %81 = load i32, ptr %18, align 4 %82 = ashr i32 %80, %81 %83 = or i32 %79, %82 store i32 %83, ptr %5, align 4 br label %84 84: ; preds = %35, %25 %85 = load i32, ptr %5, align 4 ret i32 %85 } declare i32 @get_magic_number(i32 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/tmp1eqnnq7o.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 @swap(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %9, align 4 %24 = icmp eq i32 %22, %23 br i1 %24, label %25, label %27 25: ; preds = %4 %26 = load i32, ptr %6, align 4 store i32 %26, ptr %5, align 4 br label %84 27: ; preds = %4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %9, align 4 %30 = icmp sgt i32 %28, %29 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load i32, ptr %8, align 4 store i32 %32, ptr %10, align 4 %33 = load i32, ptr %9, align 4 store i32 %33, ptr %8, align 4 %34 = load i32, ptr %10, align 4 store i32 %34, ptr %9, align 4 br label %35 35: ; preds = %31, %27 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %8, align 4 %38 = call i32 @get_magic_number(i32 noundef %36, i32 noundef %37, i32 noundef 0) store i32 %38, ptr %11, align 4 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %8, align 4 %41 = call i32 @get_magic_number(i32 noundef %39, i32 noundef %40, i32 noundef 1) store i32 %41, ptr %12, align 4 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %9, align 4 %44 = call i32 @get_magic_number(i32 noundef %42, i32 noundef %43, i32 noundef 0) store i32 %44, ptr %13, align 4 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %9, align 4 %47 = call i32 @get_magic_number(i32 noundef %45, i32 noundef %46, i32 noundef 1) store i32 %47, ptr %14, align 4 %48 = load i32, ptr %12, align 4 %49 = load i32, ptr %14, align 4 %50 = and i32 %48, %49 %51 = load i32, ptr %11, align 4 %52 = load i32, ptr %13, align 4 %53 = and i32 %51, %52 %54 = or i32 %50, %53 store i32 %54, ptr %15, align 4 %55 = load i32, ptr %14, align 4 %56 = load i32, ptr %11, align 4 %57 = and i32 %55, %56 store i32 %57, ptr %16, align 4 %58 = load i32, ptr %13, align 4 %59 = load i32, ptr %12, align 4 %60 = and i32 %58, %59 store i32 %60, ptr %17, align 4 %61 = load i32, ptr %9, align 4 %62 = shl i32 1, %61 %63 = load i32, ptr %8, align 4 %64 = shl i32 1, %63 %65 = sub nsw i32 %62, %64 store i32 %65, ptr %18, align 4 %66 = load i32, ptr %6, align 4 %67 = load i32, ptr %15, align 4 %68 = and i32 %66, %67 store i32 %68, ptr %19, align 4 %69 = load i32, ptr %6, align 4 %70 = load i32, ptr %16, align 4 %71 = and i32 %69, %70 store i32 %71, ptr %20, align 4 %72 = load i32, ptr %6, align 4 %73 = load i32, ptr %17, align 4 %74 = and i32 %72, %73 store i32 %74, ptr %21, align 4 %75 = load i32, ptr %19, align 4 %76 = load i32, ptr %21, align 4 %77 = load i32, ptr %18, align 4 %78 = shl i32 %76, %77 %79 = or i32 %75, %78 %80 = load i32, ptr %20, align 4 %81 = load i32, ptr %18, align 4 %82 = ashr i32 %80, %81 %83 = or i32 %79, %82 store i32 %83, ptr %5, align 4 br label %84 84: ; preds = %35, %25 %85 = load i32, ptr %5, align 4 ret i32 %85 } declare i32 @get_magic_number(i32 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/tmpjf0_9j6w.c' source_filename = "/tmp/tmpjf0_9j6w.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 [24 x i8] c"Size of int: %ld bytes\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Size of float: %ld bytes\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Size of double: %ld bytes\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Size of long: %ld bytes\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Maximum long: %lu\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"Size of long long: %ld bytes\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"Maximum long long: %llu\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"Size of char: %ld byte\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 float, align 4 %4 = alloca double, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 %8 = call i32 @printf(ptr noundef @.str, i32 noundef 4) %9 = call i32 @printf(ptr noundef @.str.1, i32 noundef 4) %10 = call i32 @printf(ptr noundef @.str.2, i32 noundef 8) %11 = call i32 @printf(ptr noundef @.str.3, i32 noundef 8) %12 = load i64, ptr %5, align 8 %13 = sub i64 %12, 1 %14 = trunc i64 %13 to i32 %15 = call i32 @printf(ptr noundef @.str.4, i32 noundef %14) %16 = call i32 @printf(ptr noundef @.str.5, i32 noundef 8) %17 = load i64, ptr %6, align 8 %18 = sub i64 %17, 1 %19 = trunc i64 %18 to i32 %20 = call i32 @printf(ptr noundef @.str.6, i32 noundef %19) %21 = call i32 @printf(ptr noundef @.str.7, i32 noundef 1) ret i32 0 } 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" } !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/tmpjf0_9j6w.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 [24 x i8] c"Size of int: %ld bytes\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Size of float: %ld bytes\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Size of double: %ld bytes\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Size of long: %ld bytes\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Maximum long: %lu\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"Size of long long: %ld bytes\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"Maximum long long: %llu\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"Size of char: %ld byte\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 float, align 4 %4 = alloca double, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 %8 = call i32 @printf(ptr noundef @.str, i32 noundef 4) %9 = call i32 @printf(ptr noundef @.str.1, i32 noundef 4) %10 = call i32 @printf(ptr noundef @.str.2, i32 noundef 8) %11 = call i32 @printf(ptr noundef @.str.3, i32 noundef 8) %12 = load i64, ptr %5, align 8 %13 = sub i64 %12, 1 %14 = trunc i64 %13 to i32 %15 = call i32 @printf(ptr noundef @.str.4, i32 noundef %14) %16 = call i32 @printf(ptr noundef @.str.5, i32 noundef 8) %17 = load i64, ptr %6, align 8 %18 = sub i64 %17, 1 %19 = trunc i64 %18 to i32 %20 = call i32 @printf(ptr noundef @.str.6, i32 noundef %19) %21 = call i32 @printf(ptr noundef @.str.7, i32 noundef 1) ret i32 0 } 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" } !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/tmp1kw7lpka.c' source_filename = "/tmp/tmp1kw7lpka.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"%p\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_intrflush(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %11 10: ; preds = %2 br label %35 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %6) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = call i32 @report_count(i32 noundef 1) %19 = call i32 @report_error(ptr noundef @.str.1) br label %35 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str.2, ptr noundef %5) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = call i32 @report_count(i32 noundef 1) %28 = call i32 @report_error(ptr noundef @.str.1) br label %35 29: ; preds = %20 %30 = call i32 @report_count(i32 noundef 1) %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %5, align 4 %33 = call i32 @intrflush(ptr noundef %31, i32 noundef %32) %34 = call i32 @report_return(i32 noundef %33) br label %35 35: ; preds = %29, %26, %17, %10 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @intrflush(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/tmp1kw7lpka.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"%p\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_intrflush(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2) %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %11 10: ; preds = %2 br label %35 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %6) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = call i32 @report_count(i32 noundef 1) %19 = call i32 @report_error(ptr noundef @.str.1) br label %35 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str.2, ptr noundef %5) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = call i32 @report_count(i32 noundef 1) %28 = call i32 @report_error(ptr noundef @.str.1) br label %35 29: ; preds = %20 %30 = call i32 @report_count(i32 noundef 1) %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %5, align 4 %33 = call i32 @intrflush(ptr noundef %31, i32 noundef %32) %34 = call i32 @report_return(i32 noundef %33) br label %35 35: ; preds = %29, %26, %17, %10 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @intrflush(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/tmpc5pzn_1f.c' source_filename = "/tmp/tmpc5pzn_1f.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" @A_NORMAL = dso_local global i32 0, align 4 @A_BOLD = dso_local global i32 0, align 4 @A_BLINK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @curutil_attrset_blink(ptr noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %8 = load i8, ptr %4, align 1 %9 = zext i8 %8 to i32 %10 = and i32 %9, 112 %11 = ashr i32 %10, 4 store i32 %11, ptr %5, align 4 %12 = load i8, ptr %4, align 1 %13 = zext i8 %12 to i32 %14 = and i32 %13, 7 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = mul nsw i32 %15, 8 %17 = add nsw i32 %16, 7 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %17, %18 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %2 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %7, align 4 %25 = call i32 @COLOR_PAIR(i32 noundef %24) %26 = call i32 @wattrset(ptr noundef %23, i32 noundef %25) br label %31 27: ; preds = %2 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr @A_NORMAL, align 4 %30 = call i32 @wattrset(ptr noundef %28, i32 noundef %29) br label %31 31: ; preds = %27, %22 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr @A_BOLD, align 4 %34 = call i32 @wattron(ptr noundef %32, i32 noundef %33) %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr @A_BLINK, align 4 %37 = call i32 @wattron(ptr noundef %35, i32 noundef %36) ret void } declare i32 @wattrset(ptr noundef, i32 noundef) #1 declare i32 @COLOR_PAIR(i32 noundef) #1 declare i32 @wattron(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/tmpc5pzn_1f.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" @A_NORMAL = dso_local global i32 0, align 4 @A_BOLD = dso_local global i32 0, align 4 @A_BLINK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @curutil_attrset_blink(ptr noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %8 = load i8, ptr %4, align 1 %9 = zext i8 %8 to i32 %10 = and i32 %9, 112 %11 = ashr i32 %10, 4 store i32 %11, ptr %5, align 4 %12 = load i8, ptr %4, align 1 %13 = zext i8 %12 to i32 %14 = and i32 %13, 7 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = mul nsw i32 %15, 8 %17 = add nsw i32 %16, 7 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %17, %18 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %2 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %7, align 4 %25 = call i32 @COLOR_PAIR(i32 noundef %24) %26 = call i32 @wattrset(ptr noundef %23, i32 noundef %25) br label %31 27: ; preds = %2 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr @A_NORMAL, align 4 %30 = call i32 @wattrset(ptr noundef %28, i32 noundef %29) br label %31 31: ; preds = %27, %22 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr @A_BOLD, align 4 %34 = call i32 @wattron(ptr noundef %32, i32 noundef %33) %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr @A_BLINK, align 4 %37 = call i32 @wattron(ptr noundef %35, i32 noundef %36) ret void } declare i32 @wattrset(ptr noundef, i32 noundef) #1 declare i32 @COLOR_PAIR(i32 noundef) #1 declare i32 @wattron(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/tmp0vukc9f0.c' source_filename = "/tmp/tmp0vukc9f0.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/tmp0vukc9f0.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/tmpbem4p8ci.c' source_filename = "/tmp/tmpbem4p8ci.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 [10 x i8] c"%d -> %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @to_english(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [100 x i8], align 16 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %12, align 4 %17 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 store i8 0, ptr %17, align 16 %18 = load i32, ptr %6, align 4 %19 = sdiv i32 %18, 100 store i32 %19, ptr %14, align 4 %20 = load i32, ptr %14, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %87 22: ; preds = %5 store i32 0, ptr %15, align 4 br label %23 23: ; preds = %48, %22 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %14, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [7 x i8], ptr %24, i64 %26 %28 = load i32, ptr %15, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [7 x i8], ptr %27, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %51 34: ; preds = %23 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %14, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [7 x i8], ptr %35, i64 %37 %39 = load i32, ptr %15, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [7 x i8], ptr %38, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = load i32, ptr %11, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %44 store i8 %42, ptr %45, align 1 %46 = load i32, ptr %11, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %11, align 4 br label %48 48: ; preds = %34 %49 = load i32, ptr %15, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %15, align 4 br label %23, !llvm.loop !6 51: ; preds = %23 store i32 0, ptr %15, align 4 br label %52 52: ; preds = %71, %51 %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %15, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %74 60: ; preds = %52 %61 = load ptr, ptr %9, align 8 %62 = load i32, ptr %15, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = load i32, ptr %11, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %67 store i8 %65, ptr %68, align 1 %69 = load i32, ptr %11, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %11, align 4 br label %71 71: ; preds = %60 %72 = load i32, ptr %15, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %15, align 4 br label %52, !llvm.loop !8 74: ; preds = %52 %75 = load i32, ptr %6, align 4 %76 = srem i32 %75, 100 %77 = icmp eq i32 %76, 0 br i1 %77, label %78, label %81 78: ; preds = %74 %79 = load i32, ptr %11, align 4 %80 = sub nsw i32 %79, 3 store i32 %80, ptr %11, align 4 br label %81 81: ; preds = %78, %74 %82 = load i32, ptr %11, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %83 store i8 0, ptr %84, align 1 %85 = load i32, ptr %6, align 4 %86 = srem i32 %85, 100 store i32 %86, ptr %6, align 4 br label %87 87: ; preds = %81, %5 %88 = load i32, ptr %6, align 4 %89 = sdiv i32 %88, 10 %90 = sub nsw i32 %89, 1 store i32 %90, ptr %14, align 4 %91 = load i32, ptr %14, align 4 %92 = icmp sge i32 %91, 0 br i1 %92, label %93, label %164 93: ; preds = %87 %94 = load i32, ptr %14, align 4 %95 = icmp ne i32 %94, 0 br i1 %95, label %96, label %128 96: ; preds = %93 store i32 0, ptr %15, align 4 br label %97 97: ; preds = %122, %96 %98 = load ptr, ptr %8, align 8 %99 = load i32, ptr %14, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [9 x i8], ptr %98, i64 %100 %102 = load i32, ptr %15, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [9 x i8], ptr %101, i64 0, i64 %103 %105 = load i8, ptr %104, align 1 %106 = sext i8 %105 to i32 %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %125 108: ; preds = %97 %109 = load ptr, ptr %8, align 8 %110 = load i32, ptr %14, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [9 x i8], ptr %109, i64 %111 %113 = load i32, ptr %15, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [9 x i8], ptr %112, i64 0, i64 %114 %116 = load i8, ptr %115, align 1 %117 = load i32, ptr %11, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %118 store i8 %116, ptr %119, align 1 %120 = load i32, ptr %11, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %11, align 4 br label %122 122: ; preds = %108 %123 = load i32, ptr %15, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %15, align 4 br label %97, !llvm.loop !9 125: ; preds = %97 %126 = load i32, ptr %6, align 4 %127 = srem i32 %126, 10 store i32 %127, ptr %6, align 4 br label %160 128: ; preds = %93 %129 = load i32, ptr %6, align 4 %130 = sub nsw i32 %129, 10 store i32 %130, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %131 131: ; preds = %156, %128 %132 = load ptr, ptr %10, align 8 %133 = load i32, ptr %14, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [11 x i8], ptr %132, i64 %134 %136 = load i32, ptr %15, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds [11 x i8], ptr %135, i64 0, i64 %137 %139 = load i8, ptr %138, align 1 %140 = sext i8 %139 to i32 %141 = icmp ne i32 %140, 0 br i1 %141, label %142, label %159 142: ; preds = %131 %143 = load ptr, ptr %10, align 8 %144 = load i32, ptr %14, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [11 x i8], ptr %143, i64 %145 %147 = load i32, ptr %15, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds [11 x i8], ptr %146, i64 0, i64 %148 %150 = load i8, ptr %149, align 1 %151 = load i32, ptr %11, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %152 store i8 %150, ptr %153, align 1 %154 = load i32, ptr %11, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %11, align 4 br label %156 156: ; preds = %142 %157 = load i32, ptr %15, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %15, align 4 br label %131, !llvm.loop !10 159: ; preds = %131 store i32 0, ptr %6, align 4 br label %160 160: ; preds = %159, %125 %161 = load i32, ptr %11, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %162 store i8 0, ptr %163, align 1 br label %164 164: ; preds = %160, %87 %165 = load i32, ptr %6, align 4 store i32 %165, ptr %14, align 4 %166 = load i32, ptr %14, align 4 %167 = icmp sgt i32 %166, 0 br i1 %167, label %168, label %201 168: ; preds = %164 store i32 0, ptr %15, align 4 br label %169 169: ; preds = %194, %168 %170 = load ptr, ptr %7, align 8 %171 = load i32, ptr %14, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds [7 x i8], ptr %170, i64 %172 %174 = load i32, ptr %15, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [7 x i8], ptr %173, i64 0, i64 %175 %177 = load i8, ptr %176, align 1 %178 = sext i8 %177 to i32 %179 = icmp ne i32 %178, 0 br i1 %179, label %180, label %197 180: ; preds = %169 %181 = load ptr, ptr %7, align 8 %182 = load i32, ptr %14, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [7 x i8], ptr %181, i64 %183 %185 = load i32, ptr %15, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [7 x i8], ptr %184, i64 0, i64 %186 %188 = load i8, ptr %187, align 1 %189 = load i32, ptr %11, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %190 store i8 %188, ptr %191, align 1 %192 = load i32, ptr %11, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %11, align 4 br label %194 194: ; preds = %180 %195 = load i32, ptr %15, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %15, align 4 br label %169, !llvm.loop !11 197: ; preds = %169 %198 = load i32, ptr %11, align 4 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %199 store i8 0, ptr %200, align 1 br label %201 201: ; preds = %197, %164 %202 = load i32, ptr %12, align 4 %203 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %204 = call i32 @printf(ptr noundef @.str, i32 noundef %202, ptr noundef %203) %205 = load i32, ptr %11, align 4 ret i32 %205 } declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbem4p8ci.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 [10 x i8] c"%d -> %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @to_english(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [100 x i8], align 16 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 %16 = load i32, ptr %6, align 4 store i32 %16, ptr %12, align 4 %17 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 store i8 0, ptr %17, align 16 %18 = load i32, ptr %6, align 4 %19 = sdiv i32 %18, 100 store i32 %19, ptr %14, align 4 %20 = load i32, ptr %14, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %102 22: ; preds = %5 store i32 0, ptr %15, align 4 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %14, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [7 x i8], ptr %23, i64 %25 %27 = load i32, ptr %15, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [7 x i8], ptr %26, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 0 br i1 %32, label %.lr.ph, label %60 .lr.ph: ; preds = %22 br label %33 33: ; preds = %.lr.ph, %47 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %14, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [7 x i8], ptr %34, i64 %36 %38 = load i32, ptr %15, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [7 x i8], ptr %37, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = load i32, ptr %11, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %43 store i8 %41, ptr %44, align 1 %45 = load i32, ptr %11, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %11, align 4 br label %47 47: ; preds = %33 %48 = load i32, ptr %15, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %15, align 4 %50 = load ptr, ptr %7, align 8 %51 = load i32, ptr %14, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [7 x i8], ptr %50, i64 %52 %54 = load i32, ptr %15, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [7 x i8], ptr %53, i64 0, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp ne i32 %58, 0 br i1 %59, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %60 60: ; preds = %._crit_edge, %22 store i32 0, ptr %15, align 4 %61 = load ptr, ptr %9, align 8 %62 = load i32, ptr %15, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp ne i32 %66, 0 br i1 %67, label %.lr.ph2, label %89 .lr.ph2: ; preds = %60 br label %68 68: ; preds = %.lr.ph2, %79 %69 = load ptr, ptr %9, align 8 %70 = load i32, ptr %15, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load i8, ptr %72, align 1 %74 = load i32, ptr %11, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %75 store i8 %73, ptr %76, align 1 %77 = load i32, ptr %11, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %11, align 4 br label %79 79: ; preds = %68 %80 = load i32, ptr %15, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %15, align 4 %82 = load ptr, ptr %9, align 8 %83 = load i32, ptr %15, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = icmp ne i32 %87, 0 br i1 %88, label %68, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %79 br label %89 89: ; preds = %._crit_edge3, %60 %90 = load i32, ptr %6, align 4 %91 = srem i32 %90, 100 %92 = icmp eq i32 %91, 0 br i1 %92, label %93, label %96 93: ; preds = %89 %94 = load i32, ptr %11, align 4 %95 = sub nsw i32 %94, 3 store i32 %95, ptr %11, align 4 br label %96 96: ; preds = %93, %89 %97 = load i32, ptr %11, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %98 store i8 0, ptr %99, align 1 %100 = load i32, ptr %6, align 4 %101 = srem i32 %100, 100 store i32 %101, ptr %6, align 4 br label %102 102: ; preds = %96, %5 %103 = load i32, ptr %6, align 4 %104 = sdiv i32 %103, 10 %105 = sub nsw i32 %104, 1 store i32 %105, ptr %14, align 4 %106 = load i32, ptr %14, align 4 %107 = icmp sge i32 %106, 0 br i1 %107, label %108, label %197 108: ; preds = %102 %109 = load i32, ptr %14, align 4 %110 = icmp ne i32 %109, 0 br i1 %110, label %111, label %152 111: ; preds = %108 store i32 0, ptr %15, align 4 %112 = load ptr, ptr %8, align 8 %113 = load i32, ptr %14, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [9 x i8], ptr %112, i64 %114 %116 = load i32, ptr %15, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [9 x i8], ptr %115, i64 0, i64 %117 %119 = load i8, ptr %118, align 1 %120 = sext i8 %119 to i32 %121 = icmp ne i32 %120, 0 br i1 %121, label %.lr.ph8, label %149 .lr.ph8: ; preds = %111 br label %122 122: ; preds = %.lr.ph8, %136 %123 = load ptr, ptr %8, align 8 %124 = load i32, ptr %14, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [9 x i8], ptr %123, i64 %125 %127 = load i32, ptr %15, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [9 x i8], ptr %126, i64 0, i64 %128 %130 = load i8, ptr %129, align 1 %131 = load i32, ptr %11, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %132 store i8 %130, ptr %133, align 1 %134 = load i32, ptr %11, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %11, align 4 br label %136 136: ; preds = %122 %137 = load i32, ptr %15, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %15, align 4 %139 = load ptr, ptr %8, align 8 %140 = load i32, ptr %14, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds [9 x i8], ptr %139, i64 %141 %143 = load i32, ptr %15, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds [9 x i8], ptr %142, i64 0, i64 %144 %146 = load i8, ptr %145, align 1 %147 = sext i8 %146 to i32 %148 = icmp ne i32 %147, 0 br i1 %148, label %122, label %._crit_edge9, !llvm.loop !9 ._crit_edge9: ; preds = %136 br label %149 149: ; preds = %._crit_edge9, %111 %150 = load i32, ptr %6, align 4 %151 = srem i32 %150, 10 store i32 %151, ptr %6, align 4 br label %193 152: ; preds = %108 %153 = load i32, ptr %6, align 4 %154 = sub nsw i32 %153, 10 store i32 %154, ptr %14, align 4 store i32 0, ptr %15, align 4 %155 = load ptr, ptr %10, align 8 %156 = load i32, ptr %14, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds [11 x i8], ptr %155, i64 %157 %159 = load i32, ptr %15, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds [11 x i8], ptr %158, i64 0, i64 %160 %162 = load i8, ptr %161, align 1 %163 = sext i8 %162 to i32 %164 = icmp ne i32 %163, 0 br i1 %164, label %.lr.ph5, label %192 .lr.ph5: ; preds = %152 br label %165 165: ; preds = %.lr.ph5, %179 %166 = load ptr, ptr %10, align 8 %167 = load i32, ptr %14, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [11 x i8], ptr %166, i64 %168 %170 = load i32, ptr %15, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds [11 x i8], ptr %169, i64 0, i64 %171 %173 = load i8, ptr %172, align 1 %174 = load i32, ptr %11, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %175 store i8 %173, ptr %176, align 1 %177 = load i32, ptr %11, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %11, align 4 br label %179 179: ; preds = %165 %180 = load i32, ptr %15, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %15, align 4 %182 = load ptr, ptr %10, align 8 %183 = load i32, ptr %14, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds [11 x i8], ptr %182, i64 %184 %186 = load i32, ptr %15, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds [11 x i8], ptr %185, i64 0, i64 %187 %189 = load i8, ptr %188, align 1 %190 = sext i8 %189 to i32 %191 = icmp ne i32 %190, 0 br i1 %191, label %165, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %179 br label %192 192: ; preds = %._crit_edge6, %152 store i32 0, ptr %6, align 4 br label %193 193: ; preds = %192, %149 %194 = load i32, ptr %11, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %195 store i8 0, ptr %196, align 1 br label %197 197: ; preds = %193, %102 %198 = load i32, ptr %6, align 4 store i32 %198, ptr %14, align 4 %199 = load i32, ptr %14, align 4 %200 = icmp sgt i32 %199, 0 br i1 %200, label %201, label %243 201: ; preds = %197 store i32 0, ptr %15, align 4 %202 = load ptr, ptr %7, align 8 %203 = load i32, ptr %14, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds [7 x i8], ptr %202, i64 %204 %206 = load i32, ptr %15, align 4 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds [7 x i8], ptr %205, i64 0, i64 %207 %209 = load i8, ptr %208, align 1 %210 = sext i8 %209 to i32 %211 = icmp ne i32 %210, 0 br i1 %211, label %.lr.ph11, label %239 .lr.ph11: ; preds = %201 br label %212 212: ; preds = %.lr.ph11, %226 %213 = load ptr, ptr %7, align 8 %214 = load i32, ptr %14, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds [7 x i8], ptr %213, i64 %215 %217 = load i32, ptr %15, align 4 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds [7 x i8], ptr %216, i64 0, i64 %218 %220 = load i8, ptr %219, align 1 %221 = load i32, ptr %11, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %222 store i8 %220, ptr %223, align 1 %224 = load i32, ptr %11, align 4 %225 = add nsw i32 %224, 1 store i32 %225, ptr %11, align 4 br label %226 226: ; preds = %212 %227 = load i32, ptr %15, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %15, align 4 %229 = load ptr, ptr %7, align 8 %230 = load i32, ptr %14, align 4 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds [7 x i8], ptr %229, i64 %231 %233 = load i32, ptr %15, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds [7 x i8], ptr %232, i64 0, i64 %234 %236 = load i8, ptr %235, align 1 %237 = sext i8 %236 to i32 %238 = icmp ne i32 %237, 0 br i1 %238, label %212, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %226 br label %239 239: ; preds = %._crit_edge12, %201 %240 = load i32, ptr %11, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 %241 store i8 0, ptr %242, align 1 br label %243 243: ; preds = %239, %197 %244 = load i32, ptr %12, align 4 %245 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0 %246 = call i32 @printf(ptr noundef @.str, i32 noundef %244, ptr noundef %245) %247 = load i32, ptr %11, align 4 ret i32 %247 } declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp3_1ccz14.c' source_filename = "/tmp/tmp3_1ccz14.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 @compute(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca [3 x double], align 16 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store double %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 store double 0x3FF921FB54442D18, ptr %24, align 8 store double 0.000000e+00, ptr %23, align 8 store double 0.000000e+00, ptr %22, align 8 store i32 0, ptr %21, align 4 br label %26 26: ; preds = %156, %8 %27 = load i32, ptr %21, align 4 %28 = load i32, ptr %9, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %159 30: ; preds = %26 store i32 0, ptr %19, align 4 br label %31 31: ; preds = %44, %30 %32 = load i32, ptr %19, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %47 35: ; preds = %31 %36 = load ptr, ptr %14, align 8 %37 = load i32, ptr %19, align 4 %38 = load i32, ptr %21, align 4 %39 = load i32, ptr %10, align 4 %40 = mul nsw i32 %38, %39 %41 = add nsw i32 %37, %40 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %36, i64 %42 store double 0.000000e+00, ptr %43, align 8 br label %44 44: ; preds = %35 %45 = load i32, ptr %19, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %19, align 4 br label %31, !llvm.loop !6 47: ; preds = %31 store i32 0, ptr %20, align 4 br label %48 48: ; preds = %123, %47 %49 = load i32, ptr %20, align 4 %50 = load i32, ptr %9, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %126 52: ; preds = %48 %53 = load i32, ptr %21, align 4 %54 = load i32, ptr %20, align 4 %55 = icmp ne i32 %53, %54 br i1 %55, label %56, label %122 56: ; preds = %52 %57 = load i32, ptr %10, align 4 %58 = load ptr, ptr %11, align 8 %59 = load i32, ptr %21, align 4 %60 = load i32, ptr %10, align 4 %61 = mul nsw i32 %59, %60 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %58, i64 %62 %64 = load ptr, ptr %11, align 8 %65 = load i32, ptr %20, align 4 %66 = load i32, ptr %10, align 4 %67 = mul nsw i32 %65, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %64, i64 %68 %70 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0 %71 = call double @dist(i32 noundef %57, ptr noundef %63, ptr noundef %69, ptr noundef %70) store double %71, ptr %17, align 8 %72 = load double, ptr %17, align 8 %73 = load double, ptr %24, align 8 %74 = fcmp olt double %72, %73 br i1 %74, label %75, label %77 75: ; preds = %56 %76 = load double, ptr %17, align 8 store double %76, ptr %18, align 8 br label %79 77: ; preds = %56 %78 = load double, ptr %24, align 8 store double %78, ptr %18, align 8 br label %79 79: ; preds = %77, %75 %80 = load double, ptr %23, align 8 %81 = load double, ptr %18, align 8 %82 = call double @sin(double noundef %81) #4 %83 = call double @pow(double noundef %82, i32 noundef 2) %84 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %83, double %80) store double %84, ptr %23, align 8 store i32 0, ptr %19, align 4 br label %85 85: ; preds = %118, %79 %86 = load i32, ptr %19, align 4 %87 = load i32, ptr %10, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %89, label %121 89: ; preds = %85 %90 = load ptr, ptr %14, align 8 %91 = load i32, ptr %19, align 4 %92 = load i32, ptr %21, align 4 %93 = load i32, ptr %10, align 4 %94 = mul nsw i32 %92, %93 %95 = add nsw i32 %91, %94 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %90, i64 %96 %98 = load double, ptr %97, align 8 %99 = load i32, ptr %19, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 %100 %102 = load double, ptr %101, align 8 %103 = load double, ptr %18, align 8 %104 = fmul double 2.000000e+00, %103 %105 = call double @sin(double noundef %104) #4 %106 = fmul double %102, %105 %107 = load double, ptr %17, align 8 %108 = fdiv double %106, %107 %109 = fsub double %98, %108 %110 = load ptr, ptr %14, align 8 %111 = load i32, ptr %19, align 4 %112 = load i32, ptr %21, align 4 %113 = load i32, ptr %10, align 4 %114 = mul nsw i32 %112, %113 %115 = add nsw i32 %111, %114 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds double, ptr %110, i64 %116 store double %109, ptr %117, align 8 br label %118 118: ; preds = %89 %119 = load i32, ptr %19, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %19, align 4 br label %85, !llvm.loop !8 121: ; preds = %85 br label %122 122: ; preds = %121, %52 br label %123 123: ; preds = %122 %124 = load i32, ptr %20, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %20, align 4 br label %48, !llvm.loop !9 126: ; preds = %48 store i32 0, ptr %19, align 4 br label %127 127: ; preds = %152, %126 %128 = load i32, ptr %19, align 4 %129 = load i32, ptr %10, align 4 %130 = icmp slt i32 %128, %129 br i1 %130, label %131, label %155 131: ; preds = %127 %132 = load double, ptr %22, align 8 %133 = load ptr, ptr %12, align 8 %134 = load i32, ptr %19, align 4 %135 = load i32, ptr %21, align 4 %136 = load i32, ptr %10, align 4 %137 = mul nsw i32 %135, %136 %138 = add nsw i32 %134, %137 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds double, ptr %133, i64 %139 %141 = load double, ptr %140, align 8 %142 = load ptr, ptr %12, align 8 %143 = load i32, ptr %19, align 4 %144 = load i32, ptr %21, align 4 %145 = load i32, ptr %10, align 4 %146 = mul nsw i32 %144, %145 %147 = add nsw i32 %143, %146 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds double, ptr %142, i64 %148 %150 = load double, ptr %149, align 8 %151 = call double @llvm.fmuladd.f64(double %141, double %150, double %132) store double %151, ptr %22, align 8 br label %152 152: ; preds = %131 %153 = load i32, ptr %19, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %19, align 4 br label %127, !llvm.loop !10 155: ; preds = %127 br label %156 156: ; preds = %155 %157 = load i32, ptr %21, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %21, align 4 br label %26, !llvm.loop !11 159: ; preds = %26 %160 = load double, ptr %22, align 8 %161 = fmul double %160, 5.000000e-01 %162 = load double, ptr %13, align 8 %163 = fmul double %161, %162 store double %163, ptr %22, align 8 %164 = load double, ptr %23, align 8 %165 = load ptr, ptr %15, align 8 store double %164, ptr %165, align 8 %166 = load double, ptr %22, align 8 %167 = load ptr, ptr %16, align 8 store double %166, ptr %167, align 8 ret void } declare double @dist(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; 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 = { "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 = { 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 #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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3_1ccz14.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 @compute(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca [3 x double], align 16 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store double %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 store double 0x3FF921FB54442D18, ptr %24, align 8 store double 0.000000e+00, ptr %23, align 8 store double 0.000000e+00, ptr %22, align 8 store i32 0, ptr %21, align 4 %26 = load i32, ptr %21, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph11, label %169 .lr.ph11: ; preds = %8 br label %29 29: ; preds = %.lr.ph11, %163 store i32 0, ptr %19, align 4 %30 = load i32, ptr %19, align 4 %31 = load i32, ptr %10, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph, label %48 .lr.ph: ; preds = %29 br label %33 33: ; preds = %.lr.ph, %42 %34 = load ptr, ptr %14, align 8 %35 = load i32, ptr %19, align 4 %36 = load i32, ptr %21, align 4 %37 = load i32, ptr %10, align 4 %38 = mul nsw i32 %36, %37 %39 = add nsw i32 %35, %38 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %34, i64 %40 store double 0.000000e+00, ptr %41, align 8 br label %42 42: ; preds = %33 %43 = load i32, ptr %19, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %19, align 4 %45 = load i32, ptr %19, align 4 %46 = load i32, ptr %10, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %29 store i32 0, ptr %20, align 4 %49 = load i32, ptr %20, align 4 %50 = load i32, ptr %9, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %.lr.ph5, label %131 .lr.ph5: ; preds = %48 br label %52 52: ; preds = %.lr.ph5, %125 %53 = load i32, ptr %21, align 4 %54 = load i32, ptr %20, align 4 %55 = icmp ne i32 %53, %54 br i1 %55, label %56, label %124 56: ; preds = %52 %57 = load i32, ptr %10, align 4 %58 = load ptr, ptr %11, align 8 %59 = load i32, ptr %21, align 4 %60 = load i32, ptr %10, align 4 %61 = mul nsw i32 %59, %60 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %58, i64 %62 %64 = load ptr, ptr %11, align 8 %65 = load i32, ptr %20, align 4 %66 = load i32, ptr %10, align 4 %67 = mul nsw i32 %65, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %64, i64 %68 %70 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0 %71 = call double @dist(i32 noundef %57, ptr noundef %63, ptr noundef %69, ptr noundef %70) store double %71, ptr %17, align 8 %72 = load double, ptr %17, align 8 %73 = load double, ptr %24, align 8 %74 = fcmp olt double %72, %73 br i1 %74, label %75, label %77 75: ; preds = %56 %76 = load double, ptr %17, align 8 store double %76, ptr %18, align 8 br label %79 77: ; preds = %56 %78 = load double, ptr %24, align 8 store double %78, ptr %18, align 8 br label %79 79: ; preds = %77, %75 %80 = load double, ptr %23, align 8 %81 = load double, ptr %18, align 8 %82 = call double @sin(double noundef %81) #4 %83 = call double @pow(double noundef %82, i32 noundef 2) %84 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %83, double %80) store double %84, ptr %23, align 8 store i32 0, ptr %19, align 4 %85 = load i32, ptr %19, align 4 %86 = load i32, ptr %10, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %.lr.ph2, label %123 .lr.ph2: ; preds = %79 br label %88 88: ; preds = %.lr.ph2, %117 %89 = load ptr, ptr %14, align 8 %90 = load i32, ptr %19, align 4 %91 = load i32, ptr %21, align 4 %92 = load i32, ptr %10, align 4 %93 = mul nsw i32 %91, %92 %94 = add nsw i32 %90, %93 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %89, i64 %95 %97 = load double, ptr %96, align 8 %98 = load i32, ptr %19, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 %99 %101 = load double, ptr %100, align 8 %102 = load double, ptr %18, align 8 %103 = fmul double 2.000000e+00, %102 %104 = call double @sin(double noundef %103) #4 %105 = fmul double %101, %104 %106 = load double, ptr %17, align 8 %107 = fdiv double %105, %106 %108 = fsub double %97, %107 %109 = load ptr, ptr %14, align 8 %110 = load i32, ptr %19, align 4 %111 = load i32, ptr %21, align 4 %112 = load i32, ptr %10, align 4 %113 = mul nsw i32 %111, %112 %114 = add nsw i32 %110, %113 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds double, ptr %109, i64 %115 store double %108, ptr %116, align 8 br label %117 117: ; preds = %88 %118 = load i32, ptr %19, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %19, align 4 %120 = load i32, ptr %19, align 4 %121 = load i32, ptr %10, align 4 %122 = icmp slt i32 %120, %121 br i1 %122, label %88, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %117 br label %123 123: ; preds = %._crit_edge3, %79 br label %124 124: ; preds = %123, %52 br label %125 125: ; preds = %124 %126 = load i32, ptr %20, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %20, align 4 %128 = load i32, ptr %20, align 4 %129 = load i32, ptr %9, align 4 %130 = icmp slt i32 %128, %129 br i1 %130, label %52, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %125 br label %131 131: ; preds = %._crit_edge6, %48 store i32 0, ptr %19, align 4 %132 = load i32, ptr %19, align 4 %133 = load i32, ptr %10, align 4 %134 = icmp slt i32 %132, %133 br i1 %134, label %.lr.ph8, label %162 .lr.ph8: ; preds = %131 br label %135 135: ; preds = %.lr.ph8, %156 %136 = load double, ptr %22, align 8 %137 = load ptr, ptr %12, align 8 %138 = load i32, ptr %19, align 4 %139 = load i32, ptr %21, align 4 %140 = load i32, ptr %10, align 4 %141 = mul nsw i32 %139, %140 %142 = add nsw i32 %138, %141 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds double, ptr %137, i64 %143 %145 = load double, ptr %144, align 8 %146 = load ptr, ptr %12, align 8 %147 = load i32, ptr %19, align 4 %148 = load i32, ptr %21, align 4 %149 = load i32, ptr %10, align 4 %150 = mul nsw i32 %148, %149 %151 = add nsw i32 %147, %150 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds double, ptr %146, i64 %152 %154 = load double, ptr %153, align 8 %155 = call double @llvm.fmuladd.f64(double %145, double %154, double %136) store double %155, ptr %22, align 8 br label %156 156: ; preds = %135 %157 = load i32, ptr %19, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %19, align 4 %159 = load i32, ptr %19, align 4 %160 = load i32, ptr %10, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %135, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %156 br label %162 162: ; preds = %._crit_edge9, %131 br label %163 163: ; preds = %162 %164 = load i32, ptr %21, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %21, align 4 %166 = load i32, ptr %21, align 4 %167 = load i32, ptr %9, align 4 %168 = icmp slt i32 %166, %167 br i1 %168, label %29, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %163 br label %169 169: ; preds = %._crit_edge12, %8 %170 = load double, ptr %22, align 8 %171 = fmul double %170, 5.000000e-01 %172 = load double, ptr %13, align 8 %173 = fmul double %171, %172 store double %173, ptr %22, align 8 %174 = load double, ptr %23, align 8 %175 = load ptr, ptr %15, align 8 store double %174, ptr %175, align 8 %176 = load double, ptr %22, align 8 %177 = load ptr, ptr %16, align 8 store double %176, ptr %177, align 8 ret void } declare double @dist(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; 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 = { "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 = { 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 #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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpfyup_srw.c' source_filename = "/tmp/tmpfyup_srw.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 [10 x i8] c"buf = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @max(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [1024 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %4, align 8 %7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = call i32 @vsnprintf(ptr noundef %7, i32 noundef 1023, ptr noundef %8, i32 noundef %9) %11 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) ret i32 0 } declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 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/tmpfyup_srw.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 [10 x i8] c"buf = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @max(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [1024 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %4, align 8 %7 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = call i32 @vsnprintf(ptr noundef %7, i32 noundef 1023, ptr noundef %8, i32 noundef %9) %11 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) ret i32 0 } declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 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/tmpda1ri3aq.c' source_filename = "/tmp/tmpda1ri3aq.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/tmpda1ri3aq.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/tmp9scprgk8.c' source_filename = "/tmp/tmp9scprgk8.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"stty raw\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Input %c\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"stty cooked\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 i32 @system(ptr noundef @.str) br label %4 4: ; preds = %8, %0 %5 = call signext i8 (...) @getchar() store i8 %5, ptr %2, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %6, 35 br i1 %7, label %8, label %11 8: ; preds = %4 %9 = load i8, ptr %2, align 1 %10 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %9) br label %4, !llvm.loop !6 11: ; preds = %4 %12 = call i32 @system(ptr noundef @.str.2) %13 = load i32, ptr %1, align 4 ret i32 %13 } declare i32 @system(ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i32 @printf(ptr noundef, 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/tmp9scprgk8.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"stty raw\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Input %c\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"stty cooked\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 i32 @system(ptr noundef @.str) %4 = call signext i8 (...) @getchar() store i8 %4, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = icmp ne i32 %5, 35 br i1 %6, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %7 %8 = load i8, ptr %2, align 1 %9 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %8) %10 = call signext i8 (...) @getchar() store i8 %10, ptr %2, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 35 br i1 %12, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %13 13: ; preds = %._crit_edge, %0 %14 = call i32 @system(ptr noundef @.str.2) %15 = load i32, ptr %1, align 4 ret i32 %15 } declare i32 @system(ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i32 @printf(ptr noundef, 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/tmpekkis5gh.c' source_filename = "/tmp/tmpekkis5gh.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"rb\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Cannot open input file %s.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__p3dReadRaw32(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %13 = load ptr, ptr %7, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %12, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %5 %17 = load ptr, ptr %7, align 8 %18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17) store ptr null, ptr %8, align 8 store i32 -1, ptr %6, align 4 br label %30 19: ; preds = %5 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %10, align 4 %23 = mul nsw i32 %21, %22 %24 = load i32, ptr %11, align 4 %25 = mul nsw i32 %23, %24 %26 = load ptr, ptr %12, align 8 %27 = call i32 @fread(ptr noundef %20, i32 noundef 4, i32 noundef %25, ptr noundef %26) %28 = load ptr, ptr %12, align 8 %29 = call i32 @fclose(ptr noundef %28) store i32 0, ptr %6, align 4 br label %30 30: ; preds = %19, %16 %31 = load i32, ptr %6, align 4 ret i32 %31 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fread(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpekkis5gh.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"rb\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Cannot open input file %s.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__p3dReadRaw32(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 %13 = load ptr, ptr %7, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %12, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %5 %17 = load ptr, ptr %7, align 8 %18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17) store ptr null, ptr %8, align 8 store i32 -1, ptr %6, align 4 br label %30 19: ; preds = %5 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %10, align 4 %23 = mul nsw i32 %21, %22 %24 = load i32, ptr %11, align 4 %25 = mul nsw i32 %23, %24 %26 = load ptr, ptr %12, align 8 %27 = call i32 @fread(ptr noundef %20, i32 noundef 4, i32 noundef %25, ptr noundef %26) %28 = load ptr, ptr %12, align 8 %29 = call i32 @fclose(ptr noundef %28) store i32 0, ptr %6, align 4 br label %30 30: ; preds = %19, %16 %31 = load i32, ptr %6, align 4 ret i32 %31 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fread(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"}
; ModuleID = '/tmp/tmpw023u2yw.c' source_filename = "/tmp/tmpw023u2yw.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 [25 x i8] c"in TP1 ptr=%p, value=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tp1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %3, i32 noundef %5) ret void } declare i32 @printf(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/tmpw023u2yw.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 [25 x i8] c"in TP1 ptr=%p, value=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tp1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %3, i32 noundef %5) ret void } declare i32 @printf(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/tmpls77eed3.c' source_filename = "/tmp/tmpls77eed3.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 [2 x i8] c"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @compare_files(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr @SEEK_END, align 4 %17 = call i32 @fseek(ptr noundef %15, i64 noundef 0, i32 noundef %16) %18 = load ptr, ptr %6, align 8 %19 = call i64 @ftell(ptr noundef %18) store i64 %19, ptr %10, align 8 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr @SEEK_SET, align 4 %22 = call i32 @fseek(ptr noundef %20, i64 noundef 0, i32 noundef %21) %23 = load i64, ptr %10, align 8 %24 = add nsw i64 %23, 1 %25 = call i64 @calloc(i64 noundef %24, i32 noundef 1) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %8, align 8 %27 = load ptr, ptr %8, align 8 %28 = load i64, ptr %10, align 8 %29 = load ptr, ptr %6, align 8 %30 = call i32 @fread(ptr noundef %27, i32 noundef 1, i64 noundef %28, ptr noundef %29) %31 = load ptr, ptr %6, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr @SEEK_END, align 4 %35 = call i32 @fseek(ptr noundef %33, i64 noundef 0, i32 noundef %34) %36 = load ptr, ptr %7, align 8 %37 = call i64 @ftell(ptr noundef %36) store i64 %37, ptr %10, align 8 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr @SEEK_SET, align 4 %40 = call i32 @fseek(ptr noundef %38, i64 noundef 0, i32 noundef %39) %41 = load i64, ptr %10, align 8 %42 = add nsw i64 %41, 1 %43 = call i64 @calloc(i64 noundef %42, i32 noundef 1) %44 = inttoptr i64 %43 to ptr store ptr %44, ptr %9, align 8 %45 = load ptr, ptr %9, align 8 %46 = load i64, ptr %10, align 8 %47 = load ptr, ptr %7, align 8 %48 = call i32 @fread(ptr noundef %45, i32 noundef 1, i64 noundef %46, ptr noundef %47) %49 = load ptr, ptr %7, align 8 %50 = call i32 @fclose(ptr noundef %49) %51 = load ptr, ptr %8, align 8 %52 = load ptr, ptr %9, align 8 %53 = call i64 @strcmp(ptr noundef %51, ptr noundef %52) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %60 55: ; preds = %2 %56 = load ptr, ptr %8, align 8 %57 = call i32 @free(ptr noundef %56) %58 = load ptr, ptr %9, align 8 %59 = call i32 @free(ptr noundef %58) store i32 1, ptr %3, align 4 br label %65 60: ; preds = %2 %61 = load ptr, ptr %8, align 8 %62 = call i32 @free(ptr noundef %61) %63 = load ptr, ptr %9, align 8 %64 = call i32 @free(ptr noundef %63) store i32 0, ptr %3, align 4 br label %65 65: ; preds = %60, %55 %66 = load i32, ptr %3, align 4 ret i32 %66 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i64 @calloc(i64 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr 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/tmpls77eed3.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 [2 x i8] c"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @compare_files(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr @SEEK_END, align 4 %17 = call i32 @fseek(ptr noundef %15, i64 noundef 0, i32 noundef %16) %18 = load ptr, ptr %6, align 8 %19 = call i64 @ftell(ptr noundef %18) store i64 %19, ptr %10, align 8 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr @SEEK_SET, align 4 %22 = call i32 @fseek(ptr noundef %20, i64 noundef 0, i32 noundef %21) %23 = load i64, ptr %10, align 8 %24 = add nsw i64 %23, 1 %25 = call i64 @calloc(i64 noundef %24, i32 noundef 1) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %8, align 8 %27 = load ptr, ptr %8, align 8 %28 = load i64, ptr %10, align 8 %29 = load ptr, ptr %6, align 8 %30 = call i32 @fread(ptr noundef %27, i32 noundef 1, i64 noundef %28, ptr noundef %29) %31 = load ptr, ptr %6, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr @SEEK_END, align 4 %35 = call i32 @fseek(ptr noundef %33, i64 noundef 0, i32 noundef %34) %36 = load ptr, ptr %7, align 8 %37 = call i64 @ftell(ptr noundef %36) store i64 %37, ptr %10, align 8 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr @SEEK_SET, align 4 %40 = call i32 @fseek(ptr noundef %38, i64 noundef 0, i32 noundef %39) %41 = load i64, ptr %10, align 8 %42 = add nsw i64 %41, 1 %43 = call i64 @calloc(i64 noundef %42, i32 noundef 1) %44 = inttoptr i64 %43 to ptr store ptr %44, ptr %9, align 8 %45 = load ptr, ptr %9, align 8 %46 = load i64, ptr %10, align 8 %47 = load ptr, ptr %7, align 8 %48 = call i32 @fread(ptr noundef %45, i32 noundef 1, i64 noundef %46, ptr noundef %47) %49 = load ptr, ptr %7, align 8 %50 = call i32 @fclose(ptr noundef %49) %51 = load ptr, ptr %8, align 8 %52 = load ptr, ptr %9, align 8 %53 = call i64 @strcmp(ptr noundef %51, ptr noundef %52) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %60 55: ; preds = %2 %56 = load ptr, ptr %8, align 8 %57 = call i32 @free(ptr noundef %56) %58 = load ptr, ptr %9, align 8 %59 = call i32 @free(ptr noundef %58) store i32 1, ptr %3, align 4 br label %65 60: ; preds = %2 %61 = load ptr, ptr %8, align 8 %62 = call i32 @free(ptr noundef %61) %63 = load ptr, ptr %9, align 8 %64 = call i32 @free(ptr noundef %63) store i32 0, ptr %3, align 4 br label %65 65: ; preds = %60, %55 %66 = load i32, ptr %3, align 4 ret i32 %66 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i64 @calloc(i64 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr 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/tmpnemhwx0n.c' source_filename = "/tmp/tmpnemhwx0n.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 @error(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 ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @write(i32 noundef 0, ptr noundef %5, i32 noundef %6) %8 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #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/tmpnemhwx0n.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 @error(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 ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @write(i32 noundef 0, ptr noundef %5, i32 noundef %6) %8 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #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/tmpfacj3sst.c' source_filename = "/tmp/tmpfacj3sst.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 [17 x i8] c"Enter a number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Number is negative\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"Number is positive\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 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) br label %15 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @printf(ptr noundef @.str.3) br label %14 14: ; preds = %12, %9 br label %15 15: ; preds = %14, %7 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfacj3sst.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 [17 x i8] c"Enter a number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Number is negative\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"Number is positive\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 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) br label %15 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @printf(ptr noundef @.str.3) br label %14 14: ; preds = %12, %9 br label %15 15: ; preds = %14, %7 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"}
; ModuleID = '/tmp/tmpp8ure7cc.c' source_filename = "/tmp/tmpp8ure7cc.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 @GenReadCRegIdent(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = call i32 @GenPrintInstr2Operands(i32 noundef 1, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 17, i32 noundef %8) br label %20 10: ; preds = %2 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = call i32 @GenPrintInstr2Operands(i32 noundef 2, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 17, i32 noundef %14) br label %19 16: ; preds = %10 %17 = load i32, ptr %4, align 4 %18 = call i32 @GenPrintInstr2Operands(i32 noundef 0, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 16, i32 noundef %17) br label %19 19: ; preds = %16, %13 br label %20 20: ; preds = %19, %7 ret void } declare i32 @GenPrintInstr2Operands(i32 noundef, i32 noundef, i32 noundef, i32 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/tmpp8ure7cc.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 @GenReadCRegIdent(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = call i32 @GenPrintInstr2Operands(i32 noundef 1, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 17, i32 noundef %8) br label %20 10: ; preds = %2 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = call i32 @GenPrintInstr2Operands(i32 noundef 2, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 17, i32 noundef %14) br label %19 16: ; preds = %10 %17 = load i32, ptr %4, align 4 %18 = call i32 @GenPrintInstr2Operands(i32 noundef 0, i32 noundef 0, i32 noundef 5, i32 noundef 0, i32 noundef 16, i32 noundef %17) br label %19 19: ; preds = %16, %13 br label %20 20: ; preds = %19, %7 ret void } declare i32 @GenPrintInstr2Operands(i32 noundef, i32 noundef, i32 noundef, i32 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/tmpx7uhzym2.c' source_filename = "/tmp/tmpx7uhzym2.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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = 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 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %9, align 8 %14 = load ptr, ptr %8, align 8 %15 = load i64, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 store ptr %16, ptr %10, align 8 %17 = load i64, ptr %7, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %3 %20 = load i32, ptr @EINVAL, align 4 store i32 %20, ptr %4, align 4 br label %49 21: ; preds = %3 br label %22 22: ; preds = %43, %21 %23 = load ptr, ptr %8, align 8 %24 = load ptr, ptr %10, align 8 %25 = icmp ult ptr %23, %24 br i1 %25, label %26, label %48 26: ; preds = %22 %27 = load ptr, ptr %8, align 8 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = load ptr, ptr %9, align 8 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i32 %33 = sub nsw i32 %29, %32 store i32 %33, ptr %11, align 4 %34 = load i32, ptr %11, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %26 %37 = load i32, ptr %11, align 4 store i32 %37, ptr %4, align 4 br label %49 38: ; preds = %26 %39 = load ptr, ptr %8, align 8 %40 = load i8, ptr %39, align 1 %41 = icmp ne i8 %40, 0 br i1 %41, label %43, label %42 42: ; preds = %38 store i32 0, ptr %4, align 4 br label %49 43: ; preds = %38 %44 = load ptr, ptr %8, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %8, align 8 %46 = load ptr, ptr %9, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %9, align 8 br label %22, !llvm.loop !6 48: ; preds = %22 store i32 0, ptr %4, align 4 br label %49 49: ; preds = %48, %42, %36, %19 %50 = load i32, ptr %4, align 4 ret i32 %50 } 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/tmpx7uhzym2.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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = 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 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %9, align 8 %14 = load ptr, ptr %8, align 8 %15 = load i64, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 store ptr %16, ptr %10, align 8 %17 = load i64, ptr %7, align 8 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %3 %20 = load i32, ptr @EINVAL, align 4 store i32 %20, ptr %4, align 4 br label %51 21: ; preds = %3 %22 = load ptr, ptr %8, align 8 %23 = load ptr, ptr %10, align 8 %24 = icmp ult ptr %22, %23 br i1 %24, label %.lr.ph, label %50 .lr.ph: ; preds = %21 br label %25 25: ; preds = %.lr.ph, %42 %26 = load ptr, ptr %8, align 8 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = load ptr, ptr %9, align 8 %30 = load i8, ptr %29, align 1 %31 = zext i8 %30 to i32 %32 = sub nsw i32 %28, %31 store i32 %32, ptr %11, align 4 %33 = load i32, ptr %11, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %25 %36 = load i32, ptr %11, align 4 store i32 %36, ptr %4, align 4 br label %51 37: ; preds = %25 %38 = load ptr, ptr %8, align 8 %39 = load i8, ptr %38, align 1 %40 = icmp ne i8 %39, 0 br i1 %40, label %42, label %41 41: ; preds = %37 store i32 0, ptr %4, align 4 br label %51 42: ; preds = %37 %43 = load ptr, ptr %8, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %8, align 8 %45 = load ptr, ptr %9, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %9, align 8 %47 = load ptr, ptr %8, align 8 %48 = load ptr, ptr %10, align 8 %49 = icmp ult ptr %47, %48 br i1 %49, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %50 50: ; preds = %._crit_edge, %21 store i32 0, ptr %4, align 4 br label %51 51: ; preds = %50, %41, %35, %19 %52 = load i32, ptr %4, align 4 ret i32 %52 } 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/tmppg_5fe3w.c' source_filename = "/tmp/tmppg_5fe3w.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 \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_nums(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppg_5fe3w.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 \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_nums(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpegk1hi33.c' source_filename = "/tmp/tmpegk1hi33.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/tmpegk1hi33.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/tmpc0ptqvpi.c' source_filename = "/tmp/tmpc0ptqvpi.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 [28 x i8] c"usage: environ var [value]\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Variable %s has value %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Variable %s has no value\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"out of memory\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"Calling putenv with: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"putenv failed\0A\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"New value of %s is %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [27 x i8] c"New value of %s is null??\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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 3 br i1 %13, label %14, label %18 14: ; preds = %11, %2 %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %11 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = call ptr @getenv(ptr noundef %22) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %30 26: ; preds = %18 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %7, align 8 %29 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27, ptr noundef %28) br label %33 30: ; preds = %18 %31 = load ptr, ptr %6, align 8 %32 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %31) br label %33 33: ; preds = %30, %26 %34 = load i32, ptr %4, align 4 %35 = icmp eq i32 %34, 3 br i1 %35, label %36, label %86 36: ; preds = %33 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 store ptr %39, ptr %7, align 8 %40 = load ptr, ptr %6, align 8 %41 = call i64 @strlen(ptr noundef %40) %42 = load ptr, ptr %7, align 8 %43 = call i64 @strlen(ptr noundef %42) %44 = add nsw i64 %41, %43 %45 = add nsw i64 %44, 2 %46 = call ptr @malloc(i64 noundef %45) store ptr %46, ptr %8, align 8 %47 = load ptr, ptr %8, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %53, label %49 49: ; preds = %36 %50 = load i32, ptr @stderr, align 4 %51 = call i32 @fprintf(i32 noundef %50, ptr noundef @.str.3) %52 = call i32 @exit(i32 noundef 1) #3 unreachable 53: ; preds = %36 %54 = load ptr, ptr %8, align 8 %55 = load ptr, ptr %6, align 8 %56 = call i32 @strcpy(ptr noundef %54, ptr noundef %55) %57 = load ptr, ptr %8, align 8 %58 = call i32 @strcat(ptr noundef %57, ptr noundef @.str.4) %59 = load ptr, ptr %8, align 8 %60 = load ptr, ptr %7, align 8 %61 = call i32 @strcat(ptr noundef %59, ptr noundef %60) %62 = load ptr, ptr %8, align 8 %63 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %62) %64 = load ptr, ptr %8, align 8 %65 = call i64 @putenv(ptr noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %73 67: ; preds = %53 %68 = load i32, ptr @stderr, align 4 %69 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str.6) %70 = load ptr, ptr %8, align 8 %71 = call i32 @free(ptr noundef %70) %72 = call i32 @exit(i32 noundef 1) #3 unreachable 73: ; preds = %53 %74 = load ptr, ptr %6, align 8 %75 = call ptr @getenv(ptr noundef %74) store ptr %75, ptr %7, align 8 %76 = load ptr, ptr %7, align 8 %77 = icmp ne ptr %76, null br i1 %77, label %78, label %82 78: ; preds = %73 %79 = load ptr, ptr %6, align 8 %80 = load ptr, ptr %7, align 8 %81 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %79, ptr noundef %80) br label %85 82: ; preds = %73 %83 = load ptr, ptr %6, align 8 %84 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %83) br label %85 85: ; preds = %82, %78 br label %86 86: ; preds = %85, %33 %87 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @getenv(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @putenv(ptr 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" } 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/tmpc0ptqvpi.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 [28 x i8] c"usage: environ var [value]\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Variable %s has value %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Variable %s has no value\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"out of memory\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"Calling putenv with: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"putenv failed\0A\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"New value of %s is %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [27 x i8] c"New value of %s is null??\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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 3 br i1 %13, label %14, label %18 14: ; preds = %11, %2 %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %11 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %6, align 8 %23 = call ptr @getenv(ptr noundef %22) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %30 26: ; preds = %18 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %7, align 8 %29 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27, ptr noundef %28) br label %33 30: ; preds = %18 %31 = load ptr, ptr %6, align 8 %32 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %31) br label %33 33: ; preds = %30, %26 %34 = load i32, ptr %4, align 4 %35 = icmp eq i32 %34, 3 br i1 %35, label %36, label %86 36: ; preds = %33 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 store ptr %39, ptr %7, align 8 %40 = load ptr, ptr %6, align 8 %41 = call i64 @strlen(ptr noundef %40) %42 = load ptr, ptr %7, align 8 %43 = call i64 @strlen(ptr noundef %42) %44 = add nsw i64 %41, %43 %45 = add nsw i64 %44, 2 %46 = call ptr @malloc(i64 noundef %45) store ptr %46, ptr %8, align 8 %47 = load ptr, ptr %8, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %53, label %49 49: ; preds = %36 %50 = load i32, ptr @stderr, align 4 %51 = call i32 @fprintf(i32 noundef %50, ptr noundef @.str.3) %52 = call i32 @exit(i32 noundef 1) #3 unreachable 53: ; preds = %36 %54 = load ptr, ptr %8, align 8 %55 = load ptr, ptr %6, align 8 %56 = call i32 @strcpy(ptr noundef %54, ptr noundef %55) %57 = load ptr, ptr %8, align 8 %58 = call i32 @strcat(ptr noundef %57, ptr noundef @.str.4) %59 = load ptr, ptr %8, align 8 %60 = load ptr, ptr %7, align 8 %61 = call i32 @strcat(ptr noundef %59, ptr noundef %60) %62 = load ptr, ptr %8, align 8 %63 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %62) %64 = load ptr, ptr %8, align 8 %65 = call i64 @putenv(ptr noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %73 67: ; preds = %53 %68 = load i32, ptr @stderr, align 4 %69 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str.6) %70 = load ptr, ptr %8, align 8 %71 = call i32 @free(ptr noundef %70) %72 = call i32 @exit(i32 noundef 1) #3 unreachable 73: ; preds = %53 %74 = load ptr, ptr %6, align 8 %75 = call ptr @getenv(ptr noundef %74) store ptr %75, ptr %7, align 8 %76 = load ptr, ptr %7, align 8 %77 = icmp ne ptr %76, null br i1 %77, label %78, label %82 78: ; preds = %73 %79 = load ptr, ptr %6, align 8 %80 = load ptr, ptr %7, align 8 %81 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %79, ptr noundef %80) br label %85 82: ; preds = %73 %83 = load ptr, ptr %6, align 8 %84 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %83) br label %85 85: ; preds = %82, %78 br label %86 86: ; preds = %85, %33 %87 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @getenv(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @putenv(ptr 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" } 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/tmpw1ijs4px.c' source_filename = "/tmp/tmpw1ijs4px.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/tmpw1ijs4px.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/tmphxaghbzx.c' source_filename = "/tmp/tmphxaghbzx.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 !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/tmphxaghbzx.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 !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/tmpjrhuqan1.c' source_filename = "/tmp/tmpjrhuqan1.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 @funcao1(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 @funcao2(ptr noundef %3) ret void } declare i32 @funcao2(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/tmpjrhuqan1.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 @funcao1(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 @funcao2(ptr noundef %3) ret void } declare i32 @funcao2(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/tmpw9xmm_3t.c' source_filename = "/tmp/tmpw9xmm_3t.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" @__ogg_fdcosqi.pih = internal global float 0x3FF921FB60000000, align 4 @__ogg_fdcosqi.k = internal global i32 0, align 4 @__ogg_fdcosqi.fk = internal global float 0.000000e+00, align 4 @__ogg_fdcosqi.dt = internal global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__ogg_fdcosqi(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load float, ptr @__ogg_fdcosqi.pih, align 4 %8 = load i32, ptr %4, align 4 %9 = sitofp i32 %8 to float %10 = fdiv float %7, %9 store float %10, ptr @__ogg_fdcosqi.dt, align 4 store float 0.000000e+00, ptr @__ogg_fdcosqi.fk, align 4 store i32 0, ptr @__ogg_fdcosqi.k, align 4 br label %11 11: ; preds = %28, %3 %12 = load i32, ptr @__ogg_fdcosqi.k, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %31 15: ; preds = %11 %16 = load float, ptr @__ogg_fdcosqi.fk, align 4 %17 = fpext float %16 to double %18 = fadd double %17, 1.000000e+00 %19 = fptrunc double %18 to float store float %19, ptr @__ogg_fdcosqi.fk, align 4 %20 = load float, ptr @__ogg_fdcosqi.fk, align 4 %21 = load float, ptr @__ogg_fdcosqi.dt, align 4 %22 = fmul float %20, %21 %23 = call float @cos(float noundef %22) %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr @__ogg_fdcosqi.k, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds float, ptr %24, i64 %26 store float %23, ptr %27, align 4 br label %28 28: ; preds = %15 %29 = load i32, ptr @__ogg_fdcosqi.k, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr @__ogg_fdcosqi.k, align 4 br label %11, !llvm.loop !6 31: ; preds = %11 %32 = load i32, ptr %4, align 4 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds float, ptr %33, i64 %35 %37 = load ptr, ptr %6, align 8 %38 = call i32 @__ogg_fdrffti(i32 noundef %32, ptr noundef %36, ptr noundef %37) ret void } declare float @cos(float noundef) #1 declare i32 @__ogg_fdrffti(i32 noundef, 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/tmpw9xmm_3t.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" @__ogg_fdcosqi.pih = internal global float 0x3FF921FB60000000, align 4 @__ogg_fdcosqi.k = internal global i32 0, align 4 @__ogg_fdcosqi.fk = internal global float 0.000000e+00, align 4 @__ogg_fdcosqi.dt = internal global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__ogg_fdcosqi(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load float, ptr @__ogg_fdcosqi.pih, align 4 %8 = load i32, ptr %4, align 4 %9 = sitofp i32 %8 to float %10 = fdiv float %7, %9 store float %10, ptr @__ogg_fdcosqi.dt, align 4 store float 0.000000e+00, ptr @__ogg_fdcosqi.fk, align 4 store i32 0, ptr @__ogg_fdcosqi.k, align 4 %11 = load i32, ptr @__ogg_fdcosqi.k, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %33 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %27 %15 = load float, ptr @__ogg_fdcosqi.fk, align 4 %16 = fpext float %15 to double %17 = fadd double %16, 1.000000e+00 %18 = fptrunc double %17 to float store float %18, ptr @__ogg_fdcosqi.fk, align 4 %19 = load float, ptr @__ogg_fdcosqi.fk, align 4 %20 = load float, ptr @__ogg_fdcosqi.dt, align 4 %21 = fmul float %19, %20 %22 = call float @cos(float noundef %21) %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr @__ogg_fdcosqi.k, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds float, ptr %23, i64 %25 store float %22, ptr %26, align 4 br label %27 27: ; preds = %14 %28 = load i32, ptr @__ogg_fdcosqi.k, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr @__ogg_fdcosqi.k, align 4 %30 = load i32, ptr @__ogg_fdcosqi.k, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %3 %34 = load i32, ptr %4, align 4 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds float, ptr %35, i64 %37 %39 = load ptr, ptr %6, align 8 %40 = call i32 @__ogg_fdrffti(i32 noundef %34, ptr noundef %38, ptr noundef %39) ret void } declare float @cos(float noundef) #1 declare i32 @__ogg_fdrffti(i32 noundef, 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/tmp3md2w_zw.c' source_filename = "/tmp/tmp3md2w_zw.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 [10 x i8] c"fail fork\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"exit parent\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"fail setsid\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"fail chdir\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"close files\0A\00", align 1 @NR_OPEN = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [14 x i8] c"redirect 012\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @O_RDWR = dso_local global i32 0, align 4 ; 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 %4 = call i32 (...) @fork() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %46 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %9 %13 = call i32 @printf(ptr noundef @.str.1) %14 = load i32, ptr @EXIT_SUCCESS, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %9 br label %17 17: ; preds = %16 %18 = call i32 (...) @setsid() %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %46 22: ; preds = %17 %23 = call i32 @chdir(ptr noundef @.str.3) %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 @perror(ptr noundef @.str.4) store i32 -1, ptr %1, align 4 br label %46 27: ; preds = %22 %28 = call i32 @printf(ptr noundef @.str.5) store i32 0, ptr %3, align 4 br label %29 29: ; preds = %36, %27 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr @NR_OPEN, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %39 33: ; preds = %29 %34 = load i32, ptr %3, align 4 %35 = call i32 @close(i32 noundef %34) br label %36 36: ; preds = %33 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %3, align 4 br label %29, !llvm.loop !6 39: ; preds = %29 %40 = call i32 @printf(ptr noundef @.str.6) %41 = load i32, ptr @O_RDWR, align 4 %42 = call i32 @open(ptr noundef @.str.7, i32 noundef %41) %43 = call i32 @dup(i32 noundef 0) %44 = call i32 @dup(i32 noundef 0) br label %45 45: ; preds = %39, %45 br label %45 46: ; preds = %25, %20, %7 %47 = load i32, ptr %1, align 4 ret i32 %47 } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @setsid(...) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @dup(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/tmp3md2w_zw.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 [10 x i8] c"fail fork\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"exit parent\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"fail setsid\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"fail chdir\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"close files\0A\00", align 1 @NR_OPEN = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [14 x i8] c"redirect 012\0A\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @O_RDWR = dso_local global i32 0, align 4 ; 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 %4 = call i32 (...) @fork() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %48 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %9 %13 = call i32 @printf(ptr noundef @.str.1) %14 = load i32, ptr @EXIT_SUCCESS, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %9 br label %17 17: ; preds = %16 %18 = call i32 (...) @setsid() %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %48 22: ; preds = %17 %23 = call i32 @chdir(ptr noundef @.str.3) %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 @perror(ptr noundef @.str.4) store i32 -1, ptr %1, align 4 br label %48 27: ; preds = %22 %28 = call i32 @printf(ptr noundef @.str.5) store i32 0, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr @NR_OPEN, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %41 .lr.ph: ; preds = %27 br label %32 32: ; preds = %.lr.ph, %35 %33 = load i32, ptr %3, align 4 %34 = call i32 @close(i32 noundef %33) br label %35 35: ; preds = %32 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr @NR_OPEN, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %27 %42 = call i32 @printf(ptr noundef @.str.6) %43 = load i32, ptr @O_RDWR, align 4 %44 = call i32 @open(ptr noundef @.str.7, i32 noundef %43) %45 = call i32 @dup(i32 noundef 0) %46 = call i32 @dup(i32 noundef 0) br label %47 47: ; preds = %47, %41 br label %47 48: ; preds = %25, %20, %7 %49 = load i32, ptr %1, align 4 ret i32 %49 } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @setsid(...) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @dup(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/tmpujmg6t_k.c' source_filename = "/tmp/tmpujmg6t_k.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 [26 x i8] c"THe max of 7 and 5 is %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 @Max(i32 noundef 7, i32 noundef 5) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpujmg6t_k.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 [26 x i8] c"THe max of 7 and 5 is %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 @Max(i32 noundef 7, i32 noundef 5) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 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"}
; ModuleID = '/tmp/tmpcq0fr14k.c' source_filename = "/tmp/tmpcq0fr14k.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 @do_tests(i32 noundef 14) %3 = call i32 @do_tests(i32 noundef 31) %4 = call i32 @do_tests(i32 noundef 32) %5 = call i32 @do_tests(i32 noundef 33) %6 = call i32 @do_tests(i32 noundef 60) %7 = call i32 @do_tests(i32 noundef 160) ret i32 0 } declare i32 @do_tests(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/tmpcq0fr14k.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 @do_tests(i32 noundef 14) %3 = call i32 @do_tests(i32 noundef 31) %4 = call i32 @do_tests(i32 noundef 32) %5 = call i32 @do_tests(i32 noundef 33) %6 = call i32 @do_tests(i32 noundef 60) %7 = call i32 @do_tests(i32 noundef 160) ret i32 0 } declare i32 @do_tests(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/tmpuodgwn45.c' source_filename = "/tmp/tmpuodgwn45.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 @WatchdogReloadGet(i64 noundef %0) #0 { %2 = alloca i64, align 8 store volatile i64 %0, ptr %2, align 8 %3 = load volatile i64, ptr %2, align 8 %4 = add nsw i64 %3, 0 %5 = inttoptr i64 %4 to ptr %6 = load volatile i64, ptr %5, align 8 ret i64 %6 } 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/tmpuodgwn45.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 @WatchdogReloadGet(i64 noundef %0) #0 { %2 = alloca i64, align 8 store volatile i64 %0, ptr %2, align 8 %3 = load volatile i64, ptr %2, align 8 %4 = add nsw i64 %3, 0 %5 = inttoptr i64 %4 to ptr %6 = load volatile i64, ptr %5, align 8 ret i64 %6 } 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/tmpojnjv31t.c' source_filename = "/tmp/tmpojnjv31t.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/tmpojnjv31t.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/tmp5cou0pin.c' source_filename = "/tmp/tmp5cou0pin.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" @FILENAME_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"File name: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"\07 Failed to open the file.\0A\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 %6 = load i32, ptr @FILENAME_MAX, align 4 %7 = zext i32 %6 to i64 %8 = call ptr @llvm.stacksave() store ptr %8, ptr %4, align 8 %9 = alloca i8, i64 %7, align 16 store i64 %7, ptr %5, align 8 %10 = call i32 @printf(ptr noundef @.str) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) %12 = call ptr @fopen(ptr noundef %9, ptr noundef @.str.2) store ptr %12, ptr %3, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.3) br label %28 16: ; preds = %0 br label %17 17: ; preds = %21, %16 %18 = call i32 (...) @getchar() store i32 %18, ptr %2, align 4 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br i1 %20, label %21, label %25 21: ; preds = %17 %22 = load i32, ptr %2, align 4 %23 = load ptr, ptr %3, align 8 %24 = call i32 @fputc(i32 noundef %22, ptr noundef %23) br label %17, !llvm.loop !6 25: ; preds = %17 %26 = load ptr, ptr %3, align 8 %27 = call i32 @fclose(ptr noundef %26) br label %28 28: ; preds = %25, %14 store i32 0, ptr %1, align 4 %29 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %29) %30 = load i32, ptr %1, align 4 ret i32 %30 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @getchar(...) #2 declare i32 @fputc(i32 noundef, ptr noundef) #2 declare i32 @fclose(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5cou0pin.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" @FILENAME_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"File name: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"\07 Failed to open the file.\0A\00", align 1 @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 %6 = load i32, ptr @FILENAME_MAX, align 4 %7 = zext i32 %6 to i64 %8 = call ptr @llvm.stacksave() store ptr %8, ptr %4, align 8 %9 = alloca i8, i64 %7, align 16 store i64 %7, ptr %5, align 8 %10 = call i32 @printf(ptr noundef @.str) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) %12 = call ptr @fopen(ptr noundef %9, ptr noundef @.str.2) store ptr %12, ptr %3, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @printf(ptr noundef @.str.3) br label %30 16: ; preds = %0 %17 = call i32 (...) @getchar() store i32 %17, ptr %2, align 4 %18 = load i32, ptr @EOF, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %.lr.ph, label %27 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %20 %21 = load i32, ptr %2, align 4 %22 = load ptr, ptr %3, align 8 %23 = call i32 @fputc(i32 noundef %21, ptr noundef %22) %24 = call i32 (...) @getchar() store i32 %24, ptr %2, align 4 %25 = load i32, ptr @EOF, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %27 27: ; preds = %._crit_edge, %16 %28 = load ptr, ptr %3, align 8 %29 = call i32 @fclose(ptr noundef %28) br label %30 30: ; preds = %27, %14 store i32 0, ptr %1, align 4 %31 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %31) %32 = load i32, ptr %1, align 4 ret i32 %32 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @getchar(...) #2 declare i32 @fputc(i32 noundef, ptr noundef) #2 declare i32 @fclose(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"}
; ModuleID = '/tmp/tmpsuqv7pye.c' source_filename = "/tmp/tmpsuqv7pye.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 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @stderr, align 4 %5 = call i32 @fputs(ptr noundef %3, i32 noundef %4) %6 = load i32, ptr @EXIT_FAILURE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fputs(ptr noundef, i32 noundef) #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/tmpsuqv7pye.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 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @stderr, align 4 %5 = call i32 @fputs(ptr noundef %3, i32 noundef %4) %6 = load i32, ptr @EXIT_FAILURE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fputs(ptr noundef, i32 noundef) #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/tmpvj0mfjba.c' source_filename = "/tmp/tmpvj0mfjba.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 @allocate_memory_for_profit(i64 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i64 %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 store ptr null, ptr %9, align 8 %10 = load i64, ptr %5, align 8 %11 = mul i64 %10, 8 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr %15 = load ptr, ptr %7, align 8 store ptr %14, ptr %15, align 8 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %16, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %3 store i32 -1, ptr %4, align 4 br label %42 20: ; preds = %3 store i32 0, ptr %8, align 4 br label %21 21: ; preds = %38, %20 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = load i64, ptr %5, align 8 %25 = icmp slt i64 %23, %24 br i1 %25, label %26, label %41 26: ; preds = %21 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = mul i64 %28, 8 %30 = trunc i64 %29 to i32 %31 = call i64 @malloc(i32 noundef %30) %32 = inttoptr i64 %31 to ptr %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 store ptr %32, ptr %37, align 8 br label %38 38: ; preds = %26 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 br label %21, !llvm.loop !6 41: ; preds = %21 store i32 1, ptr %4, align 4 br label %42 42: ; preds = %41, %19 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare i64 @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvj0mfjba.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 @allocate_memory_for_profit(i64 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i64 %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 store ptr null, ptr %9, align 8 %10 = load i64, ptr %5, align 8 %11 = mul i64 %10, 8 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr %15 = load ptr, ptr %7, align 8 store ptr %14, ptr %15, align 8 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %16, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %3 store i32 -1, ptr %4, align 4 br label %45 20: ; preds = %3 store i32 0, ptr %8, align 4 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = load i64, ptr %5, align 8 %24 = icmp slt i64 %22, %23 br i1 %24, label %.lr.ph, label %44 .lr.ph: ; preds = %20 br label %25 25: ; preds = %.lr.ph, %37 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = mul i64 %27, 8 %29 = trunc i64 %28 to i32 %30 = call i64 @malloc(i32 noundef %29) %31 = inttoptr i64 %30 to ptr %32 = load ptr, ptr %7, align 8 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 store ptr %31, ptr %36, align 8 br label %37 37: ; preds = %25 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = load i64, ptr %5, align 8 %43 = icmp slt i64 %41, %42 br i1 %43, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %44 44: ; preds = %._crit_edge, %20 store i32 1, ptr %4, align 4 br label %45 45: ; preds = %44, %19 %46 = load i32, ptr %4, align 4 ret i32 %46 } declare i64 @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"}
; ModuleID = '/tmp/tmpm5pjqob5.c' source_filename = "/tmp/tmpm5pjqob5.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 @makedname(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %12 = load ptr, ptr %7, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %11, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = load i32, ptr %11, align 4 %17 = add nsw i32 %15, %16 %18 = add nsw i32 %17, 2 %19 = load i32, ptr %9, align 4 %20 = icmp sgt i32 %18, %19 br i1 %20, label %21, label %22 21: ; preds = %4 store i32 0, ptr %5, align 4 br label %57 22: ; preds = %4 %23 = load ptr, ptr %8, align 8 store ptr %23, ptr %10, align 8 br label %24 24: ; preds = %29, %22 %25 = load ptr, ptr %6, align 8 %26 = load i8, ptr %25, align 1 %27 = icmp ne i8 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %24 br label %29 29: ; preds = %28 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %6, align 8 %32 = load i8, ptr %30, align 1 %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %10, align 8 store i8 %32, ptr %33, align 1 br label %24, !llvm.loop !6 35: ; preds = %24 %36 = load ptr, ptr %10, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 -1 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 47 br i1 %40, label %41, label %44 41: ; preds = %35 %42 = load ptr, ptr %10, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %10, align 8 store i8 47, ptr %42, align 1 br label %44 44: ; preds = %41, %35 br label %45 45: ; preds = %49, %44 %46 = load i32, ptr %11, align 4 %47 = add nsw i32 %46, -1 store i32 %47, ptr %11, align 4 %48 = icmp ne i32 %46, 0 br i1 %48, label %49, label %55 49: ; preds = %45 %50 = load ptr, ptr %7, align 8 %51 = getelementptr inbounds i8, ptr %50, i32 1 store ptr %51, ptr %7, align 8 %52 = load i8, ptr %50, align 1 %53 = load ptr, ptr %10, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %10, align 8 store i8 %52, ptr %53, align 1 br label %45, !llvm.loop !8 55: ; preds = %45 %56 = load ptr, ptr %10, align 8 store i8 0, ptr %56, align 1 store i32 1, ptr %5, align 4 br label %57 57: ; preds = %55, %21 %58 = load i32, ptr %5, align 4 ret i32 %58 } declare i32 @strlen(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/tmpm5pjqob5.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 @makedname(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %12 = load ptr, ptr %7, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %11, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = load i32, ptr %11, align 4 %17 = add nsw i32 %15, %16 %18 = add nsw i32 %17, 2 %19 = load i32, ptr %9, align 4 %20 = icmp sgt i32 %18, %19 br i1 %20, label %21, label %22 21: ; preds = %4 store i32 0, ptr %5, align 4 br label %61 22: ; preds = %4 %23 = load ptr, ptr %8, align 8 store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %6, align 8 %25 = load i8, ptr %24, align 1 %26 = icmp ne i8 %25, 0 br i1 %26, label %.lr.ph, label %37 .lr.ph: ; preds = %22 br label %27 27: ; preds = %.lr.ph, %28 br label %28 28: ; preds = %27 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %6, align 8 %31 = load i8, ptr %29, align 1 %32 = load ptr, ptr %10, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %10, align 8 store i8 %31, ptr %32, align 1 %34 = load ptr, ptr %6, align 8 %35 = load i8, ptr %34, align 1 %36 = icmp ne i8 %35, 0 br i1 %36, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %37 37: ; preds = %._crit_edge, %22 %38 = load ptr, ptr %10, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 -1 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 47 br i1 %42, label %43, label %46 43: ; preds = %37 %44 = load ptr, ptr %10, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %10, align 8 store i8 47, ptr %44, align 1 br label %46 46: ; preds = %43, %37 %47 = load i32, ptr %11, align 4 %48 = add nsw i32 %47, -1 store i32 %48, ptr %11, align 4 %49 = icmp ne i32 %47, 0 br i1 %49, label %.lr.ph2, label %59 .lr.ph2: ; preds = %46 br label %50 50: ; preds = %.lr.ph2, %50 %51 = load ptr, ptr %7, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %7, align 8 %53 = load i8, ptr %51, align 1 %54 = load ptr, ptr %10, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %10, align 8 store i8 %53, ptr %54, align 1 %56 = load i32, ptr %11, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %11, align 4 %58 = icmp ne i32 %56, 0 br i1 %58, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %59 59: ; preds = %._crit_edge3, %46 %60 = load ptr, ptr %10, align 8 store i8 0, ptr %60, align 1 store i32 1, ptr %5, align 4 br label %61 61: ; preds = %59, %21 %62 = load i32, ptr %5, align 4 ret i32 %62 } declare i32 @strlen(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/tmpg1u6637k.c' source_filename = "/tmp/tmpg1u6637k.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" @monitor_once.buffer = internal global [65535 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [5 x i8] c"read\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @monitor_once(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @read(i32 noundef %6, ptr noundef @monitor_once.buffer, i32 noundef 65535) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp sle i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @perror(ptr noundef @.str) br label %15 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call i32 @print_ethernet_header(ptr noundef @monitor_once.buffer, ptr noundef %13) br label %15 15: ; preds = %12, %10 %16 = load i32, ptr %5, align 4 ret i32 %16 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @print_ethernet_header(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/tmpg1u6637k.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" @monitor_once.buffer = internal global [65535 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [5 x i8] c"read\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @monitor_once(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @read(i32 noundef %6, ptr noundef @monitor_once.buffer, i32 noundef 65535) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp sle i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @perror(ptr noundef @.str) br label %15 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call i32 @print_ethernet_header(ptr noundef @monitor_once.buffer, ptr noundef %13) br label %15 15: ; preds = %12, %10 %16 = load i32, ptr %5, align 4 ret i32 %16 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @print_ethernet_header(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/tmpz5gqtyin.c' source_filename = "/tmp/tmpz5gqtyin.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 [7 x i8] c"puppet\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c" #comment\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"comment\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"#comment\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c" /*comment*/\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"/*comment*/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_puppet_comment_entities() #0 { %1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3) %3 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.4) %4 = call i32 @test_parser_verify_entity(i32 noundef %3, ptr noundef @.str.2, ptr noundef @.str.5) ret void } declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @test_parser_sourcefile(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/tmpz5gqtyin.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 [7 x i8] c"puppet\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c" #comment\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"comment\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"#comment\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c" /*comment*/\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"/*comment*/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_puppet_comment_entities() #0 { %1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @test_parser_verify_entity(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3) %3 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.4) %4 = call i32 @test_parser_verify_entity(i32 noundef %3, ptr noundef @.str.2, ptr noundef @.str.5) ret void } declare i32 @test_parser_verify_entity(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @test_parser_sourcefile(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/tmp_0ao53mt.c' source_filename = "/tmp/tmp_0ao53mt.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 @internal_acos_i(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @acos(i32 noundef %3) ret i32 %4 } declare i32 @acos(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/tmp_0ao53mt.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 @internal_acos_i(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @acos(i32 noundef %3) ret i32 %4 } declare i32 @acos(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/tmprqmcf2w_.c' source_filename = "/tmp/tmprqmcf2w_.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" @_SC_PAGESIZE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr @_SC_PAGESIZE, align 4 %8 = call i32 @sysconf(i32 noundef %7) %9 = call ptr @_itoa(i32 noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = call i32 @write(i32 noundef 1, ptr noundef %10, i32 noundef %12) %14 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1) ret i32 0 } declare ptr @_itoa(i32 noundef) #1 declare i32 @sysconf(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(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/tmprqmcf2w_.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" @_SC_PAGESIZE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr @_SC_PAGESIZE, align 4 %8 = call i32 @sysconf(i32 noundef %7) %9 = call ptr @_itoa(i32 noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = call i32 @write(i32 noundef 1, ptr noundef %10, i32 noundef %12) %14 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1) ret i32 0 } declare ptr @_itoa(i32 noundef) #1 declare i32 @sysconf(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(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/tmpfl6anvjb.c' source_filename = "/tmp/tmpfl6anvjb.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"Input the total pls:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Money is %.2f\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 i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %3, align 4 store i32 2, ptr %4, align 4 %6 = load i32, ptr %4, align 4 store i32 %6, ptr %5, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %9 9: ; preds = %14, %0 %10 = load i32, ptr %4, align 4 %11 = mul nsw i32 2, %10 %12 = load i32, ptr %2, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %14, label %22 14: ; preds = %9 %15 = load i32, ptr %4, align 4 %16 = mul nsw i32 %15, 2 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, %19 store i32 %21, ptr %5, align 4 br label %9, !llvm.loop !6 22: ; preds = %9 %23 = load i32, ptr %5, align 4 %24 = sitofp i32 %23 to double %25 = fmul double %24, 8.000000e-01 %26 = load i32, ptr %3, align 4 %27 = sitofp i32 %26 to double %28 = fdiv double %25, %27 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %28) 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/tmpfl6anvjb.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"Input the total pls:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Money is %.2f\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 i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %3, align 4 store i32 2, ptr %4, align 4 %6 = load i32, ptr %4, align 4 store i32 %6, ptr %5, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = load i32, ptr %4, align 4 %10 = mul nsw i32 2, %9 %11 = load i32, ptr %2, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %13 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %14, 2 store i32 %15, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, %18 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = mul nsw i32 2, %21 %23 = load i32, ptr %2, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %25 25: ; preds = %._crit_edge, %0 %26 = load i32, ptr %5, align 4 %27 = sitofp i32 %26 to double %28 = fmul double %27, 8.000000e-01 %29 = load i32, ptr %3, align 4 %30 = sitofp i32 %29 to double %31 = fdiv double %28, %30 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %31) 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/tmp3y2gndxo.c' source_filename = "/tmp/tmp3y2gndxo.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/tmp3y2gndxo.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/tmpl2y8fyfs.c' source_filename = "/tmp/tmpl2y8fyfs.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/tmpl2y8fyfs.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/tmpuh4vy3er.c' source_filename = "/tmp/tmpuh4vy3er.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 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 1, ptr %5, align 4 store i32 0, ptr %4, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %29 9: ; preds = %0 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %28 13: ; preds = %9 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp sge i32 %15, %16 br i1 %17, label %18, label %20 18: ; preds = %13 %19 = load i32, ptr %4, align 4 br label %22 20: ; preds = %13 %21 = load i32, ptr %3, align 4 br label %22 22: ; preds = %20, %18 %23 = phi i32 [ %19, %18 ], [ %21, %20 ] store i32 %23, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %4, align 4 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %26) br label %28 28: ; preds = %22, %9 store i32 0, ptr %1, align 4 br label %29 29: ; preds = %28, %0 %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @scanf(ptr noundef, ptr noundef) #1 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" } !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/tmpuh4vy3er.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 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 1, ptr %5, align 4 store i32 0, ptr %4, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %29 9: ; preds = %0 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %13, label %28 13: ; preds = %9 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp sge i32 %15, %16 br i1 %17, label %18, label %20 18: ; preds = %13 %19 = load i32, ptr %4, align 4 br label %22 20: ; preds = %13 %21 = load i32, ptr %3, align 4 br label %22 22: ; preds = %20, %18 %23 = phi i32 [ %19, %18 ], [ %21, %20 ] store i32 %23, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %4, align 4 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %26) br label %28 28: ; preds = %22, %9 store i32 0, ptr %1, align 4 br label %29 29: ; preds = %28, %0 %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @scanf(ptr noundef, ptr noundef) #1 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" } !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/tmpxzn7rs3k.c' source_filename = "/tmp/tmpxzn7rs3k.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"Enter the no. of elements in the array.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Enter the elements of the array\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"\0A\0AArray after bubblesort is.\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"\0A\0A\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 ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %3, align 8 %12 = alloca i32, i64 %10, align 16 store i64 %10, ptr %4, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %5, align 4 br label %14 14: ; preds = %23, %0 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %26 18: ; preds = %14 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %12, i64 %20 %22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %21) br label %23 23: ; preds = %18 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %14, !llvm.loop !6 26: ; preds = %14 %27 = load i32, ptr %2, align 4 %28 = call i32 @bubblesort(ptr noundef %12, i32 noundef %27) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %6, align 4 br label %30 30: ; preds = %40, %26 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %43 34: ; preds = %30 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %12, i64 %36 %38 = load i32, ptr %37, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %38) br label %40 40: ; preds = %34 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %30, !llvm.loop !8 43: ; preds = %30 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %45 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %45) %46 = load i32, ptr %1, align 4 ret i32 %46 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @bubblesort(ptr noundef, i32 noundef) #1 ; 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 = { "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 willreturn } !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/tmpxzn7rs3k.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"Enter the no. of elements in the array.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Enter the elements of the array\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"\0A\0AArray after bubblesort is.\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"\0A\0A\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 ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %3, align 8 %12 = alloca i32, i64 %10, align 16 store i64 %10, ptr %4, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %22 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %12, i64 %19 %21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %17 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %0 %29 = load i32, ptr %2, align 4 %30 = call i32 @bubblesort(ptr noundef %12, i32 noundef %29) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %47 .lr.ph2: ; preds = %28 br label %35 35: ; preds = %.lr.ph2, %41 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %12, i64 %37 %39 = load i32, ptr %38, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %39) br label %41 41: ; preds = %35 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %2, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %47 47: ; preds = %._crit_edge3, %28 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %49 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %49) %50 = load i32, ptr %1, align 4 ret i32 %50 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @bubblesort(ptr noundef, i32 noundef) #1 ; 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 = { "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 willreturn } !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/tmpy8h98x5w.c' source_filename = "/tmp/tmpy8h98x5w.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"Can't malloc %d byte%s\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @CheckMalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %14, label %7 7: ; preds = %1 %8 = load i64, ptr %2, align 8 %9 = load i64, ptr %2, align 8 %10 = icmp eq i64 %9, 1 %11 = zext i1 %10 to i64 %12 = select i1 %10, ptr @.str.1, ptr @.str.2 %13 = call i32 @msgMessage(i32 noundef 6145, ptr noundef @.str, i64 noundef %8, ptr noundef %12) br label %14 14: ; preds = %7, %1 %15 = load ptr, ptr %3, align 8 ret ptr %15 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @msgMessage(i32 noundef, ptr noundef, i64 noundef, ptr 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 = { allocsize(0) "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 = { allocsize(0) } !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/tmpy8h98x5w.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"Can't malloc %d byte%s\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @CheckMalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %14, label %7 7: ; preds = %1 %8 = load i64, ptr %2, align 8 %9 = load i64, ptr %2, align 8 %10 = icmp eq i64 %9, 1 %11 = zext i1 %10 to i64 %12 = select i1 %10, ptr @.str.1, ptr @.str.2 %13 = call i32 @msgMessage(i32 noundef 6145, ptr noundef @.str, i64 noundef %8, ptr noundef %12) br label %14 14: ; preds = %7, %1 %15 = load ptr, ptr %3, align 8 ret ptr %15 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @msgMessage(i32 noundef, ptr noundef, i64 noundef, ptr 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 = { allocsize(0) "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 = { allocsize(0) } !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/tmptlzwg5zu.c' source_filename = "/tmp/tmptlzwg5zu.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 @Ln_Beta_Function(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = fpext double %5 to x86_fp80 %7 = load double, ptr %4, align 8 %8 = fpext double %7 to x86_fp80 %9 = call i64 @xLn_Beta_Function(x86_fp80 noundef %6, x86_fp80 noundef %8) %10 = sitofp i64 %9 to double ret double %10 } declare i64 @xLn_Beta_Function(x86_fp80 noundef, x86_fp80 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/tmptlzwg5zu.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 @Ln_Beta_Function(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = fpext double %5 to x86_fp80 %7 = load double, ptr %4, align 8 %8 = fpext double %7 to x86_fp80 %9 = call i64 @xLn_Beta_Function(x86_fp80 noundef %6, x86_fp80 noundef %8) %10 = sitofp i64 %9 to double ret double %10 } declare i64 @xLn_Beta_Function(x86_fp80 noundef, x86_fp80 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/tmppu0oycr_.c' source_filename = "/tmp/tmppu0oycr_.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 [26 x i8] c"If this worked correctly\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"this value should be four more than\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"entered.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @function1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %6, align 4 %8 = add nsw i32 %7, 4 store i32 %8, ptr %6, align 4 ret i32 %8 } 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/tmppu0oycr_.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 [26 x i8] c"If this worked correctly\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"this value should be four more than\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"entered.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @function1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %6, align 4 %8 = add nsw i32 %7, 4 store i32 %8, ptr %6, align 4 ret i32 %8 } 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/tmpv96prooe.c' source_filename = "/tmp/tmpv96prooe.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 [63 x i8] c"<path d=\22M %u %u A%u,%u 0 0,1 %u,%u\22 stroke=\22%s\22 fill=\22none\22/>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SvgArc(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %19 = load i32, ptr %9, align 4 %20 = uitofp i32 %19 to float %21 = load i32, ptr %10, align 4 %22 = uitofp i32 %21 to float %23 = load i32, ptr %11, align 4 %24 = uitofp i32 %23 to float %25 = load i32, ptr %12, align 4 %26 = uitofp i32 %25 to float %27 = load i32, ptr %13, align 4 %28 = uitofp i32 %27 to float %29 = call i32 @arcPoint(float noundef %20, float noundef %22, float noundef %24, float noundef %26, float noundef %28, ptr noundef %15, ptr noundef %16) %30 = load i32, ptr %9, align 4 %31 = uitofp i32 %30 to float %32 = load i32, ptr %10, align 4 %33 = uitofp i32 %32 to float %34 = load i32, ptr %11, align 4 %35 = uitofp i32 %34 to float %36 = load i32, ptr %12, align 4 %37 = uitofp i32 %36 to float %38 = load i32, ptr %14, align 4 %39 = uitofp i32 %38 to float %40 = call i32 @arcPoint(float noundef %31, float noundef %33, float noundef %35, float noundef %37, float noundef %39, ptr noundef %17, ptr noundef %18) %41 = load ptr, ptr %8, align 8 %42 = call i32 @getSvgFile(ptr noundef %41) %43 = load i32, ptr %15, align 4 %44 = load i32, ptr %16, align 4 %45 = load i32, ptr %11, align 4 %46 = udiv i32 %45, 2 %47 = load i32, ptr %12, align 4 %48 = udiv i32 %47, 2 %49 = load i32, ptr %17, align 4 %50 = load i32, ptr %18, align 4 %51 = load ptr, ptr %8, align 8 %52 = call ptr @getSvgPen(ptr noundef %51) %53 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str, i32 noundef %43, i32 noundef %44, i32 noundef %46, i32 noundef %48, i32 noundef %49, i32 noundef %50, ptr noundef %52) ret void } declare i32 @arcPoint(float noundef, float noundef, float noundef, float noundef, float noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @getSvgFile(ptr noundef) #1 declare ptr @getSvgPen(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/tmpv96prooe.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 [63 x i8] c"<path d=\22M %u %u A%u,%u 0 0,1 %u,%u\22 stroke=\22%s\22 fill=\22none\22/>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SvgArc(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store ptr %0, ptr %8, align 8 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %19 = load i32, ptr %9, align 4 %20 = uitofp i32 %19 to float %21 = load i32, ptr %10, align 4 %22 = uitofp i32 %21 to float %23 = load i32, ptr %11, align 4 %24 = uitofp i32 %23 to float %25 = load i32, ptr %12, align 4 %26 = uitofp i32 %25 to float %27 = load i32, ptr %13, align 4 %28 = uitofp i32 %27 to float %29 = call i32 @arcPoint(float noundef %20, float noundef %22, float noundef %24, float noundef %26, float noundef %28, ptr noundef %15, ptr noundef %16) %30 = load i32, ptr %9, align 4 %31 = uitofp i32 %30 to float %32 = load i32, ptr %10, align 4 %33 = uitofp i32 %32 to float %34 = load i32, ptr %11, align 4 %35 = uitofp i32 %34 to float %36 = load i32, ptr %12, align 4 %37 = uitofp i32 %36 to float %38 = load i32, ptr %14, align 4 %39 = uitofp i32 %38 to float %40 = call i32 @arcPoint(float noundef %31, float noundef %33, float noundef %35, float noundef %37, float noundef %39, ptr noundef %17, ptr noundef %18) %41 = load ptr, ptr %8, align 8 %42 = call i32 @getSvgFile(ptr noundef %41) %43 = load i32, ptr %15, align 4 %44 = load i32, ptr %16, align 4 %45 = load i32, ptr %11, align 4 %46 = udiv i32 %45, 2 %47 = load i32, ptr %12, align 4 %48 = udiv i32 %47, 2 %49 = load i32, ptr %17, align 4 %50 = load i32, ptr %18, align 4 %51 = load ptr, ptr %8, align 8 %52 = call ptr @getSvgPen(ptr noundef %51) %53 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str, i32 noundef %43, i32 noundef %44, i32 noundef %46, i32 noundef %48, i32 noundef %49, i32 noundef %50, ptr noundef %52) ret void } declare i32 @arcPoint(float noundef, float noundef, float noundef, float noundef, float noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @getSvgFile(ptr noundef) #1 declare ptr @getSvgPen(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/tmperno3c9f.c' source_filename = "/tmp/tmperno3c9f.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 @gc_content(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 double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store double 0.000000e+00, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 %10 = load i32, ptr %5, align 4 store i32 %10, ptr %9, align 4 br label %11 11: ; preds = %31, %3 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %15, label %34 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %9, align 4 %18 = call i32 @is_g(ptr noundef %16, i32 noundef %17) %19 = icmp eq i32 %18, 1 br i1 %19, label %25, label %20 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %9, align 4 %23 = call i32 @is_c(ptr noundef %21, i32 noundef %22) %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %28 25: ; preds = %20, %15 %26 = load double, ptr %8, align 8 %27 = fadd double %26, 1.000000e+00 store double %27, ptr %8, align 8 br label %28 28: ; preds = %25, %20 %29 = load double, ptr %7, align 8 %30 = fadd double %29, 1.000000e+00 store double %30, ptr %7, align 8 br label %31 31: ; preds = %28 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %9, align 4 br label %11, !llvm.loop !6 34: ; preds = %11 %35 = load double, ptr %8, align 8 %36 = load double, ptr %7, align 8 %37 = fdiv double %35, %36 ret double %37 } declare i32 @is_g(ptr noundef, i32 noundef) #1 declare i32 @is_c(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/tmperno3c9f.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 @gc_content(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 double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store double 0.000000e+00, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 %10 = load i32, ptr %5, align 4 store i32 %10, ptr %9, align 4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %.lr.ph, label %36 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %30 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %9, align 4 %17 = call i32 @is_g(ptr noundef %15, i32 noundef %16) %18 = icmp eq i32 %17, 1 br i1 %18, label %24, label %19 19: ; preds = %14 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %9, align 4 %22 = call i32 @is_c(ptr noundef %20, i32 noundef %21) %23 = icmp eq i32 %22, 1 br i1 %23, label %24, label %27 24: ; preds = %19, %14 %25 = load double, ptr %8, align 8 %26 = fadd double %25, 1.000000e+00 store double %26, ptr %8, align 8 br label %27 27: ; preds = %24, %19 %28 = load double, ptr %7, align 8 %29 = fadd double %28, 1.000000e+00 store double %29, ptr %7, align 8 br label %30 30: ; preds = %27 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %9, align 4 %33 = load i32, ptr %9, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp sle i32 %33, %34 br i1 %35, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %3 %37 = load double, ptr %8, align 8 %38 = load double, ptr %7, align 8 %39 = fdiv double %37, %38 ret double %39 } declare i32 @is_g(ptr noundef, i32 noundef) #1 declare i32 @is_c(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/tmpfp8u293p.c' source_filename = "/tmp/tmpfp8u293p.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" @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/tmpfp8u293p.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" @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/tmp2h8m2lx4.c' source_filename = "/tmp/tmp2h8m2lx4.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 @test72(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @_mm_srli_si64(i32 noundef %3, i32 noundef 3) ret i32 %4 } declare i32 @_mm_srli_si64(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/tmp2h8m2lx4.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 @test72(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @_mm_srli_si64(i32 noundef %3, i32 noundef 3) ret i32 %4 } declare i32 @_mm_srli_si64(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/tmpp_3qrpxr.c' source_filename = "/tmp/tmpp_3qrpxr.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 [11 x i8] c" ? line : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %9 = load i32, ptr %6, align 4 %10 = call i32 @printPascal(i32 noundef %9) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printPascal(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/tmpp_3qrpxr.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 [11 x i8] c" ? line : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %9 = load i32, ptr %6, align 4 %10 = call i32 @printPascal(i32 noundef %9) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printPascal(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/tmporlpvsfr.c' source_filename = "/tmp/tmporlpvsfr.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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @questions(i32 noundef 5) ret i32 0 } declare i32 @questions(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/tmporlpvsfr.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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @questions(i32 noundef 5) ret i32 0 } declare i32 @questions(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/tmpemjv6a27.c' source_filename = "/tmp/tmpemjv6a27.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/tmpemjv6a27.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/tmpha3_30ru.c' source_filename = "/tmp/tmpha3_30ru.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 [36 x i8] c"Digite o Sal\C3\A1rio do Funcion\C3\A1rio: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [53 x i8] c"Favor entrar com o Tempo de Servico do Funcionario: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"O Sal\C3\A1rio Final: R$ %.2f\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 float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2) %9 = load float, ptr %3, align 4 %10 = fcmp ole float %9, 5.000000e+02 br i1 %10, label %11, label %16 11: ; preds = %0 %12 = load float, ptr %3, align 4 %13 = fpext float %12 to double %14 = fmul double %13, 1.250000e+00 %15 = fptrunc double %14 to float store float %15, ptr %4, align 4 br label %54 16: ; preds = %0 %17 = load float, ptr %3, align 4 %18 = fcmp ogt float %17, 5.000000e+02 br i1 %18, label %19, label %27 19: ; preds = %16 %20 = load float, ptr %3, align 4 %21 = fcmp ole float %20, 1.000000e+03 br i1 %21, label %22, label %27 22: ; preds = %19 %23 = load float, ptr %3, align 4 %24 = fpext float %23 to double %25 = fmul double %24, 1.200000e+00 %26 = fptrunc double %25 to float store float %26, ptr %4, align 4 br label %53 27: ; preds = %19, %16 %28 = load float, ptr %3, align 4 %29 = fcmp ogt float %28, 1.000000e+03 br i1 %29, label %30, label %38 30: ; preds = %27 %31 = load float, ptr %3, align 4 %32 = fcmp ole float %31, 1.500000e+03 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load float, ptr %3, align 4 %35 = fpext float %34 to double %36 = fmul double %35, 1.150000e+00 %37 = fptrunc double %36 to float store float %37, ptr %4, align 4 br label %52 38: ; preds = %30, %27 %39 = load float, ptr %3, align 4 %40 = fcmp ogt float %39, 1.500000e+03 br i1 %40, label %41, label %49 41: ; preds = %38 %42 = load float, ptr %3, align 4 %43 = fcmp ole float %42, 2.000000e+03 br i1 %43, label %44, label %49 44: ; preds = %41 %45 = load float, ptr %3, align 4 %46 = fpext float %45 to double %47 = fmul double %46, 1.100000e+00 %48 = fptrunc double %47 to float store float %48, ptr %4, align 4 br label %51 49: ; preds = %41, %38 %50 = load float, ptr %3, align 4 store float %50, ptr %4, align 4 br label %51 51: ; preds = %49, %44 br label %52 52: ; preds = %51, %33 br label %53 53: ; preds = %52, %22 br label %54 54: ; preds = %53, %11 %55 = load i32, ptr %2, align 4 switch i32 %55, label %74 [ i32 0, label %56 i32 1, label %56 i32 2, label %59 i32 3, label %59 i32 4, label %64 i32 5, label %64 i32 6, label %64 i32 7, label %69 i32 8, label %69 i32 9, label %69 i32 10, label %69 ] 56: ; preds = %54, %54 %57 = load float, ptr %4, align 4 %58 = fadd float %57, 0.000000e+00 store float %58, ptr %4, align 4 br label %79 59: ; preds = %54, %54 %60 = load float, ptr %4, align 4 %61 = fpext float %60 to double %62 = fadd double %61, 1.000000e+02 %63 = fptrunc double %62 to float store float %63, ptr %4, align 4 br label %79 64: ; preds = %54, %54, %54 %65 = load float, ptr %4, align 4 %66 = fpext float %65 to double %67 = fadd double %66, 2.000000e+02 %68 = fptrunc double %67 to float store float %68, ptr %4, align 4 br label %79 69: ; preds = %54, %54, %54, %54 %70 = load float, ptr %4, align 4 %71 = fpext float %70 to double %72 = fadd double %71, 3.000000e+02 %73 = fptrunc double %72 to float store float %73, ptr %4, align 4 br label %79 74: ; preds = %54 %75 = load float, ptr %4, align 4 %76 = fpext float %75 to double %77 = fadd double %76, 5.000000e+02 %78 = fptrunc double %77 to float store float %78, ptr %4, align 4 br label %79 79: ; preds = %74, %69, %64, %59, %56 %80 = load float, ptr %4, align 4 %81 = fpext float %80 to double %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %81) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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/tmpha3_30ru.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 [36 x i8] c"Digite o Sal\C3\A1rio do Funcion\C3\A1rio: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [53 x i8] c"Favor entrar com o Tempo de Servico do Funcionario: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"O Sal\C3\A1rio Final: R$ %.2f\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 float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2) %9 = load float, ptr %3, align 4 %10 = fcmp ole float %9, 5.000000e+02 br i1 %10, label %11, label %16 11: ; preds = %0 %12 = load float, ptr %3, align 4 %13 = fpext float %12 to double %14 = fmul double %13, 1.250000e+00 %15 = fptrunc double %14 to float store float %15, ptr %4, align 4 br label %54 16: ; preds = %0 %17 = load float, ptr %3, align 4 %18 = fcmp ogt float %17, 5.000000e+02 br i1 %18, label %19, label %27 19: ; preds = %16 %20 = load float, ptr %3, align 4 %21 = fcmp ole float %20, 1.000000e+03 br i1 %21, label %22, label %27 22: ; preds = %19 %23 = load float, ptr %3, align 4 %24 = fpext float %23 to double %25 = fmul double %24, 1.200000e+00 %26 = fptrunc double %25 to float store float %26, ptr %4, align 4 br label %53 27: ; preds = %19, %16 %28 = load float, ptr %3, align 4 %29 = fcmp ogt float %28, 1.000000e+03 br i1 %29, label %30, label %38 30: ; preds = %27 %31 = load float, ptr %3, align 4 %32 = fcmp ole float %31, 1.500000e+03 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load float, ptr %3, align 4 %35 = fpext float %34 to double %36 = fmul double %35, 1.150000e+00 %37 = fptrunc double %36 to float store float %37, ptr %4, align 4 br label %52 38: ; preds = %30, %27 %39 = load float, ptr %3, align 4 %40 = fcmp ogt float %39, 1.500000e+03 br i1 %40, label %41, label %49 41: ; preds = %38 %42 = load float, ptr %3, align 4 %43 = fcmp ole float %42, 2.000000e+03 br i1 %43, label %44, label %49 44: ; preds = %41 %45 = load float, ptr %3, align 4 %46 = fpext float %45 to double %47 = fmul double %46, 1.100000e+00 %48 = fptrunc double %47 to float store float %48, ptr %4, align 4 br label %51 49: ; preds = %41, %38 %50 = load float, ptr %3, align 4 store float %50, ptr %4, align 4 br label %51 51: ; preds = %49, %44 br label %52 52: ; preds = %51, %33 br label %53 53: ; preds = %52, %22 br label %54 54: ; preds = %53, %11 %55 = load i32, ptr %2, align 4 switch i32 %55, label %74 [ i32 0, label %56 i32 1, label %56 i32 2, label %59 i32 3, label %59 i32 4, label %64 i32 5, label %64 i32 6, label %64 i32 7, label %69 i32 8, label %69 i32 9, label %69 i32 10, label %69 ] 56: ; preds = %54, %54 %57 = load float, ptr %4, align 4 %58 = fadd float %57, 0.000000e+00 store float %58, ptr %4, align 4 br label %79 59: ; preds = %54, %54 %60 = load float, ptr %4, align 4 %61 = fpext float %60 to double %62 = fadd double %61, 1.000000e+02 %63 = fptrunc double %62 to float store float %63, ptr %4, align 4 br label %79 64: ; preds = %54, %54, %54 %65 = load float, ptr %4, align 4 %66 = fpext float %65 to double %67 = fadd double %66, 2.000000e+02 %68 = fptrunc double %67 to float store float %68, ptr %4, align 4 br label %79 69: ; preds = %54, %54, %54, %54 %70 = load float, ptr %4, align 4 %71 = fpext float %70 to double %72 = fadd double %71, 3.000000e+02 %73 = fptrunc double %72 to float store float %73, ptr %4, align 4 br label %79 74: ; preds = %54 %75 = load float, ptr %4, align 4 %76 = fpext float %75 to double %77 = fadd double %76, 5.000000e+02 %78 = fptrunc double %77 to float store float %78, ptr %4, align 4 br label %79 79: ; preds = %74, %69, %64, %59, %56 %80 = load float, ptr %4, align 4 %81 = fpext float %80 to double %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %81) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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/tmpiupwzo6c.c' source_filename = "/tmp/tmpiupwzo6c.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 [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @util_check_filename_access(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %20 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %9 store i32 -1, ptr %2, align 4 br label %23 15: ; preds = %9 %16 = load ptr, ptr %4, align 8 %17 = call i32 @fclose(ptr noundef %16) %18 = load ptr, ptr %3, align 8 %19 = call i32 @ioutil_remove(ptr noundef %18) store i32 0, ptr %2, align 4 br label %23 20: ; preds = %1 %21 = load ptr, ptr %4, align 8 %22 = call i32 @fclose(ptr noundef %21) store i32 0, ptr %2, align 4 br label %23 23: ; preds = %20, %15, %14 %24 = load i32, ptr %2, align 4 ret i32 %24 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @ioutil_remove(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/tmpiupwzo6c.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 [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @util_check_filename_access(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %20 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %9 store i32 -1, ptr %2, align 4 br label %23 15: ; preds = %9 %16 = load ptr, ptr %4, align 8 %17 = call i32 @fclose(ptr noundef %16) %18 = load ptr, ptr %3, align 8 %19 = call i32 @ioutil_remove(ptr noundef %18) store i32 0, ptr %2, align 4 br label %23 20: ; preds = %1 %21 = load ptr, ptr %4, align 8 %22 = call i32 @fclose(ptr noundef %21) store i32 0, ptr %2, align 4 br label %23 23: ; preds = %20, %15, %14 %24 = load i32, ptr %2, align 4 ret i32 %24 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @ioutil_remove(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/tmpetsdzhns.c' source_filename = "/tmp/tmpetsdzhns.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 [25 x i8] c"Iingrese algun parametro\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"La cantidad de argumentos ingresados es: %d\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = call i32 @perror(ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %13, 1 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) store i32 0, ptr %6, align 4 br label %16 16: ; preds = %27, %12 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %30 20: ; preds = %16 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i32 @puts(ptr noundef %25) br label %27 27: ; preds = %20 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 br label %16, !llvm.loop !6 30: ; preds = %16 ret i32 0 } declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @puts(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" } 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/tmpetsdzhns.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 [25 x i8] c"Iingrese algun parametro\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"La cantidad de argumentos ingresados es: %d\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = call i32 @perror(ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %13, 1 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) store i32 0, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %32 .lr.ph: ; preds = %12 br label %19 19: ; preds = %.lr.ph, %26 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i32 @puts(ptr noundef %24) br label %26 26: ; preds = %19 %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 = load i32, ptr %4, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %12 ret i32 0 } declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @puts(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" } 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/tmp77p53fgc.c' source_filename = "/tmp/tmp77p53fgc.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/tmp77p53fgc.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/tmpw0xl9nbx.c' source_filename = "/tmp/tmpw0xl9nbx.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/tmpw0xl9nbx.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"}