llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp34i0o8ie.c' source_filename = "/tmp/tmp34i0o8ie.c" target datalayout = "e-m:e-p270: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 @strncmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 br label %8 8: ; preds = %42, %3 %9 = load i32, ptr %7, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %45 11: ; preds = %8 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %34 16: ; preds = %11 %17 = load ptr, ptr %6, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %16 %22 = load ptr, ptr %5, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = load ptr, ptr %6, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %24, %27 br i1 %28, label %29, label %34 29: ; preds = %21 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %5, align 8 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %6, align 8 br label %42 34: ; preds = %21, %16, %11 %35 = load ptr, ptr %5, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = load ptr, ptr %6, align 8 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = sub nsw i32 %37, %40 store i32 %41, ptr %4, align 4 br label %46 42: ; preds = %29 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %7, align 4 br label %8, !llvm.loop !6 45: ; preds = %8 store i32 0, ptr %4, align 4 br label %46 46: ; preds = %45, %34 %47 = load i32, ptr %4, align 4 ret i32 %47 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp34i0o8ie.c" target datalayout = "e-m:e-p270: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 @strncmp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %.lr.ph, label %46 .lr.ph: ; preds = %3 br label %10 10: ; preds = %.lr.ph, %41 %11 = load ptr, ptr %5, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %33 15: ; preds = %10 %16 = load ptr, ptr %6, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %33 20: ; preds = %15 %21 = load ptr, ptr %5, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = load ptr, ptr %6, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %23, %26 br i1 %27, label %28, label %33 28: ; preds = %20 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %6, align 8 br label %41 33: ; preds = %20, %15, %10 %34 = load ptr, ptr %5, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = load ptr, ptr %6, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = sub nsw i32 %36, %39 store i32 %40, ptr %4, align 4 br label %47 41: ; preds = %28 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, -1 store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %46 46: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %47 47: ; preds = %46, %33 %48 = load i32, ptr %4, align 4 ret i32 %48 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp_kj1v3ks.c' source_filename = "/tmp/tmp_kj1v3ks.c" target datalayout = "e-m:e-p270: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 @Ltc4151BusRawToMillivolts(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = ashr i32 %3, 4 %5 = mul nsw i32 %4, 25 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_kj1v3ks.c" target datalayout = "e-m:e-p270: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 @Ltc4151BusRawToMillivolts(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = ashr i32 %3, 4 %5 = mul nsw i32 %4, 25 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgnexhapv.c' source_filename = "/tmp/tmpgnexhapv.c" target datalayout = "e-m:e-p270: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 @BrzNullAdapt_requp(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = call i32 @TRACE_FOLLOW_THREAD(i32 noundef 0, i32 noundef 1) %8 = call i32 @SEND_REQUP(i32 noundef 0) ret void } declare i32 @TRACE_FOLLOW_THREAD(i32 noundef, i32 noundef) #1 declare i32 @SEND_REQUP(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/tmpgnexhapv.c" target datalayout = "e-m:e-p270: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 @BrzNullAdapt_requp(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %5, align 8 %7 = call i32 @TRACE_FOLLOW_THREAD(i32 noundef 0, i32 noundef 1) %8 = call i32 @SEND_REQUP(i32 noundef 0) ret void } declare i32 @TRACE_FOLLOW_THREAD(i32 noundef, i32 noundef) #1 declare i32 @SEND_REQUP(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/tmplfygsl4l.c' source_filename = "/tmp/tmplfygsl4l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmplfygsl4l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpee5cekqh.c' source_filename = "/tmp/tmpee5cekqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @led_init() br label %4 4: ; preds = %15, %0 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %12, %4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 16 br i1 %7, label %8, label %15 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = call i32 @led_out(i32 noundef %9) %11 = call i32 (...) @busy_wait() br label %12 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %5, !llvm.loop !6 15: ; preds = %5 br label %4 } declare i32 @led_init(...) #1 declare i32 @led_out(i32 noundef) #1 declare i32 @busy_wait(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpee5cekqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @led_init() br label %4 4: ; preds = %16, %0 store i32 0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 16 br i1 %6, label %.lr.ph, label %16 .lr.ph: ; preds = %4 br label %7 7: ; preds = %.lr.ph, %11 %8 = load i32, ptr %2, align 4 %9 = call i32 @led_out(i32 noundef %8) %10 = call i32 (...) @busy_wait() br label %11 11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 16 br i1 %15, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %4 br label %4 } declare i32 @led_init(...) #1 declare i32 @led_out(i32 noundef) #1 declare i32 @busy_wait(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp00yjxdhs.c' source_filename = "/tmp/tmp00yjxdhs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4 @GL_PROJECTION = dso_local global i32 0, align 4 @GL_MODELVIEW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reshape(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 @GL_COLOR_BUFFER_BIT, align 4 %6 = call i32 @glClear(i32 noundef %5) %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %7, i32 noundef %8) %10 = load i32, ptr @GL_PROJECTION, align 4 %11 = call i32 @glMatrixMode(i32 noundef %10) %12 = call i32 (...) @glLoadIdentity() %13 = call i32 @glOrtho(double noundef 0.000000e+00, i32 noundef 20, double noundef 0.000000e+00, i32 noundef 20, double noundef -1.000000e+00, double noundef 1.000000e+00) %14 = load i32, ptr @GL_MODELVIEW, align 4 %15 = call i32 @glMatrixMode(i32 noundef %14) ret void } declare i32 @glClear(i32 noundef) #1 declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @glMatrixMode(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @glOrtho(double noundef, i32 noundef, double noundef, i32 noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp00yjxdhs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4 @GL_PROJECTION = dso_local global i32 0, align 4 @GL_MODELVIEW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @reshape(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 @GL_COLOR_BUFFER_BIT, align 4 %6 = call i32 @glClear(i32 noundef %5) %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %7, i32 noundef %8) %10 = load i32, ptr @GL_PROJECTION, align 4 %11 = call i32 @glMatrixMode(i32 noundef %10) %12 = call i32 (...) @glLoadIdentity() %13 = call i32 @glOrtho(double noundef 0.000000e+00, i32 noundef 20, double noundef 0.000000e+00, i32 noundef 20, double noundef -1.000000e+00, double noundef 1.000000e+00) %14 = load i32, ptr @GL_MODELVIEW, align 4 %15 = call i32 @glMatrixMode(i32 noundef %14) ret void } declare i32 @glClear(i32 noundef) #1 declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @glMatrixMode(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @glOrtho(double noundef, i32 noundef, double noundef, i32 noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxaogn54l.c' source_filename = "/tmp/tmpxaogn54l.c" target datalayout = "e-m:e-p270: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 @slaDtps2c(double noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 store double %0, ptr %10, align 8 store double %1, ptr %11, align 8 store double %2, ptr %12, align 8 store double %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %28 = load double, ptr %10, align 8 %29 = load double, ptr %10, align 8 %30 = fmul double %28, %29 store double %30, ptr %19, align 8 %31 = load double, ptr %11, align 8 %32 = load double, ptr %11, align 8 %33 = fmul double %31, %32 store double %33, ptr %20, align 8 %34 = load double, ptr %13, align 8 %35 = call double @sin(double noundef %34) #4 store double %35, ptr %21, align 8 %36 = load double, ptr %13, align 8 %37 = call double @cos(double noundef %36) #4 store double %37, ptr %22, align 8 %38 = load double, ptr %21, align 8 %39 = load double, ptr %19, align 8 %40 = fadd double 1.000000e+00, %39 %41 = load double, ptr %20, align 8 %42 = fadd double %40, %41 %43 = call double @sqrt(double noundef %42) #4 %44 = fmul double %38, %43 store double %44, ptr %23, align 8 %45 = load double, ptr %22, align 8 %46 = load double, ptr %22, align 8 %47 = fmul double %45, %46 %48 = load double, ptr %20, align 8 %49 = fadd double 1.000000e+00, %48 %50 = load double, ptr %21, align 8 %51 = load double, ptr %21, align 8 %52 = fmul double %50, %51 %53 = load double, ptr %19, align 8 %54 = fmul double %52, %53 %55 = fneg double %54 %56 = call double @llvm.fmuladd.f64(double %47, double %49, double %55) store double %56, ptr %24, align 8 %57 = load double, ptr %24, align 8 %58 = fcmp oge double %57, 0.000000e+00 br i1 %58, label %59, label %117 59: ; preds = %9 %60 = load double, ptr %24, align 8 %61 = call double @sqrt(double noundef %60) #4 store double %61, ptr %25, align 8 %62 = load double, ptr %23, align 8 %63 = load double, ptr %11, align 8 %64 = load double, ptr %25, align 8 %65 = fneg double %63 %66 = call double @llvm.fmuladd.f64(double %65, double %64, double %62) store double %66, ptr %26, align 8 %67 = load double, ptr %23, align 8 %68 = load double, ptr %11, align 8 %69 = load double, ptr %25, align 8 %70 = call double @llvm.fmuladd.f64(double %67, double %68, double %69) store double %70, ptr %27, align 8 %71 = load double, ptr %10, align 8 %72 = fcmp oeq double %71, 0.000000e+00 br i1 %72, label %73, label %77 73: ; preds = %59 %74 = load double, ptr %25, align 8 %75 = fcmp oeq double %74, 0.000000e+00 br i1 %75, label %76, label %77 76: ; preds = %73 store double 1.000000e+00, ptr %25, align 8 br label %77 77: ; preds = %76, %73, %59 %78 = load double, ptr %12, align 8 %79 = load double, ptr %10, align 8 %80 = load double, ptr %25, align 8 %81 = call double @atan2(double noundef %79, double noundef %80) #4 %82 = fsub double %78, %81 %83 = call double @slaDranrm(double noundef %82) %84 = load ptr, ptr %14, align 8 store double %83, ptr %84, align 8 %85 = load double, ptr %26, align 8 %86 = load double, ptr %27, align 8 %87 = call double @atan2(double noundef %85, double noundef %86) #4 %88 = load ptr, ptr %15, align 8 store double %87, ptr %88, align 8 %89 = load double, ptr %25, align 8 %90 = fneg double %89 store double %90, ptr %25, align 8 %91 = load double, ptr %23, align 8 %92 = load double, ptr %11, align 8 %93 = load double, ptr %25, align 8 %94 = fneg double %92 %95 = call double @llvm.fmuladd.f64(double %94, double %93, double %91) store double %95, ptr %26, align 8 %96 = load double, ptr %23, align 8 %97 = load double, ptr %11, align 8 %98 = load double, ptr %25, align 8 %99 = call double @llvm.fmuladd.f64(double %96, double %97, double %98) store double %99, ptr %27, align 8 %100 = load double, ptr %12, align 8 %101 = load double, ptr %10, align 8 %102 = load double, ptr %25, align 8 %103 = call double @atan2(double noundef %101, double noundef %102) #4 %104 = fsub double %100, %103 %105 = call double @slaDranrm(double noundef %104) %106 = load ptr, ptr %16, align 8 store double %105, ptr %106, align 8 %107 = load double, ptr %26, align 8 %108 = load double, ptr %27, align 8 %109 = call double @atan2(double noundef %107, double noundef %108) #4 %110 = load ptr, ptr %17, align 8 store double %109, ptr %110, align 8 %111 = load double, ptr %23, align 8 %112 = call double @llvm.fabs.f64(double %111) %113 = fcmp olt double %112, 1.000000e+00 %114 = zext i1 %113 to i64 %115 = select i1 %113, i32 1, i32 2 %116 = load ptr, ptr %18, align 8 store i32 %115, ptr %116, align 4 br label %119 117: ; preds = %9 %118 = load ptr, ptr %18, align 8 store i32 0, ptr %118, align 4 br label %119 119: ; preds = %117, %77 ret void } ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @slaDranrm(double noundef) #3 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxaogn54l.c" target datalayout = "e-m:e-p270: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 @slaDtps2c(double noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 { %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 store double %0, ptr %10, align 8 store double %1, ptr %11, align 8 store double %2, ptr %12, align 8 store double %3, ptr %13, align 8 store ptr %4, ptr %14, align 8 store ptr %5, ptr %15, align 8 store ptr %6, ptr %16, align 8 store ptr %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %28 = load double, ptr %10, align 8 %29 = load double, ptr %10, align 8 %30 = fmul double %28, %29 store double %30, ptr %19, align 8 %31 = load double, ptr %11, align 8 %32 = load double, ptr %11, align 8 %33 = fmul double %31, %32 store double %33, ptr %20, align 8 %34 = load double, ptr %13, align 8 %35 = call double @sin(double noundef %34) #4 store double %35, ptr %21, align 8 %36 = load double, ptr %13, align 8 %37 = call double @cos(double noundef %36) #4 store double %37, ptr %22, align 8 %38 = load double, ptr %21, align 8 %39 = load double, ptr %19, align 8 %40 = fadd double 1.000000e+00, %39 %41 = load double, ptr %20, align 8 %42 = fadd double %40, %41 %43 = call double @sqrt(double noundef %42) #4 %44 = fmul double %38, %43 store double %44, ptr %23, align 8 %45 = load double, ptr %22, align 8 %46 = load double, ptr %22, align 8 %47 = fmul double %45, %46 %48 = load double, ptr %20, align 8 %49 = fadd double 1.000000e+00, %48 %50 = load double, ptr %21, align 8 %51 = load double, ptr %21, align 8 %52 = fmul double %50, %51 %53 = load double, ptr %19, align 8 %54 = fmul double %52, %53 %55 = fneg double %54 %56 = call double @llvm.fmuladd.f64(double %47, double %49, double %55) store double %56, ptr %24, align 8 %57 = load double, ptr %24, align 8 %58 = fcmp oge double %57, 0.000000e+00 br i1 %58, label %59, label %117 59: ; preds = %9 %60 = load double, ptr %24, align 8 %61 = call double @sqrt(double noundef %60) #4 store double %61, ptr %25, align 8 %62 = load double, ptr %23, align 8 %63 = load double, ptr %11, align 8 %64 = load double, ptr %25, align 8 %65 = fneg double %63 %66 = call double @llvm.fmuladd.f64(double %65, double %64, double %62) store double %66, ptr %26, align 8 %67 = load double, ptr %23, align 8 %68 = load double, ptr %11, align 8 %69 = load double, ptr %25, align 8 %70 = call double @llvm.fmuladd.f64(double %67, double %68, double %69) store double %70, ptr %27, align 8 %71 = load double, ptr %10, align 8 %72 = fcmp oeq double %71, 0.000000e+00 br i1 %72, label %73, label %77 73: ; preds = %59 %74 = load double, ptr %25, align 8 %75 = fcmp oeq double %74, 0.000000e+00 br i1 %75, label %76, label %77 76: ; preds = %73 store double 1.000000e+00, ptr %25, align 8 br label %77 77: ; preds = %76, %73, %59 %78 = load double, ptr %12, align 8 %79 = load double, ptr %10, align 8 %80 = load double, ptr %25, align 8 %81 = call double @atan2(double noundef %79, double noundef %80) #4 %82 = fsub double %78, %81 %83 = call double @slaDranrm(double noundef %82) %84 = load ptr, ptr %14, align 8 store double %83, ptr %84, align 8 %85 = load double, ptr %26, align 8 %86 = load double, ptr %27, align 8 %87 = call double @atan2(double noundef %85, double noundef %86) #4 %88 = load ptr, ptr %15, align 8 store double %87, ptr %88, align 8 %89 = load double, ptr %25, align 8 %90 = fneg double %89 store double %90, ptr %25, align 8 %91 = load double, ptr %23, align 8 %92 = load double, ptr %11, align 8 %93 = load double, ptr %25, align 8 %94 = fneg double %92 %95 = call double @llvm.fmuladd.f64(double %94, double %93, double %91) store double %95, ptr %26, align 8 %96 = load double, ptr %23, align 8 %97 = load double, ptr %11, align 8 %98 = load double, ptr %25, align 8 %99 = call double @llvm.fmuladd.f64(double %96, double %97, double %98) store double %99, ptr %27, align 8 %100 = load double, ptr %12, align 8 %101 = load double, ptr %10, align 8 %102 = load double, ptr %25, align 8 %103 = call double @atan2(double noundef %101, double noundef %102) #4 %104 = fsub double %100, %103 %105 = call double @slaDranrm(double noundef %104) %106 = load ptr, ptr %16, align 8 store double %105, ptr %106, align 8 %107 = load double, ptr %26, align 8 %108 = load double, ptr %27, align 8 %109 = call double @atan2(double noundef %107, double noundef %108) #4 %110 = load ptr, ptr %17, align 8 store double %109, ptr %110, align 8 %111 = load double, ptr %23, align 8 %112 = call double @llvm.fabs.f64(double %111) %113 = fcmp olt double %112, 1.000000e+00 %114 = zext i1 %113 to i64 %115 = select i1 %113, i32 1, i32 2 %116 = load ptr, ptr %18, align 8 store i32 %115, ptr %116, align 4 br label %119 117: ; preds = %9 %118 = load ptr, ptr %18, align 8 store i32 0, ptr %118, align 4 br label %119 119: ; preds = %117, %77 ret void } ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @slaDranrm(double noundef) #3 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"}
; ModuleID = '/tmp/tmpn6g8ujo7.c' source_filename = "/tmp/tmpn6g8ujo7.c" target datalayout = "e-m:e-p270: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 @call_two_loops_Good() #0 { %1 = alloca [10 x i32], align 16 %2 = alloca i32, align 4 store i32 5, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @two_loops(i32 noundef %3) %5 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %4 store i32 1, ptr %5, align 4 ret void } declare i64 @two_loops(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/tmpn6g8ujo7.c" target datalayout = "e-m:e-p270: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 @call_two_loops_Good() #0 { %1 = alloca [10 x i32], align 16 %2 = alloca i32, align 4 store i32 5, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @two_loops(i32 noundef %3) %5 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %4 store i32 1, ptr %5, align 4 ret void } declare i64 @two_loops(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/tmphwv10x3v.c' source_filename = "/tmp/tmphwv10x3v.c" target datalayout = "e-m:e-p270: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/tmphwv10x3v.c" target datalayout = "e-m:e-p270: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/tmp1ebf3yrs.c' source_filename = "/tmp/tmp1ebf3yrs.c" target datalayout = "e-m:e-p270: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 @interceptor_increaseBy(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = call i32 (i32, i32, ...) @syscall(i32 noundef 158, i32 noundef 4100, ptr noundef %3) %5 = load i64, ptr %2, align 8 %6 = load i64, ptr %3, align 8 %7 = add i64 %6, %5 store i64 %7, ptr %3, align 8 %8 = load i64, ptr %3, align 8 %9 = call i32 (i32, i32, ...) @syscall(i32 noundef 158, i32 noundef 4097, i64 noundef %8) ret void } declare i32 @syscall(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/tmp1ebf3yrs.c" target datalayout = "e-m:e-p270: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 @interceptor_increaseBy(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = call i32 (i32, i32, ...) @syscall(i32 noundef 158, i32 noundef 4100, ptr noundef %3) %5 = load i64, ptr %2, align 8 %6 = load i64, ptr %3, align 8 %7 = add i64 %6, %5 store i64 %7, ptr %3, align 8 %8 = load i64, ptr %3, align 8 %9 = call i32 (i32, i32, ...) @syscall(i32 noundef 158, i32 noundef 4097, i64 noundef %8) ret void } declare i32 @syscall(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/tmp2ozallsc.c' source_filename = "/tmp/tmp2ozallsc.c" target datalayout = "e-m:e-p270: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";; \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @comment() #0 { %1 = call i32 @outstr(ptr noundef @.str) ret void } declare i32 @outstr(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/tmp2ozallsc.c" target datalayout = "e-m:e-p270: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";; \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @comment() #0 { %1 = call i32 @outstr(ptr noundef @.str) ret void } declare i32 @outstr(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/tmpznh11z9m.c' source_filename = "/tmp/tmpznh11z9m.c" target datalayout = "e-m:e-p270: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/tmpznh11z9m.c" target datalayout = "e-m:e-p270: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/tmpj318czbb.c' source_filename = "/tmp/tmpj318czbb.c" target datalayout = "e-m:e-p270: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/tmpj318czbb.c" target datalayout = "e-m:e-p270: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/tmpboagyv_l.c' source_filename = "/tmp/tmpboagyv_l.c" target datalayout = "e-m:e-p270: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/tmpboagyv_l.c" target datalayout = "e-m:e-p270: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/tmpqe7hcw94.c' source_filename = "/tmp/tmpqe7hcw94.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpqe7hcw94.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp4v3mwpog.c' source_filename = "/tmp/tmp4v3mwpog.c" target datalayout = "e-m:e-p270: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/tmp4v3mwpog.c" target datalayout = "e-m:e-p270: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/tmpr0gehssm.c' source_filename = "/tmp/tmpr0gehssm.c" target datalayout = "e-m:e-p270: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 [8 x i8] c"INP.TXT\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"OUT.TXT\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"NO\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %2, align 8 store i32 1, ptr %7, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %9, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4) %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 4 %14 = trunc i64 %13 to i32 %15 = call ptr @malloc(i32 noundef %14) store ptr %15, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %16 16: ; preds = %27, %0 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %30 20: ; preds = %16 %21 = load ptr, ptr %2, align 8 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %21, ptr noundef @.str.3, 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 %31 = load ptr, ptr %2, align 8 %32 = call i32 @fclose(ptr noundef %31) %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %4, align 4 %35 = sdiv i32 %33, %34 store i32 %35, ptr %4, align 4 %36 = load i32, ptr %4, align 4 store i32 %36, ptr %6, align 4 br label %37 37: ; preds = %55, %30 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %59 41: ; preds = %37 %42 = load ptr, ptr %5, align 8 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = mul i64 %48, 4 %50 = trunc i64 %49 to i32 %51 = call i64 @memcmp(ptr noundef %42, ptr noundef %46, i32 noundef %50) %52 = icmp ne i64 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %41 store i32 0, ptr %7, align 4 br label %59 54: ; preds = %41 br label %55 55: ; preds = %54 %56 = load i32, ptr %4, align 4 %57 = load i32, ptr %6, align 4 %58 = add nsw i32 %57, %56 store i32 %58, ptr %6, align 4 br label %37, !llvm.loop !8 59: ; preds = %53, %37 %60 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %60, ptr %2, align 8 %61 = load i32, ptr %7, align 4 %62 = icmp ne i32 %61, 0 %63 = zext i1 %62 to i64 %64 = select i1 %62, ptr @.str.6, ptr @.str.7 %65 = load ptr, ptr %2, align 8 %66 = call i32 @fputs(ptr noundef %64, ptr noundef %65) %67 = load ptr, ptr %2, align 8 %68 = call i32 @fclose(ptr noundef %67) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fputs(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr0gehssm.c" target datalayout = "e-m:e-p270: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 [8 x i8] c"INP.TXT\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"OUT.TXT\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"NO\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %8, ptr %2, align 8 store i32 1, ptr %7, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %9, ptr noundef @.str.2, ptr noundef %3, ptr noundef %4) %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 4 %14 = trunc i64 %13 to i32 %15 = call ptr @malloc(i32 noundef %14) store ptr %15, ptr %5, align 8 store i32 0, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %19 19: ; preds = %.lr.ph, %26 %20 = load ptr, ptr %2, align 8 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %20, ptr noundef @.str.3, 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 %3, 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, %0 %33 = load ptr, ptr %2, align 8 %34 = call i32 @fclose(ptr noundef %33) %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %4, align 4 %37 = sdiv i32 %35, %36 store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %3, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %32 br label %42 42: ; preds = %.lr.ph2, %56 %43 = load ptr, ptr %5, align 8 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %4, align 4 %49 = sext i32 %48 to i64 %50 = mul i64 %49, 4 %51 = trunc i64 %50 to i32 %52 = call i64 @memcmp(ptr noundef %43, ptr noundef %47, i32 noundef %51) %53 = icmp ne i64 %52, 0 br i1 %53, label %54, label %55 54: ; preds = %42 store i32 0, ptr %7, align 4 br label %63 55: ; preds = %42 br label %56 56: ; preds = %55 %57 = load i32, ptr %4, align 4 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, %57 store i32 %59, ptr %6, align 4 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %3, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %42, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %56 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %32 br label %63 63: ; preds = %.loopexit, %54 %64 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %64, ptr %2, align 8 %65 = load i32, ptr %7, align 4 %66 = icmp ne i32 %65, 0 %67 = zext i1 %66 to i64 %68 = select i1 %66, ptr @.str.6, ptr @.str.7 %69 = load ptr, ptr %2, align 8 %70 = call i32 @fputs(ptr noundef %68, ptr noundef %69) %71 = load ptr, ptr %2, align 8 %72 = call i32 @fclose(ptr noundef %71) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fputs(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpnc9v1cx_.c' source_filename = "/tmp/tmpnc9v1cx_.c" target datalayout = "e-m:e-p270: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 @pesq_matriz(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %8, align 4 br label %10 10: ; preds = %28, %3 %11 = load i32, ptr %8, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %31 14: ; preds = %10 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i32, ptr %8, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 0 %22 = load ptr, ptr %21, align 8 %23 = call i64 @strcmp(ptr noundef %15, ptr noundef %22) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %14 %26 = load i32, ptr %8, align 4 store i32 %26, ptr %4, align 4 br label %32 27: ; preds = %14 br label %28 28: ; preds = %27 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 br label %10, !llvm.loop !6 31: ; preds = %10 store i32 -1, ptr %4, align 4 br label %32 32: ; preds = %31, %25 %33 = load i32, ptr %4, align 4 ret i32 %33 } declare i64 @strcmp(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/tmpnc9v1cx_.c" target datalayout = "e-m:e-p270: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 @pesq_matriz(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %33 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %27 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %8, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcmp(ptr noundef %14, ptr noundef %21) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %13 %25 = load i32, ptr %8, align 4 store i32 %25, ptr %4, align 4 br label %34 26: ; preds = %13 br label %27 27: ; preds = %26 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %3 store i32 -1, ptr %4, align 4 br label %34 34: ; preds = %33, %24 %35 = load i32, ptr %4, align 4 ret i32 %35 } declare i64 @strcmp(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/tmp6a5j0xa8.c' source_filename = "/tmp/tmp6a5j0xa8.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"Digite o valor em metros!\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"O valor em centimetros eh %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = mul nsw i32 %6, 100 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) 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/tmp6a5j0xa8.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"Digite o valor em metros!\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"O valor em centimetros eh %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = mul nsw i32 %6, 100 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) 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/tmp0nn_p2f5.c' source_filename = "/tmp/tmp0nn_p2f5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i32 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33 store i32 %31, ptr %34, align 4 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, -211399165 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 br label %48 48: ; preds = %51, %47 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %51, label %59 51: ; preds = %48 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 br label %48, !llvm.loop !8 59: ; preds = %48 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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" } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0nn_p2f5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i32 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32 store i32 %30, ptr %33, align 4 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %43, -211399165 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %38 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %.lr.ph2, label %61 .lr.ph2: ; preds = %48 br label %51 51: ; preds = %.lr.ph2, %51 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp slt i32 %59, 1 br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %61 61: ; preds = %._crit_edge3, %48 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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" } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpei7sku42.c' source_filename = "/tmp/tmpei7sku42.c" target datalayout = "e-m:e-p270: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/tmpei7sku42.c" target datalayout = "e-m:e-p270: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/tmp8znfh6o0.c' source_filename = "/tmp/tmp8znfh6o0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @foo() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = add nsw i32 %4, 1 store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8znfh6o0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @foo() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = add nsw i32 %4, 1 store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5_r2h_s7.c' source_filename = "/tmp/tmp5_r2h_s7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"e() called\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @e() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5_r2h_s7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"e() called\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @e() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphb938h2x.c' source_filename = "/tmp/tmphb938h2x.c" target datalayout = "e-m:e-p270: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"out_date.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"File open error\0A\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [4 x i8] c"%c\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 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %21 9: ; preds = %0 br label %10 10: ; preds = %15, %9 %11 = load ptr, ptr %3, align 8 %12 = call i32 @fgetc(ptr noundef %11) store i32 %12, ptr %2, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %18 15: ; preds = %10 %16 = load i32, ptr %2, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %16) br label %10, !llvm.loop !6 18: ; preds = %10 %19 = load ptr, ptr %3, align 8 %20 = call i32 @fclose(ptr noundef %19) store i32 0, ptr %1, align 4 br label %21 21: ; preds = %18, %7 %22 = load i32, ptr %1, align 4 ret i32 %22 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphb938h2x.c" target datalayout = "e-m:e-p270: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"out_date.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"File open error\0A\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [4 x i8] c"%c\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 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %24 9: ; preds = %0 %10 = load ptr, ptr %3, align 8 %11 = call i32 @fgetc(ptr noundef %10) store i32 %11, ptr %2, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %.lr.ph, label %21 .lr.ph: ; preds = %9 br label %14 14: ; preds = %.lr.ph, %14 %15 = load i32, ptr %2, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15) %17 = load ptr, ptr %3, align 8 %18 = call i32 @fgetc(ptr noundef %17) store i32 %18, ptr %2, align 4 %19 = load i32, ptr @EOF, align 4 %20 = icmp ne i32 %18, %19 br i1 %20, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %21 21: ; preds = %._crit_edge, %9 %22 = load ptr, ptr %3, align 8 %23 = call i32 @fclose(ptr noundef %22) store i32 0, ptr %1, align 4 br label %24 24: ; preds = %21, %7 %25 = load i32, ptr %1, align 4 ret i32 %25 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpofhbrppq.c' source_filename = "/tmp/tmpofhbrppq.c" target datalayout = "e-m:e-p270: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 @celcon_track_dobldobl_solution_path(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [2 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 store i32 %10, ptr %11, align 4 %12 = load i32, ptr %6, align 4 %13 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 store i32 %12, ptr %13, align 4 %14 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %15 = load ptr, ptr %9, align 8 %16 = call i32 @_ada_use_c2phc4c(i32 noundef 467, ptr noundef %4, ptr noundef %14, ptr noundef %15, i32 noundef 0) store i32 %16, ptr %8, align 4 %17 = load i32, ptr %8, align 4 ret i32 %17 } declare i32 @_ada_use_c2phc4c(i32 noundef, 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/tmpofhbrppq.c" target datalayout = "e-m:e-p270: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 @celcon_track_dobldobl_solution_path(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [2 x i32], align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 store i32 %10, ptr %11, align 4 %12 = load i32, ptr %6, align 4 %13 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 store i32 %12, ptr %13, align 4 %14 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %15 = load ptr, ptr %9, align 8 %16 = call i32 @_ada_use_c2phc4c(i32 noundef 467, ptr noundef %4, ptr noundef %14, ptr noundef %15, i32 noundef 0) store i32 %16, ptr %8, align 4 %17 = load i32, ptr %8, align 4 ret i32 %17 } declare i32 @_ada_use_c2phc4c(i32 noundef, 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/tmpycxfaffw.c' source_filename = "/tmp/tmpycxfaffw.c" target datalayout = "e-m:e-p270: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 [47 x i8] c"Example using 'enum' datatypes and variables\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Today is %d\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"The flag is equal to %d\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Today is friday!\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Today is not friday :(\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 i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5) store i32 1, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 6 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %15 13: ; preds = %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %15 15: ; preds = %13, %11 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpycxfaffw.c" target datalayout = "e-m:e-p270: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 [47 x i8] c"Example using 'enum' datatypes and variables\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Today is %d\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"The flag is equal to %d\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Today is friday!\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Today is not friday :(\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 i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5) store i32 1, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 6 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %15 13: ; preds = %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %15 15: ; preds = %13, %11 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc2tuzdsh.c' source_filename = "/tmp/tmpc2tuzdsh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.ai_data = private unnamed_addr constant [8 x i32] [i32 16, i32 8, i32 12, i32 16, i32 18, i32 14, i32 4, i32 8], align 16 @.str = private unnamed_addr constant [66 x i8] c"-----------------------------------------------------------------\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c" determining test \00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c" one stage \00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c" input: \00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c" output: \00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c" input, again: \00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c" one level \00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c" full level \00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"i_step = %d \00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c" W3: %d \00", align 1 @.str.12 = private unnamed_addr constant [9 x i8] c" W2: %d \00", align 1 @.str.13 = private unnamed_addr constant [9 x i8] c" W1: %d \00", align 1 @.str.14 = private unnamed_addr constant [9 x i8] c" W0: %d \00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c" random test \00", align 1 @.str.16 = private unnamed_addr constant [16 x i8] c" input random: \00", align 1 @.str.17 = private unnamed_addr constant [17 x i8] c" output random: \00", align 1 @.str.18 = private unnamed_addr constant [23 x i8] c" input random, again: \00", align 1 @.str.19 = private unnamed_addr constant [33 x i8] c" Well? Almost (!) The same? ))) \00", align 1 @.str.20 = private unnamed_addr constant [24 x i8] c" random semi-full test \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [8 x i32], align 16 %4 = alloca [8 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca [32 x i32], align 16 %7 = alloca [32 x i32], align 16 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.ai_data, i64 32, i1 false) %9 = call i32 @log(i32 noundef 8) %10 = call i32 @log(i32 noundef 2) %11 = sdiv i32 %9, %10 store i32 %11, ptr %5, align 4 %12 = call i32 @log(i32 noundef 32) %13 = call i32 @log(i32 noundef 2) %14 = sdiv i32 %12, %13 store i32 %14, ptr %8, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %27 27: ; preds = %37, %0 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %28, 8 br i1 %29, label %30, label %40 30: ; preds = %27 %31 = load i32, ptr %2, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %34) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %37 37: ; preds = %30 %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %2, align 4 br label %27, !llvm.loop !6 40: ; preds = %27 %41 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %42 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %43 = call i32 @fn_dirFHaarWT2p2oneStage(ptr noundef %41, ptr noundef %42, i32 noundef 8) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %46 46: ; preds = %56, %40 %47 = load i32, ptr %2, align 4 %48 = icmp slt i32 %47, 8 br i1 %48, label %49, label %59 49: ; preds = %46 %50 = load i32, ptr %2, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %53) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %56 56: ; preds = %49 %57 = load i32, ptr %2, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %2, align 4 br label %46, !llvm.loop !8 59: ; preds = %46 %60 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %61 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %62 = call i32 @fn_invFHaarWT2p2oneStage(ptr noundef %60, ptr noundef %61, i32 noundef 8) %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %65 65: ; preds = %75, %59 %66 = load i32, ptr %2, align 4 %67 = icmp slt i32 %66, 8 br i1 %67, label %68, label %78 68: ; preds = %65 %69 = load i32, ptr %2, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %72) %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %75 75: ; preds = %68 %76 = load i32, ptr %2, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %2, align 4 br label %65, !llvm.loop !9 78: ; preds = %65 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str) %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %83 = call i32 (ptr, ...) @printf(ptr noundef @.str) %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %87 87: ; preds = %97, %78 %88 = load i32, ptr %2, align 4 %89 = icmp slt i32 %88, 8 br i1 %89, label %90, label %100 90: ; preds = %87 %91 = load i32, ptr %2, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %92 %94 = load i32, ptr %93, align 4 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %94) %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %97 97: ; preds = %90 %98 = load i32, ptr %2, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %2, align 4 br label %87, !llvm.loop !10 100: ; preds = %87 %101 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %102 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %103 = call i32 @fn_dirFHaarWT2p2(ptr noundef %101, ptr noundef %102, i32 noundef 8, i32 noundef 1) %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %106 106: ; preds = %116, %100 %107 = load i32, ptr %2, align 4 %108 = icmp slt i32 %107, 8 br i1 %108, label %109, label %119 109: ; preds = %106 %110 = load i32, ptr %2, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %111 %113 = load i32, ptr %112, align 4 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %113) %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %116 116: ; preds = %109 %117 = load i32, ptr %2, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %2, align 4 br label %106, !llvm.loop !11 119: ; preds = %106 %120 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %121 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %122 = call i32 @fn_invFHaarWT2p2(ptr noundef %120, ptr noundef %121, i32 noundef 8, i32 noundef 1) %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %125 125: ; preds = %135, %119 %126 = load i32, ptr %2, align 4 %127 = icmp slt i32 %126, 8 br i1 %127, label %128, label %138 128: ; preds = %125 %129 = load i32, ptr %2, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %130 %132 = load i32, ptr %131, align 4 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %132) %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %135 135: ; preds = %128 %136 = load i32, ptr %2, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %2, align 4 br label %125, !llvm.loop !12 138: ; preds = %125 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str) %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %143 = call i32 (ptr, ...) @printf(ptr noundef @.str) %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %147 147: ; preds = %157, %138 %148 = load i32, ptr %2, align 4 %149 = icmp slt i32 %148, 8 br i1 %149, label %150, label %160 150: ; preds = %147 %151 = load i32, ptr %2, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %152 %154 = load i32, ptr %153, align 4 %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %154) %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %157 157: ; preds = %150 %158 = load i32, ptr %2, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %2, align 4 br label %147, !llvm.loop !13 160: ; preds = %147 %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %162 = load i32, ptr %5, align 4 %163 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %162) %164 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %165 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %166 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %167 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %168 = load i32, ptr %5, align 4 %169 = call i32 @fn_dirFHaarWT2p2(ptr noundef %166, ptr noundef %167, i32 noundef 8, i32 noundef %168) store i32 0, ptr %2, align 4 br label %170 170: ; preds = %180, %160 %171 = load i32, ptr %2, align 4 %172 = icmp slt i32 %171, 4 br i1 %172, label %173, label %183 173: ; preds = %170 %174 = load i32, ptr %2, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %175 %177 = load i32, ptr %176, align 4 %178 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %177) %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %180 180: ; preds = %173 %181 = load i32, ptr %2, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %2, align 4 br label %170, !llvm.loop !14 183: ; preds = %170 store i32 4, ptr %2, align 4 br label %184 184: ; preds = %194, %183 %185 = load i32, ptr %2, align 4 %186 = icmp slt i32 %185, 6 br i1 %186, label %187, label %197 187: ; preds = %184 %188 = load i32, ptr %2, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %189 %191 = load i32, ptr %190, align 4 %192 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %191) %193 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %194 194: ; preds = %187 %195 = load i32, ptr %2, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %2, align 4 br label %184, !llvm.loop !15 197: ; preds = %184 %198 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 6 %199 = load i32, ptr %198, align 8 %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %199) %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %202 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 7 %203 = load i32, ptr %202, align 4 %204 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %203) %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %206 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %207 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %208 = load i32, ptr %5, align 4 %209 = call i32 @fn_invFHaarWT2p2(ptr noundef %206, ptr noundef %207, i32 noundef 8, i32 noundef %208) %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %211 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %212 212: ; preds = %222, %197 %213 = load i32, ptr %2, align 4 %214 = icmp slt i32 %213, 8 br i1 %214, label %215, label %225 215: ; preds = %212 %216 = load i32, ptr %2, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %217 %219 = load i32, ptr %218, align 4 %220 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %219) %221 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %222 222: ; preds = %215 %223 = load i32, ptr %2, align 4 %224 = add nsw i32 %223, 1 store i32 %224, ptr %2, align 4 br label %212, !llvm.loop !16 225: ; preds = %212 %226 = call i32 (ptr, ...) @printf(ptr noundef @.str) %227 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %228 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %229 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %230 = call i32 (ptr, ...) @printf(ptr noundef @.str) %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %232 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %233 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %234 234: ; preds = %250, %225 %235 = load i32, ptr %2, align 4 %236 = icmp slt i32 %235, 32 br i1 %236, label %237, label %253 237: ; preds = %234 %238 = call i32 (...) @rand() %239 = srem i32 %238, 32 %240 = add nsw i32 %239, 1 %241 = load i32, ptr %2, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %242 store i32 %240, ptr %243, align 4 %244 = load i32, ptr %2, align 4 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %245 %247 = load i32, ptr %246, align 4 %248 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %247) %249 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %250 250: ; preds = %237 %251 = load i32, ptr %2, align 4 %252 = add nsw i32 %251, 1 store i32 %252, ptr %2, align 4 br label %234, !llvm.loop !17 253: ; preds = %234 %254 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 %255 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 0 %256 = load i32, ptr %8, align 4 %257 = call i32 @fn_dirFHaarWT2p2(ptr noundef %254, ptr noundef %255, i32 noundef 32, i32 noundef %256) %258 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %259 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %260 260: ; preds = %270, %253 %261 = load i32, ptr %2, align 4 %262 = icmp slt i32 %261, 32 br i1 %262, label %263, label %273 263: ; preds = %260 %264 = load i32, ptr %2, align 4 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %265 %267 = load i32, ptr %266, align 4 %268 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %267) %269 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %270 270: ; preds = %263 %271 = load i32, ptr %2, align 4 %272 = add nsw i32 %271, 1 store i32 %272, ptr %2, align 4 br label %260, !llvm.loop !18 273: ; preds = %260 %274 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 0 %275 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 %276 = load i32, ptr %8, align 4 %277 = call i32 @fn_invFHaarWT2p2(ptr noundef %274, ptr noundef %275, i32 noundef 32, i32 noundef %276) %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %279 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %280 280: ; preds = %290, %273 %281 = load i32, ptr %2, align 4 %282 = icmp slt i32 %281, 32 br i1 %282, label %283, label %293 283: ; preds = %280 %284 = load i32, ptr %2, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %285 %287 = load i32, ptr %286, align 4 %288 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %287) %289 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %290 290: ; preds = %283 %291 = load i32, ptr %2, align 4 %292 = add nsw i32 %291, 1 store i32 %292, ptr %2, align 4 br label %280, !llvm.loop !19 293: ; preds = %280 %294 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %295 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %296 = call i32 (ptr, ...) @printf(ptr noundef @.str) %297 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %298 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %299 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %300 = call i32 (ptr, ...) @printf(ptr noundef @.str) %301 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %302 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %303 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %304 304: ; preds = %320, %293 %305 = load i32, ptr %2, align 4 %306 = icmp slt i32 %305, 32 br i1 %306, label %307, label %323 307: ; preds = %304 %308 = call i32 (...) @rand() %309 = srem i32 %308, 32 %310 = add nsw i32 %309, 1 %311 = load i32, ptr %2, align 4 %312 = sext i32 %311 to i64 %313 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %312 store i32 %310, ptr %313, align 4 %314 = load i32, ptr %2, align 4 %315 = sext i32 %314 to i64 %316 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %315 %317 = load i32, ptr %316, align 4 %318 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %317) %319 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %320 320: ; preds = %307 %321 = load i32, ptr %2, align 4 %322 = add nsw i32 %321, 1 store i32 %322, ptr %2, align 4 br label %304, !llvm.loop !20 323: ; preds = %304 %324 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 %325 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 0 %326 = call i32 @fn_dirFHaarWT2p2(ptr noundef %324, ptr noundef %325, i32 noundef 32, i32 noundef 3) %327 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %328 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %329 329: ; preds = %339, %323 %330 = load i32, ptr %2, align 4 %331 = icmp slt i32 %330, 32 br i1 %331, label %332, label %342 332: ; preds = %329 %333 = load i32, ptr %2, align 4 %334 = sext i32 %333 to i64 %335 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %334 %336 = load i32, ptr %335, align 4 %337 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %336) %338 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %339 339: ; preds = %332 %340 = load i32, ptr %2, align 4 %341 = add nsw i32 %340, 1 store i32 %341, ptr %2, align 4 br label %329, !llvm.loop !21 342: ; preds = %329 %343 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 0 %344 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 %345 = call i32 @fn_invFHaarWT2p2(ptr noundef %343, ptr noundef %344, i32 noundef 32, i32 noundef 3) %346 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %347 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %348 348: ; preds = %358, %342 %349 = load i32, ptr %2, align 4 %350 = icmp slt i32 %349, 32 br i1 %350, label %351, label %361 351: ; preds = %348 %352 = load i32, ptr %2, align 4 %353 = sext i32 %352 to i64 %354 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %353 %355 = load i32, ptr %354, align 4 %356 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %355) %357 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %358 358: ; preds = %351 %359 = load i32, ptr %2, align 4 %360 = add nsw i32 %359, 1 store i32 %360, ptr %2, align 4 br label %348, !llvm.loop !22 361: ; preds = %348 %362 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %363 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @log(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @fn_dirFHaarWT2p2oneStage(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @fn_invFHaarWT2p2oneStage(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @fn_dirFHaarWT2p2(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fn_invFHaarWT2p2(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @rand(...) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7} !22 = distinct !{!22, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc2tuzdsh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.ai_data = private unnamed_addr constant [8 x i32] [i32 16, i32 8, i32 12, i32 16, i32 18, i32 14, i32 4, i32 8], align 16 @.str = private unnamed_addr constant [66 x i8] c"-----------------------------------------------------------------\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c" determining test \00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c" one stage \00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c" input: \00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c" output: \00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c" input, again: \00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c" one level \00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c" full level \00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"i_step = %d \00", align 1 @.str.11 = private unnamed_addr constant [9 x i8] c" W3: %d \00", align 1 @.str.12 = private unnamed_addr constant [9 x i8] c" W2: %d \00", align 1 @.str.13 = private unnamed_addr constant [9 x i8] c" W1: %d \00", align 1 @.str.14 = private unnamed_addr constant [9 x i8] c" W0: %d \00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c" random test \00", align 1 @.str.16 = private unnamed_addr constant [16 x i8] c" input random: \00", align 1 @.str.17 = private unnamed_addr constant [17 x i8] c" output random: \00", align 1 @.str.18 = private unnamed_addr constant [23 x i8] c" input random, again: \00", align 1 @.str.19 = private unnamed_addr constant [33 x i8] c" Well? Almost (!) The same? ))) \00", align 1 @.str.20 = private unnamed_addr constant [24 x i8] c" random semi-full test \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [8 x i32], align 16 %4 = alloca [8 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca [32 x i32], align 16 %7 = alloca [32 x i32], align 16 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.ai_data, i64 32, i1 false) %9 = call i32 @log(i32 noundef 8) %10 = call i32 @log(i32 noundef 2) %11 = sdiv i32 %9, %10 store i32 %11, ptr %5, align 4 %12 = call i32 @log(i32 noundef 32) %13 = call i32 @log(i32 noundef 2) %14 = sdiv i32 %12, %13 store i32 %14, ptr %8, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %27, 8 br i1 %28, label %.lr.ph, label %41 .lr.ph: ; preds = %0 br label %29 29: ; preds = %.lr.ph, %36 %30 = load i32, ptr %2, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %33) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %36 36: ; preds = %29 %37 = load i32, ptr %2, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %2, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp slt i32 %39, 8 br i1 %40, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %0 %42 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %43 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %44 = call i32 @fn_dirFHaarWT2p2oneStage(ptr noundef %42, ptr noundef %43, i32 noundef 8) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %47 = load i32, ptr %2, align 4 %48 = icmp slt i32 %47, 8 br i1 %48, label %.lr.ph2, label %61 .lr.ph2: ; preds = %41 br label %49 49: ; preds = %.lr.ph2, %56 %50 = load i32, ptr %2, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %53) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %56 56: ; preds = %49 %57 = load i32, ptr %2, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %2, align 4 %59 = load i32, ptr %2, align 4 %60 = icmp slt i32 %59, 8 br i1 %60, label %49, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %56 br label %61 61: ; preds = %._crit_edge3, %41 %62 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %63 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %64 = call i32 @fn_invFHaarWT2p2oneStage(ptr noundef %62, ptr noundef %63, i32 noundef 8) %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %67 = load i32, ptr %2, align 4 %68 = icmp slt i32 %67, 8 br i1 %68, label %.lr.ph5, label %81 .lr.ph5: ; preds = %61 br label %69 69: ; preds = %.lr.ph5, %76 %70 = load i32, ptr %2, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %71 %73 = load i32, ptr %72, align 4 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %73) %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %76 76: ; preds = %69 %77 = load i32, ptr %2, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %2, align 4 %79 = load i32, ptr %2, align 4 %80 = icmp slt i32 %79, 8 br i1 %80, label %69, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %76 br label %81 81: ; preds = %._crit_edge6, %61 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str) %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %86 = call i32 (ptr, ...) @printf(ptr noundef @.str) %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %90 = load i32, ptr %2, align 4 %91 = icmp slt i32 %90, 8 br i1 %91, label %.lr.ph8, label %104 .lr.ph8: ; preds = %81 br label %92 92: ; preds = %.lr.ph8, %99 %93 = load i32, ptr %2, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %94 %96 = load i32, ptr %95, align 4 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %96) %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %99 99: ; preds = %92 %100 = load i32, ptr %2, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %2, align 4 %102 = load i32, ptr %2, align 4 %103 = icmp slt i32 %102, 8 br i1 %103, label %92, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %99 br label %104 104: ; preds = %._crit_edge9, %81 %105 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %106 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %107 = call i32 @fn_dirFHaarWT2p2(ptr noundef %105, ptr noundef %106, i32 noundef 8, i32 noundef 1) %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %110 = load i32, ptr %2, align 4 %111 = icmp slt i32 %110, 8 br i1 %111, label %.lr.ph11, label %124 .lr.ph11: ; preds = %104 br label %112 112: ; preds = %.lr.ph11, %119 %113 = load i32, ptr %2, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %114 %116 = load i32, ptr %115, align 4 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %116) %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %119 119: ; preds = %112 %120 = load i32, ptr %2, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %2, align 4 %122 = load i32, ptr %2, align 4 %123 = icmp slt i32 %122, 8 br i1 %123, label %112, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %119 br label %124 124: ; preds = %._crit_edge12, %104 %125 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %126 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %127 = call i32 @fn_invFHaarWT2p2(ptr noundef %125, ptr noundef %126, i32 noundef 8, i32 noundef 1) %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %130 = load i32, ptr %2, align 4 %131 = icmp slt i32 %130, 8 br i1 %131, label %.lr.ph14, label %144 .lr.ph14: ; preds = %124 br label %132 132: ; preds = %.lr.ph14, %139 %133 = load i32, ptr %2, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %134 %136 = load i32, ptr %135, align 4 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %136) %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %139 139: ; preds = %132 %140 = load i32, ptr %2, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %2, align 4 %142 = load i32, ptr %2, align 4 %143 = icmp slt i32 %142, 8 br i1 %143, label %132, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %139 br label %144 144: ; preds = %._crit_edge15, %124 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str) %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %149 = call i32 (ptr, ...) @printf(ptr noundef @.str) %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %153 = load i32, ptr %2, align 4 %154 = icmp slt i32 %153, 8 br i1 %154, label %.lr.ph17, label %167 .lr.ph17: ; preds = %144 br label %155 155: ; preds = %.lr.ph17, %162 %156 = load i32, ptr %2, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %157 %159 = load i32, ptr %158, align 4 %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %159) %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %162 162: ; preds = %155 %163 = load i32, ptr %2, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %2, align 4 %165 = load i32, ptr %2, align 4 %166 = icmp slt i32 %165, 8 br i1 %166, label %155, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %162 br label %167 167: ; preds = %._crit_edge18, %144 %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %169 = load i32, ptr %5, align 4 %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %169) %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %172 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %173 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %174 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %175 = load i32, ptr %5, align 4 %176 = call i32 @fn_dirFHaarWT2p2(ptr noundef %173, ptr noundef %174, i32 noundef 8, i32 noundef %175) store i32 0, ptr %2, align 4 %177 = load i32, ptr %2, align 4 %178 = icmp slt i32 %177, 4 br i1 %178, label %.lr.ph20, label %191 .lr.ph20: ; preds = %167 br label %179 179: ; preds = %.lr.ph20, %186 %180 = load i32, ptr %2, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %181 %183 = load i32, ptr %182, align 4 %184 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %183) %185 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %186 186: ; preds = %179 %187 = load i32, ptr %2, align 4 %188 = add nsw i32 %187, 1 store i32 %188, ptr %2, align 4 %189 = load i32, ptr %2, align 4 %190 = icmp slt i32 %189, 4 br i1 %190, label %179, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %186 br label %191 191: ; preds = %._crit_edge21, %167 store i32 4, ptr %2, align 4 %192 = load i32, ptr %2, align 4 %193 = icmp slt i32 %192, 6 br i1 %193, label %.lr.ph23, label %206 .lr.ph23: ; preds = %191 br label %194 194: ; preds = %.lr.ph23, %201 %195 = load i32, ptr %2, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 %196 %198 = load i32, ptr %197, align 4 %199 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %198) %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %201 201: ; preds = %194 %202 = load i32, ptr %2, align 4 %203 = add nsw i32 %202, 1 store i32 %203, ptr %2, align 4 %204 = load i32, ptr %2, align 4 %205 = icmp slt i32 %204, 6 br i1 %205, label %194, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %201 br label %206 206: ; preds = %._crit_edge24, %191 %207 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 6 %208 = load i32, ptr %207, align 8 %209 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %208) %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %211 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 7 %212 = load i32, ptr %211, align 4 %213 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %212) %214 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %215 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %216 = getelementptr inbounds [8 x i32], ptr %4, i64 0, i64 0 %217 = load i32, ptr %5, align 4 %218 = call i32 @fn_invFHaarWT2p2(ptr noundef %215, ptr noundef %216, i32 noundef 8, i32 noundef %217) %219 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %220 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %221 = load i32, ptr %2, align 4 %222 = icmp slt i32 %221, 8 br i1 %222, label %.lr.ph26, label %235 .lr.ph26: ; preds = %206 br label %223 223: ; preds = %.lr.ph26, %230 %224 = load i32, ptr %2, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 %225 %227 = load i32, ptr %226, align 4 %228 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %227) %229 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %230 230: ; preds = %223 %231 = load i32, ptr %2, align 4 %232 = add nsw i32 %231, 1 store i32 %232, ptr %2, align 4 %233 = load i32, ptr %2, align 4 %234 = icmp slt i32 %233, 8 br i1 %234, label %223, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %230 br label %235 235: ; preds = %._crit_edge27, %206 %236 = call i32 (ptr, ...) @printf(ptr noundef @.str) %237 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %238 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %239 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %240 = call i32 (ptr, ...) @printf(ptr noundef @.str) %241 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %242 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %243 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %244 = load i32, ptr %2, align 4 %245 = icmp slt i32 %244, 32 br i1 %245, label %.lr.ph29, label %264 .lr.ph29: ; preds = %235 br label %246 246: ; preds = %.lr.ph29, %259 %247 = call i32 (...) @rand() %248 = srem i32 %247, 32 %249 = add nsw i32 %248, 1 %250 = load i32, ptr %2, align 4 %251 = sext i32 %250 to i64 %252 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %251 store i32 %249, ptr %252, align 4 %253 = load i32, ptr %2, align 4 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %254 %256 = load i32, ptr %255, align 4 %257 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %256) %258 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %259 259: ; preds = %246 %260 = load i32, ptr %2, align 4 %261 = add nsw i32 %260, 1 store i32 %261, ptr %2, align 4 %262 = load i32, ptr %2, align 4 %263 = icmp slt i32 %262, 32 br i1 %263, label %246, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %259 br label %264 264: ; preds = %._crit_edge30, %235 %265 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 %266 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 0 %267 = load i32, ptr %8, align 4 %268 = call i32 @fn_dirFHaarWT2p2(ptr noundef %265, ptr noundef %266, i32 noundef 32, i32 noundef %267) %269 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %270 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %271 = load i32, ptr %2, align 4 %272 = icmp slt i32 %271, 32 br i1 %272, label %.lr.ph32, label %285 .lr.ph32: ; preds = %264 br label %273 273: ; preds = %.lr.ph32, %280 %274 = load i32, ptr %2, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %275 %277 = load i32, ptr %276, align 4 %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %277) %279 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %280 280: ; preds = %273 %281 = load i32, ptr %2, align 4 %282 = add nsw i32 %281, 1 store i32 %282, ptr %2, align 4 %283 = load i32, ptr %2, align 4 %284 = icmp slt i32 %283, 32 br i1 %284, label %273, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %280 br label %285 285: ; preds = %._crit_edge33, %264 %286 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 0 %287 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 %288 = load i32, ptr %8, align 4 %289 = call i32 @fn_invFHaarWT2p2(ptr noundef %286, ptr noundef %287, i32 noundef 32, i32 noundef %288) %290 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %291 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %292 = load i32, ptr %2, align 4 %293 = icmp slt i32 %292, 32 br i1 %293, label %.lr.ph35, label %306 .lr.ph35: ; preds = %285 br label %294 294: ; preds = %.lr.ph35, %301 %295 = load i32, ptr %2, align 4 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %296 %298 = load i32, ptr %297, align 4 %299 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %298) %300 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %301 301: ; preds = %294 %302 = load i32, ptr %2, align 4 %303 = add nsw i32 %302, 1 store i32 %303, ptr %2, align 4 %304 = load i32, ptr %2, align 4 %305 = icmp slt i32 %304, 32 br i1 %305, label %294, label %._crit_edge36, !llvm.loop !19 ._crit_edge36: ; preds = %301 br label %306 306: ; preds = %._crit_edge36, %285 %307 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %308 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %309 = call i32 (ptr, ...) @printf(ptr noundef @.str) %310 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %311 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %312 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %313 = call i32 (ptr, ...) @printf(ptr noundef @.str) %314 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %315 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %316 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %317 = load i32, ptr %2, align 4 %318 = icmp slt i32 %317, 32 br i1 %318, label %.lr.ph38, label %337 .lr.ph38: ; preds = %306 br label %319 319: ; preds = %.lr.ph38, %332 %320 = call i32 (...) @rand() %321 = srem i32 %320, 32 %322 = add nsw i32 %321, 1 %323 = load i32, ptr %2, align 4 %324 = sext i32 %323 to i64 %325 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %324 store i32 %322, ptr %325, align 4 %326 = load i32, ptr %2, align 4 %327 = sext i32 %326 to i64 %328 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %327 %329 = load i32, ptr %328, align 4 %330 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %329) %331 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %332 332: ; preds = %319 %333 = load i32, ptr %2, align 4 %334 = add nsw i32 %333, 1 store i32 %334, ptr %2, align 4 %335 = load i32, ptr %2, align 4 %336 = icmp slt i32 %335, 32 br i1 %336, label %319, label %._crit_edge39, !llvm.loop !20 ._crit_edge39: ; preds = %332 br label %337 337: ; preds = %._crit_edge39, %306 %338 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 %339 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 0 %340 = call i32 @fn_dirFHaarWT2p2(ptr noundef %338, ptr noundef %339, i32 noundef 32, i32 noundef 3) %341 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %342 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %343 = load i32, ptr %2, align 4 %344 = icmp slt i32 %343, 32 br i1 %344, label %.lr.ph41, label %357 .lr.ph41: ; preds = %337 br label %345 345: ; preds = %.lr.ph41, %352 %346 = load i32, ptr %2, align 4 %347 = sext i32 %346 to i64 %348 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %347 %349 = load i32, ptr %348, align 4 %350 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %349) %351 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %352 352: ; preds = %345 %353 = load i32, ptr %2, align 4 %354 = add nsw i32 %353, 1 store i32 %354, ptr %2, align 4 %355 = load i32, ptr %2, align 4 %356 = icmp slt i32 %355, 32 br i1 %356, label %345, label %._crit_edge42, !llvm.loop !21 ._crit_edge42: ; preds = %352 br label %357 357: ; preds = %._crit_edge42, %337 %358 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 0 %359 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 %360 = call i32 @fn_invFHaarWT2p2(ptr noundef %358, ptr noundef %359, i32 noundef 32, i32 noundef 3) %361 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %362 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %363 = load i32, ptr %2, align 4 %364 = icmp slt i32 %363, 32 br i1 %364, label %.lr.ph44, label %377 .lr.ph44: ; preds = %357 br label %365 365: ; preds = %.lr.ph44, %372 %366 = load i32, ptr %2, align 4 %367 = sext i32 %366 to i64 %368 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %367 %369 = load i32, ptr %368, align 4 %370 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %369) %371 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %372 372: ; preds = %365 %373 = load i32, ptr %2, align 4 %374 = add nsw i32 %373, 1 store i32 %374, ptr %2, align 4 %375 = load i32, ptr %2, align 4 %376 = icmp slt i32 %375, 32 br i1 %376, label %365, label %._crit_edge45, !llvm.loop !22 ._crit_edge45: ; preds = %372 br label %377 377: ; preds = %._crit_edge45, %357 %378 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %379 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @log(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @fn_dirFHaarWT2p2oneStage(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @fn_invFHaarWT2p2oneStage(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @fn_dirFHaarWT2p2(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fn_invFHaarWT2p2(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @rand(...) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7} !20 = distinct !{!20, !7} !21 = distinct !{!21, !7} !22 = distinct !{!22, !7}
; ModuleID = '/tmp/tmp_tumjfi3.c' source_filename = "/tmp/tmp_tumjfi3.c" target datalayout = "e-m:e-p270: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/tmp_tumjfi3.c" target datalayout = "e-m:e-p270: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/tmpw3ojoa3d.c' source_filename = "/tmp/tmpw3ojoa3d.c" target datalayout = "e-m:e-p270: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/tmpw3ojoa3d.c" target datalayout = "e-m:e-p270: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/tmpmv7gyiru.c' source_filename = "/tmp/tmpmv7gyiru.c" target datalayout = "e-m:e-p270: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"%d \0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%.3f \0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%c \0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"%c%c%d%c \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 i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 123, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = trunc i32 %9 to i8 %11 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef signext %10) store float 0x408F3FFE00000000, ptr %3, align 4 %12 = load float, ptr %3, align 4 %13 = fptosi float %12 to i8 %14 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %13) store i8 90, ptr %4, align 1 %15 = load i8, ptr %4, align 1 %16 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.2, i8 noundef signext %15) store i8 69, ptr %5, align 1 store i8 71, ptr %6, align 1 store i8 65, ptr %7, align 1 store i32 1302, ptr %8, align 4 %17 = load i8, ptr %5, align 1 %18 = load i8, ptr %6, align 1 %19 = sext i8 %18 to i32 %20 = load i32, ptr %8, align 4 %21 = load i8, ptr %7, align 1 %22 = sext i8 %21 to i32 %23 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.3, i8 noundef signext %17, i32 noundef %19, i32 noundef %20, i32 noundef %22) ret i32 0 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmv7gyiru.c" target datalayout = "e-m:e-p270: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"%d \0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%.3f \0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%c \0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"%c%c%d%c \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 i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 123, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = trunc i32 %9 to i8 %11 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef signext %10) store float 0x408F3FFE00000000, ptr %3, align 4 %12 = load float, ptr %3, align 4 %13 = fptosi float %12 to i8 %14 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %13) store i8 90, ptr %4, align 1 %15 = load i8, ptr %4, align 1 %16 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.2, i8 noundef signext %15) store i8 69, ptr %5, align 1 store i8 71, ptr %6, align 1 store i8 65, ptr %7, align 1 store i32 1302, ptr %8, align 4 %17 = load i8, ptr %5, align 1 %18 = load i8, ptr %6, align 1 %19 = sext i8 %18 to i32 %20 = load i32, ptr %8, align 4 %21 = load i8, ptr %7, align 1 %22 = sext i8 %21 to i32 %23 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.3, i8 noundef signext %17, i32 noundef %19, i32 noundef %20, i32 noundef %22) ret i32 0 } 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"}
; ModuleID = '/tmp/tmpqkf6p8g7.c' source_filename = "/tmp/tmpqkf6p8g7.c" target datalayout = "e-m:e-p270: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 @rct_alan_zhu_magic_loop(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @mdelay(i32 noundef 2) ret void } declare i32 @mdelay(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/tmpqkf6p8g7.c" target datalayout = "e-m:e-p270: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 @rct_alan_zhu_magic_loop(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @mdelay(i32 noundef 2) ret void } declare i32 @mdelay(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/tmpfozuniig.c' source_filename = "/tmp/tmpfozuniig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"/dev/random\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"%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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %9 = load i32, ptr @O_RDONLY, align 4 %10 = call i32 @open(ptr noundef @.str, i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %28 15: ; preds = %2 %16 = load i32, ptr %6, align 4 %17 = call i32 @read(i32 noundef %16, ptr noundef %8, i32 noundef 4) store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load i32, ptr %8, align 4 %22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21) br label %25 23: ; preds = %15 %24 = call i32 @perror(ptr noundef @.str) br label %25 25: ; preds = %23, %20 %26 = load i32, ptr %6, align 4 %27 = call i32 @close(i32 noundef %26) store i32 0, ptr %3, align 4 br label %28 28: ; preds = %25, %13 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpfozuniig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"/dev/random\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"%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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %9 = load i32, ptr @O_RDONLY, align 4 %10 = call i32 @open(ptr noundef @.str, i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %28 15: ; preds = %2 %16 = load i32, ptr %6, align 4 %17 = call i32 @read(i32 noundef %16, ptr noundef %8, i32 noundef 4) store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load i32, ptr %8, align 4 %22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21) br label %25 23: ; preds = %15 %24 = call i32 @perror(ptr noundef @.str) br label %25 25: ; preds = %23, %20 %26 = load i32, ptr %6, align 4 %27 = call i32 @close(i32 noundef %26) store i32 0, ptr %3, align 4 br label %28 28: ; preds = %25, %13 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpbq1kmu4m.c' source_filename = "/tmp/tmpbq1kmu4m.c" target datalayout = "e-m:e-p270: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 @ps_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @do_free(ptr noundef %3) ret void } declare i32 @do_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/tmpbq1kmu4m.c" target datalayout = "e-m:e-p270: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 @ps_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @do_free(ptr noundef %3) ret void } declare i32 @do_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/tmp3ucqgw1e.c' source_filename = "/tmp/tmp3ucqgw1e.c" target datalayout = "e-m:e-p270: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 ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 4, %7 %9 = trunc i64 %8 to i32 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %2, align 8 store i32 0, ptr %4, align 4 br label %11 11: ; preds = %21, %0 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %24 15: ; preds = %11 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19) br label %21 21: ; preds = %15 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %11, !llvm.loop !6 24: ; preds = %11 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = call i32 @maxSum(ptr noundef %25, i32 noundef %26) %28 = call i32 @printf(ptr noundef @.str, i32 noundef %27) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @maxSum(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/tmp3ucqgw1e.c" target datalayout = "e-m:e-p270: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 ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 4, %7 %9 = trunc i64 %8 to i32 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %2, align 8 store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %20 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18) br label %20 20: ; preds = %14 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %0 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %3, align 4 %29 = call i32 @maxSum(ptr noundef %27, i32 noundef %28) %30 = call i32 @printf(ptr noundef @.str, i32 noundef %29) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @maxSum(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/tmpx5judujp.c' source_filename = "/tmp/tmpx5judujp.c" target datalayout = "e-m:e-p270: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"+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sys_get_ticks() #0 { %1 = call i32 @disp_str(ptr noundef @.str) ret i32 0 } declare i32 @disp_str(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/tmpx5judujp.c" target datalayout = "e-m:e-p270: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"+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sys_get_ticks() #0 { %1 = call i32 @disp_str(ptr noundef @.str) ret i32 0 } declare i32 @disp_str(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/tmps3jyzwi5.c' source_filename = "/tmp/tmps3jyzwi5.c" target datalayout = "e-m:e-p270: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: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundcets_fchown(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @fchown(i32 noundef %7, i32 noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @fchown(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmps3jyzwi5.c" target datalayout = "e-m:e-p270: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: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundcets_fchown(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @fchown(i32 noundef %7, i32 noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @fchown(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpaa3v9uhw.c' source_filename = "/tmp/tmpaa3v9uhw.c" target datalayout = "e-m:e-p270: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"the first\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @tfn1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) ret ptr inttoptr (i64 1 to ptr) } 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/tmpaa3v9uhw.c" target datalayout = "e-m:e-p270: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"the first\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @tfn1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) ret ptr inttoptr (i64 1 to ptr) } 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/tmp8xkkwh3z.c' source_filename = "/tmp/tmp8xkkwh3z.c" target datalayout = "e-m:e-p270: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/tmp8xkkwh3z.c" target datalayout = "e-m:e-p270: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/tmp3poqgue7.c' source_filename = "/tmp/tmp3poqgue7.c" target datalayout = "e-m:e-p270: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 @libsais_unbwt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %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 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 store i32 %4, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = call i32 @libsais_unbwt_aux(ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %10) ret i32 %16 } declare i32 @libsais_unbwt_aux(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3poqgue7.c" target datalayout = "e-m:e-p270: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 @libsais_unbwt(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %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 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 store i32 %4, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = call i32 @libsais_unbwt_aux(ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %10) ret i32 %16 } declare i32 @libsais_unbwt_aux(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpte1afapq.c' source_filename = "/tmp/tmpte1afapq.c" target datalayout = "e-m:e-p270: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"Error reading the socket.\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"End of file.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_node(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 i32, align 4 %8 = alloca i32, align 4 %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 i32 0, ptr %7, align 4 %10 = load i32, ptr %6, align 4 store i32 %10, ptr %8, align 4 br label %11 11: ; preds = %36, %3 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %43 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i32, ptr %8, align 4 %22 = call i32 @read(i32 noundef %16, ptr noundef %20, i32 noundef %21) store i32 %22, ptr %9, align 4 %23 = load i32, ptr %9, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %28 25: ; preds = %15 %26 = call i32 @perror(ptr noundef @.str) %27 = call i32 @exit(i32 noundef 1) #3 unreachable 28: ; preds = %15 %29 = load i32, ptr %9, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %28 %32 = load i32, ptr @stderr, align 4 %33 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str.1) %34 = call i32 @exit(i32 noundef 1) #3 unreachable 35: ; preds = %28 br label %36 36: ; preds = %35 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, %37 store i32 %39, ptr %7, align 4 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr %8, align 4 %42 = sub nsw i32 %41, %40 store i32 %42, ptr %8, align 4 br label %11, !llvm.loop !6 43: ; preds = %11 ret void } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(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" } 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/tmpte1afapq.c" target datalayout = "e-m:e-p270: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"Error reading the socket.\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"End of file.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_node(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 i32, align 4 %8 = alloca i32, align 4 %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 i32 0, ptr %7, align 4 %10 = load i32, ptr %6, align 4 store i32 %10, ptr %8, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %45 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %35 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i32, ptr %8, align 4 %21 = call i32 @read(i32 noundef %15, ptr noundef %19, i32 noundef %20) store i32 %21, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %27 24: ; preds = %14 %25 = call i32 @perror(ptr noundef @.str) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %14 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %27 %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1) %33 = call i32 @exit(i32 noundef 1) #3 unreachable 34: ; preds = %27 br label %35 35: ; preds = %34 %36 = load i32, ptr %9, align 4 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, %36 store i32 %38, ptr %7, align 4 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr %8, align 4 %41 = sub nsw i32 %40, %39 store i32 %41, ptr %8, align 4 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %45 45: ; preds = %._crit_edge, %3 ret void } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(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" } 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/tmpond1utv4.c' source_filename = "/tmp/tmpond1utv4.c" target datalayout = "e-m:e-p270: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/tmpond1utv4.c" target datalayout = "e-m:e-p270: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/tmp2sd9z0bm.c' source_filename = "/tmp/tmp2sd9z0bm.c" target datalayout = "e-m:e-p270: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 @cmp_func_int32_t(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %7, align 8 store i64 %8, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i64, ptr %9, align 8 store i64 %10, ptr %6, align 8 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp sgt i64 %11, %12 %14 = zext i1 %13 to i32 %15 = load i64, ptr %5, align 8 %16 = load i64, ptr %6, align 8 %17 = icmp slt i64 %15, %16 %18 = zext i1 %17 to i32 %19 = sub nsw i32 %14, %18 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp2sd9z0bm.c" target datalayout = "e-m:e-p270: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 @cmp_func_int32_t(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %7, align 8 store i64 %8, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i64, ptr %9, align 8 store i64 %10, ptr %6, align 8 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp sgt i64 %11, %12 %14 = zext i1 %13 to i32 %15 = load i64, ptr %5, align 8 %16 = load i64, ptr %6, align 8 %17 = icmp slt i64 %15, %16 %18 = zext i1 %17 to i32 %19 = sub nsw i32 %14, %18 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpixe0oo6d.c' source_filename = "/tmp/tmpixe0oo6d.c" target datalayout = "e-m:e-p270: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 @parttwo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %1, %41 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 store i8 %12, ptr %5, align 1 %13 = load i8, ptr %5, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 40 br i1 %15, label %16, label %19 16: ; preds = %7 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %16, %7 %20 = load i8, ptr %5, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 41 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load i32, ptr %3, align 4 %25 = sub nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %23, %19 %27 = load i8, ptr %5, align 1 %28 = call i32 @bc(i8 noundef signext %27) %29 = icmp eq i32 %28, 1 br i1 %29, label %30, label %41 30: ; preds = %26 %31 = load i32, ptr %3, align 4 %32 = icmp eq i32 %31, 1 br i1 %32, label %33, label %41 33: ; preds = %30 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 2 %37 = load ptr, ptr %2, align 8 %38 = call i32 @strlen(ptr noundef %37) %39 = call ptr @segment(ptr noundef %34, i32 noundef %36, i32 noundef %38) store ptr %39, ptr %6, align 8 %40 = load ptr, ptr %6, align 8 ret ptr %40 41: ; preds = %30, %26 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 br label %7 } declare i32 @bc(i8 noundef signext) #1 declare ptr @segment(ptr noundef, i32 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/tmpixe0oo6d.c" target datalayout = "e-m:e-p270: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 @parttwo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %41, %1 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 store i8 %12, ptr %5, align 1 %13 = load i8, ptr %5, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 40 br i1 %15, label %16, label %19 16: ; preds = %7 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %16, %7 %20 = load i8, ptr %5, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 41 br i1 %22, label %23, label %26 23: ; preds = %19 %24 = load i32, ptr %3, align 4 %25 = sub nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %23, %19 %27 = load i8, ptr %5, align 1 %28 = call i32 @bc(i8 noundef signext %27) %29 = icmp eq i32 %28, 1 br i1 %29, label %30, label %41 30: ; preds = %26 %31 = load i32, ptr %3, align 4 %32 = icmp eq i32 %31, 1 br i1 %32, label %33, label %41 33: ; preds = %30 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 2 %37 = load ptr, ptr %2, align 8 %38 = call i32 @strlen(ptr noundef %37) %39 = call ptr @segment(ptr noundef %34, i32 noundef %36, i32 noundef %38) store ptr %39, ptr %6, align 8 %40 = load ptr, ptr %6, align 8 ret ptr %40 41: ; preds = %30, %26 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 br label %7 } declare i32 @bc(i8 noundef signext) #1 declare ptr @segment(ptr noundef, i32 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/tmpyf8kx3eu.c' source_filename = "/tmp/tmpyf8kx3eu.c" target datalayout = "e-m:e-p270: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/tmpyf8kx3eu.c" target datalayout = "e-m:e-p270: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/tmpoa8xjc7c.c' source_filename = "/tmp/tmpoa8xjc7c.c" target datalayout = "e-m:e-p270: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"I am %d years old. \0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"I am %d inches tall. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = load i32, ptr %3, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoa8xjc7c.c" target datalayout = "e-m:e-p270: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"I am %d years old. \0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"I am %d inches tall. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = load i32, ptr %3, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps00aq2ye.c' source_filename = "/tmp/tmps00aq2ye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr = private unnamed_addr constant [10 x i32] [i32 11, i32 2, i32 9, i32 13, i32 57, i32 25, i32 17, i32 1, i32 90, i32 3], align 16 @.str = private unnamed_addr constant [19 x i8] c"Binary tree sort.\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"\0AArray:\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"\0AIn-order traversal of binary tree:\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 store i32 10, ptr %4, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.arr, i64 40, i1 false) store ptr null, ptr %2, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %8 8: ; preds = %18, %0 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %21 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) br label %18 18: ; preds = %12 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %8, !llvm.loop !6 21: ; preds = %8 store i32 0, ptr %3, align 4 br label %22 22: ; preds = %32, %21 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %35 26: ; preds = %22 %27 = load i32, ptr %3, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call i32 @insert(ptr noundef %2, i32 noundef %30) br label %32 32: ; preds = %26 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4 br label %22, !llvm.loop !8 35: ; preds = %22 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %37 = load ptr, ptr %2, align 8 %38 = call i32 @inorder(ptr noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @insert(ptr noundef, i32 noundef) #2 declare i32 @inorder(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 = { 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps00aq2ye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.arr = private unnamed_addr constant [10 x i32] [i32 11, i32 2, i32 9, i32 13, i32 57, i32 25, i32 17, i32 1, i32 90, i32 3], align 16 @.str = private unnamed_addr constant [19 x i8] c"Binary tree sort.\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"\0AArray:\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"\0AIn-order traversal of binary tree:\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 store i32 10, ptr %4, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.arr, i64 40, i1 false) store ptr null, ptr %2, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %17 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %11 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph2, label %39 .lr.ph2: ; preds = %23 br label %27 27: ; preds = %.lr.ph2, %33 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = call i32 @insert(ptr noundef %2, i32 noundef %31) br label %33 33: ; preds = %27 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %3, align 4 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %39 39: ; preds = %._crit_edge3, %23 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %41 = load ptr, ptr %2, align 8 %42 = call i32 @inorder(ptr noundef %41) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @insert(ptr noundef, i32 noundef) #2 declare i32 @inorder(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 = { 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpiiscg8fq.c' source_filename = "/tmp/tmpiiscg8fq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.x = private unnamed_addr constant [8 x double] [double 1.000000e+00, double -2.000000e+00, double 3.000000e+00, double -4.000000e+00, double 5.000000e+00, double -6.000000e+00, double 7.000000e+00, double -8.000000e+00], align 16 @.str = private unnamed_addr constant [15 x i8] c"x[ %i ] = %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [8 x double], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 64, i1 false) store i32 8, ptr %3, align 4 store i32 1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [8 x double], ptr %2, i64 0, i64 0 %8 = load i32, ptr %4, align 4 %9 = call i32 @c_dsortins(i32 noundef %6, double noundef 1.000000e+00, ptr noundef %7, i32 noundef %8) store i32 0, ptr %5, align 4 br label %10 10: ; preds = %20, %0 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 8 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [8 x double], ptr %2, i64 0, i64 %16 %18 = load double, ptr %17, align 8 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %14, double noundef %18) br label %20 20: ; preds = %13 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %10, !llvm.loop !6 23: ; preds = %10 %24 = load i32, ptr %1, align 4 ret i32 %24 } ; 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 i32 @c_dsortins(i32 noundef, double noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiiscg8fq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.x = private unnamed_addr constant [8 x double] [double 1.000000e+00, double -2.000000e+00, double 3.000000e+00, double -4.000000e+00, double 5.000000e+00, double -6.000000e+00, double 7.000000e+00, double -8.000000e+00], align 16 @.str = private unnamed_addr constant [15 x i8] c"x[ %i ] = %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [8 x double], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.x, i64 64, i1 false) store i32 8, ptr %3, align 4 store i32 1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = getelementptr inbounds [8 x double], ptr %2, i64 0, i64 0 %8 = load i32, ptr %4, align 4 %9 = call i32 @c_dsortins(i32 noundef %6, double noundef 1.000000e+00, ptr noundef %7, i32 noundef %8) store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 8 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %19 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [8 x double], ptr %2, i64 0, i64 %15 %17 = load double, ptr %16, align 8 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %13, double noundef %17) br label %19 19: ; preds = %12 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %22, 8 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 %25 = load i32, ptr %1, align 4 ret i32 %25 } ; 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 i32 @c_dsortins(i32 noundef, double noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbt50o4qm.c' source_filename = "/tmp/tmpbt50o4qm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbt50o4qm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq3o1tljf.c' source_filename = "/tmp/tmpq3o1tljf.c" target datalayout = "e-m:e-p270: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 @analyze_datatype_size(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %11 [ i32 2, label %5 i32 4, label %6 i32 8, label %7 i32 16, label %8 i32 32, label %9 i32 64, label %10 ] 5: ; preds = %1 store i32 1, ptr %2, align 4 br label %12 6: ; preds = %1 store i32 2, ptr %2, align 4 br label %12 7: ; preds = %1 store i32 4, ptr %2, align 4 br label %12 8: ; preds = %1 store i32 4, ptr %2, align 4 br label %12 9: ; preds = %1 store i32 8, ptr %2, align 4 br label %12 10: ; preds = %1 store i32 8, ptr %2, align 4 br label %12 11: ; preds = %1 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %11, %10, %9, %8, %7, %6, %5 %13 = load i32, ptr %2, align 4 ret i32 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpq3o1tljf.c" target datalayout = "e-m:e-p270: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 @analyze_datatype_size(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %11 [ i32 2, label %5 i32 4, label %6 i32 8, label %7 i32 16, label %8 i32 32, label %9 i32 64, label %10 ] 5: ; preds = %1 store i32 1, ptr %2, align 4 br label %12 6: ; preds = %1 store i32 2, ptr %2, align 4 br label %12 7: ; preds = %1 store i32 4, ptr %2, align 4 br label %12 8: ; preds = %1 store i32 4, ptr %2, align 4 br label %12 9: ; preds = %1 store i32 8, ptr %2, align 4 br label %12 10: ; preds = %1 store i32 8, ptr %2, align 4 br label %12 11: ; preds = %1 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %11, %10, %9, %8, %7, %6, %5 %13 = load i32, ptr %2, align 4 ret i32 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp5dotaq04.c' source_filename = "/tmp/tmp5dotaq04.c" target datalayout = "e-m:e-p270: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"#define ZARCH_GENERIC\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"#define DTB_DEFAULT_ENTRIES 64\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"#define Z13\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"#define Z14\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"#define L1_DATA_SIZE 131072\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"#define L1_DATA_LINESIZE 256\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"#define L1_DATA_ASSOCIATIVE 8\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"#define L2_SIZE 4194304\0A\00", align 1 @.str.8 = private unnamed_addr constant [25 x i8] c"#define L2_LINESIZE 256\0A\00", align 1 @.str.9 = private unnamed_addr constant [26 x i8] c"#define L2_ASSOCIATIVE 8\0A\00", align 1 @.str.10 = private unnamed_addr constant [23 x i8] c"#define DTB_SIZE 4096\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_cpuconfig() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @detect() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 switch i32 %3, label %20 [ i32 0, label %4 i32 1, label %7 i32 2, label %10 ] 4: ; preds = %0 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @printf(ptr noundef @.str.1) br label %20 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) %9 = call i32 @printf(ptr noundef @.str.1) br label %20 10: ; preds = %0 %11 = call i32 @printf(ptr noundef @.str.3) %12 = call i32 @printf(ptr noundef @.str.4) %13 = call i32 @printf(ptr noundef @.str.5) %14 = call i32 @printf(ptr noundef @.str.6) %15 = call i32 @printf(ptr noundef @.str.7) %16 = call i32 @printf(ptr noundef @.str.8) %17 = call i32 @printf(ptr noundef @.str.9) %18 = call i32 @printf(ptr noundef @.str.1) %19 = call i32 @printf(ptr noundef @.str.10) br label %20 20: ; preds = %0, %10, %7, %4 ret void } declare i32 @detect(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5dotaq04.c" target datalayout = "e-m:e-p270: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"#define ZARCH_GENERIC\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"#define DTB_DEFAULT_ENTRIES 64\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"#define Z13\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"#define Z14\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"#define L1_DATA_SIZE 131072\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"#define L1_DATA_LINESIZE 256\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"#define L1_DATA_ASSOCIATIVE 8\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"#define L2_SIZE 4194304\0A\00", align 1 @.str.8 = private unnamed_addr constant [25 x i8] c"#define L2_LINESIZE 256\0A\00", align 1 @.str.9 = private unnamed_addr constant [26 x i8] c"#define L2_ASSOCIATIVE 8\0A\00", align 1 @.str.10 = private unnamed_addr constant [23 x i8] c"#define DTB_SIZE 4096\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_cpuconfig() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @detect() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 switch i32 %3, label %20 [ i32 0, label %4 i32 1, label %7 i32 2, label %10 ] 4: ; preds = %0 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @printf(ptr noundef @.str.1) br label %20 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) %9 = call i32 @printf(ptr noundef @.str.1) br label %20 10: ; preds = %0 %11 = call i32 @printf(ptr noundef @.str.3) %12 = call i32 @printf(ptr noundef @.str.4) %13 = call i32 @printf(ptr noundef @.str.5) %14 = call i32 @printf(ptr noundef @.str.6) %15 = call i32 @printf(ptr noundef @.str.7) %16 = call i32 @printf(ptr noundef @.str.8) %17 = call i32 @printf(ptr noundef @.str.9) %18 = call i32 @printf(ptr noundef @.str.1) %19 = call i32 @printf(ptr noundef @.str.10) br label %20 20: ; preds = %10, %7, %4, %0 ret void } declare i32 @detect(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpct2xupv0.c' source_filename = "/tmp/tmpct2xupv0.c" target datalayout = "e-m:e-p270: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 @cel_djp2_hash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 5381, ptr %3, align 4 br label %4 4: ; preds = %9, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %4 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 %10, 33 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %2, align 8 %14 = load i8, ptr %12, align 1 %15 = sext i8 %14 to i32 %16 = xor i32 %11, %15 store i32 %16, ptr %3, align 4 br label %4, !llvm.loop !6 17: ; preds = %4 %18 = load i32, ptr %3, align 4 %19 = and i32 %18, 2147483647 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpct2xupv0.c" target datalayout = "e-m:e-p270: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 @cel_djp2_hash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 5381, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %6, 0 br i1 %7, label %.lr.ph, label %20 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i32, ptr %3, align 4 %10 = mul nsw i32 %9, 33 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %2, align 8 %13 = load i8, ptr %11, align 1 %14 = sext i8 %13 to i32 %15 = xor i32 %10, %14 store i32 %15, ptr %3, align 4 %16 = load ptr, ptr %2, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %20 20: ; preds = %._crit_edge, %1 %21 = load i32, ptr %3, align 4 %22 = and i32 %21, 2147483647 ret i32 %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpks6dm929.c' source_filename = "/tmp/tmpks6dm929.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 122, ptr %2, align 1 br label %3 3: ; preds = %10, %0 %4 = load i8, ptr %2, align 1 %5 = sext i8 %4 to i32 %6 = icmp sge i32 %5, 97 br i1 %6, label %7, label %13 7: ; preds = %3 %8 = load i8, ptr %2, align 1 %9 = call i32 @putchar(i8 noundef signext %8) br label %10 10: ; preds = %7 %11 = load i8, ptr %2, align 1 %12 = add i8 %11, -1 store i8 %12, ptr %2, align 1 br label %3, !llvm.loop !6 13: ; preds = %3 %14 = call i32 @putchar(i8 noundef signext 10) ret i32 0 } declare i32 @putchar(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/tmpks6dm929.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 122, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = icmp sge i32 %4, 97 br i1 %5, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %9 %7 = load i8, ptr %2, align 1 %8 = call i32 @putchar(i8 noundef signext %7) br label %9 9: ; preds = %6 %10 = load i8, ptr %2, align 1 %11 = add i8 %10, -1 store i8 %11, ptr %2, align 1 %12 = load i8, ptr %2, align 1 %13 = sext i8 %12 to i32 %14 = icmp sge i32 %13, 97 br i1 %14, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %15 15: ; preds = %._crit_edge, %0 %16 = call i32 @putchar(i8 noundef signext 10) ret i32 0 } declare i32 @putchar(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/tmpmr9u76mq.c' source_filename = "/tmp/tmpmr9u76mq.c" target datalayout = "e-m:e-p270: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 { i64, i64, i32 } @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @ENOENT = dso_local global i32 0, align 4 @ENOTDIR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define hidden i32 @sd_is_fifo(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.stat, align 8 %7 = alloca %struct.stat, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @EINVAL, align 4 %12 = sub nsw i32 0, %11 store i32 %12, ptr %3, align 4 br label %63 13: ; preds = %2 %14 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 24) %15 = load i32, ptr %4, align 4 %16 = call i64 @fstat(i32 noundef %15, ptr noundef %6) %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load i32, ptr @errno, align 4 %20 = sub nsw i32 0, %19 store i32 %20, ptr %3, align 4 br label %63 21: ; preds = %13 %22 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 2 %23 = load i32, ptr %22, align 8 %24 = call i32 @S_ISFIFO(i32 noundef %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %21 store i32 0, ptr %3, align 4 br label %63 27: ; preds = %21 %28 = load ptr, ptr %5, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %62 30: ; preds = %27 %31 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 24) %32 = load ptr, ptr %5, align 8 %33 = call i64 @stat(ptr noundef %32, ptr noundef %7) %34 = icmp slt i64 %33, 0 br i1 %34, label %35, label %47 35: ; preds = %30 %36 = load i32, ptr @errno, align 4 %37 = load i32, ptr @ENOENT, align 4 %38 = icmp eq i32 %36, %37 br i1 %38, label %43, label %39 39: ; preds = %35 %40 = load i32, ptr @errno, align 4 %41 = load i32, ptr @ENOTDIR, align 4 %42 = icmp eq i32 %40, %41 br i1 %42, label %43, label %44 43: ; preds = %39, %35 store i32 0, ptr %3, align 4 br label %63 44: ; preds = %39 %45 = load i32, ptr @errno, align 4 %46 = sub nsw i32 0, %45 store i32 %46, ptr %3, align 4 br label %63 47: ; preds = %30 %48 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %49 = load i64, ptr %48, align 8 %50 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %51 = load i64, ptr %50, align 8 %52 = icmp eq i64 %49, %51 br i1 %52, label %53, label %59 53: ; preds = %47 %54 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1 %55 = load i64, ptr %54, align 8 %56 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 1 %57 = load i64, ptr %56, align 8 %58 = icmp eq i64 %55, %57 br label %59 59: ; preds = %53, %47 %60 = phi i1 [ false, %47 ], [ %58, %53 ] %61 = zext i1 %60 to i32 store i32 %61, ptr %3, align 4 br label %63 62: ; preds = %27 store i32 1, ptr %3, align 4 br label %63 63: ; preds = %62, %59, %44, %43, %26, %18, %10 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fstat(i32 noundef, ptr noundef) #1 declare i32 @S_ISFIFO(i32 noundef) #1 declare i64 @stat(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/tmpmr9u76mq.c" target datalayout = "e-m:e-p270: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 { i64, i64, i32 } @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @ENOENT = dso_local global i32 0, align 4 @ENOTDIR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define hidden i32 @sd_is_fifo(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.stat, align 8 %7 = alloca %struct.stat, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @EINVAL, align 4 %12 = sub nsw i32 0, %11 store i32 %12, ptr %3, align 4 br label %63 13: ; preds = %2 %14 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 24) %15 = load i32, ptr %4, align 4 %16 = call i64 @fstat(i32 noundef %15, ptr noundef %6) %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %13 %19 = load i32, ptr @errno, align 4 %20 = sub nsw i32 0, %19 store i32 %20, ptr %3, align 4 br label %63 21: ; preds = %13 %22 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 2 %23 = load i32, ptr %22, align 8 %24 = call i32 @S_ISFIFO(i32 noundef %23) %25 = icmp ne i32 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %21 store i32 0, ptr %3, align 4 br label %63 27: ; preds = %21 %28 = load ptr, ptr %5, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %62 30: ; preds = %27 %31 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 24) %32 = load ptr, ptr %5, align 8 %33 = call i64 @stat(ptr noundef %32, ptr noundef %7) %34 = icmp slt i64 %33, 0 br i1 %34, label %35, label %47 35: ; preds = %30 %36 = load i32, ptr @errno, align 4 %37 = load i32, ptr @ENOENT, align 4 %38 = icmp eq i32 %36, %37 br i1 %38, label %43, label %39 39: ; preds = %35 %40 = load i32, ptr @errno, align 4 %41 = load i32, ptr @ENOTDIR, align 4 %42 = icmp eq i32 %40, %41 br i1 %42, label %43, label %44 43: ; preds = %39, %35 store i32 0, ptr %3, align 4 br label %63 44: ; preds = %39 %45 = load i32, ptr @errno, align 4 %46 = sub nsw i32 0, %45 store i32 %46, ptr %3, align 4 br label %63 47: ; preds = %30 %48 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0 %49 = load i64, ptr %48, align 8 %50 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0 %51 = load i64, ptr %50, align 8 %52 = icmp eq i64 %49, %51 br i1 %52, label %53, label %59 53: ; preds = %47 %54 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1 %55 = load i64, ptr %54, align 8 %56 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 1 %57 = load i64, ptr %56, align 8 %58 = icmp eq i64 %55, %57 br label %59 59: ; preds = %53, %47 %60 = phi i1 [ false, %47 ], [ %58, %53 ] %61 = zext i1 %60 to i32 store i32 %61, ptr %3, align 4 br label %63 62: ; preds = %27 store i32 1, ptr %3, align 4 br label %63 63: ; preds = %62, %59, %44, %43, %26, %18, %10 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fstat(i32 noundef, ptr noundef) #1 declare i32 @S_ISFIFO(i32 noundef) #1 declare i64 @stat(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/tmp0h08cffo.c' source_filename = "/tmp/tmp0h08cffo.c" target datalayout = "e-m:e-p270: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 @strchr_s(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 ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %7, align 8 br label %12 12: ; preds = %39, %2 %13 = load ptr, ptr %7, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %42 17: ; preds = %12 store i32 0, ptr %8, align 4 br label %18 18: ; preds = %36, %17 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %39 22: ; preds = %18 %23 = load ptr, ptr %7, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %25, %31 br i1 %32, label %33, label %35 33: ; preds = %22 %34 = load ptr, ptr %7, align 8 store ptr %34, ptr %3, align 8 br label %43 35: ; preds = %22 br label %36 36: ; preds = %35 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 br label %18, !llvm.loop !6 39: ; preds = %18 %40 = load ptr, ptr %7, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %7, align 8 br label %12, !llvm.loop !8 42: ; preds = %12 store ptr null, ptr %3, align 8 br label %43 43: ; preds = %42, %33 %44 = load ptr, ptr %3, align 8 ret ptr %44 } 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/tmp0h08cffo.c" target datalayout = "e-m:e-p270: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 @strchr_s(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 ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph2, label %47 .lr.ph2: ; preds = %2 br label %16 16: ; preds = %.lr.ph2, %40 store i32 0, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %40 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %34 %21 = load ptr, ptr %7, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %23, %29 br i1 %30, label %31, label %33 31: ; preds = %20 %32 = load ptr, ptr %7, align 8 store ptr %32, ptr %3, align 8 br label %48 33: ; preds = %20 br label %34 34: ; preds = %33 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %16 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %7, align 8 %43 = load ptr, ptr %7, align 8 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 0 br i1 %46, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %47 47: ; preds = %._crit_edge3, %2 store ptr null, ptr %3, align 8 br label %48 48: ; preds = %47, %31 %49 = load ptr, ptr %3, align 8 ret ptr %49 } 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/tmpdt5pg1fg.c' source_filename = "/tmp/tmpdt5pg1fg.c" target datalayout = "e-m:e-p270: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/tmpdt5pg1fg.c" target datalayout = "e-m:e-p270: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/tmpb8obq9it.c' source_filename = "/tmp/tmpb8obq9it.c" target datalayout = "e-m:e-p270: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/tmpb8obq9it.c" target datalayout = "e-m:e-p270: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/tmpfvxmitqj.c' source_filename = "/tmp/tmpfvxmitqj.c" target datalayout = "e-m:e-p270: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 [28 x i8] c"##contig=<ID=%s,length=%d>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mut_print_header_contig(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %9) ret void } declare i32 @fprintf(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/tmpfvxmitqj.c" target datalayout = "e-m:e-p270: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 [28 x i8] c"##contig=<ID=%s,length=%d>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mut_print_header_contig(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %9) ret void } declare i32 @fprintf(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/tmp__lbtk1e.c' source_filename = "/tmp/tmp__lbtk1e.c" target datalayout = "e-m:e-p270: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/tmp__lbtk1e.c" target datalayout = "e-m:e-p270: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/tmp04vxuckz.c' source_filename = "/tmp/tmp04vxuckz.c" target datalayout = "e-m:e-p270: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 @fat_dumpSystemInfo() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @fat_mountCheck() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = load i32, ptr %2, align 4 store i32 %7, ptr %1, align 4 br label %13 8: ; preds = %0 %9 = call i32 (...) @fat_dumpPartitionTable() %10 = call i32 (...) @fat_dumpPartitionBootSector() %11 = call i32 @fat_dumpFatSector(i32 noundef 0) %12 = call i32 @fat_dumpRootDirSector(i32 noundef 0, i32 noundef 10) br label %13 13: ; preds = %8, %6 %14 = load i32, ptr %1, align 4 ret i32 %14 } declare i32 @fat_mountCheck(...) #1 declare i32 @fat_dumpPartitionTable(...) #1 declare i32 @fat_dumpPartitionBootSector(...) #1 declare i32 @fat_dumpFatSector(i32 noundef) #1 declare i32 @fat_dumpRootDirSector(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/tmp04vxuckz.c" target datalayout = "e-m:e-p270: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 @fat_dumpSystemInfo() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @fat_mountCheck() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = load i32, ptr %2, align 4 store i32 %7, ptr %1, align 4 br label %13 8: ; preds = %0 %9 = call i32 (...) @fat_dumpPartitionTable() %10 = call i32 (...) @fat_dumpPartitionBootSector() %11 = call i32 @fat_dumpFatSector(i32 noundef 0) %12 = call i32 @fat_dumpRootDirSector(i32 noundef 0, i32 noundef 10) br label %13 13: ; preds = %8, %6 %14 = load i32, ptr %1, align 4 ret i32 %14 } declare i32 @fat_mountCheck(...) #1 declare i32 @fat_dumpPartitionTable(...) #1 declare i32 @fat_dumpPartitionBootSector(...) #1 declare i32 @fat_dumpFatSector(i32 noundef) #1 declare i32 @fat_dumpRootDirSector(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/tmp649qnrdc.c' source_filename = "/tmp/tmp649qnrdc.c" target datalayout = "e-m:e-p270: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/tmp649qnrdc.c" target datalayout = "e-m:e-p270: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/tmphsnl9zdb.c' source_filename = "/tmp/tmphsnl9zdb.c" target datalayout = "e-m:e-p270: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 @sd_resolve_getnameinfo(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %17 = load i32, ptr @EINVAL, align 4 %18 = sub nsw i32 0, %17 ret i32 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmphsnl9zdb.c" target datalayout = "e-m:e-p270: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 @sd_resolve_getnameinfo(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %17 = load i32, ptr @EINVAL, align 4 %18 = sub nsw i32 0, %17 ret i32 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpqchfn0h4.c' source_filename = "/tmp/tmpqchfn0h4.c" target datalayout = "e-m:e-p270: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 @strip_str(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %5, align 8 %11 = load i64, ptr %5, align 8 %12 = add i64 %11, 1 %13 = call i64 @malloc(i64 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %15 15: ; preds = %42, %2 %16 = load i32, ptr %8, align 4 %17 = sext i32 %16 to i64 %18 = load i64, ptr %5, align 8 %19 = icmp ult i64 %17, %18 br i1 %19, label %20, label %45 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = call i32 @strchr(ptr noundef %21, i8 noundef signext %26) %28 = icmp ne i32 %27, 0 br i1 %28, label %41, label %29 29: ; preds = %20 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 %34, ptr %38, align 1 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 br label %41 41: ; preds = %29, %20 br label %42 42: ; preds = %41 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 br label %15, !llvm.loop !6 45: ; preds = %15 %46 = load ptr, ptr %6, align 8 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 store i8 0, ptr %49, align 1 %50 = load ptr, ptr %6, align 8 ret ptr %50 } declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqchfn0h4.c" target datalayout = "e-m:e-p270: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 @strip_str(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %5, align 8 %11 = load i64, ptr %5, align 8 %12 = add i64 %11, 1 %13 = call i64 @malloc(i64 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = load i64, ptr %5, align 8 %18 = icmp ult i64 %16, %17 br i1 %18, label %.lr.ph, label %48 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %41 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = call i32 @strchr(ptr noundef %20, i8 noundef signext %25) %27 = icmp ne i32 %26, 0 br i1 %27, label %40, label %28 28: ; preds = %19 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 %33, ptr %37, align 1 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %40 40: ; preds = %28, %19 br label %41 41: ; preds = %40 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 %44 = load i32, ptr %8, align 4 %45 = sext i32 %44 to i64 %46 = load i64, ptr %5, align 8 %47 = icmp ult i64 %45, %46 br i1 %47, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %48 48: ; preds = %._crit_edge, %2 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 0, ptr %52, align 1 %53 = load ptr, ptr %6, align 8 ret ptr %53 } declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvq59_mqv.c' source_filename = "/tmp/tmpvq59_mqv.c" target datalayout = "e-m:e-p270: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/tmpvq59_mqv.c" target datalayout = "e-m:e-p270: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/tmpzgl19q47.c' source_filename = "/tmp/tmpzgl19q47.c" target datalayout = "e-m:e-p270: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"fifo_file\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"fd = %d\0A\00", align 1 @STDIN_FILENO = 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 [10 x i8], align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 10) %6 = load i32, ptr @O_WRONLY, align 4 %7 = load i32, ptr @O_RDONLY, align 4 %8 = or i32 %6, %7 %9 = call i32 @open(ptr noundef @.str, i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10) br label %12 12: ; preds = %0, %21 %13 = load i32, ptr @STDIN_FILENO, align 4 %14 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %15 = call i32 @read(i32 noundef %13, ptr noundef %14, i32 noundef 10) %16 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 48 br i1 %19, label %20, label %21 20: ; preds = %12 br label %27 21: ; preds = %12 %22 = load i32, ptr %3, align 4 %23 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %24 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %25 = call i32 @strlen(ptr noundef %24) %26 = call i32 @write(i32 noundef %22, ptr noundef %23, i32 noundef %25) br label %12 27: ; preds = %20 %28 = load i32, ptr %3, align 4 %29 = call i32 @close(i32 noundef %28) ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzgl19q47.c" target datalayout = "e-m:e-p270: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"fifo_file\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"fd = %d\0A\00", align 1 @STDIN_FILENO = 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 [10 x i8], align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 10) %6 = load i32, ptr @O_WRONLY, align 4 %7 = load i32, ptr @O_RDONLY, align 4 %8 = or i32 %6, %7 %9 = call i32 @open(ptr noundef @.str, i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10) %12 = load i32, ptr @STDIN_FILENO, align 4 %13 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 10) %15 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 48 br i1 %18, label %19, label %.lr.ph .lr.ph: ; preds = %0 br label %20 ._crit_edge: ; preds = %20 br label %19 19: ; preds = %._crit_edge, %0 br label %31 20: ; preds = %.lr.ph, %20 %21 = load i32, ptr %3, align 4 %22 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %23 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %24 = call i32 @strlen(ptr noundef %23) %25 = call i32 @write(i32 noundef %21, ptr noundef %22, i32 noundef %24) %26 = load i32, ptr @STDIN_FILENO, align 4 %27 = call i32 @read(i32 noundef %26, ptr noundef %13, i32 noundef 10) %28 = load i8, ptr %15, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 48 br i1 %30, label %._crit_edge, label %20 31: ; preds = %19 %32 = load i32, ptr %3, align 4 %33 = call i32 @close(i32 noundef %32) ret i32 0 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(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"}
; ModuleID = '/tmp/tmpg02cgj2c.c' source_filename = "/tmp/tmpg02cgj2c.c" target datalayout = "e-m:e-p270: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 @memcpy(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 ptr, align 8 %8 = alloca ptr, align 8 %9 = 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 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 store i64 0, ptr %9, align 8 br label %12 12: ; preds = %24, %3 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %6, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %16, label %27 16: ; preds = %12 %17 = load ptr, ptr %8, align 8 %18 = load i64, ptr %9, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 %20 = load i8, ptr %19, align 1 %21 = load ptr, ptr %7, align 8 %22 = load i64, ptr %9, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 store i8 %20, ptr %23, align 1 br label %24 24: ; preds = %16 %25 = load i64, ptr %9, align 8 %26 = add i64 %25, 1 store i64 %26, ptr %9, align 8 br label %12, !llvm.loop !6 27: ; preds = %12 %28 = load ptr, ptr %4, align 8 ret ptr %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpg02cgj2c.c" target datalayout = "e-m:e-p270: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 @memcpy(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 ptr, align 8 %8 = alloca ptr, align 8 %9 = 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 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 store i64 0, ptr %9, align 8 %12 = load i64, ptr %9, align 8 %13 = load i64, ptr %6, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %.lr.ph, label %29 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %23 %16 = load ptr, ptr %8, align 8 %17 = load i64, ptr %9, align 8 %18 = getelementptr inbounds i8, ptr %16, i64 %17 %19 = load i8, ptr %18, align 1 %20 = load ptr, ptr %7, align 8 %21 = load i64, ptr %9, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 store i8 %19, ptr %22, align 1 br label %23 23: ; preds = %15 %24 = load i64, ptr %9, align 8 %25 = add i64 %24, 1 store i64 %25, ptr %9, align 8 %26 = load i64, ptr %9, align 8 %27 = load i64, ptr %6, align 8 %28 = icmp ult i64 %26, %27 br i1 %28, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %3 %30 = load ptr, ptr %4, align 8 ret ptr %30 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpr15wwx47.c' source_filename = "/tmp/tmpr15wwx47.c" target datalayout = "e-m:e-p270: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 @f1(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, 0 br i1 %6, label %7, label %13 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 (...) @func() br label %12 12: ; preds = %10, %7 br label %13 13: ; preds = %12, %2 ret i32 0 } declare i32 @func(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpr15wwx47.c" target datalayout = "e-m:e-p270: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 @f1(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, 0 br i1 %6, label %7, label %13 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 (...) @func() br label %12 12: ; preds = %10, %7 br label %13 13: ; preds = %12, %2 ret i32 0 } declare i32 @func(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpv6dmuouv.c' source_filename = "/tmp/tmpv6dmuouv.c" target datalayout = "e-m:e-p270: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/tmpv6dmuouv.c" target datalayout = "e-m:e-p270: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/tmpifojoexd.c' source_filename = "/tmp/tmpifojoexd.c" target datalayout = "e-m:e-p270: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.test.t = private unnamed_addr constant [12 x i32] [i32 0, i32 7, i32 9, i32 4, i32 0, i32 0, i32 8, i32 0, i32 4, i32 5, i32 0, i32 1], align 16 @__const.test.u = private unnamed_addr constant [12 x i32] [i32 0, i32 2, i32 4, i32 0, i32 0, i32 0, i32 1, i32 6, i32 2, i32 8, i32 6, i32 0], align 16 @__const.test.v = private unnamed_addr constant [12 x i32] [i32 0, i32 1, i32 1, i32 1, i32 1, i32 0, i32 8, i32 5, i32 6, i32 8, i32 0, i32 7], align 16 @__const.test.w = private unnamed_addr constant [12 x i32] [i32 0, i32 5, i32 1, i32 0, i32 0, i32 0, i32 1, i32 3, i32 8, i32 1, i32 0, i32 1], align 16 @.str = private unnamed_addr constant [18 x i8] c"All tests passed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = alloca [12 x i32], align 16 %2 = alloca [12 x i32], align 16 %3 = alloca [12 x i32], align 16 %4 = alloca [12 x i32], align 16 %5 = alloca [12 x i32], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test.t, i64 48, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test.u, i64 48, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.test.v, i64 48, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.test.w, i64 48, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 48, i1 false) %6 = getelementptr inbounds [12 x i32], ptr %1, i64 0, i64 0 %7 = call i32 @barcode(ptr noundef %6) %8 = call i32 @assert(i32 noundef %7) %9 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 0 %10 = call i32 @barcode(ptr noundef %9) %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = getelementptr inbounds [12 x i32], ptr %3, i64 0, i64 0 %16 = call i32 @barcode(ptr noundef %15) %17 = call i32 @assert(i32 noundef %16) %18 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 0 %19 = call i32 @barcode(ptr noundef %18) %20 = call i32 @assert(i32 noundef %19) %21 = getelementptr inbounds [12 x i32], ptr %5, i64 0, i64 0 %22 = call i32 @barcode(ptr noundef %21) %23 = call i32 @assert(i32 noundef %22) %24 = call i32 @printf(ptr noundef @.str) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @assert(i32 noundef) #3 declare i32 @barcode(ptr noundef) #3 declare i32 @printf(ptr 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpifojoexd.c" target datalayout = "e-m:e-p270: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.test.t = private unnamed_addr constant [12 x i32] [i32 0, i32 7, i32 9, i32 4, i32 0, i32 0, i32 8, i32 0, i32 4, i32 5, i32 0, i32 1], align 16 @__const.test.u = private unnamed_addr constant [12 x i32] [i32 0, i32 2, i32 4, i32 0, i32 0, i32 0, i32 1, i32 6, i32 2, i32 8, i32 6, i32 0], align 16 @__const.test.v = private unnamed_addr constant [12 x i32] [i32 0, i32 1, i32 1, i32 1, i32 1, i32 0, i32 8, i32 5, i32 6, i32 8, i32 0, i32 7], align 16 @__const.test.w = private unnamed_addr constant [12 x i32] [i32 0, i32 5, i32 1, i32 0, i32 0, i32 0, i32 1, i32 3, i32 8, i32 1, i32 0, i32 1], align 16 @.str = private unnamed_addr constant [18 x i8] c"All tests passed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = alloca [12 x i32], align 16 %2 = alloca [12 x i32], align 16 %3 = alloca [12 x i32], align 16 %4 = alloca [12 x i32], align 16 %5 = alloca [12 x i32], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test.t, i64 48, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test.u, i64 48, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.test.v, i64 48, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.test.w, i64 48, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 48, i1 false) %6 = getelementptr inbounds [12 x i32], ptr %1, i64 0, i64 0 %7 = call i32 @barcode(ptr noundef %6) %8 = call i32 @assert(i32 noundef %7) %9 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 0 %10 = call i32 @barcode(ptr noundef %9) %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = getelementptr inbounds [12 x i32], ptr %3, i64 0, i64 0 %16 = call i32 @barcode(ptr noundef %15) %17 = call i32 @assert(i32 noundef %16) %18 = getelementptr inbounds [12 x i32], ptr %4, i64 0, i64 0 %19 = call i32 @barcode(ptr noundef %18) %20 = call i32 @assert(i32 noundef %19) %21 = getelementptr inbounds [12 x i32], ptr %5, i64 0, i64 0 %22 = call i32 @barcode(ptr noundef %21) %23 = call i32 @assert(i32 noundef %22) %24 = call i32 @printf(ptr noundef @.str) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @assert(i32 noundef) #3 declare i32 @barcode(ptr noundef) #3 declare i32 @printf(ptr 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplpt0bxoo.c' source_filename = "/tmp/tmplpt0bxoo.c" target datalayout = "e-m:e-p270: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/tmplpt0bxoo.c" target datalayout = "e-m:e-p270: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/tmpf4zh0lew.c' source_filename = "/tmp/tmpf4zh0lew.c" target datalayout = "e-m:e-p270: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 @cgi_goodemailaddress(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @strchr(ptr noundef %5, i8 noundef signext 64) %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %106 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 -1 %13 = call i32 @strlen(ptr noundef %12) %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %10, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 64 br i1 %18, label %41, label %19 19: ; preds = %9 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 -1 %23 = call i32 @strlen(ptr noundef %22) %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %20, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 46 br i1 %28, label %41, label %29 29: ; preds = %19 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 0 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 64 br i1 %34, label %41, label %35 35: ; preds = %29 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 0 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 46 br i1 %40, label %41, label %42 41: ; preds = %35, %29, %19, %9 store i32 0, ptr %2, align 4 br label %106 42: ; preds = %35 %43 = load ptr, ptr %3, align 8 %44 = call ptr @strchr(ptr noundef %43, i8 noundef signext 64) %45 = call ptr @strchr(ptr noundef %44, i8 noundef signext 46) %46 = icmp eq ptr %45, null br i1 %46, label %53, label %47 47: ; preds = %42 %48 = load ptr, ptr %3, align 8 %49 = call ptr @strchr(ptr noundef %48, i8 noundef signext 64) %50 = getelementptr inbounds i8, ptr %49, i64 1 %51 = call ptr @strchr(ptr noundef %50, i8 noundef signext 64) %52 = icmp ne ptr %51, null br i1 %52, label %53, label %54 53: ; preds = %47, %42 store i32 0, ptr %2, align 4 br label %106 54: ; preds = %47 store i32 0, ptr %4, align 4 br label %55 55: ; preds = %102, %54 %56 = load i32, ptr %4, align 4 %57 = load ptr, ptr %3, align 8 %58 = call i32 @strlen(ptr noundef %57) %59 = icmp slt i32 %56, %58 br i1 %59, label %60, label %105 60: ; preds = %55 %61 = load ptr, ptr %3, align 8 %62 = load i32, ptr %4, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = call i64 @isalnum(i8 noundef zeroext %65) %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %101 68: ; preds = %60 %69 = load ptr, ptr %3, align 8 %70 = load i32, ptr %4, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp ne i32 %74, 46 br i1 %75, label %76, label %101 76: ; preds = %68 %77 = load ptr, ptr %3, align 8 %78 = load i32, ptr %4, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = icmp ne i32 %82, 64 br i1 %83, label %84, label %101 84: ; preds = %76 %85 = load ptr, ptr %3, align 8 %86 = load i32, ptr %4, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %85, i64 %87 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i32 %91 = icmp ne i32 %90, 95 br i1 %91, label %92, label %101 92: ; preds = %84 %93 = load ptr, ptr %3, align 8 %94 = load i32, ptr %4, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %93, i64 %95 %97 = load i8, ptr %96, align 1 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %98, 45 br i1 %99, label %100, label %101 100: ; preds = %92 store i32 0, ptr %2, align 4 br label %106 101: ; preds = %92, %84, %76, %68, %60 br label %102 102: ; preds = %101 %103 = load i32, ptr %4, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %4, align 4 br label %55, !llvm.loop !6 105: ; preds = %55 store i32 1, ptr %2, align 4 br label %106 106: ; preds = %105, %100, %53, %41, %8 %107 = load i32, ptr %2, align 4 ret i32 %107 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @isalnum(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpf4zh0lew.c" target datalayout = "e-m:e-p270: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 @cgi_goodemailaddress(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @strchr(ptr noundef %5, i8 noundef signext 64) %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %109 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 -1 %13 = call i32 @strlen(ptr noundef %12) %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %10, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 64 br i1 %18, label %41, label %19 19: ; preds = %9 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 -1 %23 = call i32 @strlen(ptr noundef %22) %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %20, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 46 br i1 %28, label %41, label %29 29: ; preds = %19 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 0 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 64 br i1 %34, label %41, label %35 35: ; preds = %29 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 0 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 46 br i1 %40, label %41, label %42 41: ; preds = %35, %29, %19, %9 store i32 0, ptr %2, align 4 br label %109 42: ; preds = %35 %43 = load ptr, ptr %3, align 8 %44 = call ptr @strchr(ptr noundef %43, i8 noundef signext 64) %45 = call ptr @strchr(ptr noundef %44, i8 noundef signext 46) %46 = icmp eq ptr %45, null br i1 %46, label %53, label %47 47: ; preds = %42 %48 = load ptr, ptr %3, align 8 %49 = call ptr @strchr(ptr noundef %48, i8 noundef signext 64) %50 = getelementptr inbounds i8, ptr %49, i64 1 %51 = call ptr @strchr(ptr noundef %50, i8 noundef signext 64) %52 = icmp ne ptr %51, null br i1 %52, label %53, label %54 53: ; preds = %47, %42 store i32 0, ptr %2, align 4 br label %109 54: ; preds = %47 store i32 0, ptr %4, align 4 %55 = load i32, ptr %4, align 4 %56 = load ptr, ptr %3, align 8 %57 = call i32 @strlen(ptr noundef %56) %58 = icmp slt i32 %55, %57 br i1 %58, label %.lr.ph, label %108 .lr.ph: ; preds = %54 br label %59 59: ; preds = %.lr.ph, %101 %60 = load ptr, ptr %3, align 8 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 %64 = load i8, ptr %63, align 1 %65 = call i64 @isalnum(i8 noundef zeroext %64) %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %100 67: ; preds = %59 %68 = load ptr, ptr %3, align 8 %69 = load i32, ptr %4, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp ne i32 %73, 46 br i1 %74, label %75, label %100 75: ; preds = %67 %76 = load ptr, ptr %3, align 8 %77 = load i32, ptr %4, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp ne i32 %81, 64 br i1 %82, label %83, label %100 83: ; preds = %75 %84 = load ptr, ptr %3, align 8 %85 = load i32, ptr %4, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %84, i64 %86 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp ne i32 %89, 95 br i1 %90, label %91, label %100 91: ; preds = %83 %92 = load ptr, ptr %3, align 8 %93 = load i32, ptr %4, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %92, i64 %94 %96 = load i8, ptr %95, align 1 %97 = sext i8 %96 to i32 %98 = icmp ne i32 %97, 45 br i1 %98, label %99, label %100 99: ; preds = %91 store i32 0, ptr %2, align 4 br label %109 100: ; preds = %91, %83, %75, %67, %59 br label %101 101: ; preds = %100 %102 = load i32, ptr %4, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %4, align 4 %104 = load i32, ptr %4, align 4 %105 = load ptr, ptr %3, align 8 %106 = call i32 @strlen(ptr noundef %105) %107 = icmp slt i32 %104, %106 br i1 %107, label %59, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %101 br label %108 108: ; preds = %._crit_edge, %54 store i32 1, ptr %2, align 4 br label %109 109: ; preds = %108, %99, %53, %41, %8 %110 = load i32, ptr %2, align 4 ret i32 %110 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @isalnum(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp2i_4y70f.c' source_filename = "/tmp/tmp2i_4y70f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @bl_do_set_auth_key_id.sha1_buffer = internal global [20 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bl_do_set_auth_key_id(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @SHA1(ptr noundef %9, i32 noundef 256, ptr noundef @bl_do_set_auth_key_id.sha1_buffer) %11 = load i64, ptr getelementptr inbounds (i8, ptr @bl_do_set_auth_key_id.sha1_buffer, i64 12), align 8 store i64 %11, ptr %7, align 8 %12 = call ptr @alloc_log_event(i32 noundef 272) store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %8, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 0 store i32 -302436750, ptr %14, align 4 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %8, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 1 store i32 %15, ptr %17, align 4 %18 = load i64, ptr %7, align 8 %19 = load ptr, ptr %8, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 2 store i64 %18, ptr %20, align 8 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 4 %23 = load ptr, ptr %6, align 8 %24 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef 256) %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %8, align 8 %27 = call i32 @add_log_event(ptr noundef %25, ptr noundef %26, i32 noundef 272) ret void } declare i32 @SHA1(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @alloc_log_event(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @add_log_event(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/tmp2i_4y70f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @bl_do_set_auth_key_id.sha1_buffer = internal global [20 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bl_do_set_auth_key_id(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @SHA1(ptr noundef %9, i32 noundef 256, ptr noundef @bl_do_set_auth_key_id.sha1_buffer) %11 = load i64, ptr getelementptr inbounds (i8, ptr @bl_do_set_auth_key_id.sha1_buffer, i64 12), align 8 store i64 %11, ptr %7, align 8 %12 = call ptr @alloc_log_event(i32 noundef 272) store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %8, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 0 store i32 -302436750, ptr %14, align 4 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %8, align 8 %17 = getelementptr inbounds i32, ptr %16, i64 1 store i32 %15, ptr %17, align 4 %18 = load i64, ptr %7, align 8 %19 = load ptr, ptr %8, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 2 store i64 %18, ptr %20, align 8 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 4 %23 = load ptr, ptr %6, align 8 %24 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef 256) %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %8, align 8 %27 = call i32 @add_log_event(ptr noundef %25, ptr noundef %26, i32 noundef 272) ret void } declare i32 @SHA1(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @alloc_log_event(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @add_log_event(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/tmpr_t3hl9_.c' source_filename = "/tmp/tmpr_t3hl9_.c" target datalayout = "e-m:e-p270: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.nlmsghdr = type { i32 } %struct.rtattr = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add_netlink_msg(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = call i32 @RTA_LENGTH(i32 noundef %11) store i32 %12, ptr %10, align 4 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds %struct.nlmsghdr, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = call i32 @NLMSG_ALIGN(i32 noundef %16) %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %13, i64 %18 store ptr %19, ptr %9, align 8 %20 = load i32, ptr %6, align 4 %21 = load ptr, ptr %9, align 8 %22 = getelementptr inbounds %struct.rtattr, ptr %21, i32 0, i32 0 store i32 %20, ptr %22, align 4 %23 = load i32, ptr %10, align 4 %24 = load ptr, ptr %9, align 8 %25 = getelementptr inbounds %struct.rtattr, ptr %24, i32 0, i32 1 store i32 %23, ptr %25, align 4 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds %struct.nlmsghdr, ptr %26, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = call i32 @NLMSG_ALIGN(i32 noundef %28) %30 = load i32, ptr %10, align 4 %31 = call i32 @RTA_ALIGN(i32 noundef %30) %32 = add nsw i32 %29, %31 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds %struct.nlmsghdr, ptr %33, i32 0, i32 0 store i32 %32, ptr %34, align 4 %35 = load ptr, ptr %9, align 8 %36 = call i32 @RTA_DATA(ptr noundef %35) %37 = load ptr, ptr %7, align 8 %38 = load i32, ptr %8, align 4 %39 = call i32 @memcpy(i32 noundef %36, ptr noundef %37, i32 noundef %38) ret void } declare i32 @RTA_LENGTH(i32 noundef) #1 declare i32 @NLMSG_ALIGN(i32 noundef) #1 declare i32 @RTA_ALIGN(i32 noundef) #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @RTA_DATA(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr_t3hl9_.c" target datalayout = "e-m:e-p270: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.nlmsghdr = type { i32 } %struct.rtattr = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add_netlink_msg(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = call i32 @RTA_LENGTH(i32 noundef %11) store i32 %12, ptr %10, align 4 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds %struct.nlmsghdr, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = call i32 @NLMSG_ALIGN(i32 noundef %16) %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %13, i64 %18 store ptr %19, ptr %9, align 8 %20 = load i32, ptr %6, align 4 %21 = load ptr, ptr %9, align 8 %22 = getelementptr inbounds %struct.rtattr, ptr %21, i32 0, i32 0 store i32 %20, ptr %22, align 4 %23 = load i32, ptr %10, align 4 %24 = load ptr, ptr %9, align 8 %25 = getelementptr inbounds %struct.rtattr, ptr %24, i32 0, i32 1 store i32 %23, ptr %25, align 4 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds %struct.nlmsghdr, ptr %26, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = call i32 @NLMSG_ALIGN(i32 noundef %28) %30 = load i32, ptr %10, align 4 %31 = call i32 @RTA_ALIGN(i32 noundef %30) %32 = add nsw i32 %29, %31 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds %struct.nlmsghdr, ptr %33, i32 0, i32 0 store i32 %32, ptr %34, align 4 %35 = load ptr, ptr %9, align 8 %36 = call i32 @RTA_DATA(ptr noundef %35) %37 = load ptr, ptr %7, align 8 %38 = load i32, ptr %8, align 4 %39 = call i32 @memcpy(i32 noundef %36, ptr noundef %37, i32 noundef %38) ret void } declare i32 @RTA_LENGTH(i32 noundef) #1 declare i32 @NLMSG_ALIGN(i32 noundef) #1 declare i32 @RTA_ALIGN(i32 noundef) #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @RTA_DATA(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/tmp28igoa55.c' source_filename = "/tmp/tmp28igoa55.c" target datalayout = "e-m:e-p270: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 [26 x i8] c"NEditRealloc(%lu) failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @NEditRealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %19, label %11 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %11 %15 = load i32, ptr @stderr, align 4 %16 = load i64, ptr %4, align 8 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, i64 noundef %16) %18 = call i32 @exit(i32 noundef 1) #5 unreachable 19: ; preds = %11, %2 %20 = load ptr, ptr %5, align 8 ret ptr %20 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 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(1) "frame-pointer"="all" "no-trapping-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(1) } 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/tmp28igoa55.c" target datalayout = "e-m:e-p270: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 [26 x i8] c"NEditRealloc(%lu) failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @NEditRealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %19, label %11 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %11 %15 = load i32, ptr @stderr, align 4 %16 = load i64, ptr %4, align 8 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, i64 noundef %16) %18 = call i32 @exit(i32 noundef 1) #5 unreachable 19: ; preds = %11, %2 %20 = load ptr, ptr %5, align 8 ret ptr %20 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 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(1) "frame-pointer"="all" "no-trapping-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(1) } 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/tmpd8rnfvdf.c' source_filename = "/tmp/tmpd8rnfvdf.c" target datalayout = "e-m:e-p270: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"/\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Erreur de fichier\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @SEEK_END = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"Erreur m\C3\A9moire\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Erreur de lecture\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bufferingFichier(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [2048 x i8], align 16 store ptr %0, ptr %2, align 8 %8 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0 %9 = call i32 @getcwd(ptr noundef %8, i32 noundef 2048) %10 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0 %11 = call i32 @strcat(ptr noundef %10, ptr noundef @.str) %12 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strcat(ptr noundef %12, ptr noundef %13) %15 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.1) store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %1 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %20) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %1 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr @SEEK_END, align 4 %26 = call i32 @fseek(ptr noundef %24, i32 noundef 0, i32 noundef %25) %27 = load ptr, ptr %3, align 8 %28 = call i64 @ftell(ptr noundef %27) store i64 %28, ptr %4, align 8 %29 = load ptr, ptr %3, align 8 %30 = call i32 @rewind(ptr noundef %29) %31 = load i64, ptr %4, align 8 %32 = mul i64 1, %31 %33 = trunc i64 %32 to i32 %34 = call i64 @malloc(i32 noundef %33) %35 = inttoptr i64 %34 to ptr store ptr %35, ptr %5, align 8 %36 = load ptr, ptr %5, align 8 %37 = load i64, ptr %4, align 8 %38 = mul i64 1, %37 %39 = trunc i64 %38 to i32 %40 = call i32 @memset(ptr noundef %36, i32 noundef 0, i32 noundef %39) %41 = load ptr, ptr %5, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %47 43: ; preds = %23 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %44) %46 = call i32 @exit(i32 noundef 2) #3 unreachable 47: ; preds = %23 %48 = load ptr, ptr %5, align 8 %49 = load i64, ptr %4, align 8 %50 = load ptr, ptr %3, align 8 %51 = call i64 @fread(ptr noundef %48, i32 noundef 1, i64 noundef %49, ptr noundef %50) store i64 %51, ptr %6, align 8 %52 = load i64, ptr %6, align 8 %53 = load i64, ptr %4, align 8 %54 = icmp ne i64 %52, %53 br i1 %54, label %55, label %59 55: ; preds = %47 %56 = load i32, ptr @stderr, align 4 %57 = call i32 @fputs(ptr noundef @.str.4, i32 noundef %56) %58 = call i32 @exit(i32 noundef 3) #3 unreachable 59: ; preds = %47 %60 = load ptr, ptr %3, align 8 %61 = call i32 @fclose(ptr noundef %60) %62 = load ptr, ptr %5, align 8 ret ptr %62 } declare i32 @getcwd(ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i64 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" } 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/tmpd8rnfvdf.c" target datalayout = "e-m:e-p270: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"/\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Erreur de fichier\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @SEEK_END = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"Erreur m\C3\A9moire\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Erreur de lecture\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bufferingFichier(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [2048 x i8], align 16 store ptr %0, ptr %2, align 8 %8 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0 %9 = call i32 @getcwd(ptr noundef %8, i32 noundef 2048) %10 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0 %11 = call i32 @strcat(ptr noundef %10, ptr noundef @.str) %12 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strcat(ptr noundef %12, ptr noundef %13) %15 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.1) store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %23 19: ; preds = %1 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %20) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %1 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr @SEEK_END, align 4 %26 = call i32 @fseek(ptr noundef %24, i32 noundef 0, i32 noundef %25) %27 = load ptr, ptr %3, align 8 %28 = call i64 @ftell(ptr noundef %27) store i64 %28, ptr %4, align 8 %29 = load ptr, ptr %3, align 8 %30 = call i32 @rewind(ptr noundef %29) %31 = load i64, ptr %4, align 8 %32 = mul i64 1, %31 %33 = trunc i64 %32 to i32 %34 = call i64 @malloc(i32 noundef %33) %35 = inttoptr i64 %34 to ptr store ptr %35, ptr %5, align 8 %36 = load ptr, ptr %5, align 8 %37 = load i64, ptr %4, align 8 %38 = mul i64 1, %37 %39 = trunc i64 %38 to i32 %40 = call i32 @memset(ptr noundef %36, i32 noundef 0, i32 noundef %39) %41 = load ptr, ptr %5, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %47 43: ; preds = %23 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %44) %46 = call i32 @exit(i32 noundef 2) #3 unreachable 47: ; preds = %23 %48 = load ptr, ptr %5, align 8 %49 = load i64, ptr %4, align 8 %50 = load ptr, ptr %3, align 8 %51 = call i64 @fread(ptr noundef %48, i32 noundef 1, i64 noundef %49, ptr noundef %50) store i64 %51, ptr %6, align 8 %52 = load i64, ptr %6, align 8 %53 = load i64, ptr %4, align 8 %54 = icmp ne i64 %52, %53 br i1 %54, label %55, label %59 55: ; preds = %47 %56 = load i32, ptr @stderr, align 4 %57 = call i32 @fputs(ptr noundef @.str.4, i32 noundef %56) %58 = call i32 @exit(i32 noundef 3) #3 unreachable 59: ; preds = %47 %60 = load ptr, ptr %3, align 8 %61 = call i32 @fclose(ptr noundef %60) %62 = load ptr, ptr %5, align 8 ret ptr %62 } declare i32 @getcwd(ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ftell(ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i64 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" } 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/tmp20gayepz.c' source_filename = "/tmp/tmp20gayepz.c" target datalayout = "e-m:e-p270: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.termios = type { ptr } @.str = private unnamed_addr constant [25 x i8] c"error %d from tggetattr\0A\00", align 1 @errno = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @TCSANOW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"error %d setting term attributes\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_blocking_serial(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.termios, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8) %7 = load i32, ptr %3, align 4 %8 = call i64 @tcgetattr(i32 noundef %7, ptr noundef %5) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @errno, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) br label %33 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 0 %16 = zext i1 %15 to i64 %17 = select i1 %15, i32 2, i32 0 %18 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0 %19 = load ptr, ptr %18, align 8 %20 = load i64, ptr @VMIN, align 8 %21 = getelementptr inbounds i32, ptr %19, i64 %20 store i32 %17, ptr %21, align 4 %22 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0 %23 = load ptr, ptr %22, align 8 %24 = load i64, ptr @VTIME, align 8 %25 = getelementptr inbounds i32, ptr %23, i64 %24 store i32 5, ptr %25, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr @TCSANOW, align 4 %28 = call i64 @tcsetattr(i32 noundef %26, i32 noundef %27, ptr noundef %5) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %13 %31 = load i32, ptr @errno, align 4 %32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31) br label %33 33: ; preds = %10, %30, %13 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp20gayepz.c" target datalayout = "e-m:e-p270: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.termios = type { ptr } @.str = private unnamed_addr constant [25 x i8] c"error %d from tggetattr\0A\00", align 1 @errno = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @TCSANOW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"error %d setting term attributes\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_blocking_serial(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.termios, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8) %7 = load i32, ptr %3, align 4 %8 = call i64 @tcgetattr(i32 noundef %7, ptr noundef %5) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @errno, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) br label %33 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 0 %16 = zext i1 %15 to i64 %17 = select i1 %15, i32 2, i32 0 %18 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0 %19 = load ptr, ptr %18, align 8 %20 = load i64, ptr @VMIN, align 8 %21 = getelementptr inbounds i32, ptr %19, i64 %20 store i32 %17, ptr %21, align 4 %22 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0 %23 = load ptr, ptr %22, align 8 %24 = load i64, ptr @VTIME, align 8 %25 = getelementptr inbounds i32, ptr %23, i64 %24 store i32 5, ptr %25, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr @TCSANOW, align 4 %28 = call i64 @tcsetattr(i32 noundef %26, i32 noundef %27, ptr noundef %5) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %13 %31 = load i32, ptr @errno, align 4 %32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31) br label %33 33: ; preds = %30, %13, %10 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgswomifo.c' source_filename = "/tmp/tmpgswomifo.c" target datalayout = "e-m:e-p270: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/tmpgswomifo.c" target datalayout = "e-m:e-p270: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/tmpvd8sorud.c' source_filename = "/tmp/tmpvd8sorud.c" target datalayout = "e-m:e-p270: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 @do_test(i32 noundef 0) %7 = call i32 @do_test(i32 noundef 8) %8 = call i32 @do_test(i32 noundef 10) %9 = call i32 @do_test(i32 noundef 16) %10 = call i32 @do_test(i32 noundef 36) %11 = call i32 @do_utest(i32 noundef 0) %12 = call i32 @do_utest(i32 noundef 8) %13 = call i32 @do_utest(i32 noundef 10) %14 = call i32 @do_utest(i32 noundef 16) %15 = call i32 @do_utest(i32 noundef 36) ret i32 0 } declare i32 @do_test(i32 noundef) #1 declare i32 @do_utest(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/tmpvd8sorud.c" target datalayout = "e-m:e-p270: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 @do_test(i32 noundef 0) %7 = call i32 @do_test(i32 noundef 8) %8 = call i32 @do_test(i32 noundef 10) %9 = call i32 @do_test(i32 noundef 16) %10 = call i32 @do_test(i32 noundef 36) %11 = call i32 @do_utest(i32 noundef 0) %12 = call i32 @do_utest(i32 noundef 8) %13 = call i32 @do_utest(i32 noundef 10) %14 = call i32 @do_utest(i32 noundef 16) %15 = call i32 @do_utest(i32 noundef 36) ret i32 0 } declare i32 @do_test(i32 noundef) #1 declare i32 @do_utest(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/tmpx9h05kqf.c' source_filename = "/tmp/tmpx9h05kqf.c" target datalayout = "e-m:e-p270: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 @compare_int_sign(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 sgt i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %24, label %10 10: ; preds = %7, %2 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %24, label %16 16: ; preds = %13, %10 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %20, 0 br label %22 22: ; preds = %19, %16 %23 = phi i1 [ false, %16 ], [ %21, %19 ] br label %24 24: ; preds = %22, %13, %7 %25 = phi i1 [ true, %13 ], [ true, %7 ], [ %23, %22 ] %26 = zext i1 %25 to i32 ret i32 %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpx9h05kqf.c" target datalayout = "e-m:e-p270: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 @compare_int_sign(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 sgt i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %24, label %10 10: ; preds = %7, %2 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %24, label %16 16: ; preds = %13, %10 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %20, 0 br label %22 22: ; preds = %19, %16 %23 = phi i1 [ false, %16 ], [ %21, %19 ] br label %24 24: ; preds = %22, %13, %7 %25 = phi i1 [ true, %13 ], [ true, %7 ], [ %23, %22 ] %26 = zext i1 %25 to i32 ret i32 %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpdi6wtjvp.c' source_filename = "/tmp/tmpdi6wtjvp.c" target datalayout = "e-m:e-p270: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/tmpdi6wtjvp.c" target datalayout = "e-m:e-p270: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/tmpdsthfw3q.c' source_filename = "/tmp/tmpdsthfw3q.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @timerdiff(i32 %0, i64 %1, i32 %2, i64 %3) #0 { %5 = alloca %struct.timeval, align 8 %6 = alloca %struct.timeval, align 8 %7 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 0 store i32 %0, ptr %7, align 8 %8 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 1 store i64 %1, ptr %8, align 8 %9 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 0 store i32 %2, ptr %9, align 8 %10 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 1 store i64 %3, ptr %10, align 8 %11 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 %12 = load i32, ptr %11, align 8 %13 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 %14 = load i32, ptr %13, align 8 %15 = sub nsw i32 %12, %14 %16 = mul nsw i32 %15, 1000000 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1 %19 = load i64, ptr %18, align 8 %20 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1 %21 = load i64, ptr %20, align 8 %22 = sub nsw i64 %19, %21 %23 = add nsw i64 %17, %22 ret i64 %23 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpdsthfw3q.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @timerdiff(i32 %0, i64 %1, i32 %2, i64 %3) #0 { %5 = alloca %struct.timeval, align 8 %6 = alloca %struct.timeval, align 8 %7 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 0 store i32 %0, ptr %7, align 8 %8 = getelementptr inbounds { i32, i64 }, ptr %5, i32 0, i32 1 store i64 %1, ptr %8, align 8 %9 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 0 store i32 %2, ptr %9, align 8 %10 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 1 store i64 %3, ptr %10, align 8 %11 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 %12 = load i32, ptr %11, align 8 %13 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 %14 = load i32, ptr %13, align 8 %15 = sub nsw i32 %12, %14 %16 = mul nsw i32 %15, 1000000 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1 %19 = load i64, ptr %18, align 8 %20 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1 %21 = load i64, ptr %20, align 8 %22 = sub nsw i64 %19, %21 %23 = add nsw i64 %17, %22 ret i64 %23 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpxcuamol4.c' source_filename = "/tmp/tmpxcuamol4.c" target datalayout = "e-m:e-p270: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"%s %d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"alloc\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"allocated@%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"free\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"size\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"size: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [80 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call ptr @buddy2_new(i32 noundef 32) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @buddy2_dump(ptr noundef %6) br label %8 8: ; preds = %47, %0 %9 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9, ptr noundef %3) %11 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str.1) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %21 14: ; preds = %8 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %3, align 4 %17 = call i32 @buddy2_alloc(ptr noundef %15, i32 noundef %16) %18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17) %19 = load ptr, ptr %4, align 8 %20 = call i32 @buddy2_dump(ptr noundef %19) br label %47 21: ; preds = %8 %22 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str.3) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %21 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %3, align 4 %28 = call i32 @buddy2_free(ptr noundef %26, i32 noundef %27) %29 = load ptr, ptr %4, align 8 %30 = call i32 @buddy2_dump(ptr noundef %29) br label %46 31: ; preds = %21 %32 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.4) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %42 35: ; preds = %31 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %3, align 4 %38 = call i32 @buddy2_size(ptr noundef %36, i32 noundef %37) %39 = call i32 @printf(ptr noundef @.str.5, i32 noundef %38) %40 = load ptr, ptr %4, align 8 %41 = call i32 @buddy2_dump(ptr noundef %40) br label %45 42: ; preds = %31 %43 = load ptr, ptr %4, align 8 %44 = call i32 @buddy2_dump(ptr noundef %43) br label %45 45: ; preds = %42, %35 br label %46 46: ; preds = %45, %25 br label %47 47: ; preds = %46, %14 br label %8 } declare ptr @buddy2_new(i32 noundef) #1 declare i32 @buddy2_dump(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @buddy2_alloc(ptr noundef, i32 noundef) #1 declare i32 @buddy2_free(ptr noundef, i32 noundef) #1 declare i32 @buddy2_size(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/tmpxcuamol4.c" target datalayout = "e-m:e-p270: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"%s %d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"alloc\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"allocated@%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"free\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"size\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"size: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [80 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call ptr @buddy2_new(i32 noundef 32) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @buddy2_dump(ptr noundef %6) br label %8 8: ; preds = %47, %0 %9 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9, ptr noundef %3) %11 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str.1) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %21 14: ; preds = %8 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %3, align 4 %17 = call i32 @buddy2_alloc(ptr noundef %15, i32 noundef %16) %18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17) %19 = load ptr, ptr %4, align 8 %20 = call i32 @buddy2_dump(ptr noundef %19) br label %47 21: ; preds = %8 %22 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str.3) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %21 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %3, align 4 %28 = call i32 @buddy2_free(ptr noundef %26, i32 noundef %27) %29 = load ptr, ptr %4, align 8 %30 = call i32 @buddy2_dump(ptr noundef %29) br label %46 31: ; preds = %21 %32 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0 %33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.4) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %42 35: ; preds = %31 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %3, align 4 %38 = call i32 @buddy2_size(ptr noundef %36, i32 noundef %37) %39 = call i32 @printf(ptr noundef @.str.5, i32 noundef %38) %40 = load ptr, ptr %4, align 8 %41 = call i32 @buddy2_dump(ptr noundef %40) br label %45 42: ; preds = %31 %43 = load ptr, ptr %4, align 8 %44 = call i32 @buddy2_dump(ptr noundef %43) br label %45 45: ; preds = %42, %35 br label %46 46: ; preds = %45, %25 br label %47 47: ; preds = %46, %14 br label %8 } declare ptr @buddy2_new(i32 noundef) #1 declare i32 @buddy2_dump(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @buddy2_alloc(ptr noundef, i32 noundef) #1 declare i32 @buddy2_free(ptr noundef, i32 noundef) #1 declare i32 @buddy2_size(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/tmpm7g35c27.c' source_filename = "/tmp/tmpm7g35c27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %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 %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 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 store i32 0, ptr %1, align 4 %36 = call i32 (...) @get_next() store i32 %36, ptr %2, align 4 %37 = call i32 (...) @get_next() store i32 %37, ptr %3, align 4 %38 = call i32 (...) @get_next() store i32 %38, ptr %4, align 4 %39 = call i32 (...) @get_next() store i32 %39, ptr %5, align 4 %40 = call i32 (...) @get_next() store i32 %40, ptr %6, align 4 %41 = call i32 (...) @get_next() store i32 %41, ptr %7, align 4 %42 = call i32 (...) @get_next() store i32 %42, ptr %8, align 4 %43 = call i32 (...) @get_next() store i32 %43, ptr %9, align 4 %44 = call i32 (...) @get_next() store i32 %44, ptr %10, align 4 %45 = call i32 (...) @get_next() store i32 %45, ptr %11, align 4 %46 = call i32 (...) @get_next() store i32 %46, ptr %12, align 4 %47 = call i32 (...) @get_next() store i32 %47, ptr %13, align 4 %48 = call i32 (...) @get_next() store i32 %48, ptr %14, align 4 %49 = call i32 (...) @get_next() store i32 %49, ptr %15, align 4 %50 = call i32 (...) @get_next() store i32 %50, ptr %16, align 4 %51 = call i32 (...) @get_next() store i32 %51, ptr %17, align 4 %52 = load i32, ptr %18, align 4 %53 = call i64 @setjmp(i32 noundef %52) %54 = icmp ne i64 %53, 0 br i1 %54, label %55, label %88 55: ; preds = %0 %56 = load i32, ptr %2, align 4 %57 = call i32 @check_equals(i32 noundef %56, i32 noundef 1) %58 = load i32, ptr %3, align 4 %59 = call i32 @check_equals(i32 noundef %58, i32 noundef 2) %60 = load i32, ptr %4, align 4 %61 = call i32 @check_equals(i32 noundef %60, i32 noundef 3) %62 = load i32, ptr %5, align 4 %63 = call i32 @check_equals(i32 noundef %62, i32 noundef 4) %64 = load i32, ptr %6, align 4 %65 = call i32 @check_equals(i32 noundef %64, i32 noundef 5) %66 = load i32, ptr %7, align 4 %67 = call i32 @check_equals(i32 noundef %66, i32 noundef 6) %68 = load i32, ptr %8, align 4 %69 = call i32 @check_equals(i32 noundef %68, i32 noundef 7) %70 = load i32, ptr %9, align 4 %71 = call i32 @check_equals(i32 noundef %70, i32 noundef 8) %72 = load i32, ptr %10, align 4 %73 = call i32 @check_equals(i32 noundef %72, i32 noundef 9) %74 = load i32, ptr %11, align 4 %75 = call i32 @check_equals(i32 noundef %74, i32 noundef 10) %76 = load i32, ptr %12, align 4 %77 = call i32 @check_equals(i32 noundef %76, i32 noundef 11) %78 = load i32, ptr %13, align 4 %79 = call i32 @check_equals(i32 noundef %78, i32 noundef 12) %80 = load i32, ptr %14, align 4 %81 = call i32 @check_equals(i32 noundef %80, i32 noundef 13) %82 = load i32, ptr %15, align 4 %83 = call i32 @check_equals(i32 noundef %82, i32 noundef 14) %84 = load i32, ptr %16, align 4 %85 = call i32 @check_equals(i32 noundef %84, i32 noundef 15) %86 = load i32, ptr %17, align 4 %87 = call i32 @check_equals(i32 noundef %86, i32 noundef 16) ret i32 0 88: ; preds = %0 %89 = call i32 (...) @get_next() store i32 %89, ptr %19, align 4 %90 = call i32 (...) @get_next() store i32 %90, ptr %20, align 4 %91 = call i32 (...) @get_next() store i32 %91, ptr %21, align 4 %92 = call i32 (...) @get_next() store i32 %92, ptr %22, align 4 %93 = call i32 (...) @get_next() store i32 %93, ptr %23, align 4 %94 = call i32 (...) @get_next() store i32 %94, ptr %24, align 4 %95 = call i32 (...) @get_next() store i32 %95, ptr %25, align 4 %96 = call i32 (...) @get_next() store i32 %96, ptr %26, align 4 %97 = call i32 (...) @get_next() store i32 %97, ptr %27, align 4 %98 = call i32 (...) @get_next() store i32 %98, ptr %28, align 4 %99 = call i32 (...) @get_next() store i32 %99, ptr %29, align 4 %100 = call i32 (...) @get_next() store i32 %100, ptr %30, align 4 %101 = call i32 (...) @get_next() store i32 %101, ptr %31, align 4 %102 = call i32 (...) @get_next() store i32 %102, ptr %32, align 4 %103 = call i32 (...) @get_next() store i32 %103, ptr %33, align 4 %104 = call i32 (...) @get_next() store i32 %104, ptr %34, align 4 store i32 16, ptr %35, align 4 %105 = load i32, ptr %19, align 4 %106 = load i32, ptr %35, align 4 %107 = add nsw i32 %106, 1 %108 = call i32 @check_equals(i32 noundef %105, i32 noundef %107) %109 = load i32, ptr %20, align 4 %110 = load i32, ptr %35, align 4 %111 = add nsw i32 %110, 2 %112 = call i32 @check_equals(i32 noundef %109, i32 noundef %111) %113 = load i32, ptr %21, align 4 %114 = load i32, ptr %35, align 4 %115 = add nsw i32 %114, 3 %116 = call i32 @check_equals(i32 noundef %113, i32 noundef %115) %117 = load i32, ptr %22, align 4 %118 = load i32, ptr %35, align 4 %119 = add nsw i32 %118, 4 %120 = call i32 @check_equals(i32 noundef %117, i32 noundef %119) %121 = load i32, ptr %23, align 4 %122 = load i32, ptr %35, align 4 %123 = add nsw i32 %122, 5 %124 = call i32 @check_equals(i32 noundef %121, i32 noundef %123) %125 = load i32, ptr %24, align 4 %126 = load i32, ptr %35, align 4 %127 = add nsw i32 %126, 6 %128 = call i32 @check_equals(i32 noundef %125, i32 noundef %127) %129 = load i32, ptr %25, align 4 %130 = load i32, ptr %35, align 4 %131 = add nsw i32 %130, 7 %132 = call i32 @check_equals(i32 noundef %129, i32 noundef %131) %133 = load i32, ptr %26, align 4 %134 = load i32, ptr %35, align 4 %135 = add nsw i32 %134, 8 %136 = call i32 @check_equals(i32 noundef %133, i32 noundef %135) %137 = load i32, ptr %27, align 4 %138 = load i32, ptr %35, align 4 %139 = add nsw i32 %138, 9 %140 = call i32 @check_equals(i32 noundef %137, i32 noundef %139) %141 = load i32, ptr %28, align 4 %142 = load i32, ptr %35, align 4 %143 = add nsw i32 %142, 10 %144 = call i32 @check_equals(i32 noundef %141, i32 noundef %143) %145 = load i32, ptr %29, align 4 %146 = load i32, ptr %35, align 4 %147 = add nsw i32 %146, 11 %148 = call i32 @check_equals(i32 noundef %145, i32 noundef %147) %149 = load i32, ptr %30, align 4 %150 = load i32, ptr %35, align 4 %151 = add nsw i32 %150, 12 %152 = call i32 @check_equals(i32 noundef %149, i32 noundef %151) %153 = load i32, ptr %31, align 4 %154 = load i32, ptr %35, align 4 %155 = add nsw i32 %154, 13 %156 = call i32 @check_equals(i32 noundef %153, i32 noundef %155) %157 = load i32, ptr %32, align 4 %158 = load i32, ptr %35, align 4 %159 = add nsw i32 %158, 14 %160 = call i32 @check_equals(i32 noundef %157, i32 noundef %159) %161 = load i32, ptr %33, align 4 %162 = load i32, ptr %35, align 4 %163 = add nsw i32 %162, 15 %164 = call i32 @check_equals(i32 noundef %161, i32 noundef %163) %165 = load i32, ptr %34, align 4 %166 = load i32, ptr %35, align 4 %167 = add nsw i32 %166, 16 %168 = call i32 @check_equals(i32 noundef %165, i32 noundef %167) %169 = load i32, ptr %18, align 4 %170 = call i32 @longjmp(i32 noundef %169, i32 noundef 1) #3 unreachable } declare i32 @get_next(...) #1 declare i64 @setjmp(i32 noundef) #1 declare i32 @check_equals(i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @longjmp(i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpm7g35c27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %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 %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 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i32, align 4 %34 = alloca i32, align 4 %35 = alloca i32, align 4 store i32 0, ptr %1, align 4 %36 = call i32 (...) @get_next() store i32 %36, ptr %2, align 4 %37 = call i32 (...) @get_next() store i32 %37, ptr %3, align 4 %38 = call i32 (...) @get_next() store i32 %38, ptr %4, align 4 %39 = call i32 (...) @get_next() store i32 %39, ptr %5, align 4 %40 = call i32 (...) @get_next() store i32 %40, ptr %6, align 4 %41 = call i32 (...) @get_next() store i32 %41, ptr %7, align 4 %42 = call i32 (...) @get_next() store i32 %42, ptr %8, align 4 %43 = call i32 (...) @get_next() store i32 %43, ptr %9, align 4 %44 = call i32 (...) @get_next() store i32 %44, ptr %10, align 4 %45 = call i32 (...) @get_next() store i32 %45, ptr %11, align 4 %46 = call i32 (...) @get_next() store i32 %46, ptr %12, align 4 %47 = call i32 (...) @get_next() store i32 %47, ptr %13, align 4 %48 = call i32 (...) @get_next() store i32 %48, ptr %14, align 4 %49 = call i32 (...) @get_next() store i32 %49, ptr %15, align 4 %50 = call i32 (...) @get_next() store i32 %50, ptr %16, align 4 %51 = call i32 (...) @get_next() store i32 %51, ptr %17, align 4 %52 = load i32, ptr %18, align 4 %53 = call i64 @setjmp(i32 noundef %52) %54 = icmp ne i64 %53, 0 br i1 %54, label %55, label %88 55: ; preds = %0 %56 = load i32, ptr %2, align 4 %57 = call i32 @check_equals(i32 noundef %56, i32 noundef 1) %58 = load i32, ptr %3, align 4 %59 = call i32 @check_equals(i32 noundef %58, i32 noundef 2) %60 = load i32, ptr %4, align 4 %61 = call i32 @check_equals(i32 noundef %60, i32 noundef 3) %62 = load i32, ptr %5, align 4 %63 = call i32 @check_equals(i32 noundef %62, i32 noundef 4) %64 = load i32, ptr %6, align 4 %65 = call i32 @check_equals(i32 noundef %64, i32 noundef 5) %66 = load i32, ptr %7, align 4 %67 = call i32 @check_equals(i32 noundef %66, i32 noundef 6) %68 = load i32, ptr %8, align 4 %69 = call i32 @check_equals(i32 noundef %68, i32 noundef 7) %70 = load i32, ptr %9, align 4 %71 = call i32 @check_equals(i32 noundef %70, i32 noundef 8) %72 = load i32, ptr %10, align 4 %73 = call i32 @check_equals(i32 noundef %72, i32 noundef 9) %74 = load i32, ptr %11, align 4 %75 = call i32 @check_equals(i32 noundef %74, i32 noundef 10) %76 = load i32, ptr %12, align 4 %77 = call i32 @check_equals(i32 noundef %76, i32 noundef 11) %78 = load i32, ptr %13, align 4 %79 = call i32 @check_equals(i32 noundef %78, i32 noundef 12) %80 = load i32, ptr %14, align 4 %81 = call i32 @check_equals(i32 noundef %80, i32 noundef 13) %82 = load i32, ptr %15, align 4 %83 = call i32 @check_equals(i32 noundef %82, i32 noundef 14) %84 = load i32, ptr %16, align 4 %85 = call i32 @check_equals(i32 noundef %84, i32 noundef 15) %86 = load i32, ptr %17, align 4 %87 = call i32 @check_equals(i32 noundef %86, i32 noundef 16) ret i32 0 88: ; preds = %0 %89 = call i32 (...) @get_next() store i32 %89, ptr %19, align 4 %90 = call i32 (...) @get_next() store i32 %90, ptr %20, align 4 %91 = call i32 (...) @get_next() store i32 %91, ptr %21, align 4 %92 = call i32 (...) @get_next() store i32 %92, ptr %22, align 4 %93 = call i32 (...) @get_next() store i32 %93, ptr %23, align 4 %94 = call i32 (...) @get_next() store i32 %94, ptr %24, align 4 %95 = call i32 (...) @get_next() store i32 %95, ptr %25, align 4 %96 = call i32 (...) @get_next() store i32 %96, ptr %26, align 4 %97 = call i32 (...) @get_next() store i32 %97, ptr %27, align 4 %98 = call i32 (...) @get_next() store i32 %98, ptr %28, align 4 %99 = call i32 (...) @get_next() store i32 %99, ptr %29, align 4 %100 = call i32 (...) @get_next() store i32 %100, ptr %30, align 4 %101 = call i32 (...) @get_next() store i32 %101, ptr %31, align 4 %102 = call i32 (...) @get_next() store i32 %102, ptr %32, align 4 %103 = call i32 (...) @get_next() store i32 %103, ptr %33, align 4 %104 = call i32 (...) @get_next() store i32 %104, ptr %34, align 4 store i32 16, ptr %35, align 4 %105 = load i32, ptr %19, align 4 %106 = load i32, ptr %35, align 4 %107 = add nsw i32 %106, 1 %108 = call i32 @check_equals(i32 noundef %105, i32 noundef %107) %109 = load i32, ptr %20, align 4 %110 = load i32, ptr %35, align 4 %111 = add nsw i32 %110, 2 %112 = call i32 @check_equals(i32 noundef %109, i32 noundef %111) %113 = load i32, ptr %21, align 4 %114 = load i32, ptr %35, align 4 %115 = add nsw i32 %114, 3 %116 = call i32 @check_equals(i32 noundef %113, i32 noundef %115) %117 = load i32, ptr %22, align 4 %118 = load i32, ptr %35, align 4 %119 = add nsw i32 %118, 4 %120 = call i32 @check_equals(i32 noundef %117, i32 noundef %119) %121 = load i32, ptr %23, align 4 %122 = load i32, ptr %35, align 4 %123 = add nsw i32 %122, 5 %124 = call i32 @check_equals(i32 noundef %121, i32 noundef %123) %125 = load i32, ptr %24, align 4 %126 = load i32, ptr %35, align 4 %127 = add nsw i32 %126, 6 %128 = call i32 @check_equals(i32 noundef %125, i32 noundef %127) %129 = load i32, ptr %25, align 4 %130 = load i32, ptr %35, align 4 %131 = add nsw i32 %130, 7 %132 = call i32 @check_equals(i32 noundef %129, i32 noundef %131) %133 = load i32, ptr %26, align 4 %134 = load i32, ptr %35, align 4 %135 = add nsw i32 %134, 8 %136 = call i32 @check_equals(i32 noundef %133, i32 noundef %135) %137 = load i32, ptr %27, align 4 %138 = load i32, ptr %35, align 4 %139 = add nsw i32 %138, 9 %140 = call i32 @check_equals(i32 noundef %137, i32 noundef %139) %141 = load i32, ptr %28, align 4 %142 = load i32, ptr %35, align 4 %143 = add nsw i32 %142, 10 %144 = call i32 @check_equals(i32 noundef %141, i32 noundef %143) %145 = load i32, ptr %29, align 4 %146 = load i32, ptr %35, align 4 %147 = add nsw i32 %146, 11 %148 = call i32 @check_equals(i32 noundef %145, i32 noundef %147) %149 = load i32, ptr %30, align 4 %150 = load i32, ptr %35, align 4 %151 = add nsw i32 %150, 12 %152 = call i32 @check_equals(i32 noundef %149, i32 noundef %151) %153 = load i32, ptr %31, align 4 %154 = load i32, ptr %35, align 4 %155 = add nsw i32 %154, 13 %156 = call i32 @check_equals(i32 noundef %153, i32 noundef %155) %157 = load i32, ptr %32, align 4 %158 = load i32, ptr %35, align 4 %159 = add nsw i32 %158, 14 %160 = call i32 @check_equals(i32 noundef %157, i32 noundef %159) %161 = load i32, ptr %33, align 4 %162 = load i32, ptr %35, align 4 %163 = add nsw i32 %162, 15 %164 = call i32 @check_equals(i32 noundef %161, i32 noundef %163) %165 = load i32, ptr %34, align 4 %166 = load i32, ptr %35, align 4 %167 = add nsw i32 %166, 16 %168 = call i32 @check_equals(i32 noundef %165, i32 noundef %167) %169 = load i32, ptr %18, align 4 %170 = call i32 @longjmp(i32 noundef %169, i32 noundef 1) #3 unreachable } declare i32 @get_next(...) #1 declare i64 @setjmp(i32 noundef) #1 declare i32 @check_equals(i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @longjmp(i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpynrxm64l.c' source_filename = "/tmp/tmpynrxm64l.c" target datalayout = "e-m:e-p270: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 @HO_37(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %6 = load double, ptr %4, align 8 %7 = fmul double 0x447D83DB55A0AB2A, %6 %8 = load double, ptr %4, align 8 %9 = fmul double -5.000000e-01, %8 %10 = load double, ptr %4, align 8 %11 = fmul double %9, %10 %12 = load double, ptr %3, align 8 %13 = call double @pow(double noundef %12, double noundef -2.000000e+00) #3 %14 = fmul double %11, %13 %15 = call double @exp(double noundef %14) #3 %16 = fmul double %7, %15 %17 = load double, ptr %3, align 8 %18 = call double @pow(double noundef %17, double noundef -3.750000e+01) #3 %19 = fmul double %16, %18 %20 = load double, ptr %4, align 8 %21 = call double @pow(double noundef %20, double noundef 2.000000e+01) #3 %22 = fmul double 0x3F6AB27EA0312E77, %21 %23 = load double, ptr %3, align 8 %24 = call double @pow(double noundef %23, double noundef 1.600000e+01) #3 %25 = load double, ptr %4, align 8 %26 = call double @pow(double noundef %25, double noundef 1.800000e+01) #3 %27 = fmul double 0x3FA3777C54CE8737, %26 %28 = load double, ptr %3, align 8 %29 = call double @pow(double noundef %28, double noundef 1.800000e+01) #3 %30 = fmul double %27, %29 %31 = fneg double %30 %32 = call double @llvm.fmuladd.f64(double %22, double %24, double %31) %33 = load double, ptr %4, align 8 %34 = call double @pow(double noundef %33, double noundef 1.600000e+01) #3 %35 = fmul double 0x3FD4CE19ADFF6BD6, %34 %36 = load double, ptr %3, align 8 %37 = call double @pow(double noundef %36, double noundef 2.000000e+01) #3 %38 = call double @llvm.fmuladd.f64(double %35, double %37, double %32) %39 = load double, ptr %4, align 8 %40 = call double @pow(double noundef %39, double noundef 1.400000e+01) #3 %41 = fmul double 0x4000139F7AA686B4, %40 %42 = load double, ptr %3, align 8 %43 = call double @pow(double noundef %42, double noundef 2.200000e+01) #3 %44 = fneg double %41 %45 = call double @llvm.fmuladd.f64(double %44, double %43, double %38) %46 = load double, ptr %4, align 8 %47 = call double @pow(double noundef %46, double noundef 1.200000e+01) #3 %48 = fmul double 0x402195766E3DC2A6, %47 %49 = load double, ptr %3, align 8 %50 = call double @pow(double noundef %49, double noundef 2.400000e+01) #3 %51 = call double @llvm.fmuladd.f64(double %48, double %50, double %45) %52 = load double, ptr %4, align 8 %53 = call double @pow(double noundef %52, double noundef 8.000000e+00) #3 %54 = fmul double 0x4049E79E79E8A444, %53 %55 = load double, ptr %3, align 8 %56 = call double @pow(double noundef %55, double noundef 2.800000e+01) #3 %57 = call double @llvm.fmuladd.f64(double %54, double %56, double %51) %58 = load double, ptr %4, align 8 %59 = call double @pow(double noundef %58, double noundef 4.000000e+00) #3 %60 = fmul double 0x40446666667BDFF5, %59 %61 = load double, ptr %3, align 8 %62 = call double @pow(double noundef %61, double noundef 3.200000e+01) #3 %63 = call double @llvm.fmuladd.f64(double %60, double %62, double %57) %64 = load double, ptr %4, align 8 %65 = fmul double 1.200000e+01, %64 %66 = load double, ptr %4, align 8 %67 = fmul double %65, %66 %68 = load double, ptr %3, align 8 %69 = call double @pow(double noundef %68, double noundef 3.400000e+01) #3 %70 = fneg double %67 %71 = call double @llvm.fmuladd.f64(double %70, double %69, double %63) %72 = load double, ptr %4, align 8 %73 = call double @pow(double noundef %72, double noundef 3.600000e+01) #3 %74 = call double @llvm.fmuladd.f64(double 0x3C826D4D5E18C8B7, double %73, double %71) %75 = load double, ptr %3, align 8 %76 = call double @pow(double noundef %75, double noundef 3.600000e+01) #3 %77 = call double @llvm.fmuladd.f64(double 0x3FEFFFFFFFC90640, double %76, double %74) %78 = load double, ptr %4, align 8 %79 = call double @pow(double noundef %78, double noundef 6.000000e+00) #3 %80 = fmul double 0x404F15F15F3DD31F, %79 %81 = load double, ptr %3, align 8 %82 = call double @pow(double noundef %81, double noundef 3.000000e+01) #3 %83 = fneg double %80 %84 = call double @llvm.fmuladd.f64(double %83, double %82, double %77) %85 = load double, ptr %4, align 8 %86 = call double @pow(double noundef %85, double noundef 1.000000e+01) #3 %87 = fmul double 0x403A6031A5BF6CBD, %86 %88 = load double, ptr %3, align 8 %89 = call double @pow(double noundef %88, double noundef 2.600000e+01) #3 %90 = fneg double %87 %91 = call double @llvm.fmuladd.f64(double %90, double %89, double %84) %92 = load double, ptr %4, align 8 %93 = call double @pow(double noundef %92, double noundef 3.400000e+01) #3 %94 = fmul double 0x3D07F82DA2CF5D5B, %93 %95 = load double, ptr %3, align 8 %96 = fmul double %94, %95 %97 = load double, ptr %3, align 8 %98 = fneg double %96 %99 = call double @llvm.fmuladd.f64(double %98, double %97, double %91) %100 = load double, ptr %4, align 8 %101 = call double @pow(double noundef %100, double noundef 3.200000e+01) #3 %102 = fmul double 0x3D7BDAE9090809DF, %101 %103 = load double, ptr %3, align 8 %104 = call double @pow(double noundef %103, double noundef 4.000000e+00) #3 %105 = call double @llvm.fmuladd.f64(double %102, double %104, double %99) %106 = load double, ptr %4, align 8 %107 = call double @pow(double noundef %106, double noundef 3.000000e+01) #3 %108 = fmul double 0x3DE32680363A3FB6, %107 %109 = load double, ptr %3, align 8 %110 = call double @pow(double noundef %109, double noundef 6.000000e+00) #3 %111 = fneg double %108 %112 = call double @llvm.fmuladd.f64(double %111, double %110, double %105) %113 = load double, ptr %4, align 8 %114 = call double @pow(double noundef %113, double noundef 2.800000e+01) #3 %115 = fmul double 0x3E4164777126899C, %114 %116 = load double, ptr %3, align 8 %117 = call double @pow(double noundef %116, double noundef 8.000000e+00) #3 %118 = call double @llvm.fmuladd.f64(double %115, double %117, double %112) %119 = load double, ptr %4, align 8 %120 = call double @pow(double noundef %119, double noundef 2.600000e+01) #3 %121 = fmul double 0x3E961111244EA9B8, %120 %122 = load double, ptr %3, align 8 %123 = call double @pow(double noundef %122, double noundef 1.000000e+01) #3 %124 = fneg double %121 %125 = call double @llvm.fmuladd.f64(double %124, double %123, double %118) %126 = load double, ptr %4, align 8 %127 = call double @pow(double noundef %126, double noundef 2.400000e+01) #3 %128 = fmul double 0x3EE42B99AB4718AE, %127 %129 = load double, ptr %3, align 8 %130 = call double @pow(double noundef %129, double noundef 1.200000e+01) #3 %131 = call double @llvm.fmuladd.f64(double %128, double %130, double %125) %132 = load double, ptr %4, align 8 %133 = call double @pow(double noundef %132, double noundef 2.200000e+01) #3 %134 = fmul double 0x3F2B03893C02E6FF, %133 %135 = load double, ptr %3, align 8 %136 = call double @pow(double noundef %135, double noundef 1.400000e+01) #3 %137 = fneg double %134 %138 = call double @llvm.fmuladd.f64(double %137, double %136, double %131) %139 = fmul double %19, %138 store double %139, ptr %5, align 8 %140 = load double, ptr %5, align 8 ret double %140 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpynrxm64l.c" target datalayout = "e-m:e-p270: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 @HO_37(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %6 = load double, ptr %4, align 8 %7 = fmul double 0x447D83DB55A0AB2A, %6 %8 = load double, ptr %4, align 8 %9 = fmul double -5.000000e-01, %8 %10 = load double, ptr %4, align 8 %11 = fmul double %9, %10 %12 = load double, ptr %3, align 8 %13 = call double @pow(double noundef %12, double noundef -2.000000e+00) #3 %14 = fmul double %11, %13 %15 = call double @exp(double noundef %14) #3 %16 = fmul double %7, %15 %17 = load double, ptr %3, align 8 %18 = call double @pow(double noundef %17, double noundef -3.750000e+01) #3 %19 = fmul double %16, %18 %20 = load double, ptr %4, align 8 %21 = call double @pow(double noundef %20, double noundef 2.000000e+01) #3 %22 = fmul double 0x3F6AB27EA0312E77, %21 %23 = load double, ptr %3, align 8 %24 = call double @pow(double noundef %23, double noundef 1.600000e+01) #3 %25 = load double, ptr %4, align 8 %26 = call double @pow(double noundef %25, double noundef 1.800000e+01) #3 %27 = fmul double 0x3FA3777C54CE8737, %26 %28 = load double, ptr %3, align 8 %29 = call double @pow(double noundef %28, double noundef 1.800000e+01) #3 %30 = fmul double %27, %29 %31 = fneg double %30 %32 = call double @llvm.fmuladd.f64(double %22, double %24, double %31) %33 = load double, ptr %4, align 8 %34 = call double @pow(double noundef %33, double noundef 1.600000e+01) #3 %35 = fmul double 0x3FD4CE19ADFF6BD6, %34 %36 = load double, ptr %3, align 8 %37 = call double @pow(double noundef %36, double noundef 2.000000e+01) #3 %38 = call double @llvm.fmuladd.f64(double %35, double %37, double %32) %39 = load double, ptr %4, align 8 %40 = call double @pow(double noundef %39, double noundef 1.400000e+01) #3 %41 = fmul double 0x4000139F7AA686B4, %40 %42 = load double, ptr %3, align 8 %43 = call double @pow(double noundef %42, double noundef 2.200000e+01) #3 %44 = fneg double %41 %45 = call double @llvm.fmuladd.f64(double %44, double %43, double %38) %46 = load double, ptr %4, align 8 %47 = call double @pow(double noundef %46, double noundef 1.200000e+01) #3 %48 = fmul double 0x402195766E3DC2A6, %47 %49 = load double, ptr %3, align 8 %50 = call double @pow(double noundef %49, double noundef 2.400000e+01) #3 %51 = call double @llvm.fmuladd.f64(double %48, double %50, double %45) %52 = load double, ptr %4, align 8 %53 = call double @pow(double noundef %52, double noundef 8.000000e+00) #3 %54 = fmul double 0x4049E79E79E8A444, %53 %55 = load double, ptr %3, align 8 %56 = call double @pow(double noundef %55, double noundef 2.800000e+01) #3 %57 = call double @llvm.fmuladd.f64(double %54, double %56, double %51) %58 = load double, ptr %4, align 8 %59 = call double @pow(double noundef %58, double noundef 4.000000e+00) #3 %60 = fmul double 0x40446666667BDFF5, %59 %61 = load double, ptr %3, align 8 %62 = call double @pow(double noundef %61, double noundef 3.200000e+01) #3 %63 = call double @llvm.fmuladd.f64(double %60, double %62, double %57) %64 = load double, ptr %4, align 8 %65 = fmul double 1.200000e+01, %64 %66 = load double, ptr %4, align 8 %67 = fmul double %65, %66 %68 = load double, ptr %3, align 8 %69 = call double @pow(double noundef %68, double noundef 3.400000e+01) #3 %70 = fneg double %67 %71 = call double @llvm.fmuladd.f64(double %70, double %69, double %63) %72 = load double, ptr %4, align 8 %73 = call double @pow(double noundef %72, double noundef 3.600000e+01) #3 %74 = call double @llvm.fmuladd.f64(double 0x3C826D4D5E18C8B7, double %73, double %71) %75 = load double, ptr %3, align 8 %76 = call double @pow(double noundef %75, double noundef 3.600000e+01) #3 %77 = call double @llvm.fmuladd.f64(double 0x3FEFFFFFFFC90640, double %76, double %74) %78 = load double, ptr %4, align 8 %79 = call double @pow(double noundef %78, double noundef 6.000000e+00) #3 %80 = fmul double 0x404F15F15F3DD31F, %79 %81 = load double, ptr %3, align 8 %82 = call double @pow(double noundef %81, double noundef 3.000000e+01) #3 %83 = fneg double %80 %84 = call double @llvm.fmuladd.f64(double %83, double %82, double %77) %85 = load double, ptr %4, align 8 %86 = call double @pow(double noundef %85, double noundef 1.000000e+01) #3 %87 = fmul double 0x403A6031A5BF6CBD, %86 %88 = load double, ptr %3, align 8 %89 = call double @pow(double noundef %88, double noundef 2.600000e+01) #3 %90 = fneg double %87 %91 = call double @llvm.fmuladd.f64(double %90, double %89, double %84) %92 = load double, ptr %4, align 8 %93 = call double @pow(double noundef %92, double noundef 3.400000e+01) #3 %94 = fmul double 0x3D07F82DA2CF5D5B, %93 %95 = load double, ptr %3, align 8 %96 = fmul double %94, %95 %97 = load double, ptr %3, align 8 %98 = fneg double %96 %99 = call double @llvm.fmuladd.f64(double %98, double %97, double %91) %100 = load double, ptr %4, align 8 %101 = call double @pow(double noundef %100, double noundef 3.200000e+01) #3 %102 = fmul double 0x3D7BDAE9090809DF, %101 %103 = load double, ptr %3, align 8 %104 = call double @pow(double noundef %103, double noundef 4.000000e+00) #3 %105 = call double @llvm.fmuladd.f64(double %102, double %104, double %99) %106 = load double, ptr %4, align 8 %107 = call double @pow(double noundef %106, double noundef 3.000000e+01) #3 %108 = fmul double 0x3DE32680363A3FB6, %107 %109 = load double, ptr %3, align 8 %110 = call double @pow(double noundef %109, double noundef 6.000000e+00) #3 %111 = fneg double %108 %112 = call double @llvm.fmuladd.f64(double %111, double %110, double %105) %113 = load double, ptr %4, align 8 %114 = call double @pow(double noundef %113, double noundef 2.800000e+01) #3 %115 = fmul double 0x3E4164777126899C, %114 %116 = load double, ptr %3, align 8 %117 = call double @pow(double noundef %116, double noundef 8.000000e+00) #3 %118 = call double @llvm.fmuladd.f64(double %115, double %117, double %112) %119 = load double, ptr %4, align 8 %120 = call double @pow(double noundef %119, double noundef 2.600000e+01) #3 %121 = fmul double 0x3E961111244EA9B8, %120 %122 = load double, ptr %3, align 8 %123 = call double @pow(double noundef %122, double noundef 1.000000e+01) #3 %124 = fneg double %121 %125 = call double @llvm.fmuladd.f64(double %124, double %123, double %118) %126 = load double, ptr %4, align 8 %127 = call double @pow(double noundef %126, double noundef 2.400000e+01) #3 %128 = fmul double 0x3EE42B99AB4718AE, %127 %129 = load double, ptr %3, align 8 %130 = call double @pow(double noundef %129, double noundef 1.200000e+01) #3 %131 = call double @llvm.fmuladd.f64(double %128, double %130, double %125) %132 = load double, ptr %4, align 8 %133 = call double @pow(double noundef %132, double noundef 2.200000e+01) #3 %134 = fmul double 0x3F2B03893C02E6FF, %133 %135 = load double, ptr %3, align 8 %136 = call double @pow(double noundef %135, double noundef 1.400000e+01) #3 %137 = fneg double %134 %138 = call double @llvm.fmuladd.f64(double %137, double %136, double %131) %139 = fmul double %19, %138 store double %139, ptr %5, align 8 %140 = load double, ptr %5, align 8 ret double %140 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { 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"}
; ModuleID = '/tmp/tmprgzkk6yr.c' source_filename = "/tmp/tmprgzkk6yr.c" target datalayout = "e-m:e-p270: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 @julian_day(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, double noundef %6, double noundef %7) #0 { %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 double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store double %6, ptr %15, align 8 store double %7, ptr %16, align 8 %20 = load i32, ptr %11, align 4 %21 = sitofp i32 %20 to double %22 = load i32, ptr %12, align 4 %23 = sitofp i32 %22 to double %24 = load double, ptr %16, align 8 %25 = fsub double %23, %24 %26 = load i32, ptr %13, align 4 %27 = sitofp i32 %26 to double %28 = load i32, ptr %14, align 4 %29 = sitofp i32 %28 to double %30 = load double, ptr %15, align 8 %31 = fadd double %29, %30 %32 = fdiv double %31, 6.000000e+01 %33 = fadd double %27, %32 %34 = fdiv double %33, 6.000000e+01 %35 = fadd double %25, %34 %36 = fdiv double %35, 2.400000e+01 %37 = fadd double %21, %36 store double %37, ptr %17, align 8 %38 = load i32, ptr %10, align 4 %39 = icmp slt i32 %38, 3 br i1 %39, label %40, label %45 40: ; preds = %8 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, 12 store i32 %42, ptr %10, align 4 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %9, align 4 br label %45 45: ; preds = %40, %8 %46 = load i32, ptr %9, align 4 %47 = sitofp i32 %46 to double %48 = fadd double %47, 4.716000e+03 %49 = fmul double 3.652500e+02, %48 %50 = call double @integer(double noundef %49) %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, 1 %53 = sitofp i32 %52 to double %54 = fmul double 3.060010e+01, %53 %55 = call double @integer(double noundef %54) %56 = fadd double %50, %55 %57 = load double, ptr %17, align 8 %58 = fadd double %56, %57 %59 = fsub double %58, 1.524500e+03 store double %59, ptr %18, align 8 %60 = load double, ptr %18, align 8 %61 = fcmp ogt double %60, 2.299160e+06 br i1 %61, label %62, label %75 62: ; preds = %45 %63 = load i32, ptr %9, align 4 %64 = sdiv i32 %63, 100 %65 = sitofp i32 %64 to double %66 = call double @integer(double noundef %65) store double %66, ptr %19, align 8 %67 = load double, ptr %19, align 8 %68 = fsub double 2.000000e+00, %67 %69 = load double, ptr %19, align 8 %70 = fdiv double %69, 4.000000e+00 %71 = call double @integer(double noundef %70) %72 = fadd double %68, %71 %73 = load double, ptr %18, align 8 %74 = fadd double %73, %72 store double %74, ptr %18, align 8 br label %75 75: ; preds = %62, %45 %76 = load double, ptr %18, align 8 ret double %76 } declare double @integer(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprgzkk6yr.c" target datalayout = "e-m:e-p270: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 @julian_day(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, double noundef %6, double noundef %7) #0 { %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 double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store double %6, ptr %15, align 8 store double %7, ptr %16, align 8 %20 = load i32, ptr %11, align 4 %21 = sitofp i32 %20 to double %22 = load i32, ptr %12, align 4 %23 = sitofp i32 %22 to double %24 = load double, ptr %16, align 8 %25 = fsub double %23, %24 %26 = load i32, ptr %13, align 4 %27 = sitofp i32 %26 to double %28 = load i32, ptr %14, align 4 %29 = sitofp i32 %28 to double %30 = load double, ptr %15, align 8 %31 = fadd double %29, %30 %32 = fdiv double %31, 6.000000e+01 %33 = fadd double %27, %32 %34 = fdiv double %33, 6.000000e+01 %35 = fadd double %25, %34 %36 = fdiv double %35, 2.400000e+01 %37 = fadd double %21, %36 store double %37, ptr %17, align 8 %38 = load i32, ptr %10, align 4 %39 = icmp slt i32 %38, 3 br i1 %39, label %40, label %45 40: ; preds = %8 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, 12 store i32 %42, ptr %10, align 4 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %9, align 4 br label %45 45: ; preds = %40, %8 %46 = load i32, ptr %9, align 4 %47 = sitofp i32 %46 to double %48 = fadd double %47, 4.716000e+03 %49 = fmul double 3.652500e+02, %48 %50 = call double @integer(double noundef %49) %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, 1 %53 = sitofp i32 %52 to double %54 = fmul double 3.060010e+01, %53 %55 = call double @integer(double noundef %54) %56 = fadd double %50, %55 %57 = load double, ptr %17, align 8 %58 = fadd double %56, %57 %59 = fsub double %58, 1.524500e+03 store double %59, ptr %18, align 8 %60 = load double, ptr %18, align 8 %61 = fcmp ogt double %60, 2.299160e+06 br i1 %61, label %62, label %75 62: ; preds = %45 %63 = load i32, ptr %9, align 4 %64 = sdiv i32 %63, 100 %65 = sitofp i32 %64 to double %66 = call double @integer(double noundef %65) store double %66, ptr %19, align 8 %67 = load double, ptr %19, align 8 %68 = fsub double 2.000000e+00, %67 %69 = load double, ptr %19, align 8 %70 = fdiv double %69, 4.000000e+00 %71 = call double @integer(double noundef %70) %72 = fadd double %68, %71 %73 = load double, ptr %18, align 8 %74 = fadd double %73, %72 store double %74, ptr %18, align 8 br label %75 75: ; preds = %62, %45 %76 = load double, ptr %18, align 8 ret double %76 } declare double @integer(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_cs19lkt.c' source_filename = "/tmp/tmp_cs19lkt.c" target datalayout = "e-m:e-p270: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 @build_min_heap(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 %6 = load i32, ptr %4, align 4 %7 = sub nsw i32 %6, 2 %8 = sdiv i32 %7, 2 store i32 %8, ptr %5, align 4 br label %9 9: ; preds = %17, %2 %10 = load i32, ptr %5, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = call i32 @min_heap_fixup(ptr noundef %13, i32 noundef %14, i32 noundef %15) br label %17 17: ; preds = %12 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %5, align 4 br label %9, !llvm.loop !6 20: ; preds = %9 ret void } declare i32 @min_heap_fixup(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_cs19lkt.c" target datalayout = "e-m:e-p270: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 @build_min_heap(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 %6 = load i32, ptr %4, align 4 %7 = sub nsw i32 %6, 2 %8 = sdiv i32 %7, 2 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %16 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @min_heap_fixup(ptr noundef %12, i32 noundef %13, i32 noundef %14) br label %16 16: ; preds = %11 %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 = icmp sge i32 %19, 0 br i1 %20, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %2 ret void } declare i32 @min_heap_fixup(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"}
; ModuleID = '/tmp/tmpraynrxjc.c' source_filename = "/tmp/tmpraynrxjc.c" target datalayout = "e-m:e-p270: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 @bar(ptr noalias noundef %0, ptr noalias noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @foo(ptr noundef %7, ptr noundef %8) ret i32 %9 } declare i32 @foo(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/tmpraynrxjc.c" target datalayout = "e-m:e-p270: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 @bar(ptr noalias noundef %0, ptr noalias noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @foo(ptr noundef %7, ptr noundef %8) ret i32 %9 } declare i32 @foo(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/tmpemtq_29l.c' source_filename = "/tmp/tmpemtq_29l.c" target datalayout = "e-m:e-p270: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/tmpemtq_29l.c" target datalayout = "e-m:e-p270: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/tmpr_0v_ky_.c' source_filename = "/tmp/tmpr_0v_ky_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RSA_FLAG_EXT_PKEY = dso_local global i32 0, align 4 @RSA_METHOD_FLAG_NO_CHECK = 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/tmpr_0v_ky_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RSA_FLAG_EXT_PKEY = dso_local global i32 0, align 4 @RSA_METHOD_FLAG_NO_CHECK = 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/tmpny3trooh.c' source_filename = "/tmp/tmpny3trooh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_PROJECTION = dso_local global i32 0, align 4 @GL_MODELVIEW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @resize(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 @GL_PROJECTION, align 4 %6 = call i32 @glMatrixMode(i32 noundef %5) %7 = call i32 (...) @glLoadIdentity() %8 = load i32, ptr %3, align 4 %9 = sitofp i32 %8 to float %10 = load i32, ptr %4, align 4 %11 = sitofp i32 %10 to float %12 = fdiv float %9, %11 %13 = call i32 @gluPerspective(float noundef 6.000000e+01, float noundef %12, float noundef 0x3FB99999A0000000, float noundef 1.000000e+01) %14 = load i32, ptr @GL_MODELVIEW, align 4 %15 = call i32 @glMatrixMode(i32 noundef %14) %16 = call i32 @glClearColor(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00) ret void } declare i32 @glMatrixMode(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @gluPerspective(float noundef, float noundef, float noundef, float noundef) #1 declare i32 @glClearColor(float noundef, float noundef, float noundef, float 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/tmpny3trooh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_PROJECTION = dso_local global i32 0, align 4 @GL_MODELVIEW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @resize(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 @GL_PROJECTION, align 4 %6 = call i32 @glMatrixMode(i32 noundef %5) %7 = call i32 (...) @glLoadIdentity() %8 = load i32, ptr %3, align 4 %9 = sitofp i32 %8 to float %10 = load i32, ptr %4, align 4 %11 = sitofp i32 %10 to float %12 = fdiv float %9, %11 %13 = call i32 @gluPerspective(float noundef 6.000000e+01, float noundef %12, float noundef 0x3FB99999A0000000, float noundef 1.000000e+01) %14 = load i32, ptr @GL_MODELVIEW, align 4 %15 = call i32 @glMatrixMode(i32 noundef %14) %16 = call i32 @glClearColor(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00) ret void } declare i32 @glMatrixMode(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @gluPerspective(float noundef, float noundef, float noundef, float noundef) #1 declare i32 @glClearColor(float noundef, float noundef, float noundef, float 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/tmpj5ha6gy9.c' source_filename = "/tmp/tmpj5ha6gy9.c" target datalayout = "e-m:e-p270: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/tmpj5ha6gy9.c" target datalayout = "e-m:e-p270: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/tmpgcth86gb.c' source_filename = "/tmp/tmpgcth86gb.c" target datalayout = "e-m:e-p270: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/tmpgcth86gb.c" target datalayout = "e-m:e-p270: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/tmp3dq83vr5.c' source_filename = "/tmp/tmp3dq83vr5.c" target datalayout = "e-m:e-p270: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_3__ = type { i64, ptr, ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @byz_destroy(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_3__, ptr %3, i32 0, i32 2 %5 = load ptr, ptr %4, align 8 %6 = call i32 @free(ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 1 %9 = load ptr, ptr %8, align 8 %10 = call i32 @free(ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = inttoptr i64 %13 to ptr %15 = call i32 @free(ptr noundef %14) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3dq83vr5.c" target datalayout = "e-m:e-p270: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_3__ = type { i64, ptr, ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @byz_destroy(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_3__, ptr %3, i32 0, i32 2 %5 = load ptr, ptr %4, align 8 %6 = call i32 @free(ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 1 %9 = load ptr, ptr %8, align 8 %10 = call i32 @free(ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = inttoptr i64 %13 to ptr %15 = call i32 @free(ptr noundef %14) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk3g56dux.c' source_filename = "/tmp/tmpk3g56dux.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"All tests passed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @TestLoadAndStore() %2 = call i32 (...) @TestClone() %3 = call i32 (...) @TestDoubleAndHalve() %4 = call i32 (...) @TestShiftIncAndDec() %5 = call i32 (...) @TestAdd() %6 = call i32 (...) @TestSub() %7 = call i32 (...) @TestIncDec() %8 = call i32 (...) @TestCompare() %9 = call i32 (...) @TestMultiply() %10 = call i32 (...) @TestDivide() %11 = call i32 (...) @TestMod() %12 = call i32 (...) @TestBase10Store() %13 = call i32 (...) @TestApproximateSquareRoot() %14 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @TestLoadAndStore(...) #1 declare i32 @TestClone(...) #1 declare i32 @TestDoubleAndHalve(...) #1 declare i32 @TestShiftIncAndDec(...) #1 declare i32 @TestAdd(...) #1 declare i32 @TestSub(...) #1 declare i32 @TestIncDec(...) #1 declare i32 @TestCompare(...) #1 declare i32 @TestMultiply(...) #1 declare i32 @TestDivide(...) #1 declare i32 @TestMod(...) #1 declare i32 @TestBase10Store(...) #1 declare i32 @TestApproximateSquareRoot(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk3g56dux.c" target datalayout = "e-m:e-p270: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 [18 x i8] c"All tests passed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @TestLoadAndStore() %2 = call i32 (...) @TestClone() %3 = call i32 (...) @TestDoubleAndHalve() %4 = call i32 (...) @TestShiftIncAndDec() %5 = call i32 (...) @TestAdd() %6 = call i32 (...) @TestSub() %7 = call i32 (...) @TestIncDec() %8 = call i32 (...) @TestCompare() %9 = call i32 (...) @TestMultiply() %10 = call i32 (...) @TestDivide() %11 = call i32 (...) @TestMod() %12 = call i32 (...) @TestBase10Store() %13 = call i32 (...) @TestApproximateSquareRoot() %14 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @TestLoadAndStore(...) #1 declare i32 @TestClone(...) #1 declare i32 @TestDoubleAndHalve(...) #1 declare i32 @TestShiftIncAndDec(...) #1 declare i32 @TestAdd(...) #1 declare i32 @TestSub(...) #1 declare i32 @TestIncDec(...) #1 declare i32 @TestCompare(...) #1 declare i32 @TestMultiply(...) #1 declare i32 @TestDivide(...) #1 declare i32 @TestMod(...) #1 declare i32 @TestBase10Store(...) #1 declare i32 @TestApproximateSquareRoot(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv34nxjbg.c' source_filename = "/tmp/tmpv34nxjbg.c" target datalayout = "e-m:e-p270: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 = call i32 @test(i32 noundef 0) %2 = call i32 @test(i32 noundef 1) %3 = call i32 @test(i32 noundef 10) %4 = call i32 @test(i32 noundef 25) %5 = call i32 @test(i32 noundef 1808548329) ret i32 0 } declare i32 @test(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/tmpv34nxjbg.c" target datalayout = "e-m:e-p270: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 = call i32 @test(i32 noundef 0) %2 = call i32 @test(i32 noundef 1) %3 = call i32 @test(i32 noundef 10) %4 = call i32 @test(i32 noundef 25) %5 = call i32 @test(i32 noundef 1808548329) ret i32 0 } declare i32 @test(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/tmpao4ky7x1.c' source_filename = "/tmp/tmpao4ky7x1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"MMM BRAINS\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"NO BRAINS\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [5 x i32], align 16 %4 = alloca [5 x i32], align 16 %5 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %1, align 4 br label %6 6: ; preds = %20, %0 %7 = load i32, ptr %1, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %23 10: ; preds = %6 %11 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %12 = load i32, ptr %1, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 %16 = load i32, ptr %1, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %14, ptr noundef %18) br label %20 20: ; preds = %10 %21 = load i32, ptr %1, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %1, align 4 br label %6, !llvm.loop !6 23: ; preds = %6 store i32 0, ptr %1, align 4 br label %24 24: ; preds = %43, %23 %25 = load i32, ptr %1, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %46 28: ; preds = %24 %29 = load i32, ptr %1, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load i32, ptr %1, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 %37 = icmp sge i32 %32, %36 br i1 %37, label %38, label %40 38: ; preds = %28 %39 = call i32 @printf(ptr noundef @.str.2) br label %42 40: ; preds = %28 %41 = call i32 @printf(ptr noundef @.str.3) br label %42 42: ; preds = %40, %38 br label %43 43: ; preds = %42 %44 = load i32, ptr %1, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %1, align 4 br label %24, !llvm.loop !8 46: ; preds = %24 ret void } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpao4ky7x1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"MMM BRAINS\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"NO BRAINS\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [5 x i32], align 16 %4 = alloca [5 x i32], align 16 %5 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %19 %10 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0 %11 = load i32, ptr %1, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0 %15 = load i32, ptr %1, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %13, ptr noundef %17) br label %19 19: ; preds = %9 %20 = load i32, ptr %1, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %1, align 4 %22 = load i32, ptr %1, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 store i32 0, ptr %1, align 4 %26 = load i32, ptr %1, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph2, label %50 .lr.ph2: ; preds = %25 br label %29 29: ; preds = %.lr.ph2, %44 %30 = load i32, ptr %1, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load i32, ptr %1, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = icmp sge i32 %33, %37 br i1 %38, label %39, label %41 39: ; preds = %29 %40 = call i32 @printf(ptr noundef @.str.2) br label %43 41: ; preds = %29 %42 = call i32 @printf(ptr noundef @.str.3) br label %43 43: ; preds = %41, %39 br label %44 44: ; preds = %43 %45 = load i32, ptr %1, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %1, align 4 %47 = load i32, ptr %1, align 4 %48 = load i32, ptr %2, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %50 50: ; preds = %._crit_edge3, %25 ret void } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5qfvjokf.c' source_filename = "/tmp/tmp5qfvjokf.c" target datalayout = "e-m:e-p270: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/tmp5qfvjokf.c" target datalayout = "e-m:e-p270: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/tmpournn4vx.c' source_filename = "/tmp/tmpournn4vx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @detach(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @fork() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 ret void 8: ; preds = %1 %9 = load i32, ptr @STDIN_FILENO, align 4 %10 = call i32 @close(i32 noundef %9) %11 = load i32, ptr @STDOUT_FILENO, align 4 %12 = call i32 @close(i32 noundef %11) %13 = load i32, ptr @STDERR_FILENO, align 4 %14 = call i32 @close(i32 noundef %13) %15 = load ptr, ptr %2, align 8 %16 = call i32 @execvp(ptr noundef %15, ptr noundef null) %17 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @execvp(ptr 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/tmpournn4vx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @detach(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @fork() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 ret void 8: ; preds = %1 %9 = load i32, ptr @STDIN_FILENO, align 4 %10 = call i32 @close(i32 noundef %9) %11 = load i32, ptr @STDOUT_FILENO, align 4 %12 = call i32 @close(i32 noundef %11) %13 = load i32, ptr @STDERR_FILENO, align 4 %14 = call i32 @close(i32 noundef %13) %15 = load ptr, ptr %2, align 8 %16 = call i32 @execvp(ptr noundef %15, ptr noundef null) %17 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @execvp(ptr 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/tmptmhlh_w1.c' source_filename = "/tmp/tmptmhlh_w1.c" target datalayout = "e-m:e-p270: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.split_str_to_array.str = private unnamed_addr constant [12 x i8] c"Hello world\00", align 1 @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"res[%d] = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @split_str_to_array() #0 { %1 = alloca [12 x i8], align 1 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.split_str_to_array.str, i64 12, i1 false) store ptr null, ptr %2, align 8 %6 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0 %7 = call ptr @strtok(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %8 8: ; preds = %23, %0 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %31 11: ; preds = %8 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 8, %15 %17 = trunc i64 %16 to i32 %18 = call ptr @realloc(ptr noundef %12, i32 noundef %17) store ptr %18, ptr %2, align 8 %19 = load ptr, ptr %2, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %11 %22 = call i32 @exit(i32 noundef -1) #4 unreachable 23: ; preds = %11 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %4, align 4 %27 = sub nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %25, i64 %28 store ptr %24, ptr %29, align 8 %30 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %30, ptr %3, align 8 br label %8, !llvm.loop !6 31: ; preds = %8 %32 = load ptr, ptr %2, align 8 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 %35 = sext i32 %34 to i64 %36 = mul i64 8, %35 %37 = trunc i64 %36 to i32 %38 = call ptr @realloc(ptr noundef %32, i32 noundef %37) store ptr %38, ptr %2, align 8 %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 store ptr null, ptr %42, align 8 store i32 0, ptr %5, align 4 br label %43 43: ; preds = %56, %31 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %4, align 4 %46 = add nsw i32 %45, 1 %47 = icmp slt i32 %44, %46 br i1 %47, label %48, label %59 48: ; preds = %43 %49 = load i32, ptr %5, align 4 %50 = load ptr, ptr %2, align 8 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %50, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = call i32 @printf(ptr noundef @.str.1, i32 noundef %49, ptr noundef %54) br label %56 56: ; preds = %48 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %5, align 4 br label %43, !llvm.loop !8 59: ; preds = %43 %60 = load ptr, ptr %2, align 8 %61 = call i32 @free(ptr noundef %60) ret void } ; 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 ptr @strtok(ptr noundef, ptr noundef) #2 declare ptr @realloc(ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @free(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 = { 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" } 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 = { 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptmhlh_w1.c" target datalayout = "e-m:e-p270: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.split_str_to_array.str = private unnamed_addr constant [12 x i8] c"Hello world\00", align 1 @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"res[%d] = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @split_str_to_array() #0 { %1 = alloca [12 x i8], align 1 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.split_str_to_array.str, i64 12, i1 false) store ptr null, ptr %2, align 8 %6 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0 %7 = call ptr @strtok(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %3, align 8 store i32 0, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %22 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = mul i64 8, %14 %16 = trunc i64 %15 to i32 %17 = call ptr @realloc(ptr noundef %11, i32 noundef %16) store ptr %17, ptr %2, align 8 %18 = load ptr, ptr %2, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %22 20: ; preds = %10 %21 = call i32 @exit(i32 noundef -1) #4 unreachable 22: ; preds = %10 %23 = load ptr, ptr %3, align 8 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %4, align 4 %26 = sub nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %24, i64 %27 store ptr %23, ptr %28, align 8 %29 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %29, ptr %3, align 8 %30 = load ptr, ptr %3, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %32 32: ; preds = %._crit_edge, %0 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = mul i64 8, %36 %38 = trunc i64 %37 to i32 %39 = call ptr @realloc(ptr noundef %33, i32 noundef %38) store ptr %39, ptr %2, align 8 %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 store ptr null, ptr %43, align 8 store i32 0, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %4, align 4 %46 = add nsw i32 %45, 1 %47 = icmp slt i32 %44, %46 br i1 %47, label %.lr.ph2, label %63 .lr.ph2: ; preds = %32 br label %48 48: ; preds = %.lr.ph2, %56 %49 = load i32, ptr %5, align 4 %50 = load ptr, ptr %2, align 8 %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds ptr, ptr %50, i64 %52 %54 = load ptr, ptr %53, align 8 %55 = call i32 @printf(ptr noundef @.str.1, i32 noundef %49, ptr noundef %54) br label %56 56: ; preds = %48 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %5, align 4 %59 = load i32, ptr %5, align 4 %60 = load i32, ptr %4, align 4 %61 = add nsw i32 %60, 1 %62 = icmp slt i32 %59, %61 br i1 %62, label %48, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %56 br label %63 63: ; preds = %._crit_edge3, %32 %64 = load ptr, ptr %2, align 8 %65 = call i32 @free(ptr noundef %64) ret void } ; 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 ptr @strtok(ptr noundef, ptr noundef) #2 declare ptr @realloc(ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @free(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 = { 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" } 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 = { 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5697mp11.c' source_filename = "/tmp/tmp5697mp11.c" target datalayout = "e-m:e-p270: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 @tlv_iter_decode_str(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %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 ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @tlv_iter_get_len(ptr noundef %11) store i32 %12, ptr %9, align 4 %13 = load ptr, ptr %5, align 8 %14 = call ptr @tlv_iter_get_data(ptr noundef %13) store ptr %14, ptr %8, align 8 %15 = load i32, ptr %9, align 4 %16 = add nsw i32 %15, 1 %17 = call ptr @malloc(i32 noundef %16) store ptr %17, ptr %10, align 8 %18 = load ptr, ptr %10, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %21 20: ; preds = %3 store i32 -1, ptr %4, align 4 br label %35 21: ; preds = %3 %22 = load ptr, ptr %10, align 8 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %9, align 4 %25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef %24) %26 = load ptr, ptr %10, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 store i8 0, ptr %29, align 1 %30 = load ptr, ptr %10, align 8 %31 = load ptr, ptr %6, align 8 store ptr %30, ptr %31, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = load ptr, ptr %7, align 8 store i64 %33, ptr %34, align 8 store i32 0, ptr %4, align 4 br label %35 35: ; preds = %21, %20 %36 = load i32, ptr %4, align 4 ret i32 %36 } declare i32 @tlv_iter_get_len(ptr noundef) #1 declare ptr @tlv_iter_get_data(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(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/tmp5697mp11.c" target datalayout = "e-m:e-p270: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 @tlv_iter_decode_str(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %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 ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 %12 = call i32 @tlv_iter_get_len(ptr noundef %11) store i32 %12, ptr %9, align 4 %13 = load ptr, ptr %5, align 8 %14 = call ptr @tlv_iter_get_data(ptr noundef %13) store ptr %14, ptr %8, align 8 %15 = load i32, ptr %9, align 4 %16 = add nsw i32 %15, 1 %17 = call ptr @malloc(i32 noundef %16) store ptr %17, ptr %10, align 8 %18 = load ptr, ptr %10, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %21 20: ; preds = %3 store i32 -1, ptr %4, align 4 br label %35 21: ; preds = %3 %22 = load ptr, ptr %10, align 8 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %9, align 4 %25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef %24) %26 = load ptr, ptr %10, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 store i8 0, ptr %29, align 1 %30 = load ptr, ptr %10, align 8 %31 = load ptr, ptr %6, align 8 store ptr %30, ptr %31, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = load ptr, ptr %7, align 8 store i64 %33, ptr %34, align 8 store i32 0, ptr %4, align 4 br label %35 35: ; preds = %21, %20 %36 = load i32, ptr %4, align 4 ret i32 %36 } declare i32 @tlv_iter_get_len(ptr noundef) #1 declare ptr @tlv_iter_get_data(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(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/tmpukzxhd0s.c' source_filename = "/tmp/tmpukzxhd0s.c" target datalayout = "e-m:e-p270: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/tmpukzxhd0s.c" target datalayout = "e-m:e-p270: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"}