llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpa48tit6_.c' source_filename = "/tmp/tmpa48tit6_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 0, ptr %2, align 1 br label %3 3: ; preds = %24, %0 %4 = load i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = icmp slt i32 %5, 255 br i1 %6, label %7, label %27 7: ; preds = %3 %8 = load i8, ptr %2, align 1 %9 = call i64 @iscntrl(i8 noundef zeroext %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %23 11: ; preds = %7 %12 = load i8, ptr %2, align 1 %13 = zext i8 %12 to i32 %14 = icmp slt i32 %13, 32 br i1 %14, label %19, label %15 15: ; preds = %11 %16 = load i8, ptr %2, align 1 %17 = zext i8 %16 to i32 %18 = icmp eq i32 %17, 127 br label %19 19: ; preds = %15, %11 %20 = phi i1 [ true, %11 ], [ %18, %15 ] %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) br label %23 23: ; preds = %19, %7 br label %24 24: ; preds = %23 %25 = load i8, ptr %2, align 1 %26 = add i8 %25, 1 store i8 %26, ptr %2, align 1 br label %3, !llvm.loop !6 27: ; preds = %3 ret i32 0 } declare i64 @iscntrl(i8 noundef zeroext) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa48tit6_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 %5 = icmp slt i32 %4, 255 br i1 %5, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %23 %7 = load i8, ptr %2, align 1 %8 = call i64 @iscntrl(i8 noundef zeroext %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %22 10: ; preds = %6 %11 = load i8, ptr %2, align 1 %12 = zext i8 %11 to i32 %13 = icmp slt i32 %12, 32 br i1 %13, label %18, label %14 14: ; preds = %10 %15 = load i8, ptr %2, align 1 %16 = zext i8 %15 to i32 %17 = icmp eq i32 %16, 127 br label %18 18: ; preds = %14, %10 %19 = phi i1 [ true, %10 ], [ %17, %14 ] %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) br label %22 22: ; preds = %18, %6 br label %23 23: ; preds = %22 %24 = load i8, ptr %2, align 1 %25 = add i8 %24, 1 store i8 %25, ptr %2, align 1 %26 = load i8, ptr %2, align 1 %27 = zext i8 %26 to i32 %28 = icmp slt i32 %27, 255 br i1 %28, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %0 ret i32 0 } declare i64 @iscntrl(i8 noundef zeroext) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptur6ya0q.c' source_filename = "/tmp/tmptur6ya0q.c" target datalayout = "e-m:e-p270: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 @slaRefv(ptr noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds double, ptr %21, i64 0 %23 = load double, ptr %22, align 8 store double %23, ptr %9, align 8 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds double, ptr %24, i64 1 %26 = load double, ptr %25, align 8 store double %26, ptr %10, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds double, ptr %27, i64 2 %29 = load double, ptr %28, align 8 store double %29, ptr %11, align 8 %30 = load double, ptr %11, align 8 %31 = fcmp ogt double %30, 5.000000e-02 br i1 %31, label %32, label %34 32: ; preds = %4 %33 = load double, ptr %11, align 8 br label %35 34: ; preds = %4 br label %35 35: ; preds = %34, %32 %36 = phi double [ %33, %32 ], [ 5.000000e-02, %34 ] store double %36, ptr %12, align 8 %37 = load double, ptr %12, align 8 %38 = load double, ptr %12, align 8 %39 = fmul double %37, %38 store double %39, ptr %13, align 8 %40 = load double, ptr %9, align 8 %41 = load double, ptr %9, align 8 %42 = load double, ptr %10, align 8 %43 = load double, ptr %10, align 8 %44 = fmul double %42, %43 %45 = call double @llvm.fmuladd.f64(double %40, double %41, double %44) store double %45, ptr %14, align 8 %46 = load double, ptr %14, align 8 %47 = call double @sqrt(double noundef %46) #3 store double %47, ptr %15, align 8 %48 = load double, ptr %7, align 8 %49 = load double, ptr %14, align 8 %50 = fmul double %48, %49 %51 = load double, ptr %13, align 8 %52 = fdiv double %50, %51 store double %52, ptr %16, align 8 %53 = load double, ptr %6, align 8 %54 = load double, ptr %16, align 8 %55 = fadd double %53, %54 %56 = load double, ptr %6, align 8 %57 = load double, ptr %16, align 8 %58 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %57, double %56) %59 = load double, ptr %13, align 8 %60 = load double, ptr %14, align 8 %61 = fadd double %59, %60 %62 = fmul double %58, %61 %63 = load double, ptr %13, align 8 %64 = fdiv double %62, %63 %65 = fadd double 1.000000e+00, %64 %66 = fdiv double %55, %65 store double %66, ptr %17, align 8 %67 = load double, ptr %17, align 8 %68 = load double, ptr %15, align 8 %69 = fmul double %67, %68 %70 = load double, ptr %12, align 8 %71 = fdiv double %69, %70 store double %71, ptr %18, align 8 %72 = load double, ptr %18, align 8 %73 = load double, ptr %18, align 8 %74 = fmul double %72, %73 %75 = fdiv double %74, 2.000000e+00 %76 = fsub double 1.000000e+00, %75 store double %76, ptr %19, align 8 %77 = load double, ptr %19, align 8 %78 = load double, ptr %17, align 8 %79 = fsub double 1.000000e+00, %78 %80 = fmul double %77, %79 store double %80, ptr %20, align 8 %81 = load double, ptr %9, align 8 %82 = load double, ptr %20, align 8 %83 = fmul double %81, %82 %84 = load ptr, ptr %8, align 8 %85 = getelementptr inbounds double, ptr %84, i64 0 store double %83, ptr %85, align 8 %86 = load double, ptr %10, align 8 %87 = load double, ptr %20, align 8 %88 = fmul double %86, %87 %89 = load ptr, ptr %8, align 8 %90 = getelementptr inbounds double, ptr %89, i64 1 store double %88, ptr %90, align 8 %91 = load double, ptr %19, align 8 %92 = load double, ptr %12, align 8 %93 = load double, ptr %18, align 8 %94 = load double, ptr %15, align 8 %95 = call double @llvm.fmuladd.f64(double %93, double %94, double %92) %96 = load double, ptr %11, align 8 %97 = load double, ptr %12, align 8 %98 = fsub double %96, %97 %99 = call double @llvm.fmuladd.f64(double %91, double %95, double %98) %100 = load ptr, ptr %8, align 8 %101 = getelementptr inbounds double, ptr %100, i64 2 store double %99, ptr %101, align 8 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(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/tmptur6ya0q.c" target datalayout = "e-m:e-p270: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 @slaRefv(ptr noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds double, ptr %21, i64 0 %23 = load double, ptr %22, align 8 store double %23, ptr %9, align 8 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds double, ptr %24, i64 1 %26 = load double, ptr %25, align 8 store double %26, ptr %10, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds double, ptr %27, i64 2 %29 = load double, ptr %28, align 8 store double %29, ptr %11, align 8 %30 = load double, ptr %11, align 8 %31 = fcmp ogt double %30, 5.000000e-02 br i1 %31, label %32, label %34 32: ; preds = %4 %33 = load double, ptr %11, align 8 br label %35 34: ; preds = %4 br label %35 35: ; preds = %34, %32 %36 = phi double [ %33, %32 ], [ 5.000000e-02, %34 ] store double %36, ptr %12, align 8 %37 = load double, ptr %12, align 8 %38 = load double, ptr %12, align 8 %39 = fmul double %37, %38 store double %39, ptr %13, align 8 %40 = load double, ptr %9, align 8 %41 = load double, ptr %9, align 8 %42 = load double, ptr %10, align 8 %43 = load double, ptr %10, align 8 %44 = fmul double %42, %43 %45 = call double @llvm.fmuladd.f64(double %40, double %41, double %44) store double %45, ptr %14, align 8 %46 = load double, ptr %14, align 8 %47 = call double @sqrt(double noundef %46) #3 store double %47, ptr %15, align 8 %48 = load double, ptr %7, align 8 %49 = load double, ptr %14, align 8 %50 = fmul double %48, %49 %51 = load double, ptr %13, align 8 %52 = fdiv double %50, %51 store double %52, ptr %16, align 8 %53 = load double, ptr %6, align 8 %54 = load double, ptr %16, align 8 %55 = fadd double %53, %54 %56 = load double, ptr %6, align 8 %57 = load double, ptr %16, align 8 %58 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %57, double %56) %59 = load double, ptr %13, align 8 %60 = load double, ptr %14, align 8 %61 = fadd double %59, %60 %62 = fmul double %58, %61 %63 = load double, ptr %13, align 8 %64 = fdiv double %62, %63 %65 = fadd double 1.000000e+00, %64 %66 = fdiv double %55, %65 store double %66, ptr %17, align 8 %67 = load double, ptr %17, align 8 %68 = load double, ptr %15, align 8 %69 = fmul double %67, %68 %70 = load double, ptr %12, align 8 %71 = fdiv double %69, %70 store double %71, ptr %18, align 8 %72 = load double, ptr %18, align 8 %73 = load double, ptr %18, align 8 %74 = fmul double %72, %73 %75 = fdiv double %74, 2.000000e+00 %76 = fsub double 1.000000e+00, %75 store double %76, ptr %19, align 8 %77 = load double, ptr %19, align 8 %78 = load double, ptr %17, align 8 %79 = fsub double 1.000000e+00, %78 %80 = fmul double %77, %79 store double %80, ptr %20, align 8 %81 = load double, ptr %9, align 8 %82 = load double, ptr %20, align 8 %83 = fmul double %81, %82 %84 = load ptr, ptr %8, align 8 %85 = getelementptr inbounds double, ptr %84, i64 0 store double %83, ptr %85, align 8 %86 = load double, ptr %10, align 8 %87 = load double, ptr %20, align 8 %88 = fmul double %86, %87 %89 = load ptr, ptr %8, align 8 %90 = getelementptr inbounds double, ptr %89, i64 1 store double %88, ptr %90, align 8 %91 = load double, ptr %19, align 8 %92 = load double, ptr %12, align 8 %93 = load double, ptr %18, align 8 %94 = load double, ptr %15, align 8 %95 = call double @llvm.fmuladd.f64(double %93, double %94, double %92) %96 = load double, ptr %11, align 8 %97 = load double, ptr %12, align 8 %98 = fsub double %96, %97 %99 = call double @llvm.fmuladd.f64(double %91, double %95, double %98) %100 = load ptr, ptr %8, align 8 %101 = getelementptr inbounds double, ptr %100, i64 2 store double %99, ptr %101, align 8 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(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/tmpp9_l5tt4.c' source_filename = "/tmp/tmpp9_l5tt4.c" target datalayout = "e-m:e-p270: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 @fbptst(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca double, align 8 store i32 %0, ptr %9, align 4 store double %1, ptr %10, align 8 store double %2, ptr %11, align 8 store double %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %43, label %21 21: ; preds = %7 %22 = load double, ptr %10, align 8 %23 = fcmp ole double %22, 0.000000e+00 br i1 %23, label %43, label %24 24: ; preds = %21 %25 = load double, ptr %10, align 8 %26 = fcmp oge double %25, 1.000000e+00 br i1 %26, label %43, label %27 27: ; preds = %24 %28 = load double, ptr %11, align 8 %29 = fcmp ole double %28, 0.000000e+00 br i1 %29, label %43, label %30 30: ; preds = %27 %31 = load double, ptr %11, align 8 %32 = fcmp oge double %31, 1.000000e+00 br i1 %32, label %43, label %33 33: ; preds = %30 %34 = load double, ptr %12, align 8 %35 = fcmp ole double %34, 0.000000e+00 br i1 %35, label %43, label %36 36: ; preds = %33 %37 = load double, ptr %12, align 8 %38 = fcmp oge double %37, 1.000000e+00 br i1 %38, label %43, label %39 39: ; preds = %36 %40 = load double, ptr %10, align 8 %41 = load double, ptr %11, align 8 %42 = fcmp oeq double %40, %41 br i1 %42, label %43, label %44 43: ; preds = %39, %36, %33, %30, %27, %24, %21, %7 store i32 999, ptr %8, align 4 br label %113 44: ; preds = %39 %45 = load double, ptr %10, align 8 %46 = load i32, ptr %9, align 4 %47 = sitofp i32 %46 to double %48 = fmul double %45, %47 store double %48, ptr %18, align 8 %49 = load double, ptr %10, align 8 %50 = load double, ptr %11, align 8 %51 = fcmp olt double %49, %50 br i1 %51, label %52, label %74 52: ; preds = %44 %53 = load double, ptr %18, align 8 %54 = fadd double %53, 1.000000e+00 %55 = fmul double 2.000000e+00, %54 %56 = fptosi double %55 to i32 store i32 %56, ptr %16, align 4 %57 = load i32, ptr %9, align 4 %58 = sitofp i32 %57 to double %59 = load double, ptr %18, align 8 %60 = fsub double %58, %59 %61 = fmul double 2.000000e+00, %60 %62 = fptosi double %61 to i32 store i32 %62, ptr %17, align 4 %63 = load i32, ptr %17, align 4 %64 = sitofp i32 %63 to double %65 = load double, ptr %11, align 8 %66 = fmul double %64, %65 %67 = load i32, ptr %16, align 4 %68 = sitofp i32 %67 to double %69 = fdiv double %66, %68 %70 = load double, ptr %11, align 8 %71 = fsub double 1.000000e+00, %70 %72 = fdiv double %69, %71 %73 = load ptr, ptr %14, align 8 store double %72, ptr %73, align 8 br label %96 74: ; preds = %44 %75 = load i32, ptr %9, align 4 %76 = sitofp i32 %75 to double %77 = load double, ptr %18, align 8 %78 = fsub double %76, %77 %79 = fadd double %78, 1.000000e+00 %80 = fmul double 2.000000e+00, %79 %81 = fptosi double %80 to i32 store i32 %81, ptr %16, align 4 %82 = load double, ptr %18, align 8 %83 = fmul double 2.000000e+00, %82 %84 = fptosi double %83 to i32 store i32 %84, ptr %17, align 4 %85 = load i32, ptr %17, align 4 %86 = sitofp i32 %85 to double %87 = load double, ptr %11, align 8 %88 = fsub double 1.000000e+00, %87 %89 = fmul double %86, %88 %90 = load i32, ptr %16, align 4 %91 = sitofp i32 %90 to double %92 = fdiv double %89, %91 %93 = load double, ptr %11, align 8 %94 = fdiv double %92, %93 %95 = load ptr, ptr %14, align 8 store double %94, ptr %95, align 8 br label %96 96: ; preds = %74, %52 %97 = load double, ptr %12, align 8 %98 = load i32, ptr %16, align 4 %99 = load i32, ptr %17, align 4 %100 = call double @pf(double noundef %97, i32 noundef %98, i32 noundef %99) %101 = load ptr, ptr %15, align 8 store double %100, ptr %101, align 8 %102 = load ptr, ptr %14, align 8 %103 = load double, ptr %102, align 8 %104 = call double @llvm.fabs.f64(double %103) %105 = load ptr, ptr %15, align 8 %106 = load double, ptr %105, align 8 %107 = fcmp oge double %104, %106 br i1 %107, label %108, label %110 108: ; preds = %96 %109 = load ptr, ptr %13, align 8 store i32 1, ptr %109, align 4 br label %112 110: ; preds = %96 %111 = load ptr, ptr %13, align 8 store i32 0, ptr %111, align 4 br label %112 112: ; preds = %110, %108 store i32 0, ptr %8, align 4 br label %113 113: ; preds = %112, %43 %114 = load i32, ptr %8, align 4 ret i32 %114 } declare double @pf(double noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp9_l5tt4.c" target datalayout = "e-m:e-p270: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 @fbptst(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca double, align 8 store i32 %0, ptr %9, align 4 store double %1, ptr %10, align 8 store double %2, ptr %11, align 8 store double %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %43, label %21 21: ; preds = %7 %22 = load double, ptr %10, align 8 %23 = fcmp ole double %22, 0.000000e+00 br i1 %23, label %43, label %24 24: ; preds = %21 %25 = load double, ptr %10, align 8 %26 = fcmp oge double %25, 1.000000e+00 br i1 %26, label %43, label %27 27: ; preds = %24 %28 = load double, ptr %11, align 8 %29 = fcmp ole double %28, 0.000000e+00 br i1 %29, label %43, label %30 30: ; preds = %27 %31 = load double, ptr %11, align 8 %32 = fcmp oge double %31, 1.000000e+00 br i1 %32, label %43, label %33 33: ; preds = %30 %34 = load double, ptr %12, align 8 %35 = fcmp ole double %34, 0.000000e+00 br i1 %35, label %43, label %36 36: ; preds = %33 %37 = load double, ptr %12, align 8 %38 = fcmp oge double %37, 1.000000e+00 br i1 %38, label %43, label %39 39: ; preds = %36 %40 = load double, ptr %10, align 8 %41 = load double, ptr %11, align 8 %42 = fcmp oeq double %40, %41 br i1 %42, label %43, label %44 43: ; preds = %39, %36, %33, %30, %27, %24, %21, %7 store i32 999, ptr %8, align 4 br label %113 44: ; preds = %39 %45 = load double, ptr %10, align 8 %46 = load i32, ptr %9, align 4 %47 = sitofp i32 %46 to double %48 = fmul double %45, %47 store double %48, ptr %18, align 8 %49 = load double, ptr %10, align 8 %50 = load double, ptr %11, align 8 %51 = fcmp olt double %49, %50 br i1 %51, label %52, label %74 52: ; preds = %44 %53 = load double, ptr %18, align 8 %54 = fadd double %53, 1.000000e+00 %55 = fmul double 2.000000e+00, %54 %56 = fptosi double %55 to i32 store i32 %56, ptr %16, align 4 %57 = load i32, ptr %9, align 4 %58 = sitofp i32 %57 to double %59 = load double, ptr %18, align 8 %60 = fsub double %58, %59 %61 = fmul double 2.000000e+00, %60 %62 = fptosi double %61 to i32 store i32 %62, ptr %17, align 4 %63 = load i32, ptr %17, align 4 %64 = sitofp i32 %63 to double %65 = load double, ptr %11, align 8 %66 = fmul double %64, %65 %67 = load i32, ptr %16, align 4 %68 = sitofp i32 %67 to double %69 = fdiv double %66, %68 %70 = load double, ptr %11, align 8 %71 = fsub double 1.000000e+00, %70 %72 = fdiv double %69, %71 %73 = load ptr, ptr %14, align 8 store double %72, ptr %73, align 8 br label %96 74: ; preds = %44 %75 = load i32, ptr %9, align 4 %76 = sitofp i32 %75 to double %77 = load double, ptr %18, align 8 %78 = fsub double %76, %77 %79 = fadd double %78, 1.000000e+00 %80 = fmul double 2.000000e+00, %79 %81 = fptosi double %80 to i32 store i32 %81, ptr %16, align 4 %82 = load double, ptr %18, align 8 %83 = fmul double 2.000000e+00, %82 %84 = fptosi double %83 to i32 store i32 %84, ptr %17, align 4 %85 = load i32, ptr %17, align 4 %86 = sitofp i32 %85 to double %87 = load double, ptr %11, align 8 %88 = fsub double 1.000000e+00, %87 %89 = fmul double %86, %88 %90 = load i32, ptr %16, align 4 %91 = sitofp i32 %90 to double %92 = fdiv double %89, %91 %93 = load double, ptr %11, align 8 %94 = fdiv double %92, %93 %95 = load ptr, ptr %14, align 8 store double %94, ptr %95, align 8 br label %96 96: ; preds = %74, %52 %97 = load double, ptr %12, align 8 %98 = load i32, ptr %16, align 4 %99 = load i32, ptr %17, align 4 %100 = call double @pf(double noundef %97, i32 noundef %98, i32 noundef %99) %101 = load ptr, ptr %15, align 8 store double %100, ptr %101, align 8 %102 = load ptr, ptr %14, align 8 %103 = load double, ptr %102, align 8 %104 = call double @llvm.fabs.f64(double %103) %105 = load ptr, ptr %15, align 8 %106 = load double, ptr %105, align 8 %107 = fcmp oge double %104, %106 br i1 %107, label %108, label %110 108: ; preds = %96 %109 = load ptr, ptr %13, align 8 store i32 1, ptr %109, align 4 br label %112 110: ; preds = %96 %111 = load ptr, ptr %13, align 8 store i32 0, ptr %111, align 4 br label %112 112: ; preds = %110, %108 store i32 0, ptr %8, align 4 br label %113 113: ; preds = %112, %43 %114 = load i32, ptr %8, align 4 ret i32 %114 } declare double @pf(double noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpovh6e1oi.c' source_filename = "/tmp/tmpovh6e1oi.c" target datalayout = "e-m:e-p270: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"%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cddb_sum(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [12 x i8], align 1 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %5, align 4 %6 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0 %7 = load i32, ptr %2, align 4 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7) %9 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0 store ptr %9, ptr %4, align 8 br label %10 10: ; preds = %22, %1 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = sub nsw i32 %18, 48 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, %19 store i32 %21, ptr %5, align 4 br label %22 22: ; preds = %15 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %4, align 8 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = load i32, ptr %5, align 4 ret i32 %26 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpovh6e1oi.c" target datalayout = "e-m:e-p270: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"%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cddb_sum(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [12 x i8], align 1 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %5, align 4 %6 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0 %7 = load i32, ptr %2, align 4 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7) %9 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 0 store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %.lr.ph, label %28 .lr.ph: ; preds = %1 br label %14 14: ; preds = %.lr.ph, %21 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = sub nsw i32 %17, 48 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, %18 store i32 %20, ptr %5, align 4 br label %21 21: ; preds = %14 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %4, align 8 %24 = load ptr, ptr %4, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br i1 %27, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %28 28: ; preds = %._crit_edge, %1 %29 = load i32, ptr %5, align 4 ret i32 %29 } 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"}
; ModuleID = '/tmp/tmp8qvi99vc.c' source_filename = "/tmp/tmp8qvi99vc.c" target datalayout = "e-m:e-p270: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 @readlines(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [1000 x i8], align 16 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %37, %2 %11 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0 %12 = call i32 @lgetline(ptr noundef %11, i32 noundef 1000) store i32 %12, ptr %6, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %38 14: ; preds = %10 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp sge i32 %15, %16 br i1 %17, label %22, label %18 18: ; preds = %14 %19 = load i32, ptr %6, align 4 %20 = call ptr @alloc(i32 noundef %19) store ptr %20, ptr %8, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %23 22: ; preds = %18, %14 store i32 -1, ptr %3, align 4 br label %44 23: ; preds = %18 %24 = load i32, ptr %6, align 4 %25 = sub nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %26 store i8 0, ptr %27, align 1 %28 = load ptr, ptr %8, align 8 %29 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0 %30 = call i32 @strcpy(ptr noundef %28, ptr noundef %29) %31 = load ptr, ptr %8, align 8 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds ptr, ptr %32, i64 %35 store ptr %31, ptr %36, align 8 br label %37 37: ; preds = %23 br label %10, !llvm.loop !6 38: ; preds = %10 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 store ptr null, ptr %42, align 8 %43 = load i32, ptr %7, align 4 store i32 %43, ptr %3, align 4 br label %44 44: ; preds = %38, %22 %45 = load i32, ptr %3, align 4 ret i32 %45 } declare i32 @lgetline(ptr noundef, i32 noundef) #1 declare ptr @alloc(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8qvi99vc.c" target datalayout = "e-m:e-p270: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 @readlines(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [1000 x i8], align 16 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %7, align 4 %10 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0 %11 = call i32 @lgetline(ptr noundef %10, i32 noundef 1000) store i32 %11, ptr %6, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %.lr.ph, label %39 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %36 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp sge i32 %14, %15 br i1 %16, label %21, label %17 17: ; preds = %13 %18 = load i32, ptr %6, align 4 %19 = call ptr @alloc(i32 noundef %18) store ptr %19, ptr %8, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %17, %13 store i32 -1, ptr %3, align 4 br label %45 22: ; preds = %17 %23 = load i32, ptr %6, align 4 %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %25 store i8 0, ptr %26, align 1 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0 %29 = call i32 @strcpy(ptr noundef %27, ptr noundef %28) %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds ptr, ptr %31, i64 %34 store ptr %30, ptr %35, align 8 br label %36 36: ; preds = %22 %37 = call i32 @lgetline(ptr noundef %10, i32 noundef 1000) store i32 %37, ptr %6, align 4 %38 = icmp sgt i32 %37, 0 br i1 %38, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %39 39: ; preds = %._crit_edge, %2 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 store ptr null, ptr %43, align 8 %44 = load i32, ptr %7, align 4 store i32 %44, ptr %3, align 4 br label %45 45: ; preds = %39, %21 %46 = load i32, ptr %3, align 4 ret i32 %46 } declare i32 @lgetline(ptr noundef, i32 noundef) #1 declare ptr @alloc(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnyw73xyl.c' source_filename = "/tmp/tmpnyw73xyl.c" target datalayout = "e-m:e-p270: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 @fdivp() #0 { %1 = call i32 @db(i32 noundef 222) %2 = call i32 @db(i32 noundef 249) ret void } declare i32 @db(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/tmpnyw73xyl.c" target datalayout = "e-m:e-p270: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 @fdivp() #0 { %1 = call i32 @db(i32 noundef 222) %2 = call i32 @db(i32 noundef 249) ret void } declare i32 @db(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/tmp143_q9uf.c' source_filename = "/tmp/tmp143_q9uf.c" target datalayout = "e-m:e-p270: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/tmp143_q9uf.c" target datalayout = "e-m:e-p270: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/tmpp8pd5ifz.c' source_filename = "/tmp/tmpp8pd5ifz.c" target datalayout = "e-m:e-p270: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 @_sort_coidx(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = sub nsw i32 %8, 1 %10 = load ptr, ptr %6, align 8 %11 = call i32 @_quick_sort(ptr noundef %7, i32 noundef 0, i32 noundef %9, ptr noundef %10) ret void } declare i32 @_quick_sort(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp8pd5ifz.c" target datalayout = "e-m:e-p270: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 @_sort_coidx(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = sub nsw i32 %8, 1 %10 = load ptr, ptr %6, align 8 %11 = call i32 @_quick_sort(ptr noundef %7, i32 noundef 0, i32 noundef %9, ptr noundef %10) ret void } declare i32 @_quick_sort(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqvbl6ruv.c' source_filename = "/tmp/tmpqvbl6ruv.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @VErrorF(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @vfprintf(i32 noundef %6, ptr noundef %7, i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 ret i32 %10 } declare i32 @vfprintf(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/tmpqvbl6ruv.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @VErrorF(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @vfprintf(i32 noundef %6, ptr noundef %7, i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 ret i32 %10 } declare i32 @vfprintf(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/tmpgwj2j366.c' source_filename = "/tmp/tmpgwj2j366.c" target datalayout = "e-m:e-p270: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 @RamRead32A(i16 noundef zeroext %0, ptr noundef %1) #0 { %3 = alloca i16, align 2 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store i16 %0, ptr %3, align 2 store ptr %1, ptr %4, align 8 %7 = load i16, ptr %3, align 2 %8 = zext i16 %7 to i32 %9 = ashr i32 %8, 8 %10 = trunc i32 %9 to i8 store i8 %10, ptr %5, align 1 %11 = load i16, ptr %3, align 2 %12 = zext i16 %11 to i32 %13 = and i32 %12, 255 %14 = trunc i32 %13 to i8 store i8 %14, ptr %6, align 1 %15 = load i8, ptr %5, align 1 %16 = load i8, ptr %6, align 1 %17 = load ptr, ptr %4, align 8 %18 = call i32 @RamRead32(i8 noundef zeroext %15, i8 noundef zeroext %16, ptr noundef %17) ret void } declare i32 @RamRead32(i8 noundef zeroext, i8 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgwj2j366.c" target datalayout = "e-m:e-p270: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 @RamRead32A(i16 noundef zeroext %0, ptr noundef %1) #0 { %3 = alloca i16, align 2 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store i16 %0, ptr %3, align 2 store ptr %1, ptr %4, align 8 %7 = load i16, ptr %3, align 2 %8 = zext i16 %7 to i32 %9 = ashr i32 %8, 8 %10 = trunc i32 %9 to i8 store i8 %10, ptr %5, align 1 %11 = load i16, ptr %3, align 2 %12 = zext i16 %11 to i32 %13 = and i32 %12, 255 %14 = trunc i32 %13 to i8 store i8 %14, ptr %6, align 1 %15 = load i8, ptr %5, align 1 %16 = load i8, ptr %6, align 1 %17 = load ptr, ptr %4, align 8 %18 = call i32 @RamRead32(i8 noundef zeroext %15, i8 noundef zeroext %16, ptr noundef %17) ret void } declare i32 @RamRead32(i8 noundef zeroext, i8 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiez0pxsa.c' source_filename = "/tmp/tmpiez0pxsa.c" target datalayout = "e-m:e-p270: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 @_strspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 store ptr %7, ptr %6, align 8 br label %8 8: ; preds = %26, %2 %9 = load ptr, ptr %6, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %29 13: ; preds = %8 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i8, ptr %15, align 1 %17 = call ptr @strchr(ptr noundef %14, i8 noundef signext %16) %18 = icmp eq ptr %17, null br i1 %18, label %19, label %25 19: ; preds = %13 %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %4, align 8 %22 = ptrtoint ptr %20 to i64 %23 = ptrtoint ptr %21 to i64 %24 = sub i64 %22, %23 store i64 %24, ptr %3, align 8 br label %35 25: ; preds = %13 br label %26 26: ; preds = %25 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %6, align 8 br label %8, !llvm.loop !6 29: ; preds = %8 %30 = load ptr, ptr %6, align 8 %31 = load ptr, ptr %4, align 8 %32 = ptrtoint ptr %30 to i64 %33 = ptrtoint ptr %31 to i64 %34 = sub i64 %32, %33 store i64 %34, ptr %3, align 8 br label %35 35: ; preds = %29, %19 %36 = load i64, ptr %3, align 8 ret i64 %36 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiez0pxsa.c" target datalayout = "e-m:e-p270: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 @_strspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %25 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = load i8, ptr %14, align 1 %16 = call ptr @strchr(ptr noundef %13, i8 noundef signext %15) %17 = icmp eq ptr %16, null br i1 %17, label %18, label %24 18: ; preds = %12 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %4, align 8 %21 = ptrtoint ptr %19 to i64 %22 = ptrtoint ptr %20 to i64 %23 = sub i64 %21, %22 store i64 %23, ptr %3, align 8 br label %38 24: ; preds = %12 br label %25 25: ; preds = %24 %26 = load ptr, ptr %6, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %6, align 8 %28 = load ptr, ptr %6, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %32 32: ; preds = %._crit_edge, %2 %33 = load ptr, ptr %6, align 8 %34 = load ptr, ptr %4, align 8 %35 = ptrtoint ptr %33 to i64 %36 = ptrtoint ptr %34 to i64 %37 = sub i64 %35, %36 store i64 %37, ptr %3, align 8 br label %38 38: ; preds = %32, %18 %39 = load i64, ptr %3, align 8 ret i64 %39 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjwlzkxjb.c' source_filename = "/tmp/tmpjwlzkxjb.c" target datalayout = "e-m:e-p270: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/tmpjwlzkxjb.c" target datalayout = "e-m:e-p270: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/tmpmnegcpa2.c' source_filename = "/tmp/tmpmnegcpa2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EAGAIN = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fork() #0 { %1 = load i32, ptr @EAGAIN, align 4 store i32 %1, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmnegcpa2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EAGAIN = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fork() #0 { %1 = load i32, ptr @EAGAIN, align 4 store i32 %1, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj_798yop.c' source_filename = "/tmp/tmpj_798yop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"ERR: %s:%d: Failed to open %s (errno = %d (%s))\0A\00", align 1 @.str.1 = private unnamed_addr constant [170 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AuthenticEshkinKot/criu/refs/heads/master/test/zdtm/live/static/oom_score_adj.c\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [49 x i8] c"ERR: %s:%d: Unable to read %s (errno = %d (%s))\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_oom_score_adj(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 i64, align 8 %8 = alloca [11 x i8], align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr @O_RDONLY, align 4 %12 = call i32 @open(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr @errno, align 4 %18 = load i32, ptr @errno, align 4 %19 = call i32 @strerror(i32 noundef %18) %20 = call i32 @test_msg(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 27, ptr noundef %16, i32 noundef %17, i32 noundef %19) br label %40 21: ; preds = %2 %22 = load i32, ptr %6, align 4 %23 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0 %24 = call i64 @read(i32 noundef %22, ptr noundef %23, i32 noundef 10) store i64 %24, ptr %7, align 8 %25 = load i32, ptr %6, align 4 %26 = call i32 @close(i32 noundef %25) %27 = load i64, ptr %7, align 8 %28 = icmp ult i64 %27, 0 br i1 %28, label %29, label %35 29: ; preds = %21 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr @errno, align 4 %32 = load i32, ptr @errno, align 4 %33 = call i32 @strerror(i32 noundef %32) %34 = call i32 @test_msg(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 34, ptr noundef %30, i32 noundef %31, i32 noundef %33) br label %40 35: ; preds = %21 %36 = load i64, ptr %7, align 8 %37 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 %36 store i8 0, ptr %37, align 1 %38 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0 %39 = call i32 @strtol(ptr noundef %38, ptr noundef null, i32 noundef 10) store i32 %39, ptr %3, align 4 br label %42 40: ; preds = %29, %15 %41 = load ptr, ptr %5, align 8 store i32 -1, ptr %41, align 4 store i32 0, ptr %3, align 4 br label %42 42: ; preds = %40, %35 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @test_msg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @strtol(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/tmpj_798yop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"ERR: %s:%d: Failed to open %s (errno = %d (%s))\0A\00", align 1 @.str.1 = private unnamed_addr constant [170 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AuthenticEshkinKot/criu/refs/heads/master/test/zdtm/live/static/oom_score_adj.c\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [49 x i8] c"ERR: %s:%d: Unable to read %s (errno = %d (%s))\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_oom_score_adj(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 i64, align 8 %8 = alloca [11 x i8], align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr @O_RDONLY, align 4 %12 = call i32 @open(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr @errno, align 4 %18 = load i32, ptr @errno, align 4 %19 = call i32 @strerror(i32 noundef %18) %20 = call i32 @test_msg(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 27, ptr noundef %16, i32 noundef %17, i32 noundef %19) br label %40 21: ; preds = %2 %22 = load i32, ptr %6, align 4 %23 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0 %24 = call i64 @read(i32 noundef %22, ptr noundef %23, i32 noundef 10) store i64 %24, ptr %7, align 8 %25 = load i32, ptr %6, align 4 %26 = call i32 @close(i32 noundef %25) %27 = load i64, ptr %7, align 8 %28 = icmp ult i64 %27, 0 br i1 %28, label %29, label %35 29: ; preds = %21 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr @errno, align 4 %32 = load i32, ptr @errno, align 4 %33 = call i32 @strerror(i32 noundef %32) %34 = call i32 @test_msg(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 34, ptr noundef %30, i32 noundef %31, i32 noundef %33) br label %40 35: ; preds = %21 %36 = load i64, ptr %7, align 8 %37 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 %36 store i8 0, ptr %37, align 1 %38 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0 %39 = call i32 @strtol(ptr noundef %38, ptr noundef null, i32 noundef 10) store i32 %39, ptr %3, align 4 br label %42 40: ; preds = %29, %15 %41 = load ptr, ptr %5, align 8 store i32 -1, ptr %41, align 4 store i32 0, ptr %3, align 4 br label %42 42: ; preds = %40, %35 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @test_msg(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @strtol(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/tmpol3tuj0s.c' source_filename = "/tmp/tmpol3tuj0s.c" target datalayout = "e-m:e-p270: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 @mergeSort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 4, %7 %9 = trunc i64 %8 to i32 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = sub nsw i32 %14, 1 %16 = call i64 @_mergeSort(ptr noundef %12, ptr noundef %13, i32 noundef 0, i32 noundef %15) ret i64 %16 } declare i64 @malloc(i32 noundef) #1 declare i64 @_mergeSort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpol3tuj0s.c" target datalayout = "e-m:e-p270: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 @mergeSort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 4, %7 %9 = trunc i64 %8 to i32 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = sub nsw i32 %14, 1 %16 = call i64 @_mergeSort(ptr noundef %12, ptr noundef %13, i32 noundef 0, i32 noundef %15) ret i64 %16 } declare i64 @malloc(i32 noundef) #1 declare i64 @_mergeSort(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsb9ge3xo.c' source_filename = "/tmp/tmpsb9ge3xo.c" target datalayout = "e-m:e-p270: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/tmpsb9ge3xo.c" target datalayout = "e-m:e-p270: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/tmpr0f8tl42.c' source_filename = "/tmp/tmpr0f8tl42.c" target datalayout = "e-m:e-p270: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 @ptrace_disable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr0f8tl42.c" target datalayout = "e-m:e-p270: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 @ptrace_disable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8y_8wpxl.c' source_filename = "/tmp/tmp8y_8wpxl.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [32 x i8] c"New connection incoming: %s:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @wait_connection(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.sockaddr_in, align 4 store i32 %0, ptr %2, align 4 store i32 -1, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, -1 br i1 %7, label %8, label %24 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = call i32 @listen(i32 noundef %9, i32 noundef 10) store i32 8, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 @accept(i32 noundef %11, ptr noundef %5, ptr noundef %4) store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp ne i32 %13, -1 br i1 %14, label %15, label %23 15: ; preds = %8 %16 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1 %17 = load i32, ptr %16, align 4 %18 = call ptr @inet_ntoa(i32 noundef %17) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = call i32 @ntohs(i32 noundef %20) %22 = call i32 @printf(ptr noundef @.str, ptr noundef %18, i32 noundef %21) br label %23 23: ; preds = %15, %8 br label %24 24: ; preds = %23, %1 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @inet_ntoa(i32 noundef) #1 declare i32 @ntohs(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/tmp8y_8wpxl.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [32 x i8] c"New connection incoming: %s:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @wait_connection(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.sockaddr_in, align 4 store i32 %0, ptr %2, align 4 store i32 -1, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, -1 br i1 %7, label %8, label %24 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = call i32 @listen(i32 noundef %9, i32 noundef 10) store i32 8, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 @accept(i32 noundef %11, ptr noundef %5, ptr noundef %4) store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp ne i32 %13, -1 br i1 %14, label %15, label %23 15: ; preds = %8 %16 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1 %17 = load i32, ptr %16, align 4 %18 = call ptr @inet_ntoa(i32 noundef %17) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = call i32 @ntohs(i32 noundef %20) %22 = call i32 @printf(ptr noundef @.str, ptr noundef %18, i32 noundef %21) br label %23 23: ; preds = %15, %8 br label %24 24: ; preds = %23, %1 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @inet_ntoa(i32 noundef) #1 declare i32 @ntohs(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/tmpfyju3udo.c' source_filename = "/tmp/tmpfyju3udo.c" target datalayout = "e-m:e-p270: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 [52 x i8] c"Input attributes indexes %d %d not between [0,%d].\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ck_i(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp sgt i32 %8, %9 br i1 %10, label %21, label %11 11: ; preds = %3 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp sgt i32 %12, %13 br i1 %14, label %21, label %15 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %18, %15, %11, %3 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %7, align 4 %25 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23, i32 noundef %24) store i32 0, ptr %4, align 4 br label %27 26: ; preds = %18 store i32 1, ptr %4, align 4 br label %27 27: ; preds = %26, %21 %28 = load i32, ptr %4, align 4 ret i32 %28 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfyju3udo.c" target datalayout = "e-m:e-p270: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 [52 x i8] c"Input attributes indexes %d %d not between [0,%d].\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ck_i(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp sgt i32 %8, %9 br i1 %10, label %21, label %11 11: ; preds = %3 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp sgt i32 %12, %13 br i1 %14, label %21, label %15 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %18, %15, %11, %3 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %7, align 4 %25 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23, i32 noundef %24) store i32 0, ptr %4, align 4 br label %27 26: ; preds = %18 store i32 1, ptr %4, align 4 br label %27 27: ; preds = %26, %21 %28 = load i32, ptr %4, align 4 ret i32 %28 } 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"}
; ModuleID = '/tmp/tmp7gleqz33.c' source_filename = "/tmp/tmp7gleqz33.c" target datalayout = "e-m:e-p270: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 @t2() #0 { %1 = alloca i32, align 4 store i32 1, ptr %1, align 4 %2 = call i32 @free(ptr noundef %1) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7gleqz33.c" target datalayout = "e-m:e-p270: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 @t2() #0 { %1 = alloca i32, align 4 store i32 1, ptr %1, align 4 %2 = call i32 @free(ptr noundef %1) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf3f7lhaw.c' source_filename = "/tmp/tmpf3f7lhaw.c" target datalayout = "e-m:e-p270: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/tmpf3f7lhaw.c" target datalayout = "e-m:e-p270: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/tmptsqwa1as.c' source_filename = "/tmp/tmptsqwa1as.c" target datalayout = "e-m:e-p270: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"%f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @av_d2str(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca ptr, align 8 store double %0, ptr %2, align 8 %4 = call ptr @av_malloc(i32 noundef 16) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = load double, ptr %2, align 8 %10 = call i32 @snprintf(ptr noundef %8, i32 noundef 16, ptr noundef @.str, double noundef %9) br label %11 11: ; preds = %7, %1 %12 = load ptr, ptr %3, align 8 ret ptr %12 } declare ptr @av_malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, 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/tmptsqwa1as.c" target datalayout = "e-m:e-p270: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"%f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @av_d2str(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca ptr, align 8 store double %0, ptr %2, align 8 %4 = call ptr @av_malloc(i32 noundef 16) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = load double, ptr %2, align 8 %10 = call i32 @snprintf(ptr noundef %8, i32 noundef 16, ptr noundef @.str, double noundef %9) br label %11 11: ; preds = %7, %1 %12 = load ptr, ptr %3, align 8 ret ptr %12 } declare ptr @av_malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, 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/tmpls87j1o9.c' source_filename = "/tmp/tmpls87j1o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Good String\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Not Good String\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = add nsw i32 %5, 1 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 1 %9 = trunc i64 %8 to i32 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %12) %14 = load i32, ptr %2, align 4 %15 = load ptr, ptr %3, align 8 %16 = call i32 @function(i32 noundef %14, ptr noundef %15) %17 = load i32, ptr %2, align 4 %18 = sub nsw i32 %17, 1 %19 = icmp eq i32 %16, %18 br i1 %19, label %20, label %22 20: ; preds = %0 %21 = call i32 @printf(ptr noundef @.str.2) br label %24 22: ; preds = %0 %23 = call i32 @printf(ptr noundef @.str.3) br label %24 24: ; preds = %22, %20 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @function(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpls87j1o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Good String\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Not Good String\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = add nsw i32 %5, 1 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 1 %9 = trunc i64 %8 to i32 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %12) %14 = load i32, ptr %2, align 4 %15 = load ptr, ptr %3, align 8 %16 = call i32 @function(i32 noundef %14, ptr noundef %15) %17 = load i32, ptr %2, align 4 %18 = sub nsw i32 %17, 1 %19 = icmp eq i32 %16, %18 br i1 %19, label %20, label %22 20: ; preds = %0 %21 = call i32 @printf(ptr noundef @.str.2) br label %24 22: ; preds = %0 %23 = call i32 @printf(ptr noundef @.str.3) br label %24 24: ; preds = %22, %20 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @function(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0dcjz4a2.c' source_filename = "/tmp/tmp0dcjz4a2.c" target datalayout = "e-m:e-p270: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/tmp0dcjz4a2.c" target datalayout = "e-m:e-p270: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/tmpwswzr41p.c' source_filename = "/tmp/tmpwswzr41p.c" target datalayout = "e-m:e-p270: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"data.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"\E6\95\B0\E6\8D\AE\E6\96\87\E4\BB\B6\E6\89\93\E5\BC\80\E9\94\99\E8\AF\AF\EF\BC\81\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"result.txt\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"\E4\B8\BB\E6\96\87\E4\BB\B6\E6\89\93\E5\BC\80\E9\94\99\E8\AF\AF\EF\BC\81\0A\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"\E6\95\B0\E6\8D\AE\E5\A4\84\E7\90\86\E4\B8\AD\EF\BC\8C\E8\AF\B7\E7\AD\89\E5\BE\85\E3\80\82\E3\80\82\E3\80\82\0A\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"\E6\95\B0\E6\8D\AE\E5\A4\84\E7\90\86\E5\AE\8C\E6\88\90\EF\BC\81\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 i8, align 1 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @printf(ptr noundef @.str.2) %11 = call i32 @exit(i32 noundef 0) #3 unreachable 12: ; preds = %0 %13 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %13, ptr %3, align 8 %14 = load ptr, ptr %3, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 @printf(ptr noundef @.str.5) br label %42 18: ; preds = %12 store i32 0, ptr %5, align 4 br label %19 19: ; preds = %28, %18 %20 = load i32, ptr %5, align 4 %21 = icmp slt i32 %20, 8 br i1 %21, label %22, label %31 22: ; preds = %19 %23 = load ptr, ptr %2, align 8 %24 = call signext i8 @getc(ptr noundef %23) store i8 %24, ptr %4, align 1 %25 = load i8, ptr %4, align 1 %26 = load ptr, ptr %3, align 8 %27 = call i32 @putc(i8 noundef signext %25, ptr noundef %26) br label %28 28: ; preds = %22 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %5, align 4 br label %19, !llvm.loop !6 31: ; preds = %19 %32 = load ptr, ptr %2, align 8 %33 = call i32 @fclose(ptr noundef %32) %34 = load ptr, ptr %3, align 8 %35 = call i32 @rewind(ptr noundef %34) %36 = call i32 @printf(ptr noundef @.str.6) %37 = load ptr, ptr %3, align 8 %38 = call i32 @quick(ptr noundef %37, i32 noundef 8) %39 = call i32 @printf(ptr noundef @.str.7) %40 = load ptr, ptr %3, align 8 %41 = call i32 @fclose(ptr noundef %40) br label %42 42: ; preds = %31, %16 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare signext i8 @getc(ptr noundef) #1 declare i32 @putc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @quick(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwswzr41p.c" target datalayout = "e-m:e-p270: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"data.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"\E6\95\B0\E6\8D\AE\E6\96\87\E4\BB\B6\E6\89\93\E5\BC\80\E9\94\99\E8\AF\AF\EF\BC\81\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"result.txt\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"r+\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"\E4\B8\BB\E6\96\87\E4\BB\B6\E6\89\93\E5\BC\80\E9\94\99\E8\AF\AF\EF\BC\81\0A\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"\E6\95\B0\E6\8D\AE\E5\A4\84\E7\90\86\E4\B8\AD\EF\BC\8C\E8\AF\B7\E7\AD\89\E5\BE\85\E3\80\82\E3\80\82\E3\80\82\0A\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"\E6\95\B0\E6\8D\AE\E5\A4\84\E7\90\86\E5\AE\8C\E6\88\90\EF\BC\81\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 i8, align 1 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @printf(ptr noundef @.str.2) %11 = call i32 @exit(i32 noundef 0) #3 unreachable 12: ; preds = %0 %13 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %13, ptr %3, align 8 %14 = load ptr, ptr %3, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 @printf(ptr noundef @.str.5) br label %43 18: ; preds = %12 store i32 0, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp slt i32 %19, 8 br i1 %20, label %.lr.ph, label %32 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %27 %22 = load ptr, ptr %2, align 8 %23 = call signext i8 @getc(ptr noundef %22) store i8 %23, ptr %4, align 1 %24 = load i8, ptr %4, align 1 %25 = load ptr, ptr %3, align 8 %26 = call i32 @putc(i8 noundef signext %24, ptr noundef %25) br label %27 27: ; preds = %21 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %30, 8 br i1 %31, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %32 32: ; preds = %._crit_edge, %18 %33 = load ptr, ptr %2, align 8 %34 = call i32 @fclose(ptr noundef %33) %35 = load ptr, ptr %3, align 8 %36 = call i32 @rewind(ptr noundef %35) %37 = call i32 @printf(ptr noundef @.str.6) %38 = load ptr, ptr %3, align 8 %39 = call i32 @quick(ptr noundef %38, i32 noundef 8) %40 = call i32 @printf(ptr noundef @.str.7) %41 = load ptr, ptr %3, align 8 %42 = call i32 @fclose(ptr noundef %41) br label %43 43: ; preds = %32, %16 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare signext i8 @getc(ptr noundef) #1 declare i32 @putc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @quick(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkm4ce64q.c' source_filename = "/tmp/tmpkm4ce64q.c" target datalayout = "e-m:e-p270: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 [86 x i8] c" <rect x=\22%.2fin\22 y=\22%.2fin\22 width=\220.08in\22 height=\220.08in\22 fill=\22#ffffff\22 />\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_check(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %35, %2 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 6 br i1 %9, label %10, label %38 10: ; preds = %7 store i32 0, ptr %5, align 4 br label %11 11: ; preds = %31, %10 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 69 br i1 %13, label %14, label %34 14: ; preds = %11 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %15, %16 %18 = srem i32 %17, 2 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %30 20: ; preds = %14 %21 = load double, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = sitofp i32 %22 to double %24 = call double @llvm.fmuladd.f64(double 8.300000e-02, double %23, double %21) %25 = load double, ptr %4, align 8 %26 = load i32, ptr %6, align 4 %27 = sitofp i32 %26 to double %28 = call double @llvm.fmuladd.f64(double 8.300000e-02, double %27, double %25) %29 = call i32 @printf(ptr noundef @.str, double noundef %24, double noundef %28) br label %30 30: ; preds = %20, %14 br label %31 31: ; preds = %30 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 br label %11, !llvm.loop !6 34: ; preds = %11 br label %35 35: ; preds = %34 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 br label %7, !llvm.loop !8 38: ; preds = %7 ret void } declare i32 @printf(ptr noundef, double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkm4ce64q.c" target datalayout = "e-m:e-p270: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 [86 x i8] c" <rect x=\22%.2fin\22 y=\22%.2fin\22 width=\220.08in\22 height=\220.08in\22 fill=\22#ffffff\22 />\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_check(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp slt i32 %7, 6 br i1 %8, label %.lr.ph2, label %40 .lr.ph2: ; preds = %2 br label %9 9: ; preds = %.lr.ph2, %35 store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 69 br i1 %11, label %.lr.ph, label %34 .lr.ph: ; preds = %9 br label %12 12: ; preds = %.lr.ph, %29 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %13, %14 %16 = srem i32 %15, 2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %28 18: ; preds = %12 %19 = load double, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = sitofp i32 %20 to double %22 = call double @llvm.fmuladd.f64(double 8.300000e-02, double %21, double %19) %23 = load double, ptr %4, align 8 %24 = load i32, ptr %6, align 4 %25 = sitofp i32 %24 to double %26 = call double @llvm.fmuladd.f64(double 8.300000e-02, double %25, double %23) %27 = call i32 @printf(ptr noundef @.str, double noundef %22, double noundef %26) br label %28 28: ; preds = %18, %12 br label %29 29: ; preds = %28 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %32, 69 br i1 %33, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %9 br label %35 35: ; preds = %34 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp slt i32 %38, 6 br i1 %39, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %40 40: ; preds = %._crit_edge3, %2 ret void } declare i32 @printf(ptr noundef, double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjfevbtw5.c' source_filename = "/tmp/tmpjfevbtw5.c" target datalayout = "e-m:e-p270: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/tmpjfevbtw5.c" target datalayout = "e-m:e-p270: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/tmpq0z5qyc5.c' source_filename = "/tmp/tmpq0z5qyc5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq0z5qyc5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_8apgq2o.c' source_filename = "/tmp/tmp_8apgq2o.c" target datalayout = "e-m:e-p270: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 @xt_core_seed_random(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i32 @srandom(i64 noundef %3) ret void } declare i32 @srandom(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_8apgq2o.c" target datalayout = "e-m:e-p270: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 @xt_core_seed_random(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i32 @srandom(i64 noundef %3) ret void } declare i32 @srandom(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/tmp6gqzphe4.c' source_filename = "/tmp/tmp6gqzphe4.c" target datalayout = "e-m:e-p270: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 @doBeep() #0 { %1 = call i32 (...) @beep() ret void } declare i32 @beep(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6gqzphe4.c" target datalayout = "e-m:e-p270: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 @doBeep() #0 { %1 = call i32 (...) @beep() ret void } declare i32 @beep(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps6to1igq.c' source_filename = "/tmp/tmps6to1igq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%d \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 1, ptr %2, align 4 br label %3 3: ; preds = %6, %0 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) br label %6 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 %9 = icmp sle i32 %8, 10 br i1 %9, label %3, label %10, !llvm.loop !6 10: ; preds = %6 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps6to1igq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%d \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 1, ptr %2, align 4 br label %3 3: ; preds = %6, %0 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) br label %6 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 %9 = icmp sle i32 %8, 10 br i1 %9, label %3, label %10, !llvm.loop !6 10: ; preds = %6 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsghi1jpz.c' source_filename = "/tmp/tmpsghi1jpz.c" target datalayout = "e-m:e-p270: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 @poe_isnotlocateoption(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @poe_islocateoption(i8 noundef signext %3) %5 = icmp ne i32 %4, 0 %6 = xor i1 %5, true %7 = zext i1 %6 to i32 ret i32 %7 } declare i32 @poe_islocateoption(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsghi1jpz.c" target datalayout = "e-m:e-p270: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 @poe_isnotlocateoption(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @poe_islocateoption(i8 noundef signext %3) %5 = icmp ne i32 %4, 0 %6 = xor i1 %5, true %7 = zext i1 %6 to i32 ret i32 %7 } declare i32 @poe_islocateoption(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3fljot0o.c' source_filename = "/tmp/tmp3fljot0o.c" target datalayout = "e-m:e-p270: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/tmp3fljot0o.c" target datalayout = "e-m:e-p270: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/tmp7rat0ny4.c' source_filename = "/tmp/tmp7rat0ny4.c" target datalayout = "e-m:e-p270: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 [31 x i8] c"Please input your first name:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Please input your last name:\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"%*d %*d\0A\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"%-*d %-*d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca [20 x i8], align 16 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %10 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %11 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %10, ptr noundef %11) %13 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @strlen(ptr noundef %13) %15 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @strlen(ptr noundef %15) %17 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %18 = call i32 @strlen(ptr noundef %17) %19 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %14, i32 noundef %16, i32 noundef %18, i32 noundef %20) %22 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %23 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %22, ptr noundef %23) %25 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %26 = call i32 @strlen(ptr noundef %25) %27 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %28 = call i32 @strlen(ptr noundef %27) %29 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %30 = call i32 @strlen(ptr noundef %29) %31 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %32 = call i32 @strlen(ptr noundef %31) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %26, i32 noundef %28, i32 noundef %30, i32 noundef %32) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7rat0ny4.c" target datalayout = "e-m:e-p270: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 [31 x i8] c"Please input your first name:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Please input your last name:\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"%*d %*d\0A\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"%-*d %-*d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca [20 x i8], align 16 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) %10 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %11 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %10, ptr noundef %11) %13 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @strlen(ptr noundef %13) %15 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @strlen(ptr noundef %15) %17 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %18 = call i32 @strlen(ptr noundef %17) %19 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %14, i32 noundef %16, i32 noundef %18, i32 noundef %20) %22 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %23 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %22, ptr noundef %23) %25 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %26 = call i32 @strlen(ptr noundef %25) %27 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %28 = call i32 @strlen(ptr noundef %27) %29 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %30 = call i32 @strlen(ptr noundef %29) %31 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %32 = call i32 @strlen(ptr noundef %31) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %26, i32 noundef %28, i32 noundef %30, i32 noundef %32) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptvo2lq74.c' source_filename = "/tmp/tmptvo2lq74.c" target datalayout = "e-m:e-p270: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 signext i8 @do_strip_column(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i8, align 1 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i8 0, ptr %10, align 1 %15 = load ptr, ptr %8, align 8 store ptr %15, ptr %11, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i32 @strlen(ptr noundef %16) store i32 %17, ptr %12, align 4 br label %18 18: ; preds = %24, %4 %19 = load ptr, ptr %11, align 8 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %12, align 4 %22 = call i64 @strncmp(ptr noundef %19, ptr noundef %20, i32 noundef %21) %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %18 %25 = load i32, ptr %12, align 4 %26 = load ptr, ptr %11, align 8 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds i8, ptr %26, i64 %27 store ptr %28, ptr %11, align 8 br label %18, !llvm.loop !6 29: ; preds = %18 %30 = load ptr, ptr %11, align 8 %31 = load i8, ptr %30, align 1 %32 = icmp ne i8 %31, 0 br i1 %32, label %34, label %33 33: ; preds = %29 store i8 0, ptr %5, align 1 br label %126 34: ; preds = %29 store i32 0, ptr %13, align 4 br label %35 35: ; preds = %59, %34 %36 = load i32, ptr %13, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %62 39: ; preds = %35 %40 = load ptr, ptr %11, align 8 %41 = load ptr, ptr %6, align 8 %42 = call ptr @strstr(ptr noundef %40, ptr noundef %41) store ptr %42, ptr %11, align 8 %43 = load ptr, ptr %11, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %46, label %45 45: ; preds = %39 br label %62 46: ; preds = %39 br label %47 47: ; preds = %53, %46 %48 = load ptr, ptr %11, align 8 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %12, align 4 %51 = call i64 @strncmp(ptr noundef %48, ptr noundef %49, i32 noundef %50) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %58 53: ; preds = %47 %54 = load i32, ptr %12, align 4 %55 = load ptr, ptr %11, align 8 %56 = sext i32 %54 to i64 %57 = getelementptr inbounds i8, ptr %55, i64 %56 store ptr %57, ptr %11, align 8 br label %47, !llvm.loop !8 58: ; preds = %47 br label %59 59: ; preds = %58 %60 = load i32, ptr %13, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %13, align 4 br label %35, !llvm.loop !9 62: ; preds = %45, %35 %63 = load ptr, ptr %11, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %66, label %65 65: ; preds = %62 store i8 0, ptr %5, align 1 br label %126 66: ; preds = %62 store i8 1, ptr %10, align 1 br label %67 67: ; preds = %80, %66 %68 = load ptr, ptr %11, align 8 %69 = load ptr, ptr %6, align 8 %70 = load i32, ptr %12, align 4 %71 = call i64 @strncmp(ptr noundef %68, ptr noundef %69, i32 noundef %70) %72 = icmp ne i64 %71, 0 br i1 %72, label %73, label %78 73: ; preds = %67 %74 = load ptr, ptr %11, align 8 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = icmp ne i32 %76, 0 br label %78 78: ; preds = %73, %67 %79 = phi i1 [ false, %67 ], [ %77, %73 ] br i1 %79, label %80, label %92 80: ; preds = %78 %81 = load ptr, ptr %9, align 8 %82 = load ptr, ptr %11, align 8 %83 = load ptr, ptr %8, align 8 %84 = ptrtoint ptr %82 to i64 %85 = ptrtoint ptr %83 to i64 %86 = sub i64 %84, %85 %87 = trunc i64 %86 to i32 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %81, i64 %88 store i8 0, ptr %89, align 1 %90 = load ptr, ptr %11, align 8 %91 = getelementptr inbounds i8, ptr %90, i32 1 store ptr %91, ptr %11, align 8 br label %67, !llvm.loop !10 92: ; preds = %78 br label %93 93: ; preds = %119, %92 %94 = load ptr, ptr %11, align 8 %95 = load ptr, ptr %6, align 8 %96 = load i32, ptr %12, align 4 %97 = call i64 @strncmp(ptr noundef %94, ptr noundef %95, i32 noundef %96) %98 = icmp eq i64 %97, 0 br i1 %98, label %99, label %124 99: ; preds = %93 store i32 0, ptr %14, align 4 br label %100 100: ; preds = %116, %99 %101 = load i32, ptr %14, align 4 %102 = load i32, ptr %12, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %104, label %119 104: ; preds = %100 %105 = load ptr, ptr %9, align 8 %106 = load ptr, ptr %11, align 8 %107 = load ptr, ptr %8, align 8 %108 = ptrtoint ptr %106 to i64 %109 = ptrtoint ptr %107 to i64 %110 = sub i64 %108, %109 %111 = trunc i64 %110 to i32 %112 = load i32, ptr %14, align 4 %113 = add nsw i32 %111, %112 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i8, ptr %105, i64 %114 store i8 0, ptr %115, align 1 br label %116 116: ; preds = %104 %117 = load i32, ptr %14, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %14, align 4 br label %100, !llvm.loop !11 119: ; preds = %100 %120 = load i32, ptr %12, align 4 %121 = load ptr, ptr %11, align 8 %122 = sext i32 %120 to i64 %123 = getelementptr inbounds i8, ptr %121, i64 %122 store ptr %123, ptr %11, align 8 br label %93, !llvm.loop !12 124: ; preds = %93 %125 = load i8, ptr %10, align 1 store i8 %125, ptr %5, align 1 br label %126 126: ; preds = %124, %65, %33 %127 = load i8, ptr %5, align 1 ret i8 %127 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptvo2lq74.c" target datalayout = "e-m:e-p270: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 signext i8 @do_strip_column(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i8, align 1 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i8 0, ptr %10, align 1 %15 = load ptr, ptr %8, align 8 store ptr %15, ptr %11, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i32 @strlen(ptr noundef %16) store i32 %17, ptr %12, align 4 %18 = load ptr, ptr %11, align 8 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %12, align 4 %21 = call i64 @strncmp(ptr noundef %18, ptr noundef %19, i32 noundef %20) %22 = icmp eq i64 %21, 0 br i1 %22, label %.lr.ph, label %33 .lr.ph: ; preds = %4 br label %23 23: ; preds = %.lr.ph, %23 %24 = load i32, ptr %12, align 4 %25 = load ptr, ptr %11, align 8 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds i8, ptr %25, i64 %26 store ptr %27, ptr %11, align 8 %28 = load ptr, ptr %11, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %12, align 4 %31 = call i64 @strncmp(ptr noundef %28, ptr noundef %29, i32 noundef %30) %32 = icmp eq i64 %31, 0 br i1 %32, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %33 33: ; preds = %._crit_edge, %4 %34 = load ptr, ptr %11, align 8 %35 = load i8, ptr %34, align 1 %36 = icmp ne i8 %35, 0 br i1 %36, label %38, label %37 37: ; preds = %33 store i8 0, ptr %5, align 1 br label %142 38: ; preds = %33 store i32 0, ptr %13, align 4 %39 = load i32, ptr %13, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %38 br label %42 42: ; preds = %.lr.ph5, %66 %43 = load ptr, ptr %11, align 8 %44 = load ptr, ptr %6, align 8 %45 = call ptr @strstr(ptr noundef %43, ptr noundef %44) store ptr %45, ptr %11, align 8 %46 = load ptr, ptr %11, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %49, label %48 48: ; preds = %42 br label %72 49: ; preds = %42 %50 = load ptr, ptr %11, align 8 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %12, align 4 %53 = call i64 @strncmp(ptr noundef %50, ptr noundef %51, i32 noundef %52) %54 = icmp eq i64 %53, 0 br i1 %54, label %.lr.ph2, label %65 .lr.ph2: ; preds = %49 br label %55 55: ; preds = %.lr.ph2, %55 %56 = load i32, ptr %12, align 4 %57 = load ptr, ptr %11, align 8 %58 = sext i32 %56 to i64 %59 = getelementptr inbounds i8, ptr %57, i64 %58 store ptr %59, ptr %11, align 8 %60 = load ptr, ptr %11, align 8 %61 = load ptr, ptr %6, align 8 %62 = load i32, ptr %12, align 4 %63 = call i64 @strncmp(ptr noundef %60, ptr noundef %61, i32 noundef %62) %64 = icmp eq i64 %63, 0 br i1 %64, label %55, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %65 65: ; preds = %._crit_edge3, %49 br label %66 66: ; preds = %65 %67 = load i32, ptr %13, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %13, align 4 %69 = load i32, ptr %13, align 4 %70 = load i32, ptr %7, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %42, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %66 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %38 br label %72 72: ; preds = %.loopexit, %48 %73 = load ptr, ptr %11, align 8 %74 = icmp ne ptr %73, null br i1 %74, label %76, label %75 75: ; preds = %72 store i8 0, ptr %5, align 1 br label %142 76: ; preds = %72 store i8 1, ptr %10, align 1 br label %77 77: ; preds = %90, %76 %78 = load ptr, ptr %11, align 8 %79 = load ptr, ptr %6, align 8 %80 = load i32, ptr %12, align 4 %81 = call i64 @strncmp(ptr noundef %78, ptr noundef %79, i32 noundef %80) %82 = icmp ne i64 %81, 0 br i1 %82, label %83, label %88 83: ; preds = %77 %84 = load ptr, ptr %11, align 8 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp ne i32 %86, 0 br label %88 88: ; preds = %83, %77 %89 = phi i1 [ false, %77 ], [ %87, %83 ] br i1 %89, label %90, label %102 90: ; preds = %88 %91 = load ptr, ptr %9, align 8 %92 = load ptr, ptr %11, align 8 %93 = load ptr, ptr %8, align 8 %94 = ptrtoint ptr %92 to i64 %95 = ptrtoint ptr %93 to i64 %96 = sub i64 %94, %95 %97 = trunc i64 %96 to i32 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i8, ptr %91, i64 %98 store i8 0, ptr %99, align 1 %100 = load ptr, ptr %11, align 8 %101 = getelementptr inbounds i8, ptr %100, i32 1 store ptr %101, ptr %11, align 8 br label %77, !llvm.loop !10 102: ; preds = %88 %103 = load ptr, ptr %11, align 8 %104 = load ptr, ptr %6, align 8 %105 = load i32, ptr %12, align 4 %106 = call i64 @strncmp(ptr noundef %103, ptr noundef %104, i32 noundef %105) %107 = icmp eq i64 %106, 0 br i1 %107, label %.lr.ph10, label %140 .lr.ph10: ; preds = %102 br label %108 108: ; preds = %.lr.ph10, %130 store i32 0, ptr %14, align 4 %109 = load i32, ptr %14, align 4 %110 = load i32, ptr %12, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %.lr.ph7, label %130 .lr.ph7: ; preds = %108 br label %112 112: ; preds = %.lr.ph7, %124 %113 = load ptr, ptr %9, align 8 %114 = load ptr, ptr %11, align 8 %115 = load ptr, ptr %8, align 8 %116 = ptrtoint ptr %114 to i64 %117 = ptrtoint ptr %115 to i64 %118 = sub i64 %116, %117 %119 = trunc i64 %118 to i32 %120 = load i32, ptr %14, align 4 %121 = add nsw i32 %119, %120 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %113, i64 %122 store i8 0, ptr %123, align 1 br label %124 124: ; preds = %112 %125 = load i32, ptr %14, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %14, align 4 %127 = load i32, ptr %14, align 4 %128 = load i32, ptr %12, align 4 %129 = icmp slt i32 %127, %128 br i1 %129, label %112, label %._crit_edge8, !llvm.loop !11 ._crit_edge8: ; preds = %124 br label %130 130: ; preds = %._crit_edge8, %108 %131 = load i32, ptr %12, align 4 %132 = load ptr, ptr %11, align 8 %133 = sext i32 %131 to i64 %134 = getelementptr inbounds i8, ptr %132, i64 %133 store ptr %134, ptr %11, align 8 %135 = load ptr, ptr %11, align 8 %136 = load ptr, ptr %6, align 8 %137 = load i32, ptr %12, align 4 %138 = call i64 @strncmp(ptr noundef %135, ptr noundef %136, i32 noundef %137) %139 = icmp eq i64 %138, 0 br i1 %139, label %108, label %._crit_edge11, !llvm.loop !12 ._crit_edge11: ; preds = %130 br label %140 140: ; preds = %._crit_edge11, %102 %141 = load i8, ptr %10, align 1 store i8 %141, ptr %5, align 1 br label %142 142: ; preds = %140, %75, %37 %143 = load i8, ptr %5, align 1 ret i8 %143 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmp4sipcia2.c' source_filename = "/tmp/tmp4sipcia2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @Arcseno(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load double, ptr %2, align 8 %6 = call double @asin(double noundef %5) #3 ret double %6 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @asin(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmp4sipcia2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Enter a number: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @Arcseno(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load double, ptr %2, align 8 %6 = call double @asin(double noundef %5) #3 ret double %6 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @asin(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmp8jhy9328.c' source_filename = "/tmp/tmp8jhy9328.c" target datalayout = "e-m:e-p270: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 @DymosimError(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 @DymosimErrorLev(ptr noundef %3, i32 noundef 2) ret double 0.000000e+00 } declare i32 @DymosimErrorLev(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/tmp8jhy9328.c" target datalayout = "e-m:e-p270: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 @DymosimError(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 @DymosimErrorLev(ptr noundef %3, i32 noundef 2) ret double 0.000000e+00 } declare i32 @DymosimErrorLev(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/tmp3ca7hoth.c' source_filename = "/tmp/tmp3ca7hoth.c" target datalayout = "e-m:e-p270: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/tmp3ca7hoth.c" target datalayout = "e-m:e-p270: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/tmph8trs81m.c' source_filename = "/tmp/tmph8trs81m.c" target datalayout = "e-m:e-p270: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 @isNumber(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = sub nsw i32 %4, 48 %6 = icmp sge i32 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i8, ptr %2, align 1 %9 = sext i8 %8 to i32 %10 = sub nsw i32 %9, 48 %11 = icmp sle i32 %10, 9 br label %12 12: ; preds = %7, %1 %13 = phi i1 [ false, %1 ], [ %11, %7 ] %14 = zext i1 %13 to i32 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph8trs81m.c" target datalayout = "e-m:e-p270: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 @isNumber(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 %5 = sub nsw i32 %4, 48 %6 = icmp sge i32 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load i8, ptr %2, align 1 %9 = sext i8 %8 to i32 %10 = sub nsw i32 %9, 48 %11 = icmp sle i32 %10, 9 br label %12 12: ; preds = %7, %1 %13 = phi i1 [ false, %1 ], [ %11, %7 ] %14 = zext i1 %13 to i32 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr5021mfn.c' source_filename = "/tmp/tmpr5021mfn.c" target datalayout = "e-m:e-p270: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 @m68k_op_bkpt() #0 { %1 = call i32 (...) @m68ki_exception_illegal() ret void } declare i32 @m68ki_exception_illegal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr5021mfn.c" target datalayout = "e-m:e-p270: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 @m68k_op_bkpt() #0 { %1 = call i32 (...) @m68ki_exception_illegal() ret void } declare i32 @m68ki_exception_illegal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9iknkedt.c' source_filename = "/tmp/tmp9iknkedt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Enter an integer > \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"That's all, have a nice day!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %7 7: ; preds = %10, %0 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %19 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = srem i32 %11, 10 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = sub nsw i32 %15, %16 %18 = sdiv i32 %17, 10 store i32 %18, ptr %2, align 4 br label %7, !llvm.loop !6 19: ; preds = %7 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9iknkedt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Enter an integer > \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"That's all, have a nice day!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 10 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12) %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = sub nsw i32 %14, %15 %17 = sdiv i32 %16, 10 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %20 20: ; preds = %._crit_edge, %0 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpusry5rtg.c' source_filename = "/tmp/tmpusry5rtg.c" target datalayout = "e-m:e-p270: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/tmpusry5rtg.c" target datalayout = "e-m:e-p270: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/tmpcec4n8qz.c' source_filename = "/tmp/tmpcec4n8qz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @reader_writer() ret i32 0 } declare i32 @reader_writer(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcec4n8qz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @reader_writer() ret i32 0 } declare i32 @reader_writer(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi267vgue.c' source_filename = "/tmp/tmpi267vgue.c" target datalayout = "e-m:e-p270: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 [44 x i8] c"usage: %s [--3gb] [--4gb] program args ...\0A\00", align 1 @.str.1 = private unnamed_addr constant [74 x i8] c"Default is --3gb to limit the address space of the 32bit children to 3GB\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"linux64\00", align 1 @PER_LINUX = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [8 x i8] c"linux32\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"--3gb\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"--4gb\00", align 1 @PER_LINUX32 = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [31 x i8] c"Cannot set %x personality: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [23 x i8] c"Cannot execute %s: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 134217736, ptr %6, align 4 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 1 %9 = load ptr, ptr %8, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %20, label %11 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 @strcmp(ptr noundef %23, ptr noundef @.str.2) %25 = icmp ne i32 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %20 %27 = load i32, ptr @PER_LINUX, align 4 store i32 %27, ptr %6, align 4 br label %36 28: ; preds = %20 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 0 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.3) %33 = icmp ne i32 %32, 0 br i1 %33, label %35, label %34 34: ; preds = %28 store i32 134217736, ptr %6, align 4 br label %35 35: ; preds = %34, %28 br label %36 36: ; preds = %35, %26 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call i32 @strcmp(ptr noundef %39, ptr noundef @.str.4) %41 = icmp ne i32 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %36 store i32 134217736, ptr %6, align 4 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i32 1 store ptr %44, ptr %5, align 8 br label %45 45: ; preds = %42, %36 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 1 %48 = load ptr, ptr %47, align 8 %49 = call i32 @strcmp(ptr noundef %48, ptr noundef @.str.5) %50 = icmp ne i32 %49, 0 br i1 %50, label %55, label %51 51: ; preds = %45 %52 = load i32, ptr @PER_LINUX32, align 4 store i32 %52, ptr %6, align 4 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i32 1 store ptr %54, ptr %5, align 8 br label %55 55: ; preds = %51, %45 %56 = load i32, ptr %6, align 4 %57 = call i64 @personality(i32 noundef %56) %58 = icmp slt i64 %57, 0 br i1 %58, label %59, label %66 59: ; preds = %55 %60 = load i32, ptr @stderr, align 4 %61 = load i32, ptr %6, align 4 %62 = load i32, ptr @errno, align 4 %63 = call ptr @strerror(i32 noundef %62) %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.6, i32 noundef %61, ptr noundef %63) %65 = call i32 @exit(i32 noundef 1) #3 unreachable 66: ; preds = %55 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds ptr, ptr %67, i64 1 %69 = load ptr, ptr %68, align 8 %70 = load ptr, ptr %5, align 8 %71 = getelementptr inbounds ptr, ptr %70, i64 1 %72 = call i32 @execvp(ptr noundef %69, ptr noundef %71) %73 = load i32, ptr @stderr, align 4 %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds ptr, ptr %74, i64 1 %76 = load ptr, ptr %75, align 8 %77 = load i32, ptr @errno, align 4 %78 = call ptr @strerror(i32 noundef %77) %79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %73, ptr noundef @.str.7, ptr noundef %76, ptr noundef %78) %80 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @personality(i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi267vgue.c" target datalayout = "e-m:e-p270: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 [44 x i8] c"usage: %s [--3gb] [--4gb] program args ...\0A\00", align 1 @.str.1 = private unnamed_addr constant [74 x i8] c"Default is --3gb to limit the address space of the 32bit children to 3GB\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"linux64\00", align 1 @PER_LINUX = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [8 x i8] c"linux32\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"--3gb\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"--4gb\00", align 1 @PER_LINUX32 = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [31 x i8] c"Cannot set %x personality: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [23 x i8] c"Cannot execute %s: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 134217736, ptr %6, align 4 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 1 %9 = load ptr, ptr %8, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %20, label %11 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 @strcmp(ptr noundef %23, ptr noundef @.str.2) %25 = icmp ne i32 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %20 %27 = load i32, ptr @PER_LINUX, align 4 store i32 %27, ptr %6, align 4 br label %36 28: ; preds = %20 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 0 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.3) %33 = icmp ne i32 %32, 0 br i1 %33, label %35, label %34 34: ; preds = %28 store i32 134217736, ptr %6, align 4 br label %35 35: ; preds = %34, %28 br label %36 36: ; preds = %35, %26 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call i32 @strcmp(ptr noundef %39, ptr noundef @.str.4) %41 = icmp ne i32 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %36 store i32 134217736, ptr %6, align 4 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i32 1 store ptr %44, ptr %5, align 8 br label %45 45: ; preds = %42, %36 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 1 %48 = load ptr, ptr %47, align 8 %49 = call i32 @strcmp(ptr noundef %48, ptr noundef @.str.5) %50 = icmp ne i32 %49, 0 br i1 %50, label %55, label %51 51: ; preds = %45 %52 = load i32, ptr @PER_LINUX32, align 4 store i32 %52, ptr %6, align 4 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i32 1 store ptr %54, ptr %5, align 8 br label %55 55: ; preds = %51, %45 %56 = load i32, ptr %6, align 4 %57 = call i64 @personality(i32 noundef %56) %58 = icmp slt i64 %57, 0 br i1 %58, label %59, label %66 59: ; preds = %55 %60 = load i32, ptr @stderr, align 4 %61 = load i32, ptr %6, align 4 %62 = load i32, ptr @errno, align 4 %63 = call ptr @strerror(i32 noundef %62) %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.6, i32 noundef %61, ptr noundef %63) %65 = call i32 @exit(i32 noundef 1) #3 unreachable 66: ; preds = %55 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds ptr, ptr %67, i64 1 %69 = load ptr, ptr %68, align 8 %70 = load ptr, ptr %5, align 8 %71 = getelementptr inbounds ptr, ptr %70, i64 1 %72 = call i32 @execvp(ptr noundef %69, ptr noundef %71) %73 = load i32, ptr @stderr, align 4 %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds ptr, ptr %74, i64 1 %76 = load ptr, ptr %75, align 8 %77 = load i32, ptr @errno, align 4 %78 = call ptr @strerror(i32 noundef %77) %79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %73, ptr noundef @.str.7, ptr noundef %76, ptr noundef %78) %80 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @personality(i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphy49wzv4.c' source_filename = "/tmp/tmphy49wzv4.c" target datalayout = "e-m:e-p270: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"v_0:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"t:\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"\0Awill use v_0=%f and t=%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0x4023A3D700000000, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load float, ptr %2, align 4 %10 = fpext float %9 to double %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %10, double noundef %12) %14 = load float, ptr %2, align 4 %15 = load float, ptr %3, align 4 %16 = call i32 @calc_throw(float noundef %14, float noundef %15, float noundef 0x4023A3D700000000) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @calc_throw(float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphy49wzv4.c" target datalayout = "e-m:e-p270: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"v_0:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"t:\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"\0Awill use v_0=%f and t=%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0x4023A3D700000000, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load float, ptr %2, align 4 %10 = fpext float %9 to double %11 = load float, ptr %3, align 4 %12 = fpext float %11 to double %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %10, double noundef %12) %14 = load float, ptr %2, align 4 %15 = load float, ptr %3, align 4 %16 = call i32 @calc_throw(float noundef %14, float noundef %15, float noundef 0x4023A3D700000000) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @calc_throw(float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpletfwzv4.c' source_filename = "/tmp/tmpletfwzv4.c" target datalayout = "e-m:e-p270: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/tmpletfwzv4.c" target datalayout = "e-m:e-p270: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/tmp4awnc378.c' source_filename = "/tmp/tmp4awnc378.c" target datalayout = "e-m:e-p270: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 @eval2(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @length(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 4 %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 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = mul i64 %21, 4 %23 = trunc i64 %22 to i32 %24 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef %23) store i32 0, ptr %7, align 4 br label %25 25: ; preds = %50, %2 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %53 29: ; preds = %25 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = icmp sge i32 %34, 0 br i1 %35, label %36, label %49 36: ; preds = %29 %37 = load i32, ptr %4, align 4 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = ashr i32 %37, %42 %44 = and i32 %43, 1 %45 = load ptr, ptr %6, align 8 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 store i32 %44, ptr %48, align 4 br label %49 49: ; preds = %36, %29 br label %50 50: ; preds = %49 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 br label %25, !llvm.loop !6 53: ; preds = %25 %54 = load ptr, ptr %6, align 8 %55 = call i32 @eval_tf(ptr noundef %54) store i32 %55, ptr %8, align 4 %56 = load ptr, ptr %6, align 8 %57 = call i32 @free(ptr noundef %56) %58 = load i32, ptr %8, align 4 ret i32 %58 } declare i32 @length(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @eval_tf(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/tmp4awnc378.c" target datalayout = "e-m:e-p270: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 @eval2(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @length(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = mul i64 %13, 4 %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 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = mul i64 %21, 4 %23 = trunc i64 %22 to i32 %24 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef %23) store i32 0, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %55 .lr.ph: ; preds = %2 br label %28 28: ; preds = %.lr.ph, %49 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = icmp sge i32 %33, 0 br i1 %34, label %35, label %48 35: ; preds = %28 %36 = load i32, ptr %4, align 4 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = ashr i32 %36, %41 %43 = and i32 %42, 1 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 store i32 %43, ptr %47, align 4 br label %48 48: ; preds = %35, %28 br label %49 49: ; preds = %48 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %7, align 4 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %5, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %55 55: ; preds = %._crit_edge, %2 %56 = load ptr, ptr %6, align 8 %57 = call i32 @eval_tf(ptr noundef %56) store i32 %57, ptr %8, align 4 %58 = load ptr, ptr %6, align 8 %59 = call i32 @free(ptr noundef %58) %60 = load i32, ptr %8, align 4 ret i32 %60 } declare i32 @length(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @eval_tf(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/tmp5q0uegif.c' source_filename = "/tmp/tmp5q0uegif.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca double, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 br label %15 15: ; preds = %25, %2 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = call double (...) @rand_double() %21 = call double @llvm.fmuladd.f64(double %20, double 2.000000e+04, double -1.000000e+04) %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds double, ptr %14, i64 %23 store double %21, ptr %24, align 8 br label %25 25: ; preds = %19 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %10, align 4 br label %15, !llvm.loop !6 28: ; preds = %15 store double 0.000000e+00, ptr %8, align 8 %29 = call double (...) @tic() store double %29, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %30 30: ; preds = %43, %28 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %46 34: ; preds = %30 %35 = load i32, ptr %4, align 4 %36 = call double @stdlib_strided_dnanvariancewd(i32 noundef %35, double noundef 1.000000e+00, ptr noundef %14, i32 noundef 1) store double %36, ptr %8, align 8 %37 = load double, ptr %8, align 8 %38 = load double, ptr %8, align 8 %39 = fcmp une double %37, %38 br i1 %39, label %40, label %42 40: ; preds = %34 %41 = call i32 @printf(ptr noundef @.str) br label %46 42: ; preds = %34 br label %43 43: ; preds = %42 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %10, align 4 br label %30, !llvm.loop !8 46: ; preds = %40, %30 %47 = call double (...) @tic() %48 = load double, ptr %9, align 8 %49 = fsub double %47, %48 store double %49, ptr %5, align 8 %50 = load double, ptr %8, align 8 %51 = load double, ptr %8, align 8 %52 = fcmp une double %50, %51 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @printf(ptr noundef @.str) br label %55 55: ; preds = %53, %46 %56 = load double, ptr %5, align 8 %57 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %57) ret double %56 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare double @rand_double(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @tic(...) #2 declare double @stdlib_strided_dnanvariancewd(i32 noundef, double noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5q0uegif.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca double, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %24 %19 = call double (...) @rand_double() %20 = call double @llvm.fmuladd.f64(double %19, double 2.000000e+04, double -1.000000e+04) %21 = load i32, ptr %10, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds double, ptr %14, i64 %22 store double %20, ptr %23, align 8 br label %24 24: ; preds = %18 %25 = load i32, ptr %10, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 store double 0.000000e+00, ptr %8, align 8 %31 = call double (...) @tic() store double %31, ptr %9, align 8 store i32 0, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %30 br label %35 35: ; preds = %.lr.ph2, %44 %36 = load i32, ptr %4, align 4 %37 = call double @stdlib_strided_dnanvariancewd(i32 noundef %36, double noundef 1.000000e+00, ptr noundef %14, i32 noundef 1) store double %37, ptr %8, align 8 %38 = load double, ptr %8, align 8 %39 = load double, ptr %8, align 8 %40 = fcmp une double %38, %39 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = call i32 @printf(ptr noundef @.str) br label %50 43: ; preds = %35 br label %44 44: ; preds = %43 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %10, align 4 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %35, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %44 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %30 br label %50 50: ; preds = %.loopexit, %41 %51 = call double (...) @tic() %52 = load double, ptr %9, align 8 %53 = fsub double %51, %52 store double %53, ptr %5, align 8 %54 = load double, ptr %8, align 8 %55 = load double, ptr %8, align 8 %56 = fcmp une double %54, %55 br i1 %56, label %57, label %59 57: ; preds = %50 %58 = call i32 @printf(ptr noundef @.str) br label %59 59: ; preds = %57, %50 %60 = load double, ptr %5, align 8 %61 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %61) ret double %60 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare double @rand_double(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare double @tic(...) #2 declare double @stdlib_strided_dnanvariancewd(i32 noundef, double noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplncnhfnu.c' source_filename = "/tmp/tmplncnhfnu.c" target datalayout = "e-m:e-p270: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 @PPCReset() #0 { %1 = call i32 @clear32(i32 noundef 226492820, i32 noundef 48) %2 = call i32 @udelay(i32 noundef 15) %3 = call i32 @set32(i32 noundef 226492820, i32 noundef 32) ret void } declare i32 @clear32(i32 noundef, i32 noundef) #1 declare i32 @udelay(i32 noundef) #1 declare i32 @set32(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/tmplncnhfnu.c" target datalayout = "e-m:e-p270: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 @PPCReset() #0 { %1 = call i32 @clear32(i32 noundef 226492820, i32 noundef 48) %2 = call i32 @udelay(i32 noundef 15) %3 = call i32 @set32(i32 noundef 226492820, i32 noundef 32) ret void } declare i32 @clear32(i32 noundef, i32 noundef) #1 declare i32 @udelay(i32 noundef) #1 declare i32 @set32(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/tmp1i66bhy1.c' source_filename = "/tmp/tmp1i66bhy1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EDOM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @safe_pread_exact(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i64, ptr %8, align 8 %14 = load i32, ptr %9, align 4 %15 = call i32 @safe_pread(i32 noundef %11, ptr noundef %12, i64 noundef %13, i32 noundef %14) store i32 %15, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %4 %19 = load i32, ptr %10, align 4 store i32 %19, ptr %5, align 4 br label %29 20: ; preds = %4 %21 = load i32, ptr %10, align 4 %22 = load i64, ptr %8, align 8 %23 = trunc i64 %22 to i32 %24 = icmp ne i32 %21, %23 br i1 %24, label %25, label %28 25: ; preds = %20 %26 = load i32, ptr @EDOM, align 4 %27 = sub nsw i32 0, %26 store i32 %27, ptr %5, align 4 br label %29 28: ; preds = %20 store i32 0, ptr %5, align 4 br label %29 29: ; preds = %28, %25, %18 %30 = load i32, ptr %5, align 4 ret i32 %30 } declare i32 @safe_pread(i32 noundef, ptr noundef, i64 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/tmp1i66bhy1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EDOM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @safe_pread_exact(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i64, ptr %8, align 8 %14 = load i32, ptr %9, align 4 %15 = call i32 @safe_pread(i32 noundef %11, ptr noundef %12, i64 noundef %13, i32 noundef %14) store i32 %15, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %4 %19 = load i32, ptr %10, align 4 store i32 %19, ptr %5, align 4 br label %29 20: ; preds = %4 %21 = load i32, ptr %10, align 4 %22 = load i64, ptr %8, align 8 %23 = trunc i64 %22 to i32 %24 = icmp ne i32 %21, %23 br i1 %24, label %25, label %28 25: ; preds = %20 %26 = load i32, ptr @EDOM, align 4 %27 = sub nsw i32 0, %26 store i32 %27, ptr %5, align 4 br label %29 28: ; preds = %20 store i32 0, ptr %5, align 4 br label %29 29: ; preds = %28, %25, %18 %30 = load i32, ptr %5, align 4 ret i32 %30 } declare i32 @safe_pread(i32 noundef, ptr noundef, i64 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/tmpz0yauue1.c' source_filename = "/tmp/tmpz0yauue1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32 } @__const.main.sleepnsec = private unnamed_addr constant [13 x i32] [i32 1, i32 2, i32 10, i32 100, i32 1000, i32 10000, i32 1000000, i32 10000000, i32 100000000, i32 200000000, i32 500000000, i32 750000000, i32 999999900], align 16 @CLOCK_REALTIME = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Error in clock_gettime()\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"nanosleep() did not return success\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"PASS slept %ds %dns >= %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"FAIL slept %ds %dns < %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"At least one test FAILED\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"All tests PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 4 %3 = alloca %struct.timespec, align 4 %4 = alloca %struct.timespec, align 4 %5 = alloca %struct.timespec, align 4 %6 = alloca [13 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.sleepnsec, i64 52, i1 false) store i32 0, ptr %8, align 4 %11 = load i32, ptr @CLOCK_REALTIME, align 4 %12 = call i32 @clock_gettime(i32 noundef %11, ptr noundef %4) %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @perror(ptr noundef @.str) store i32 2, ptr %1, align 4 br label %92 16: ; preds = %0 %17 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 store i32 0, ptr %17, align 4 store i32 0, ptr %7, align 4 br label %18 18: ; preds = %82, %16 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 13 br i1 %20, label %21, label %85 21: ; preds = %18 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 1 store i32 %25, ptr %26, align 4 %27 = call i64 @nanosleep(ptr noundef %2, ptr noundef %3) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %21 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 2, ptr %1, align 4 br label %92 31: ; preds = %21 %32 = load i32, ptr @CLOCK_REALTIME, align 4 %33 = call i32 @clock_gettime(i32 noundef %32, ptr noundef %5) %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = call i32 @perror(ptr noundef @.str) store i32 2, ptr %1, align 4 br label %92 37: ; preds = %31 %38 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %39 = load i32, ptr %38, align 4 %40 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 %41 = load i32, ptr %40, align 4 %42 = sub nsw i32 %39, %41 store i32 %42, ptr %9, align 4 %43 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 %44 = load i32, ptr %43, align 4 %45 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1 %46 = load i32, ptr %45, align 4 %47 = sub nsw i32 %44, %46 store i32 %47, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 0 br i1 %49, label %50, label %55 50: ; preds = %37 %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, 1000000000 store i32 %52, ptr %10, align 4 %53 = load i32, ptr %9, align 4 %54 = sub nsw i32 %53, 1 store i32 %54, ptr %9, align 4 br label %55 55: ; preds = %50, %37 %56 = load i32, ptr %9, align 4 %57 = icmp sge i32 %56, 1 br i1 %57, label %65, label %58 58: ; preds = %55 %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %7, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 %61 %63 = load i32, ptr %62, align 4 %64 = icmp sgt i32 %59, %63 br i1 %64, label %65, label %73 65: ; preds = %58, %55 %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %10, align 4 %68 = load i32, ptr %7, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 %69 %71 = load i32, ptr %70, align 4 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %66, i32 noundef %67, i32 noundef %71) br label %81 73: ; preds = %58 %74 = load i32, ptr %9, align 4 %75 = load i32, ptr %10, align 4 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 %77 %79 = load i32, ptr %78, align 4 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %74, i32 noundef %75, i32 noundef %79) store i32 1, ptr %8, align 4 br label %81 81: ; preds = %73, %65 br label %82 82: ; preds = %81 %83 = load i32, ptr %7, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %7, align 4 br label %18, !llvm.loop !6 85: ; preds = %18 %86 = load i32, ptr %8, align 4 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %90 88: ; preds = %85 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 1, ptr %1, align 4 br label %92 90: ; preds = %85 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %1, align 4 br label %92 92: ; preds = %90, %88, %35, %29, %14 %93 = load i32, ptr %1, align 4 ret i32 %93 } ; 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 @clock_gettime(i32 noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 declare i64 @nanosleep(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz0yauue1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32 } @__const.main.sleepnsec = private unnamed_addr constant [13 x i32] [i32 1, i32 2, i32 10, i32 100, i32 1000, i32 10000, i32 1000000, i32 10000000, i32 100000000, i32 200000000, i32 500000000, i32 750000000, i32 999999900], align 16 @CLOCK_REALTIME = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Error in clock_gettime()\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"nanosleep() did not return success\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"PASS slept %ds %dns >= %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"FAIL slept %ds %dns < %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [26 x i8] c"At least one test FAILED\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"All tests PASSED\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 4 %3 = alloca %struct.timespec, align 4 %4 = alloca %struct.timespec, align 4 %5 = alloca %struct.timespec, align 4 %6 = alloca [13 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.sleepnsec, i64 52, i1 false) store i32 0, ptr %8, align 4 %11 = load i32, ptr @CLOCK_REALTIME, align 4 %12 = call i32 @clock_gettime(i32 noundef %11, ptr noundef %4) %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 @perror(ptr noundef @.str) store i32 2, ptr %1, align 4 br label %93 16: ; preds = %0 %17 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 store i32 0, ptr %17, align 4 store i32 0, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %18, 13 br i1 %19, label %.lr.ph, label %86 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %81 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 1 store i32 %24, ptr %25, align 4 %26 = call i64 @nanosleep(ptr noundef %2, ptr noundef %3) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %20 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 2, ptr %1, align 4 br label %93 30: ; preds = %20 %31 = load i32, ptr @CLOCK_REALTIME, align 4 %32 = call i32 @clock_gettime(i32 noundef %31, ptr noundef %5) %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = call i32 @perror(ptr noundef @.str) store i32 2, ptr %1, align 4 br label %93 36: ; preds = %30 %37 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %38 = load i32, ptr %37, align 4 %39 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0 %40 = load i32, ptr %39, align 4 %41 = sub nsw i32 %38, %40 store i32 %41, ptr %9, align 4 %42 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 %43 = load i32, ptr %42, align 4 %44 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1 %45 = load i32, ptr %44, align 4 %46 = sub nsw i32 %43, %45 store i32 %46, ptr %10, align 4 %47 = load i32, ptr %10, align 4 %48 = icmp slt i32 %47, 0 br i1 %48, label %49, label %54 49: ; preds = %36 %50 = load i32, ptr %10, align 4 %51 = add nsw i32 %50, 1000000000 store i32 %51, ptr %10, align 4 %52 = load i32, ptr %9, align 4 %53 = sub nsw i32 %52, 1 store i32 %53, ptr %9, align 4 br label %54 54: ; preds = %49, %36 %55 = load i32, ptr %9, align 4 %56 = icmp sge i32 %55, 1 br i1 %56, label %64, label %57 57: ; preds = %54 %58 = load i32, ptr %10, align 4 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 %60 %62 = load i32, ptr %61, align 4 %63 = icmp sgt i32 %58, %62 br i1 %63, label %64, label %72 64: ; preds = %57, %54 %65 = load i32, ptr %9, align 4 %66 = load i32, ptr %10, align 4 %67 = load i32, ptr %7, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %65, i32 noundef %66, i32 noundef %70) br label %80 72: ; preds = %57 %73 = load i32, ptr %9, align 4 %74 = load i32, ptr %10, align 4 %75 = load i32, ptr %7, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [13 x i32], ptr %6, i64 0, i64 %76 %78 = load i32, ptr %77, align 4 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %73, i32 noundef %74, i32 noundef %78) store i32 1, ptr %8, align 4 br label %80 80: ; preds = %72, %64 br label %81 81: ; preds = %80 %82 = load i32, ptr %7, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %7, align 4 %84 = load i32, ptr %7, align 4 %85 = icmp slt i32 %84, 13 br i1 %85, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %81 br label %86 86: ; preds = %._crit_edge, %16 %87 = load i32, ptr %8, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %91 89: ; preds = %86 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 1, ptr %1, align 4 br label %93 91: ; preds = %86 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %1, align 4 br label %93 93: ; preds = %91, %89, %34, %28, %14 %94 = load i32, ptr %1, align 4 ret i32 %94 } ; 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 @clock_gettime(i32 noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 declare i64 @nanosleep(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpexg8_civ.c' source_filename = "/tmp/tmpexg8_civ.c" target datalayout = "e-m:e-p270: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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %8, %0 %5 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %6 = call i32 @getline(ptr noundef %5, i32 noundef 1000) store i32 %6, ptr %2, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %4 %9 = load i32, ptr %2, align 4 %10 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %11 = call i32 @reverse(i32 noundef %9, ptr noundef %10) %12 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) br label %4, !llvm.loop !6 14: ; preds = %4 ret i32 0 } declare i32 @getline(ptr noundef, i32 noundef) #1 declare i32 @reverse(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpexg8_civ.c" target datalayout = "e-m:e-p270: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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %5 = call i32 @getline(ptr noundef %4, i32 noundef 1000) store i32 %5, ptr %2, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %7 %8 = load i32, ptr %2, align 4 %9 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @reverse(i32 noundef %8, ptr noundef %9) %11 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) %13 = call i32 @getline(ptr noundef %4, i32 noundef 1000) store i32 %13, ptr %2, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %15 15: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @getline(ptr noundef, i32 noundef) #1 declare i32 @reverse(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgd8s210r.c' source_filename = "/tmp/tmpgd8s210r.c" target datalayout = "e-m:e-p270: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 @getIntRandom(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 (...) @uniformGenerator() %7 = mul nsw i32 %5, %6 %8 = sitofp i32 %7 to double store double %8, ptr %3, align 8 %9 = load double, ptr %3, align 8 %10 = fptosi double %9 to i32 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 ret i32 %11 } declare i32 @uniformGenerator(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgd8s210r.c" target datalayout = "e-m:e-p270: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 @getIntRandom(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 (...) @uniformGenerator() %7 = mul nsw i32 %5, %6 %8 = sitofp i32 %7 to double store double %8, ptr %3, align 8 %9 = load double, ptr %3, align 8 %10 = fptosi double %9 to i32 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 ret i32 %11 } declare i32 @uniformGenerator(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_h8dtoe9.c' source_filename = "/tmp/tmp_h8dtoe9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_h8dtoe9.c" target datalayout = "e-m:e-p270: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/tmp9do9s0ar.c' source_filename = "/tmp/tmp9do9s0ar.c" target datalayout = "e-m:e-p270: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.get_temp_fd.fname = private unnamed_addr constant [128 x i8] c"/tmp/inXXXXXX\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"create temp file %s with fd %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_temp_fd() #0 { %1 = alloca [128 x i8], align 16 %2 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.get_temp_fd.fname, i64 128, i1 false) %3 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @mkstemp(ptr noundef %3) store i32 %4, ptr %2, align 4 %5 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0 %6 = call i32 @unlink(ptr noundef %5) %7 = load i32, ptr @stderr, align 4 %8 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0 %9 = load i32, ptr %2, align 4 %10 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %9) %11 = load i32, ptr %2, align 4 ret i32 %11 } ; 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 @mkstemp(ptr noundef) #2 declare i32 @unlink(ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9do9s0ar.c" target datalayout = "e-m:e-p270: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.get_temp_fd.fname = private unnamed_addr constant [128 x i8] c"/tmp/inXXXXXX\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"create temp file %s with fd %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_temp_fd() #0 { %1 = alloca [128 x i8], align 16 %2 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.get_temp_fd.fname, i64 128, i1 false) %3 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @mkstemp(ptr noundef %3) store i32 %4, ptr %2, align 4 %5 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0 %6 = call i32 @unlink(ptr noundef %5) %7 = load i32, ptr @stderr, align 4 %8 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0 %9 = load i32, ptr %2, align 4 %10 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %9) %11 = load i32, ptr %2, align 4 ret i32 %11 } ; 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 @mkstemp(ptr noundef) #2 declare i32 @unlink(ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkbtyys32.c' source_filename = "/tmp/tmpkbtyys32.c" target datalayout = "e-m:e-p270: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 [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gethostname(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strcpy(ptr noundef %5, ptr noundef @.str) ret i32 0 } 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/tmpkbtyys32.c" target datalayout = "e-m:e-p270: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 [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gethostname(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strcpy(ptr noundef %5, ptr noundef @.str) ret i32 0 } 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/tmple3zhiam.c' source_filename = "/tmp/tmple3zhiam.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @A_BOLD = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"* PREDICT Transponder Database Editing Utility *\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Coming Soon!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @db_edit() #0 { %1 = call i32 (...) @clear() %2 = call i32 @COLOR_PAIR(i32 noundef 3) %3 = load i32, ptr @A_BOLD, align 4 %4 = or i32 %2, %3 %5 = call i32 @attrset(i32 noundef %4) %6 = call i32 @mvprintw(i32 noundef 2, i32 noundef 15, ptr noundef @.str) %7 = call i32 @COLOR_PAIR(i32 noundef 2) %8 = load i32, ptr @A_BOLD, align 4 %9 = or i32 %7, %8 %10 = call i32 @attrset(i32 noundef %9) %11 = call i32 @mvprintw(i32 noundef 13, i32 noundef 33, ptr noundef @.str.1) %12 = call i32 @COLOR_PAIR(i32 noundef 4) %13 = load i32, ptr @A_BOLD, align 4 %14 = or i32 %12, %13 %15 = call i32 @attrset(i32 noundef %14) %16 = call i32 (...) @refresh() %17 = call i32 (...) @AnyKey() ret void } declare i32 @clear(...) #1 declare i32 @attrset(i32 noundef) #1 declare i32 @COLOR_PAIR(i32 noundef) #1 declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @refresh(...) #1 declare i32 @AnyKey(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmple3zhiam.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @A_BOLD = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"* PREDICT Transponder Database Editing Utility *\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Coming Soon!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @db_edit() #0 { %1 = call i32 (...) @clear() %2 = call i32 @COLOR_PAIR(i32 noundef 3) %3 = load i32, ptr @A_BOLD, align 4 %4 = or i32 %2, %3 %5 = call i32 @attrset(i32 noundef %4) %6 = call i32 @mvprintw(i32 noundef 2, i32 noundef 15, ptr noundef @.str) %7 = call i32 @COLOR_PAIR(i32 noundef 2) %8 = load i32, ptr @A_BOLD, align 4 %9 = or i32 %7, %8 %10 = call i32 @attrset(i32 noundef %9) %11 = call i32 @mvprintw(i32 noundef 13, i32 noundef 33, ptr noundef @.str.1) %12 = call i32 @COLOR_PAIR(i32 noundef 4) %13 = load i32, ptr @A_BOLD, align 4 %14 = or i32 %12, %13 %15 = call i32 @attrset(i32 noundef %14) %16 = call i32 (...) @refresh() %17 = call i32 (...) @AnyKey() ret void } declare i32 @clear(...) #1 declare i32 @attrset(i32 noundef) #1 declare i32 @COLOR_PAIR(i32 noundef) #1 declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @refresh(...) #1 declare i32 @AnyKey(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp91hq1nrn.c' source_filename = "/tmp/tmp91hq1nrn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_IP = dso_local global i32 0, align 4 @IP_MULTICAST_TTL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [50 x i8] c"could not set IP_MULTICAST_TTL socket option (%s)\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @udpsocket_setttl(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 %4, align 4 %7 = load i32, ptr @IPPROTO_IP, align 4 %8 = load i32, ptr @IP_MULTICAST_TTL, align 4 %9 = call i64 @setsockopt(i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %5, i32 noundef 4) %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @errno, align 4 %13 = call i32 @strerror(i32 noundef %12) %14 = call i32 @log_error(ptr noundef @.str, i32 noundef %13) store i32 -1, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %11 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @log_error(ptr noundef, i32 noundef) #1 declare i32 @strerror(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/tmp91hq1nrn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_IP = dso_local global i32 0, align 4 @IP_MULTICAST_TTL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [50 x i8] c"could not set IP_MULTICAST_TTL socket option (%s)\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @udpsocket_setttl(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 %4, align 4 %7 = load i32, ptr @IPPROTO_IP, align 4 %8 = load i32, ptr @IP_MULTICAST_TTL, align 4 %9 = call i64 @setsockopt(i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr noundef %5, i32 noundef 4) %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @errno, align 4 %13 = call i32 @strerror(i32 noundef %12) %14 = call i32 @log_error(ptr noundef @.str, i32 noundef %13) store i32 -1, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %11 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @log_error(ptr noundef, i32 noundef) #1 declare i32 @strerror(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/tmpojczm29w.c' source_filename = "/tmp/tmpojczm29w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %0, %2 %3 = call i64 (...) @getchar() %4 = load i64, ptr @EOF, align 8 %5 = icmp ne i64 %3, %4 %6 = zext i1 %5 to i32 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) br label %2 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpojczm29w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %2, %0 %3 = call i64 (...) @getchar() %4 = load i64, ptr @EOF, align 8 %5 = icmp ne i64 %3, %4 %6 = zext i1 %5 to i32 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) br label %2 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi0vllu9k.c' source_filename = "/tmp/tmpi0vllu9k.c" target datalayout = "e-m:e-p270: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 @endNCWindow() #0 { %1 = call i32 (...) @clrtoeol() %2 = call i32 (...) @refresh() %3 = call i32 (...) @endwin() ret void } declare i32 @clrtoeol(...) #1 declare i32 @refresh(...) #1 declare i32 @endwin(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi0vllu9k.c" target datalayout = "e-m:e-p270: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 @endNCWindow() #0 { %1 = call i32 (...) @clrtoeol() %2 = call i32 (...) @refresh() %3 = call i32 (...) @endwin() ret void } declare i32 @clrtoeol(...) #1 declare i32 @refresh(...) #1 declare i32 @endwin(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpinh7zz1p.c' source_filename = "/tmp/tmpinh7zz1p.c" target datalayout = "e-m:e-p270: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 @FanChannelConfigAuto(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp eq i64 %7, 1074282496 %9 = zext i1 %8 to i32 %10 = call i32 @DEBUG_ASSERT(i32 noundef %9) %11 = load i64, ptr %5, align 8 %12 = icmp ult i64 %11, 6 %13 = zext i1 %12 to i32 %14 = call i32 @DEBUG_ASSERT(i32 noundef %13) %15 = load i64, ptr %6, align 8 %16 = and i64 -2, %15 %17 = load i64, ptr %4, align 8 %18 = add i64 %17, 16 %19 = load i64, ptr %5, align 8 %20 = mul i64 %19, 16 %21 = add i64 %18, %20 %22 = inttoptr i64 %21 to ptr store volatile i64 %16, ptr %22, align 8 ret void } declare i32 @DEBUG_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/tmpinh7zz1p.c" target datalayout = "e-m:e-p270: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 @FanChannelConfigAuto(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp eq i64 %7, 1074282496 %9 = zext i1 %8 to i32 %10 = call i32 @DEBUG_ASSERT(i32 noundef %9) %11 = load i64, ptr %5, align 8 %12 = icmp ult i64 %11, 6 %13 = zext i1 %12 to i32 %14 = call i32 @DEBUG_ASSERT(i32 noundef %13) %15 = load i64, ptr %6, align 8 %16 = and i64 -2, %15 %17 = load i64, ptr %4, align 8 %18 = add i64 %17, 16 %19 = load i64, ptr %5, align 8 %20 = mul i64 %19, 16 %21 = add i64 %18, %20 %22 = inttoptr i64 %21 to ptr store volatile i64 %16, ptr %22, align 8 ret void } declare i32 @DEBUG_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/tmpvby9vhb5.c' source_filename = "/tmp/tmpvby9vhb5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @gencoords.ret = internal global [2 x i32] zeroinitializer, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @gencoords() #0 { %1 = call i32 @genrand(i32 noundef 256) store i32 %1, ptr @gencoords.ret, align 4 %2 = call i32 @genrand(i32 noundef 450) store i32 %2, ptr getelementptr inbounds ([2 x i32], ptr @gencoords.ret, i64 0, i64 1), align 4 ret ptr @gencoords.ret } declare i32 @genrand(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/tmpvby9vhb5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @gencoords.ret = internal global [2 x i32] zeroinitializer, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @gencoords() #0 { %1 = call i32 @genrand(i32 noundef 256) store i32 %1, ptr @gencoords.ret, align 4 %2 = call i32 @genrand(i32 noundef 450) store i32 %2, ptr getelementptr inbounds ([2 x i32], ptr @gencoords.ret, i64 0, i64 1), align 4 ret ptr @gencoords.ret } declare i32 @genrand(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/tmpa6ztt_mn.c' source_filename = "/tmp/tmpa6ztt_mn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @POLLERR = dso_local global i32 0, align 4 @POLLIN = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVTIMEO = 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/tmpa6ztt_mn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @POLLERR = dso_local global i32 0, align 4 @POLLIN = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVTIMEO = 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/tmpf01kcf3j.c' source_filename = "/tmp/tmpf01kcf3j.c" target datalayout = "e-m:e-p270: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 @mps_telemetry_flush() #0 { %1 = call i32 (...) @EventSync() ret void } declare i32 @EventSync(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf01kcf3j.c" target datalayout = "e-m:e-p270: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 @mps_telemetry_flush() #0 { %1 = call i32 (...) @EventSync() ret void } declare i32 @EventSync(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoddmexff.c' source_filename = "/tmp/tmpoddmexff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"</table></body></html>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @om_html_print_footer(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 @fprintf(ptr noundef %3, ptr noundef @.str) ret void } declare i32 @fprintf(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/tmpoddmexff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"</table></body></html>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @om_html_print_footer(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 @fprintf(ptr noundef %3, ptr noundef @.str) ret void } declare i32 @fprintf(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/tmpi3ojc409.c' source_filename = "/tmp/tmpi3ojc409.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Make a Note About your listing...: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @make_note() #0 { %1 = alloca [40 x i8], align 16 %2 = call i32 @printf(ptr noundef @.str) %3 = getelementptr inbounds [40 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @gets(ptr noundef %3) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @gets(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/tmpi3ojc409.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Make a Note About your listing...: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @make_note() #0 { %1 = alloca [40 x i8], align 16 %2 = call i32 @printf(ptr noundef @.str) %3 = getelementptr inbounds [40 x i8], ptr %1, i64 0, i64 0 %4 = call i32 @gets(ptr noundef %3) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @gets(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/tmp42gfrs2x.c' source_filename = "/tmp/tmp42gfrs2x.c" target datalayout = "e-m:e-p270: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 [40 x i8] c"Include start address on command line.\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"Include file to convert on command line.\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%04X:\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c" %02X\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"\0A:\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 3 br i1 %17, label %18, label %22 18: ; preds = %15 %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %15 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str.2, ptr noundef %7) %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 2 %29 = load ptr, ptr %28, align 8 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.3) store ptr %30, ptr %6, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %54 32: ; preds = %22 %33 = load i32, ptr %7, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33) br label %35 35: ; preds = %49, %32 %36 = load ptr, ptr %6, align 8 %37 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, ptr noundef %36) %38 = icmp eq i32 %37, 1 br i1 %38, label %39, label %50 39: ; preds = %35 %40 = load i8, ptr %8, align 1 %41 = zext i8 %40 to i32 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %41) %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 %45 = and i32 %44, 7 %46 = icmp ne i32 %45, 0 br i1 %46, label %49, label %47 47: ; preds = %39 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %49 49: ; preds = %47, %39 br label %35, !llvm.loop !6 50: ; preds = %35 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %52 = load ptr, ptr %6, align 8 %53 = call i32 @fclose(ptr noundef %52) br label %54 54: ; preds = %50, %22 ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp42gfrs2x.c" target datalayout = "e-m:e-p270: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 [40 x i8] c"Include start address on command line.\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"Include file to convert on command line.\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"%04X:\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c" %02X\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"\0A:\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = 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 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 3 br i1 %17, label %18, label %22 18: ; preds = %15 %19 = load i32, ptr @stderr, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %15 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @sscanf(ptr noundef %25, ptr noundef @.str.2, ptr noundef %7) %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 2 %29 = load ptr, ptr %28, align 8 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.3) store ptr %30, ptr %6, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %56 32: ; preds = %22 %33 = load i32, ptr %7, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33) %35 = load ptr, ptr %6, align 8 %36 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, ptr noundef %35) %37 = icmp eq i32 %36, 1 br i1 %37, label %.lr.ph, label %52 .lr.ph: ; preds = %32 br label %38 38: ; preds = %.lr.ph, %48 %39 = load i8, ptr %8, align 1 %40 = zext i8 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %40) %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 %44 = and i32 %43, 7 %45 = icmp ne i32 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %48 48: ; preds = %46, %38 %49 = load ptr, ptr %6, align 8 %50 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 1, ptr noundef %49) %51 = icmp eq i32 %50, 1 br i1 %51, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %52 52: ; preds = %._crit_edge, %32 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %54 = load ptr, ptr %6, align 8 %55 = call i32 @fclose(ptr noundef %54) br label %56 56: ; preds = %52, %22 ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpkt9skwd2.c' source_filename = "/tmp/tmpkt9skwd2.c" target datalayout = "e-m:e-p270: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/tmpkt9skwd2.c" target datalayout = "e-m:e-p270: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/tmpnfbitta9.c' source_filename = "/tmp/tmpnfbitta9.c" target datalayout = "e-m:e-p270: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/tmpnfbitta9.c" target datalayout = "e-m:e-p270: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/tmpwia0641y.c' source_filename = "/tmp/tmpwia0641y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @utilExecutablePath.path = internal global ptr null, align 8 @.str = private unnamed_addr constant [15 x i8] c"/proc/self/exe\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"/proc/curproc/file\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @utilExecutablePath() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 16, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load ptr, ptr @utilExecutablePath.path, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %40, label %5 5: ; preds = %0 br label %6 6: ; preds = %24, %5 %7 = load ptr, ptr @utilExecutablePath.path, align 8 %8 = load i32, ptr %1, align 4 %9 = mul nsw i32 %8, 2 store i32 %9, ptr %1, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 1, %10 %12 = trunc i64 %11 to i32 %13 = call ptr @safeRealloc(ptr noundef %7, i32 noundef %12) store ptr %13, ptr @utilExecutablePath.path, align 8 %14 = load ptr, ptr @utilExecutablePath.path, align 8 %15 = load i32, ptr %1, align 4 %16 = call i32 @readlink(ptr noundef @.str, ptr noundef %14, i32 noundef %15) store i32 %16, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %6 %20 = load ptr, ptr @utilExecutablePath.path, align 8 %21 = load i32, ptr %1, align 4 %22 = call i32 @readlink(ptr noundef @.str.1, ptr noundef %20, i32 noundef %21) store i32 %22, ptr %2, align 4 br label %23 23: ; preds = %19, %6 br label %24 24: ; preds = %23 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %1, align 4 %27 = icmp sge i32 %25, %26 br i1 %27, label %6, label %28, !llvm.loop !6 28: ; preds = %24 %29 = load i32, ptr %2, align 4 %30 = icmp sgt i32 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load ptr, ptr @utilExecutablePath.path, align 8 %33 = load i32, ptr %2, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 0, ptr %35, align 1 br label %39 36: ; preds = %28 %37 = load ptr, ptr @utilExecutablePath.path, align 8 %38 = call i32 @free(ptr noundef %37) store ptr null, ptr @utilExecutablePath.path, align 8 br label %39 39: ; preds = %36, %31 br label %40 40: ; preds = %39, %0 %41 = load ptr, ptr @utilExecutablePath.path, align 8 ret ptr %41 } declare ptr @safeRealloc(ptr noundef, i32 noundef) #1 declare i32 @readlink(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwia0641y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @utilExecutablePath.path = internal global ptr null, align 8 @.str = private unnamed_addr constant [15 x i8] c"/proc/self/exe\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"/proc/curproc/file\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @utilExecutablePath() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 16, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load ptr, ptr @utilExecutablePath.path, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %40, label %5 5: ; preds = %0 br label %6 6: ; preds = %24, %5 %7 = load ptr, ptr @utilExecutablePath.path, align 8 %8 = load i32, ptr %1, align 4 %9 = mul nsw i32 %8, 2 store i32 %9, ptr %1, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 1, %10 %12 = trunc i64 %11 to i32 %13 = call ptr @safeRealloc(ptr noundef %7, i32 noundef %12) store ptr %13, ptr @utilExecutablePath.path, align 8 %14 = load ptr, ptr @utilExecutablePath.path, align 8 %15 = load i32, ptr %1, align 4 %16 = call i32 @readlink(ptr noundef @.str, ptr noundef %14, i32 noundef %15) store i32 %16, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %6 %20 = load ptr, ptr @utilExecutablePath.path, align 8 %21 = load i32, ptr %1, align 4 %22 = call i32 @readlink(ptr noundef @.str.1, ptr noundef %20, i32 noundef %21) store i32 %22, ptr %2, align 4 br label %23 23: ; preds = %19, %6 br label %24 24: ; preds = %23 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %1, align 4 %27 = icmp sge i32 %25, %26 br i1 %27, label %6, label %28, !llvm.loop !6 28: ; preds = %24 %29 = load i32, ptr %2, align 4 %30 = icmp sgt i32 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load ptr, ptr @utilExecutablePath.path, align 8 %33 = load i32, ptr %2, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 0, ptr %35, align 1 br label %39 36: ; preds = %28 %37 = load ptr, ptr @utilExecutablePath.path, align 8 %38 = call i32 @free(ptr noundef %37) store ptr null, ptr @utilExecutablePath.path, align 8 br label %39 39: ; preds = %36, %31 br label %40 40: ; preds = %39, %0 %41 = load ptr, ptr @utilExecutablePath.path, align 8 ret ptr %41 } declare ptr @safeRealloc(ptr noundef, i32 noundef) #1 declare i32 @readlink(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjqw1mlzp.c' source_filename = "/tmp/tmpjqw1mlzp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjqw1mlzp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdzga73be.c' source_filename = "/tmp/tmpdzga73be.c" target datalayout = "e-m:e-p270: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"setswitchon\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @switch_on(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call signext i8 @req_swa_char(ptr noundef @.str, ptr noundef %7, ptr noundef %8, ptr noundef %9) ret i8 %10 } declare signext i8 @req_swa_char(ptr 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/tmpdzga73be.c" target datalayout = "e-m:e-p270: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"setswitchon\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @switch_on(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call signext i8 @req_swa_char(ptr noundef @.str, ptr noundef %7, ptr noundef %8, ptr noundef %9) ret i8 %10 } declare signext i8 @req_swa_char(ptr 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 = '/tmp/tmp8nc0n_86.c' source_filename = "/tmp/tmp8nc0n_86.c" target datalayout = "e-m:e-p270: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 [3 x i8] c"%s\00", align 1 @.str.2 = 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 [10000 x i8], align 16 %3 = alloca [26 x i32], align 16 %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 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4) br label %10 10: ; preds = %104, %0 %11 = load i32, ptr %4, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %4, align 4 %13 = icmp sgt i32 %11, 0 br i1 %13, label %14, label %105 14: ; preds = %10 %15 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %15) store i32 0, ptr %5, align 4 br label %17 17: ; preds = %24, %14 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %18, 26 br i1 %19, label %20, label %27 20: ; preds = %17 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %22 store i32 0, ptr %23, align 4 br label %24 24: ; preds = %20 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %17, !llvm.loop !6 27: ; preds = %17 store i32 0, ptr %6, align 4 %28 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %29 = call i32 @strlen(ptr noundef %28) %30 = srem i32 %29, 2 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %102 32: ; preds = %27 %33 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %34 = call i32 @strlen(ptr noundef %33) %35 = sdiv i32 %34, 2 store i32 %35, ptr %5, align 4 br label %36 36: ; preds = %53, %32 %37 = load i32, ptr %5, align 4 %38 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %39 = call i32 @strlen(ptr noundef %38) %40 = icmp slt i32 %37, %39 br i1 %40, label %41, label %56 41: ; preds = %36 %42 = load i32, ptr %5, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = sub nsw i32 %46, 97 store i32 %47, ptr %7, align 4 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %49 %51 = load i32, ptr %50, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %50, align 4 br label %53 53: ; preds = %41 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %5, align 4 br label %36, !llvm.loop !8 56: ; preds = %36 store i32 0, ptr %5, align 4 br label %57 57: ; preds = %75, %56 %58 = load i32, ptr %5, align 4 %59 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %60 = call i32 @strlen(ptr noundef %59) %61 = sdiv i32 %60, 2 %62 = icmp slt i32 %58, %61 br i1 %62, label %63, label %78 63: ; preds = %57 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = sub nsw i32 %68, 97 store i32 %69, ptr %8, align 4 %70 = load i32, ptr %8, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %71 %73 = load i32, ptr %72, align 4 %74 = add nsw i32 %73, -1 store i32 %74, ptr %72, align 4 br label %75 75: ; preds = %63 %76 = load i32, ptr %5, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %5, align 4 br label %57, !llvm.loop !9 78: ; preds = %57 store i32 0, ptr %5, align 4 br label %79 79: ; preds = %96, %78 %80 = load i32, ptr %5, align 4 %81 = icmp slt i32 %80, 26 br i1 %81, label %82, label %99 82: ; preds = %79 %83 = load i32, ptr %5, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %84 %86 = load i32, ptr %85, align 4 %87 = icmp sgt i32 %86, 0 br i1 %87, label %88, label %95 88: ; preds = %82 %89 = load i32, ptr %6, align 4 %90 = load i32, ptr %5, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %91 %93 = load i32, ptr %92, align 4 %94 = add nsw i32 %89, %93 store i32 %94, ptr %6, align 4 br label %95 95: ; preds = %88, %82 br label %96 96: ; preds = %95 %97 = load i32, ptr %5, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %5, align 4 br label %79, !llvm.loop !10 99: ; preds = %79 %100 = load i32, ptr %6, align 4 %101 = call i32 @printf(ptr noundef @.str.2, i32 noundef %100) br label %104 102: ; preds = %27 %103 = call i32 @printf(ptr noundef @.str, i32 noundef -1) br label %104 104: ; preds = %102, %99 br label %10, !llvm.loop !11 105: ; preds = %10 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @strlen(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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8nc0n_86.c" target datalayout = "e-m:e-p270: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 [3 x i8] c"%s\00", align 1 @.str.2 = 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 [10000 x i8], align 16 %3 = alloca [26 x i32], align 16 %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 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4) %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %4, align 4 %12 = icmp sgt i32 %10, 0 br i1 %12, label %.lr.ph11, label %114 .lr.ph11: ; preds = %0 br label %13 13: ; preds = %.lr.ph11, %110 %14 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %14) store i32 0, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %16, 26 br i1 %17, label %.lr.ph, label %27 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %22 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %20 store i32 0, ptr %21, align 4 br label %22 22: ; preds = %18 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 26 br i1 %26, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %13 store i32 0, ptr %6, align 4 %28 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %29 = call i32 @strlen(ptr noundef %28) %30 = srem i32 %29, 2 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %108 32: ; preds = %27 %33 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %34 = call i32 @strlen(ptr noundef %33) %35 = sdiv i32 %34, 2 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %38 = call i32 @strlen(ptr noundef %37) %39 = icmp slt i32 %36, %38 br i1 %39, label %.lr.ph2, label %58 .lr.ph2: ; preds = %32 br label %40 40: ; preds = %.lr.ph2, %52 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = sub nsw i32 %45, 97 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %49, align 4 br label %52 52: ; preds = %40 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %5, align 4 %55 = load i32, ptr %5, align 4 %56 = call i32 @strlen(ptr noundef %37) %57 = icmp slt i32 %55, %56 br i1 %57, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %58 58: ; preds = %._crit_edge3, %32 store i32 0, ptr %5, align 4 %59 = load i32, ptr %5, align 4 %60 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 0 %61 = call i32 @strlen(ptr noundef %60) %62 = sdiv i32 %61, 2 %63 = icmp slt i32 %59, %62 br i1 %63, label %.lr.ph5, label %83 .lr.ph5: ; preds = %58 br label %64 64: ; preds = %.lr.ph5, %76 %65 = load i32, ptr %5, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [10000 x i8], ptr %2, i64 0, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = sub nsw i32 %69, 97 store i32 %70, ptr %8, align 4 %71 = load i32, ptr %8, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = add nsw i32 %74, -1 store i32 %75, ptr %73, align 4 br label %76 76: ; preds = %64 %77 = load i32, ptr %5, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %5, align 4 %79 = load i32, ptr %5, align 4 %80 = call i32 @strlen(ptr noundef %60) %81 = sdiv i32 %80, 2 %82 = icmp slt i32 %79, %81 br i1 %82, label %64, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %76 br label %83 83: ; preds = %._crit_edge6, %58 store i32 0, ptr %5, align 4 %84 = load i32, ptr %5, align 4 %85 = icmp slt i32 %84, 26 br i1 %85, label %.lr.ph8, label %105 .lr.ph8: ; preds = %83 br label %86 86: ; preds = %.lr.ph8, %100 %87 = load i32, ptr %5, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = icmp sgt i32 %90, 0 br i1 %91, label %92, label %99 92: ; preds = %86 %93 = load i32, ptr %6, align 4 %94 = load i32, ptr %5, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %95 %97 = load i32, ptr %96, align 4 %98 = add nsw i32 %93, %97 store i32 %98, ptr %6, align 4 br label %99 99: ; preds = %92, %86 br label %100 100: ; preds = %99 %101 = load i32, ptr %5, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %5, align 4 %103 = load i32, ptr %5, align 4 %104 = icmp slt i32 %103, 26 br i1 %104, label %86, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %100 br label %105 105: ; preds = %._crit_edge9, %83 %106 = load i32, ptr %6, align 4 %107 = call i32 @printf(ptr noundef @.str.2, i32 noundef %106) br label %110 108: ; preds = %27 %109 = call i32 @printf(ptr noundef @.str, i32 noundef -1) br label %110 110: ; preds = %108, %105 %111 = load i32, ptr %4, align 4 %112 = add nsw i32 %111, -1 store i32 %112, ptr %4, align 4 %113 = icmp sgt i32 %111, 0 br i1 %113, label %13, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %110 br label %114 114: ; preds = %._crit_edge12, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @strlen(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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmps1albs1c.c' source_filename = "/tmp/tmps1albs1c.c" target datalayout = "e-m:e-p270: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 @reception(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [256 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %9 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef 255) store i32 %9, ptr %5, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %23 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %14 = load i32, ptr %5, align 4 %15 = call i32 @write(i32 noundef %12, ptr noundef %13, i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 1 br i1 %17, label %18, label %22 18: ; preds = %11 %19 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %20 = load i32, ptr %5, align 4 %21 = call i32 @write(i32 noundef 1, ptr noundef %19, i32 noundef %20) br label %22 22: ; preds = %18, %11 br label %23 23: ; preds = %22, %2 %24 = load i32, ptr %5, align 4 ret i32 %24 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 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/tmps1albs1c.c" target datalayout = "e-m:e-p270: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 @reception(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [256 x i8], align 16 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %9 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef 255) store i32 %9, ptr %5, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %23 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %14 = load i32, ptr %5, align 4 %15 = call i32 @write(i32 noundef %12, ptr noundef %13, i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 1 br i1 %17, label %18, label %22 18: ; preds = %11 %19 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %20 = load i32, ptr %5, align 4 %21 = call i32 @write(i32 noundef 1, ptr noundef %19, i32 noundef %20) br label %22 22: ; preds = %18, %11 br label %23 23: ; preds = %22, %2 %24 = load i32, ptr %5, align 4 ret i32 %24 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 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/tmpj3wh_2ln.c' source_filename = "/tmp/tmpj3wh_2ln.c" target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, i64 } @__const.main.buffer = private unnamed_addr constant [256 x i8] c"This is a string from client!\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"Usage: %s <server adddress> <server port>\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"\0AIPv4 UDP Client Started...\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"ERROR, no such host\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"\0AString sent to server...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [256 x i8], align 16 %10 = alloca %struct.sockaddr_in, align 4 %11 = alloca i32, align 4 %12 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.buffer, i64 256, i1 false) store i32 12, ptr %11, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 3 br i1 %14, label %15, label %22 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %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 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) %21 = call i32 @exit(i32 noundef 0) #4 unreachable 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %7, align 4 %27 = call i32 @printf(ptr noundef @.str.1) %28 = load i32, ptr @AF_INET, align 4 %29 = load i32, ptr @SOCK_DGRAM, align 4 %30 = load i32, ptr @IPPROTO_UDP, align 4 %31 = call i32 @socket(i32 noundef %28, i32 noundef %29, i32 noundef %30) store i32 %31, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %22 %35 = call i32 @error(ptr noundef @.str.2) br label %36 36: ; preds = %34, %22 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call ptr @gethostbyname(ptr noundef %39) store ptr %40, ptr %8, align 8 %41 = load ptr, ptr %8, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %47 43: ; preds = %36 %44 = load i32, ptr @stderr, align 4 %45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.3) %46 = call i32 @exit(i32 noundef 0) #4 unreachable 47: ; preds = %36 %48 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 12) %49 = load i32, ptr @AF_INET, align 4 %50 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2 store i32 %49, ptr %50, align 4 %51 = load i32, ptr %7, align 4 %52 = call i32 @htons(i32 noundef %51) %53 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1 store i32 %52, ptr %53, align 4 %54 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0 %55 = getelementptr inbounds %struct.TYPE_2__, ptr %54, i32 0, i32 0 %56 = load ptr, ptr %8, align 8 %57 = getelementptr inbounds %struct.hostent, ptr %56, i32 0, i32 1 %58 = load i64, ptr %57, align 8 %59 = inttoptr i64 %58 to ptr %60 = load ptr, ptr %8, align 8 %61 = getelementptr inbounds %struct.hostent, ptr %60, i32 0, i32 0 %62 = load i32, ptr %61, align 8 %63 = call i32 @memmove(ptr noundef %55, ptr noundef %59, i32 noundef %62) %64 = load i32, ptr %6, align 4 %65 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %66 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %67 = call i64 @strlen(ptr noundef %66) %68 = add nsw i64 %67, 1 %69 = load i32, ptr %11, align 4 %70 = call i32 @sendto(i32 noundef %64, ptr noundef %65, i64 noundef %68, i32 noundef 0, ptr noundef %10, i32 noundef %69) store i32 %70, ptr %12, align 4 %71 = load i32, ptr %12, align 4 %72 = icmp slt i32 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %47 %74 = call i32 @error(ptr noundef @.str.4) br label %75 75: ; preds = %73, %47 %76 = call i32 @printf(ptr noundef @.str.5) %77 = load i32, ptr %6, align 4 %78 = call i32 @close(i32 noundef %77) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @atoi(ptr noundef) #2 declare i32 @printf(ptr noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @error(ptr noundef) #2 declare ptr @gethostbyname(ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @strlen(ptr 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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj3wh_2ln.c" target datalayout = "e-m:e-p270: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 { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, i64 } @__const.main.buffer = private unnamed_addr constant [256 x i8] c"This is a string from client!\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"Usage: %s <server adddress> <server port>\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"\0AIPv4 UDP Client Started...\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"ERROR, no such host\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"\0AString sent to server...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [256 x i8], align 16 %10 = alloca %struct.sockaddr_in, align 4 %11 = alloca i32, align 4 %12 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.buffer, i64 256, i1 false) store i32 12, ptr %11, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 3 br i1 %14, label %15, label %22 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %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 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) %21 = call i32 @exit(i32 noundef 0) #4 unreachable 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %7, align 4 %27 = call i32 @printf(ptr noundef @.str.1) %28 = load i32, ptr @AF_INET, align 4 %29 = load i32, ptr @SOCK_DGRAM, align 4 %30 = load i32, ptr @IPPROTO_UDP, align 4 %31 = call i32 @socket(i32 noundef %28, i32 noundef %29, i32 noundef %30) store i32 %31, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %22 %35 = call i32 @error(ptr noundef @.str.2) br label %36 36: ; preds = %34, %22 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 %40 = call ptr @gethostbyname(ptr noundef %39) store ptr %40, ptr %8, align 8 %41 = load ptr, ptr %8, align 8 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %47 43: ; preds = %36 %44 = load i32, ptr @stderr, align 4 %45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.3) %46 = call i32 @exit(i32 noundef 0) #4 unreachable 47: ; preds = %36 %48 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 12) %49 = load i32, ptr @AF_INET, align 4 %50 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2 store i32 %49, ptr %50, align 4 %51 = load i32, ptr %7, align 4 %52 = call i32 @htons(i32 noundef %51) %53 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1 store i32 %52, ptr %53, align 4 %54 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0 %55 = getelementptr inbounds %struct.TYPE_2__, ptr %54, i32 0, i32 0 %56 = load ptr, ptr %8, align 8 %57 = getelementptr inbounds %struct.hostent, ptr %56, i32 0, i32 1 %58 = load i64, ptr %57, align 8 %59 = inttoptr i64 %58 to ptr %60 = load ptr, ptr %8, align 8 %61 = getelementptr inbounds %struct.hostent, ptr %60, i32 0, i32 0 %62 = load i32, ptr %61, align 8 %63 = call i32 @memmove(ptr noundef %55, ptr noundef %59, i32 noundef %62) %64 = load i32, ptr %6, align 4 %65 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %66 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %67 = call i64 @strlen(ptr noundef %66) %68 = add nsw i64 %67, 1 %69 = load i32, ptr %11, align 4 %70 = call i32 @sendto(i32 noundef %64, ptr noundef %65, i64 noundef %68, i32 noundef 0, ptr noundef %10, i32 noundef %69) store i32 %70, ptr %12, align 4 %71 = load i32, ptr %12, align 4 %72 = icmp slt i32 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %47 %74 = call i32 @error(ptr noundef @.str.4) br label %75 75: ; preds = %73, %47 %76 = call i32 @printf(ptr noundef @.str.5) %77 = load i32, ptr %6, align 4 %78 = call i32 @close(i32 noundef %77) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @atoi(ptr noundef) #2 declare i32 @printf(ptr noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @error(ptr noundef) #2 declare ptr @gethostbyname(ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @htons(i32 noundef) #2 declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @strlen(ptr 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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv5yfxo7n.c' source_filename = "/tmp/tmpv5yfxo7n.c" target datalayout = "e-m:e-p270: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/tmpv5yfxo7n.c" target datalayout = "e-m:e-p270: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/tmpa1pf0zul.c' source_filename = "/tmp/tmpa1pf0zul.c" target datalayout = "e-m:e-p270: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/tmpa1pf0zul.c" target datalayout = "e-m:e-p270: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/tmpb_p1siv3.c' source_filename = "/tmp/tmpb_p1siv3.c" target datalayout = "e-m:e-p270: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 @serial_test() #0 { %1 = alloca i32, align 4 %2 = call i32 @nvic_enable(i32 noundef 39) %3 = call i32 @uart_rx_enable(ptr noundef inttoptr (i64 1073760256 to ptr)) br label %4 4: ; preds = %4, %0 br label %4 } declare i32 @nvic_enable(i32 noundef) #1 declare i32 @uart_rx_enable(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/tmpb_p1siv3.c" target datalayout = "e-m:e-p270: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 @serial_test() #0 { %1 = alloca i32, align 4 %2 = call i32 @nvic_enable(i32 noundef 39) %3 = call i32 @uart_rx_enable(ptr noundef inttoptr (i64 1073760256 to ptr)) br label %4 4: ; preds = %4, %0 br label %4 } declare i32 @nvic_enable(i32 noundef) #1 declare i32 @uart_rx_enable(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/tmpu6qai2ot.c' source_filename = "/tmp/tmpu6qai2ot.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"sock_send_string: socket write error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sock_send_string(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %2 store i32 -1, ptr %3, align 4 br label %25 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = add nsw i64 %14, 1 %16 = call i32 @write(i32 noundef %11, ptr noundef %12, i64 noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %10 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str) %22 = load i32, ptr %6, align 4 store i32 %22, ptr %3, align 4 br label %25 23: ; preds = %10 %24 = load i32, ptr %6, align 4 store i32 %24, ptr %3, align 4 br label %25 25: ; preds = %23, %19, %9 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr 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/tmpu6qai2ot.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"sock_send_string: socket write error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sock_send_string(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %2 store i32 -1, ptr %3, align 4 br label %25 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = add nsw i64 %14, 1 %16 = call i32 @write(i32 noundef %11, ptr noundef %12, i64 noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %10 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str) %22 = load i32, ptr %6, align 4 store i32 %22, ptr %3, align 4 br label %25 23: ; preds = %10 %24 = load i32, ptr %6, align 4 store i32 %24, ptr %3, align 4 br label %25 25: ; preds = %23, %19, %9 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr 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/tmpe6noi27s.c' source_filename = "/tmp/tmpe6noi27s.c" target datalayout = "e-m:e-p270: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/tmpe6noi27s.c" target datalayout = "e-m:e-p270: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/tmpuyk_daxt.c' source_filename = "/tmp/tmpuyk_daxt.c" target datalayout = "e-m:e-p270: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/tmpuyk_daxt.c" target datalayout = "e-m:e-p270: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/tmpa2g164zj.c' source_filename = "/tmp/tmpa2g164zj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__send(i32 noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = load i32, ptr @ENOSYS, align 4 %10 = call i32 @__set_errno(i32 noundef %9) ret i32 -1 } declare i32 @__set_errno(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/tmpa2g164zj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__send(i32 noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = load i32, ptr @ENOSYS, align 4 %10 = call i32 @__set_errno(i32 noundef %9) ret i32 -1 } declare i32 @__set_errno(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/tmpf88beyay.c' source_filename = "/tmp/tmpf88beyay.c" target datalayout = "e-m:e-p270: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/tmpf88beyay.c" target datalayout = "e-m:e-p270: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/tmp6xo5i57o.c' source_filename = "/tmp/tmp6xo5i57o.c" target datalayout = "e-m:e-p270: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 [16 x i8] c"impar[%d] = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"par[%d] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = alloca i16, align 2 %5 = alloca i32, align 4 %6 = alloca [5 x i32], align 16 %7 = alloca [5 x i32], align 16 store i32 0, ptr %1, align 4 store i16 0, ptr %3, align 2 store i16 0, ptr %4, align 2 store i16 0, ptr %2, align 2 br label %8 8: ; preds = %72, %0 %9 = load i16, ptr %2, align 2 %10 = sext i16 %9 to i32 %11 = icmp slt i32 %10, 15 br i1 %11, label %12, label %75 12: ; preds = %8 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) %14 = load i32, ptr %5, align 4 %15 = srem i32 %14, 2 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %12 %18 = load i32, ptr %5, align 4 %19 = load i16, ptr %3, align 2 %20 = sext i16 %19 to i64 %21 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %20 store i32 %18, ptr %21, align 4 %22 = load i16, ptr %3, align 2 %23 = add i16 %22, 1 store i16 %23, ptr %3, align 2 br label %31 24: ; preds = %12 %25 = load i32, ptr %5, align 4 %26 = load i16, ptr %4, align 2 %27 = sext i16 %26 to i64 %28 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 %27 store i32 %25, ptr %28, align 4 %29 = load i16, ptr %4, align 2 %30 = add i16 %29, 1 store i16 %30, ptr %4, align 2 br label %31 31: ; preds = %24, %17 %32 = load i16, ptr %3, align 2 %33 = sext i16 %32 to i32 %34 = icmp eq i32 %33, 5 br i1 %34, label %35, label %51 35: ; preds = %31 store i16 0, ptr %3, align 2 br label %36 36: ; preds = %47, %35 %37 = load i16, ptr %3, align 2 %38 = sext i16 %37 to i32 %39 = icmp slt i32 %38, 5 br i1 %39, label %40, label %50 40: ; preds = %36 %41 = load i16, ptr %3, align 2 %42 = load i16, ptr %3, align 2 %43 = sext i16 %42 to i64 %44 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %43 %45 = load i32, ptr %44, align 4 %46 = call i32 @printf(ptr noundef @.str.1, i16 noundef signext %41, i32 noundef %45) br label %47 47: ; preds = %40 %48 = load i16, ptr %3, align 2 %49 = add i16 %48, 1 store i16 %49, ptr %3, align 2 br label %36, !llvm.loop !6 50: ; preds = %36 store i16 0, ptr %3, align 2 br label %51 51: ; preds = %50, %31 %52 = load i16, ptr %4, align 2 %53 = sext i16 %52 to i32 %54 = icmp eq i32 %53, 5 br i1 %54, label %55, label %71 55: ; preds = %51 store i16 0, ptr %4, align 2 br label %56 56: ; preds = %67, %55 %57 = load i16, ptr %4, align 2 %58 = sext i16 %57 to i32 %59 = icmp slt i32 %58, 5 br i1 %59, label %60, label %70 60: ; preds = %56 %61 = load i16, ptr %4, align 2 %62 = load i16, ptr %4, align 2 %63 = sext i16 %62 to i64 %64 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = call i32 @printf(ptr noundef @.str.2, i16 noundef signext %61, i32 noundef %65) br label %67 67: ; preds = %60 %68 = load i16, ptr %4, align 2 %69 = add i16 %68, 1 store i16 %69, ptr %4, align 2 br label %56, !llvm.loop !8 70: ; preds = %56 store i16 0, ptr %4, align 2 br label %71 71: ; preds = %70, %51 br label %72 72: ; preds = %71 %73 = load i16, ptr %2, align 2 %74 = add i16 %73, 1 store i16 %74, ptr %2, align 2 br label %8, !llvm.loop !9 75: ; preds = %8 %76 = load i16, ptr %3, align 2 %77 = sext i16 %76 to i32 %78 = icmp sgt i32 %77, 0 br i1 %78, label %79, label %97 79: ; preds = %75 store i16 0, ptr %2, align 2 br label %80 80: ; preds = %93, %79 %81 = load i16, ptr %2, align 2 %82 = sext i16 %81 to i32 %83 = load i16, ptr %3, align 2 %84 = sext i16 %83 to i32 %85 = icmp slt i32 %82, %84 br i1 %85, label %86, label %96 86: ; preds = %80 %87 = load i16, ptr %2, align 2 %88 = load i16, ptr %2, align 2 %89 = sext i16 %88 to i64 %90 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %89 %91 = load i32, ptr %90, align 4 %92 = call i32 @printf(ptr noundef @.str.1, i16 noundef signext %87, i32 noundef %91) br label %93 93: ; preds = %86 %94 = load i16, ptr %2, align 2 %95 = add i16 %94, 1 store i16 %95, ptr %2, align 2 br label %80, !llvm.loop !10 96: ; preds = %80 br label %97 97: ; preds = %96, %75 %98 = load i16, ptr %4, align 2 %99 = sext i16 %98 to i32 %100 = icmp sgt i32 %99, 0 br i1 %100, label %101, label %119 101: ; preds = %97 store i16 0, ptr %2, align 2 br label %102 102: ; preds = %115, %101 %103 = load i16, ptr %2, align 2 %104 = sext i16 %103 to i32 %105 = load i16, ptr %4, align 2 %106 = sext i16 %105 to i32 %107 = icmp slt i32 %104, %106 br i1 %107, label %108, label %118 108: ; preds = %102 %109 = load i16, ptr %2, align 2 %110 = load i16, ptr %2, align 2 %111 = sext i16 %110 to i64 %112 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 %111 %113 = load i32, ptr %112, align 4 %114 = call i32 @printf(ptr noundef @.str.2, i16 noundef signext %109, i32 noundef %113) br label %115 115: ; preds = %108 %116 = load i16, ptr %2, align 2 %117 = add i16 %116, 1 store i16 %117, ptr %2, align 2 br label %102, !llvm.loop !11 118: ; preds = %102 br label %119 119: ; preds = %118, %97 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i16 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6xo5i57o.c" target datalayout = "e-m:e-p270: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 [16 x i8] c"impar[%d] = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"par[%d] = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = alloca i16, align 2 %5 = alloca i32, align 4 %6 = alloca [5 x i32], align 16 %7 = alloca [5 x i32], align 16 store i32 0, ptr %1, align 4 store i16 0, ptr %3, align 2 store i16 0, ptr %4, align 2 store i16 0, ptr %2, align 2 %8 = load i16, ptr %2, align 2 %9 = sext i16 %8 to i32 %10 = icmp slt i32 %9, 15 br i1 %10, label %.lr.ph5, label %81 .lr.ph5: ; preds = %0 br label %11 11: ; preds = %.lr.ph5, %75 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) %13 = load i32, ptr %5, align 4 %14 = srem i32 %13, 2 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %23 16: ; preds = %11 %17 = load i32, ptr %5, align 4 %18 = load i16, ptr %3, align 2 %19 = sext i16 %18 to i64 %20 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %19 store i32 %17, ptr %20, align 4 %21 = load i16, ptr %3, align 2 %22 = add i16 %21, 1 store i16 %22, ptr %3, align 2 br label %30 23: ; preds = %11 %24 = load i32, ptr %5, align 4 %25 = load i16, ptr %4, align 2 %26 = sext i16 %25 to i64 %27 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 %26 store i32 %24, ptr %27, align 4 %28 = load i16, ptr %4, align 2 %29 = add i16 %28, 1 store i16 %29, ptr %4, align 2 br label %30 30: ; preds = %23, %16 %31 = load i16, ptr %3, align 2 %32 = sext i16 %31 to i32 %33 = icmp eq i32 %32, 5 br i1 %33, label %34, label %52 34: ; preds = %30 store i16 0, ptr %3, align 2 %35 = load i16, ptr %3, align 2 %36 = sext i16 %35 to i32 %37 = icmp slt i32 %36, 5 br i1 %37, label %.lr.ph, label %51 .lr.ph: ; preds = %34 br label %38 38: ; preds = %.lr.ph, %45 %39 = load i16, ptr %3, align 2 %40 = load i16, ptr %3, align 2 %41 = sext i16 %40 to i64 %42 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = call i32 @printf(ptr noundef @.str.1, i16 noundef signext %39, i32 noundef %43) br label %45 45: ; preds = %38 %46 = load i16, ptr %3, align 2 %47 = add i16 %46, 1 store i16 %47, ptr %3, align 2 %48 = load i16, ptr %3, align 2 %49 = sext i16 %48 to i32 %50 = icmp slt i32 %49, 5 br i1 %50, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %34 store i16 0, ptr %3, align 2 br label %52 52: ; preds = %51, %30 %53 = load i16, ptr %4, align 2 %54 = sext i16 %53 to i32 %55 = icmp eq i32 %54, 5 br i1 %55, label %56, label %74 56: ; preds = %52 store i16 0, ptr %4, align 2 %57 = load i16, ptr %4, align 2 %58 = sext i16 %57 to i32 %59 = icmp slt i32 %58, 5 br i1 %59, label %.lr.ph2, label %73 .lr.ph2: ; preds = %56 br label %60 60: ; preds = %.lr.ph2, %67 %61 = load i16, ptr %4, align 2 %62 = load i16, ptr %4, align 2 %63 = sext i16 %62 to i64 %64 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = call i32 @printf(ptr noundef @.str.2, i16 noundef signext %61, i32 noundef %65) br label %67 67: ; preds = %60 %68 = load i16, ptr %4, align 2 %69 = add i16 %68, 1 store i16 %69, ptr %4, align 2 %70 = load i16, ptr %4, align 2 %71 = sext i16 %70 to i32 %72 = icmp slt i32 %71, 5 br i1 %72, label %60, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %67 br label %73 73: ; preds = %._crit_edge3, %56 store i16 0, ptr %4, align 2 br label %74 74: ; preds = %73, %52 br label %75 75: ; preds = %74 %76 = load i16, ptr %2, align 2 %77 = add i16 %76, 1 store i16 %77, ptr %2, align 2 %78 = load i16, ptr %2, align 2 %79 = sext i16 %78 to i32 %80 = icmp slt i32 %79, 15 br i1 %80, label %11, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %75 br label %81 81: ; preds = %._crit_edge6, %0 %82 = load i16, ptr %3, align 2 %83 = sext i16 %82 to i32 %84 = icmp sgt i32 %83, 0 br i1 %84, label %85, label %107 85: ; preds = %81 store i16 0, ptr %2, align 2 %86 = load i16, ptr %2, align 2 %87 = sext i16 %86 to i32 %88 = load i16, ptr %3, align 2 %89 = sext i16 %88 to i32 %90 = icmp slt i32 %87, %89 br i1 %90, label %.lr.ph8, label %106 .lr.ph8: ; preds = %85 br label %91 91: ; preds = %.lr.ph8, %98 %92 = load i16, ptr %2, align 2 %93 = load i16, ptr %2, align 2 %94 = sext i16 %93 to i64 %95 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %94 %96 = load i32, ptr %95, align 4 %97 = call i32 @printf(ptr noundef @.str.1, i16 noundef signext %92, i32 noundef %96) br label %98 98: ; preds = %91 %99 = load i16, ptr %2, align 2 %100 = add i16 %99, 1 store i16 %100, ptr %2, align 2 %101 = load i16, ptr %2, align 2 %102 = sext i16 %101 to i32 %103 = load i16, ptr %3, align 2 %104 = sext i16 %103 to i32 %105 = icmp slt i32 %102, %104 br i1 %105, label %91, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %98 br label %106 106: ; preds = %._crit_edge9, %85 br label %107 107: ; preds = %106, %81 %108 = load i16, ptr %4, align 2 %109 = sext i16 %108 to i32 %110 = icmp sgt i32 %109, 0 br i1 %110, label %111, label %133 111: ; preds = %107 store i16 0, ptr %2, align 2 %112 = load i16, ptr %2, align 2 %113 = sext i16 %112 to i32 %114 = load i16, ptr %4, align 2 %115 = sext i16 %114 to i32 %116 = icmp slt i32 %113, %115 br i1 %116, label %.lr.ph11, label %132 .lr.ph11: ; preds = %111 br label %117 117: ; preds = %.lr.ph11, %124 %118 = load i16, ptr %2, align 2 %119 = load i16, ptr %2, align 2 %120 = sext i16 %119 to i64 %121 = getelementptr inbounds [5 x i32], ptr %7, i64 0, i64 %120 %122 = load i32, ptr %121, align 4 %123 = call i32 @printf(ptr noundef @.str.2, i16 noundef signext %118, i32 noundef %122) br label %124 124: ; preds = %117 %125 = load i16, ptr %2, align 2 %126 = add i16 %125, 1 store i16 %126, ptr %2, align 2 %127 = load i16, ptr %2, align 2 %128 = sext i16 %127 to i32 %129 = load i16, ptr %4, align 2 %130 = sext i16 %129 to i32 %131 = icmp slt i32 %128, %130 br i1 %131, label %117, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %124 br label %132 132: ; preds = %._crit_edge12, %111 br label %133 133: ; preds = %132, %107 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i16 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpo53g106i.c' source_filename = "/tmp/tmpo53g106i.c" target datalayout = "e-m:e-p270: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 void @format(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 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %4, align 4 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %55, %2 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = call i32 (...) @getchar() store i32 %15, ptr %5, align 4 %16 = load i32, ptr @EOF, align 4 %17 = icmp ne i32 %15, %16 br label %18 18: ; preds = %14, %10 %19 = phi i1 [ false, %10 ], [ %17, %14 ] br i1 %19, label %20, label %64 20: ; preds = %18 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %21, 10 br i1 %22, label %23, label %55 23: ; preds = %20 br label %24 24: ; preds = %51, %23 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %25, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 13 br i1 %32, label %49, label %33 33: ; preds = %24 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 9 br i1 %40, label %49, label %41 41: ; preds = %33 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 32 br label %49 49: ; preds = %41, %33, %24 %50 = phi i1 [ true, %33 ], [ true, %24 ], [ %48, %41 ] br i1 %50, label %51, label %54 51: ; preds = %49 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, -1 store i32 %53, ptr %7, align 4 br label %24, !llvm.loop !6 54: ; preds = %49 br label %55 55: ; preds = %54, %20 %56 = load i32, ptr %5, align 4 %57 = trunc i32 %56 to i8 %58 = load ptr, ptr %3, align 8 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 %57, ptr %61, align 1 %62 = load i32, ptr %7, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %7, align 4 br label %10, !llvm.loop !8 64: ; preds = %18 %65 = load ptr, ptr %3, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 0, ptr %68, align 1 ret void } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpo53g106i.c" target datalayout = "e-m:e-p270: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 void @format(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 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %4, align 4 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %55, %2 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = call i32 (...) @getchar() store i32 %15, ptr %5, align 4 %16 = load i32, ptr @EOF, align 4 %17 = icmp ne i32 %15, %16 br label %18 18: ; preds = %14, %10 %19 = phi i1 [ false, %10 ], [ %17, %14 ] br i1 %19, label %20, label %64 20: ; preds = %18 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %21, 10 br i1 %22, label %23, label %55 23: ; preds = %20 br label %24 24: ; preds = %51, %23 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %25, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 13 br i1 %32, label %49, label %33 33: ; preds = %24 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 9 br i1 %40, label %49, label %41 41: ; preds = %33 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 32 br label %49 49: ; preds = %41, %33, %24 %50 = phi i1 [ true, %33 ], [ true, %24 ], [ %48, %41 ] br i1 %50, label %51, label %54 51: ; preds = %49 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, -1 store i32 %53, ptr %7, align 4 br label %24, !llvm.loop !6 54: ; preds = %49 br label %55 55: ; preds = %54, %20 %56 = load i32, ptr %5, align 4 %57 = trunc i32 %56 to i8 %58 = load ptr, ptr %3, align 8 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 %57, ptr %61, align 1 %62 = load i32, ptr %7, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %7, align 4 br label %10, !llvm.loop !8 64: ; preds = %18 %65 = load ptr, ptr %3, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 0, ptr %68, align 1 ret void } declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpwb1dojda.c' source_filename = "/tmp/tmpwb1dojda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"zero\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"two\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"three\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"four\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"five\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"six\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"seven\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"eight\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"nine\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"A$$\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 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.1) br label %8 8: ; preds = %6, %0 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @printf(ptr noundef @.str.2) br label %13 13: ; preds = %11, %8 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 3 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.3) br label %18 18: ; preds = %16, %13 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %19, 4 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 @printf(ptr noundef @.str.4) br label %23 23: ; preds = %21, %18 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 5 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @printf(ptr noundef @.str.5) br label %28 28: ; preds = %26, %23 %29 = load i32, ptr %2, align 4 %30 = icmp eq i32 %29, 6 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 @printf(ptr noundef @.str.6) br label %33 33: ; preds = %31, %28 %34 = load i32, ptr %2, align 4 %35 = icmp eq i32 %34, 7 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 @printf(ptr noundef @.str.7) br label %38 38: ; preds = %36, %33 %39 = load i32, ptr %2, align 4 %40 = icmp eq i32 %39, 8 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 @printf(ptr noundef @.str.8) br label %43 43: ; preds = %41, %38 %44 = load i32, ptr %2, align 4 %45 = icmp eq i32 %44, 9 br i1 %45, label %46, label %48 46: ; preds = %43 %47 = call i32 @printf(ptr noundef @.str.9) br label %48 48: ; preds = %46, %43 %49 = load i32, ptr %2, align 4 %50 = icmp sgt i32 %49, 9 br i1 %50, label %51, label %53 51: ; preds = %48 %52 = call i32 @printf(ptr noundef @.str.10) br label %53 53: ; preds = %51, %48 %54 = load i32, ptr %2, align 4 %55 = icmp slt i32 %54, 1 br i1 %55, label %56, label %58 56: ; preds = %53 %57 = call i32 @printf(ptr noundef @.str.1) br label %58 58: ; preds = %56, %53 %59 = load i32, ptr %1, align 4 ret i32 %59 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwb1dojda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"zero\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"two\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"three\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"four\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"five\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"six\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"seven\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"eight\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"nine\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"A$$\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 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.1) br label %8 8: ; preds = %6, %0 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @printf(ptr noundef @.str.2) br label %13 13: ; preds = %11, %8 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 3 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.3) br label %18 18: ; preds = %16, %13 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %19, 4 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 @printf(ptr noundef @.str.4) br label %23 23: ; preds = %21, %18 %24 = load i32, ptr %2, align 4 %25 = icmp eq i32 %24, 5 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @printf(ptr noundef @.str.5) br label %28 28: ; preds = %26, %23 %29 = load i32, ptr %2, align 4 %30 = icmp eq i32 %29, 6 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 @printf(ptr noundef @.str.6) br label %33 33: ; preds = %31, %28 %34 = load i32, ptr %2, align 4 %35 = icmp eq i32 %34, 7 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 @printf(ptr noundef @.str.7) br label %38 38: ; preds = %36, %33 %39 = load i32, ptr %2, align 4 %40 = icmp eq i32 %39, 8 br i1 %40, label %41, label %43 41: ; preds = %38 %42 = call i32 @printf(ptr noundef @.str.8) br label %43 43: ; preds = %41, %38 %44 = load i32, ptr %2, align 4 %45 = icmp eq i32 %44, 9 br i1 %45, label %46, label %48 46: ; preds = %43 %47 = call i32 @printf(ptr noundef @.str.9) br label %48 48: ; preds = %46, %43 %49 = load i32, ptr %2, align 4 %50 = icmp sgt i32 %49, 9 br i1 %50, label %51, label %53 51: ; preds = %48 %52 = call i32 @printf(ptr noundef @.str.10) br label %53 53: ; preds = %51, %48 %54 = load i32, ptr %2, align 4 %55 = icmp slt i32 %54, 1 br i1 %55, label %56, label %58 56: ; preds = %53 %57 = call i32 @printf(ptr noundef @.str.1) br label %58 58: ; preds = %56, %53 %59 = load i32, ptr %1, align 4 ret i32 %59 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfj4sksdh.c' source_filename = "/tmp/tmpfj4sksdh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } %struct.pollfd = type { i32, i32, i32 } @EFAULT = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @POLLIN = dso_local global i32 0, align 4 @POLLRDNORM = dso_local global i32 0, align 4 @POLLOUT = dso_local global i32 0, align 4 @POLLWRNORM = dso_local global i32 0, align 4 @POLLWRBAND = dso_local global i32 0, align 4 @POLLPRI = dso_local global i32 0, align 4 @POLLRDBAND = dso_local global i32 0, align 4 @FD_SETSIZE = dso_local global i32 0, align 4 @EOVERFLOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @poll(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca %struct.timeval, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i64, align 8 %16 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %17 = load ptr, ptr %5, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %24, label %19 19: ; preds = %3 %20 = load i64, ptr %6, align 8 %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = load i32, ptr @EFAULT, align 4 store i32 %23, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %225 24: ; preds = %19, %3 %25 = load i32, ptr %7, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %24 store ptr %11, ptr %12, align 8 %28 = load ptr, ptr %12, align 8 %29 = getelementptr inbounds %struct.timeval, ptr %28, i32 0, i32 0 store i32 0, ptr %29, align 4 %30 = load ptr, ptr %12, align 8 %31 = getelementptr inbounds %struct.timeval, ptr %30, i32 0, i32 1 store i32 0, ptr %31, align 4 br label %53 32: ; preds = %24 %33 = load i32, ptr %7, align 4 %34 = icmp sgt i32 %33, 0 br i1 %34, label %35, label %45 35: ; preds = %32 store ptr %11, ptr %12, align 8 %36 = load i32, ptr %7, align 4 %37 = sdiv i32 %36, 1000 %38 = load ptr, ptr %12, align 8 %39 = getelementptr inbounds %struct.timeval, ptr %38, i32 0, i32 0 store i32 %37, ptr %39, align 4 %40 = load i32, ptr %7, align 4 %41 = srem i32 %40, 1000 %42 = mul nsw i32 %41, 1000 %43 = load ptr, ptr %12, align 8 %44 = getelementptr inbounds %struct.timeval, ptr %43, i32 0, i32 1 store i32 %42, ptr %44, align 4 br label %52 45: ; preds = %32 %46 = load i32, ptr %7, align 4 %47 = icmp eq i32 %46, -1 br i1 %47, label %48, label %49 48: ; preds = %45 store ptr null, ptr %12, align 8 br label %51 49: ; preds = %45 %50 = load i32, ptr @EINVAL, align 4 store i32 %50, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %225 51: ; preds = %48 br label %52 52: ; preds = %51, %35 br label %53 53: ; preds = %52, %27 store i32 -1, ptr %13, align 4 %54 = call i32 @FD_ZERO(ptr noundef %8) %55 = call i32 @FD_ZERO(ptr noundef %9) %56 = call i32 @FD_ZERO(ptr noundef %10) store i64 0, ptr %15, align 8 br label %57 57: ; preds = %167, %53 %58 = load i64, ptr %15, align 8 %59 = load i64, ptr %6, align 8 %60 = icmp ult i64 %58, %59 br i1 %60, label %61, label %170 61: ; preds = %57 %62 = load ptr, ptr %5, align 8 %63 = load i64, ptr %15, align 8 %64 = getelementptr inbounds %struct.pollfd, ptr %62, i64 %63 %65 = getelementptr inbounds %struct.pollfd, ptr %64, i32 0, i32 0 %66 = load i32, ptr %65, align 4 %67 = icmp slt i32 %66, 0 br i1 %67, label %68, label %69 68: ; preds = %61 br label %167 69: ; preds = %61 %70 = load ptr, ptr %5, align 8 %71 = load i64, ptr %15, align 8 %72 = getelementptr inbounds %struct.pollfd, ptr %70, i64 %71 %73 = getelementptr inbounds %struct.pollfd, ptr %72, i32 0, i32 1 %74 = load i32, ptr %73, align 4 %75 = load i32, ptr @POLLIN, align 4 %76 = load i32, ptr @POLLRDNORM, align 4 %77 = or i32 %75, %76 %78 = and i32 %74, %77 %79 = icmp ne i32 %78, 0 br i1 %79, label %80, label %87 80: ; preds = %69 %81 = load ptr, ptr %5, align 8 %82 = load i64, ptr %15, align 8 %83 = getelementptr inbounds %struct.pollfd, ptr %81, i64 %82 %84 = getelementptr inbounds %struct.pollfd, ptr %83, i32 0, i32 0 %85 = load i32, ptr %84, align 4 %86 = call i32 @FD_SET(i32 noundef %85, ptr noundef %8) br label %87 87: ; preds = %80, %69 %88 = load ptr, ptr %5, align 8 %89 = load i64, ptr %15, align 8 %90 = getelementptr inbounds %struct.pollfd, ptr %88, i64 %89 %91 = getelementptr inbounds %struct.pollfd, ptr %90, i32 0, i32 1 %92 = load i32, ptr %91, align 4 %93 = load i32, ptr @POLLOUT, align 4 %94 = load i32, ptr @POLLWRNORM, align 4 %95 = or i32 %93, %94 %96 = load i32, ptr @POLLWRBAND, align 4 %97 = or i32 %95, %96 %98 = and i32 %92, %97 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %107 100: ; preds = %87 %101 = load ptr, ptr %5, align 8 %102 = load i64, ptr %15, align 8 %103 = getelementptr inbounds %struct.pollfd, ptr %101, i64 %102 %104 = getelementptr inbounds %struct.pollfd, ptr %103, i32 0, i32 0 %105 = load i32, ptr %104, align 4 %106 = call i32 @FD_SET(i32 noundef %105, ptr noundef %9) br label %107 107: ; preds = %100, %87 %108 = load ptr, ptr %5, align 8 %109 = load i64, ptr %15, align 8 %110 = getelementptr inbounds %struct.pollfd, ptr %108, i64 %109 %111 = getelementptr inbounds %struct.pollfd, ptr %110, i32 0, i32 1 %112 = load i32, ptr %111, align 4 %113 = load i32, ptr @POLLPRI, align 4 %114 = load i32, ptr @POLLRDBAND, align 4 %115 = or i32 %113, %114 %116 = and i32 %112, %115 %117 = icmp ne i32 %116, 0 br i1 %117, label %118, label %125 118: ; preds = %107 %119 = load ptr, ptr %5, align 8 %120 = load i64, ptr %15, align 8 %121 = getelementptr inbounds %struct.pollfd, ptr %119, i64 %120 %122 = getelementptr inbounds %struct.pollfd, ptr %121, i32 0, i32 0 %123 = load i32, ptr %122, align 4 %124 = call i32 @FD_SET(i32 noundef %123, ptr noundef %10) br label %125 125: ; preds = %118, %107 %126 = load ptr, ptr %5, align 8 %127 = load i64, ptr %15, align 8 %128 = getelementptr inbounds %struct.pollfd, ptr %126, i64 %127 %129 = getelementptr inbounds %struct.pollfd, ptr %128, i32 0, i32 0 %130 = load i32, ptr %129, align 4 %131 = load i32, ptr %13, align 4 %132 = icmp sge i32 %130, %131 br i1 %132, label %133, label %166 133: ; preds = %125 %134 = load ptr, ptr %5, align 8 %135 = load i64, ptr %15, align 8 %136 = getelementptr inbounds %struct.pollfd, ptr %134, i64 %135 %137 = getelementptr inbounds %struct.pollfd, ptr %136, i32 0, i32 1 %138 = load i32, ptr %137, align 4 %139 = load i32, ptr @POLLIN, align 4 %140 = load i32, ptr @POLLOUT, align 4 %141 = or i32 %139, %140 %142 = load i32, ptr @POLLPRI, align 4 %143 = or i32 %141, %142 %144 = load i32, ptr @POLLRDNORM, align 4 %145 = or i32 %143, %144 %146 = load i32, ptr @POLLRDBAND, align 4 %147 = or i32 %145, %146 %148 = load i32, ptr @POLLWRNORM, align 4 %149 = or i32 %147, %148 %150 = load i32, ptr @POLLWRBAND, align 4 %151 = or i32 %149, %150 %152 = and i32 %138, %151 %153 = icmp ne i32 %152, 0 br i1 %153, label %154, label %166 154: ; preds = %133 %155 = load ptr, ptr %5, align 8 %156 = load i64, ptr %15, align 8 %157 = getelementptr inbounds %struct.pollfd, ptr %155, i64 %156 %158 = getelementptr inbounds %struct.pollfd, ptr %157, i32 0, i32 0 %159 = load i32, ptr %158, align 4 store i32 %159, ptr %13, align 4 %160 = load i32, ptr %13, align 4 %161 = load i32, ptr @FD_SETSIZE, align 4 %162 = icmp sgt i32 %160, %161 br i1 %162, label %163, label %165 163: ; preds = %154 %164 = load i32, ptr @EOVERFLOW, align 4 store i32 %164, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %225 165: ; preds = %154 br label %166 166: ; preds = %165, %133, %125 br label %167 167: ; preds = %166, %68 %168 = load i64, ptr %15, align 8 %169 = add i64 %168, 1 store i64 %169, ptr %15, align 8 br label %57, !llvm.loop !6 170: ; preds = %57 %171 = load i32, ptr %13, align 4 %172 = add nsw i32 %171, 1 %173 = load ptr, ptr %12, align 8 %174 = call i32 @select(i32 noundef %172, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %173) store i32 %174, ptr %14, align 4 %175 = load i32, ptr %14, align 4 %176 = icmp slt i32 %175, 0 br i1 %176, label %177, label %179 177: ; preds = %170 %178 = load i32, ptr %14, align 4 store i32 %178, ptr %4, align 4 br label %225 179: ; preds = %170 store i32 0, ptr %14, align 4 store i64 0, ptr %15, align 8 br label %180 180: ; preds = %220, %179 %181 = load i64, ptr %15, align 8 %182 = load i64, ptr %6, align 8 %183 = icmp ult i64 %181, %182 br i1 %183, label %184, label %223 184: ; preds = %180 %185 = load ptr, ptr %5, align 8 %186 = load i64, ptr %15, align 8 %187 = getelementptr inbounds %struct.pollfd, ptr %185, i64 %186 %188 = getelementptr inbounds %struct.pollfd, ptr %187, i32 0, i32 0 %189 = load i32, ptr %188, align 4 %190 = icmp slt i32 %189, 0 br i1 %190, label %191, label %196 191: ; preds = %184 %192 = load ptr, ptr %5, align 8 %193 = load i64, ptr %15, align 8 %194 = getelementptr inbounds %struct.pollfd, ptr %192, i64 %193 %195 = getelementptr inbounds %struct.pollfd, ptr %194, i32 0, i32 2 store i32 0, ptr %195, align 4 br label %219 196: ; preds = %184 %197 = load ptr, ptr %5, align 8 %198 = load i64, ptr %15, align 8 %199 = getelementptr inbounds %struct.pollfd, ptr %197, i64 %198 %200 = getelementptr inbounds %struct.pollfd, ptr %199, i32 0, i32 0 %201 = load i32, ptr %200, align 4 %202 = load ptr, ptr %5, align 8 %203 = load i64, ptr %15, align 8 %204 = getelementptr inbounds %struct.pollfd, ptr %202, i64 %203 %205 = getelementptr inbounds %struct.pollfd, ptr %204, i32 0, i32 1 %206 = load i32, ptr %205, align 4 %207 = call i32 @compute_revents(i32 noundef %201, i32 noundef %206, ptr noundef %8, ptr noundef %9, ptr noundef %10) store i32 %207, ptr %16, align 4 %208 = load i32, ptr %16, align 4 %209 = icmp ne i32 %208, 0 br i1 %209, label %210, label %218 210: ; preds = %196 %211 = load i32, ptr %16, align 4 %212 = load ptr, ptr %5, align 8 %213 = load i64, ptr %15, align 8 %214 = getelementptr inbounds %struct.pollfd, ptr %212, i64 %213 %215 = getelementptr inbounds %struct.pollfd, ptr %214, i32 0, i32 2 store i32 %211, ptr %215, align 4 %216 = load i32, ptr %14, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %14, align 4 br label %218 218: ; preds = %210, %196 br label %219 219: ; preds = %218, %191 br label %220 220: ; preds = %219 %221 = load i64, ptr %15, align 8 %222 = add i64 %221, 1 store i64 %222, ptr %15, align 8 br label %180, !llvm.loop !8 223: ; preds = %180 %224 = load i32, ptr %14, align 4 store i32 %224, ptr %4, align 4 br label %225 225: ; preds = %223, %177, %163, %49, %22 %226 = load i32, ptr %4, align 4 ret i32 %226 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @compute_revents(i32 noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfj4sksdh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } %struct.pollfd = type { i32, i32, i32 } @EFAULT = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @POLLIN = dso_local global i32 0, align 4 @POLLRDNORM = dso_local global i32 0, align 4 @POLLOUT = dso_local global i32 0, align 4 @POLLWRNORM = dso_local global i32 0, align 4 @POLLWRBAND = dso_local global i32 0, align 4 @POLLPRI = dso_local global i32 0, align 4 @POLLRDBAND = dso_local global i32 0, align 4 @FD_SETSIZE = dso_local global i32 0, align 4 @EOVERFLOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @poll(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca %struct.timeval, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i64, align 8 %16 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %17 = load ptr, ptr %5, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %24, label %19 19: ; preds = %3 %20 = load i64, ptr %6, align 8 %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = load i32, ptr @EFAULT, align 4 store i32 %23, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %229 24: ; preds = %19, %3 %25 = load i32, ptr %7, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %24 store ptr %11, ptr %12, align 8 %28 = load ptr, ptr %12, align 8 %29 = getelementptr inbounds %struct.timeval, ptr %28, i32 0, i32 0 store i32 0, ptr %29, align 4 %30 = load ptr, ptr %12, align 8 %31 = getelementptr inbounds %struct.timeval, ptr %30, i32 0, i32 1 store i32 0, ptr %31, align 4 br label %53 32: ; preds = %24 %33 = load i32, ptr %7, align 4 %34 = icmp sgt i32 %33, 0 br i1 %34, label %35, label %45 35: ; preds = %32 store ptr %11, ptr %12, align 8 %36 = load i32, ptr %7, align 4 %37 = sdiv i32 %36, 1000 %38 = load ptr, ptr %12, align 8 %39 = getelementptr inbounds %struct.timeval, ptr %38, i32 0, i32 0 store i32 %37, ptr %39, align 4 %40 = load i32, ptr %7, align 4 %41 = srem i32 %40, 1000 %42 = mul nsw i32 %41, 1000 %43 = load ptr, ptr %12, align 8 %44 = getelementptr inbounds %struct.timeval, ptr %43, i32 0, i32 1 store i32 %42, ptr %44, align 4 br label %52 45: ; preds = %32 %46 = load i32, ptr %7, align 4 %47 = icmp eq i32 %46, -1 br i1 %47, label %48, label %49 48: ; preds = %45 store ptr null, ptr %12, align 8 br label %51 49: ; preds = %45 %50 = load i32, ptr @EINVAL, align 4 store i32 %50, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %229 51: ; preds = %48 br label %52 52: ; preds = %51, %35 br label %53 53: ; preds = %52, %27 store i32 -1, ptr %13, align 4 %54 = call i32 @FD_ZERO(ptr noundef %8) %55 = call i32 @FD_ZERO(ptr noundef %9) %56 = call i32 @FD_ZERO(ptr noundef %10) store i64 0, ptr %15, align 8 %57 = load i64, ptr %15, align 8 %58 = load i64, ptr %6, align 8 %59 = icmp ult i64 %57, %58 br i1 %59, label %.lr.ph, label %172 .lr.ph: ; preds = %53 br label %60 60: ; preds = %.lr.ph, %166 %61 = load ptr, ptr %5, align 8 %62 = load i64, ptr %15, align 8 %63 = getelementptr inbounds %struct.pollfd, ptr %61, i64 %62 %64 = getelementptr inbounds %struct.pollfd, ptr %63, i32 0, i32 0 %65 = load i32, ptr %64, align 4 %66 = icmp slt i32 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %60 br label %166 68: ; preds = %60 %69 = load ptr, ptr %5, align 8 %70 = load i64, ptr %15, align 8 %71 = getelementptr inbounds %struct.pollfd, ptr %69, i64 %70 %72 = getelementptr inbounds %struct.pollfd, ptr %71, i32 0, i32 1 %73 = load i32, ptr %72, align 4 %74 = load i32, ptr @POLLIN, align 4 %75 = load i32, ptr @POLLRDNORM, align 4 %76 = or i32 %74, %75 %77 = and i32 %73, %76 %78 = icmp ne i32 %77, 0 br i1 %78, label %79, label %86 79: ; preds = %68 %80 = load ptr, ptr %5, align 8 %81 = load i64, ptr %15, align 8 %82 = getelementptr inbounds %struct.pollfd, ptr %80, i64 %81 %83 = getelementptr inbounds %struct.pollfd, ptr %82, i32 0, i32 0 %84 = load i32, ptr %83, align 4 %85 = call i32 @FD_SET(i32 noundef %84, ptr noundef %8) br label %86 86: ; preds = %79, %68 %87 = load ptr, ptr %5, align 8 %88 = load i64, ptr %15, align 8 %89 = getelementptr inbounds %struct.pollfd, ptr %87, i64 %88 %90 = getelementptr inbounds %struct.pollfd, ptr %89, i32 0, i32 1 %91 = load i32, ptr %90, align 4 %92 = load i32, ptr @POLLOUT, align 4 %93 = load i32, ptr @POLLWRNORM, align 4 %94 = or i32 %92, %93 %95 = load i32, ptr @POLLWRBAND, align 4 %96 = or i32 %94, %95 %97 = and i32 %91, %96 %98 = icmp ne i32 %97, 0 br i1 %98, label %99, label %106 99: ; preds = %86 %100 = load ptr, ptr %5, align 8 %101 = load i64, ptr %15, align 8 %102 = getelementptr inbounds %struct.pollfd, ptr %100, i64 %101 %103 = getelementptr inbounds %struct.pollfd, ptr %102, i32 0, i32 0 %104 = load i32, ptr %103, align 4 %105 = call i32 @FD_SET(i32 noundef %104, ptr noundef %9) br label %106 106: ; preds = %99, %86 %107 = load ptr, ptr %5, align 8 %108 = load i64, ptr %15, align 8 %109 = getelementptr inbounds %struct.pollfd, ptr %107, i64 %108 %110 = getelementptr inbounds %struct.pollfd, ptr %109, i32 0, i32 1 %111 = load i32, ptr %110, align 4 %112 = load i32, ptr @POLLPRI, align 4 %113 = load i32, ptr @POLLRDBAND, align 4 %114 = or i32 %112, %113 %115 = and i32 %111, %114 %116 = icmp ne i32 %115, 0 br i1 %116, label %117, label %124 117: ; preds = %106 %118 = load ptr, ptr %5, align 8 %119 = load i64, ptr %15, align 8 %120 = getelementptr inbounds %struct.pollfd, ptr %118, i64 %119 %121 = getelementptr inbounds %struct.pollfd, ptr %120, i32 0, i32 0 %122 = load i32, ptr %121, align 4 %123 = call i32 @FD_SET(i32 noundef %122, ptr noundef %10) br label %124 124: ; preds = %117, %106 %125 = load ptr, ptr %5, align 8 %126 = load i64, ptr %15, align 8 %127 = getelementptr inbounds %struct.pollfd, ptr %125, i64 %126 %128 = getelementptr inbounds %struct.pollfd, ptr %127, i32 0, i32 0 %129 = load i32, ptr %128, align 4 %130 = load i32, ptr %13, align 4 %131 = icmp sge i32 %129, %130 br i1 %131, label %132, label %165 132: ; preds = %124 %133 = load ptr, ptr %5, align 8 %134 = load i64, ptr %15, align 8 %135 = getelementptr inbounds %struct.pollfd, ptr %133, i64 %134 %136 = getelementptr inbounds %struct.pollfd, ptr %135, i32 0, i32 1 %137 = load i32, ptr %136, align 4 %138 = load i32, ptr @POLLIN, align 4 %139 = load i32, ptr @POLLOUT, align 4 %140 = or i32 %138, %139 %141 = load i32, ptr @POLLPRI, align 4 %142 = or i32 %140, %141 %143 = load i32, ptr @POLLRDNORM, align 4 %144 = or i32 %142, %143 %145 = load i32, ptr @POLLRDBAND, align 4 %146 = or i32 %144, %145 %147 = load i32, ptr @POLLWRNORM, align 4 %148 = or i32 %146, %147 %149 = load i32, ptr @POLLWRBAND, align 4 %150 = or i32 %148, %149 %151 = and i32 %137, %150 %152 = icmp ne i32 %151, 0 br i1 %152, label %153, label %165 153: ; preds = %132 %154 = load ptr, ptr %5, align 8 %155 = load i64, ptr %15, align 8 %156 = getelementptr inbounds %struct.pollfd, ptr %154, i64 %155 %157 = getelementptr inbounds %struct.pollfd, ptr %156, i32 0, i32 0 %158 = load i32, ptr %157, align 4 store i32 %158, ptr %13, align 4 %159 = load i32, ptr %13, align 4 %160 = load i32, ptr @FD_SETSIZE, align 4 %161 = icmp sgt i32 %159, %160 br i1 %161, label %162, label %164 162: ; preds = %153 %163 = load i32, ptr @EOVERFLOW, align 4 store i32 %163, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %229 164: ; preds = %153 br label %165 165: ; preds = %164, %132, %124 br label %166 166: ; preds = %165, %67 %167 = load i64, ptr %15, align 8 %168 = add i64 %167, 1 store i64 %168, ptr %15, align 8 %169 = load i64, ptr %15, align 8 %170 = load i64, ptr %6, align 8 %171 = icmp ult i64 %169, %170 br i1 %171, label %60, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %166 br label %172 172: ; preds = %._crit_edge, %53 %173 = load i32, ptr %13, align 4 %174 = add nsw i32 %173, 1 %175 = load ptr, ptr %12, align 8 %176 = call i32 @select(i32 noundef %174, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %175) store i32 %176, ptr %14, align 4 %177 = load i32, ptr %14, align 4 %178 = icmp slt i32 %177, 0 br i1 %178, label %179, label %181 179: ; preds = %172 %180 = load i32, ptr %14, align 4 store i32 %180, ptr %4, align 4 br label %229 181: ; preds = %172 store i32 0, ptr %14, align 4 store i64 0, ptr %15, align 8 %182 = load i64, ptr %15, align 8 %183 = load i64, ptr %6, align 8 %184 = icmp ult i64 %182, %183 br i1 %184, label %.lr.ph2, label %227 .lr.ph2: ; preds = %181 br label %185 185: ; preds = %.lr.ph2, %221 %186 = load ptr, ptr %5, align 8 %187 = load i64, ptr %15, align 8 %188 = getelementptr inbounds %struct.pollfd, ptr %186, i64 %187 %189 = getelementptr inbounds %struct.pollfd, ptr %188, i32 0, i32 0 %190 = load i32, ptr %189, align 4 %191 = icmp slt i32 %190, 0 br i1 %191, label %192, label %197 192: ; preds = %185 %193 = load ptr, ptr %5, align 8 %194 = load i64, ptr %15, align 8 %195 = getelementptr inbounds %struct.pollfd, ptr %193, i64 %194 %196 = getelementptr inbounds %struct.pollfd, ptr %195, i32 0, i32 2 store i32 0, ptr %196, align 4 br label %220 197: ; preds = %185 %198 = load ptr, ptr %5, align 8 %199 = load i64, ptr %15, align 8 %200 = getelementptr inbounds %struct.pollfd, ptr %198, i64 %199 %201 = getelementptr inbounds %struct.pollfd, ptr %200, i32 0, i32 0 %202 = load i32, ptr %201, align 4 %203 = load ptr, ptr %5, align 8 %204 = load i64, ptr %15, align 8 %205 = getelementptr inbounds %struct.pollfd, ptr %203, i64 %204 %206 = getelementptr inbounds %struct.pollfd, ptr %205, i32 0, i32 1 %207 = load i32, ptr %206, align 4 %208 = call i32 @compute_revents(i32 noundef %202, i32 noundef %207, ptr noundef %8, ptr noundef %9, ptr noundef %10) store i32 %208, ptr %16, align 4 %209 = load i32, ptr %16, align 4 %210 = icmp ne i32 %209, 0 br i1 %210, label %211, label %219 211: ; preds = %197 %212 = load i32, ptr %16, align 4 %213 = load ptr, ptr %5, align 8 %214 = load i64, ptr %15, align 8 %215 = getelementptr inbounds %struct.pollfd, ptr %213, i64 %214 %216 = getelementptr inbounds %struct.pollfd, ptr %215, i32 0, i32 2 store i32 %212, ptr %216, align 4 %217 = load i32, ptr %14, align 4 %218 = add nsw i32 %217, 1 store i32 %218, ptr %14, align 4 br label %219 219: ; preds = %211, %197 br label %220 220: ; preds = %219, %192 br label %221 221: ; preds = %220 %222 = load i64, ptr %15, align 8 %223 = add i64 %222, 1 store i64 %223, ptr %15, align 8 %224 = load i64, ptr %15, align 8 %225 = load i64, ptr %6, align 8 %226 = icmp ult i64 %224, %225 br i1 %226, label %185, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %221 br label %227 227: ; preds = %._crit_edge3, %181 %228 = load i32, ptr %14, align 4 store i32 %228, ptr %4, align 4 br label %229 229: ; preds = %227, %179, %162, %49, %22 %230 = load i32, ptr %4, align 4 ret i32 %230 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @compute_revents(i32 noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpow1jta4d.c' source_filename = "/tmp/tmpow1jta4d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @foo(i32 noundef 10, i32 noundef 3) ret i32 0 } declare i32 @foo(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/tmpow1jta4d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @foo(i32 noundef 10, i32 noundef 3) ret i32 0 } declare i32 @foo(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/tmpr69zzh69.c' source_filename = "/tmp/tmpr69zzh69.c" target datalayout = "e-m:e-p270: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"\0A\0AStopped writing user stories in %s\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @signalHandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call ptr @getFileLocation(i32 noundef 0) %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @getFileLocation(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr69zzh69.c" target datalayout = "e-m:e-p270: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"\0A\0AStopped writing user stories in %s\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @signalHandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call ptr @getFileLocation(i32 noundef 0) %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @getFileLocation(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9511rxt8.c' source_filename = "/tmp/tmp9511rxt8.c" target datalayout = "e-m:e-p270: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/tmp9511rxt8.c" target datalayout = "e-m:e-p270: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/tmpcomzkdvy.c' source_filename = "/tmp/tmpcomzkdvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"FATAL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_fatal(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @EXIT_FAILURE, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @error_issue(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @error_issue(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcomzkdvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"FATAL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_fatal(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @EXIT_FAILURE, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @error_issue(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @error_issue(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpux8kc7ex.c' source_filename = "/tmp/tmpux8kc7ex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"24-bit paged putboxmask\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__svgalib_driver24p_putboxmask(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = call i32 @notimplemented(ptr noundef @.str) ret void } declare i32 @notimplemented(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/tmpux8kc7ex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"24-bit paged putboxmask\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @__svgalib_driver24p_putboxmask(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = call i32 @notimplemented(ptr noundef @.str) ret void } declare i32 @notimplemented(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/tmpets7dyjl.c' source_filename = "/tmp/tmpets7dyjl.c" target datalayout = "e-m:e-p270: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/tmpets7dyjl.c" target datalayout = "e-m:e-p270: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/tmpf8p9kpuu.c' source_filename = "/tmp/tmpf8p9kpuu.c" target datalayout = "e-m:e-p270: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 [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PostTraceHook(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str) 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/tmpf8p9kpuu.c" target datalayout = "e-m:e-p270: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 [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PostTraceHook(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str) 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/tmpnwlq8oaz.c' source_filename = "/tmp/tmpnwlq8oaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 -1, ptr %3, align 4 br label %45 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %6) store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp ne i32 %18, 1 br i1 %19, label %20, label %21 20: ; preds = %13 store i32 -2, ptr %3, align 4 br label %45 21: ; preds = %13 store i32 0, ptr %8, align 4 %22 = load i32, ptr %6, align 4 %23 = srem i32 %22, 2 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = load i32, ptr %6, align 4 br label %30 27: ; preds = %21 %28 = load i32, ptr %6, align 4 %29 = sub nsw i32 %28, 1 br label %30 30: ; preds = %27, %25 %31 = phi i32 [ %26, %25 ], [ %29, %27 ] store i32 %31, ptr %9, align 4 store i32 0, ptr %8, align 4 br label %32 32: ; preds = %41, %30 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %44 36: ; preds = %32 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %6, align 4 %39 = call i32 @pst(i32 noundef %37, i32 noundef %38) %40 = call i32 @putchar(i8 noundef signext 10) br label %41 41: ; preds = %36 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 br label %32, !llvm.loop !6 44: ; preds = %32 store i32 0, ptr %3, align 4 br label %45 45: ; preds = %44, %20, %12 %46 = load i32, ptr %3, align 4 ret i32 %46 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @pst(i32 noundef, i32 noundef) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnwlq8oaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 -1, ptr %3, align 4 br label %47 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %6) store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp ne i32 %18, 1 br i1 %19, label %20, label %21 20: ; preds = %13 store i32 -2, ptr %3, align 4 br label %47 21: ; preds = %13 store i32 0, ptr %8, align 4 %22 = load i32, ptr %6, align 4 %23 = srem i32 %22, 2 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %21 %26 = load i32, ptr %6, align 4 br label %30 27: ; preds = %21 %28 = load i32, ptr %6, align 4 %29 = sub nsw i32 %28, 1 br label %30 30: ; preds = %27, %25 %31 = phi i32 [ %26, %25 ], [ %29, %27 ] store i32 %31, ptr %9, align 4 store i32 0, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %46 .lr.ph: ; preds = %30 br label %35 35: ; preds = %.lr.ph, %40 %36 = load i32, ptr %8, align 4 %37 = load i32, ptr %6, align 4 %38 = call i32 @pst(i32 noundef %36, i32 noundef %37) %39 = call i32 @putchar(i8 noundef signext 10) br label %40 40: ; preds = %35 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %9, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %30 store i32 0, ptr %3, align 4 br label %47 47: ; preds = %46, %20, %12 %48 = load i32, ptr %3, align 4 ret i32 %48 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @pst(i32 noundef, i32 noundef) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdan_gwn7.c' source_filename = "/tmp/tmpdan_gwn7.c" target datalayout = "e-m:e-p270: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/tmpdan_gwn7.c" target datalayout = "e-m:e-p270: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/tmp8hdxa0np.c' source_filename = "/tmp/tmp8hdxa0np.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__md5_crypt.buffer = internal global ptr null, align 8 @__md5_crypt.buflen = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__md5_crypt(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = add nsw i32 3, %8 %10 = add nsw i32 %9, 1 %11 = add nsw i32 %10, 26 %12 = add nsw i32 %11, 1 store i32 %12, ptr %6, align 4 %13 = load i32, ptr @__md5_crypt.buflen, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %24 16: ; preds = %2 %17 = load i32, ptr %6, align 4 store i32 %17, ptr @__md5_crypt.buflen, align 4 %18 = load ptr, ptr @__md5_crypt.buffer, align 8 %19 = load i32, ptr @__md5_crypt.buflen, align 4 %20 = call ptr @realloc(ptr noundef %18, i32 noundef %19) store ptr %20, ptr @__md5_crypt.buffer, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %23 22: ; preds = %16 store ptr null, ptr %3, align 8 br label %30 23: ; preds = %16 br label %24 24: ; preds = %23, %2 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr @__md5_crypt.buffer, align 8 %28 = load i32, ptr @__md5_crypt.buflen, align 4 %29 = call ptr @__md5_crypt_r(ptr noundef %25, ptr noundef %26, ptr noundef %27, i32 noundef %28) store ptr %29, ptr %3, align 8 br label %30 30: ; preds = %24, %22 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare ptr @__md5_crypt_r(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8hdxa0np.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__md5_crypt.buffer = internal global ptr null, align 8 @__md5_crypt.buflen = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__md5_crypt(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = add nsw i32 3, %8 %10 = add nsw i32 %9, 1 %11 = add nsw i32 %10, 26 %12 = add nsw i32 %11, 1 store i32 %12, ptr %6, align 4 %13 = load i32, ptr @__md5_crypt.buflen, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %24 16: ; preds = %2 %17 = load i32, ptr %6, align 4 store i32 %17, ptr @__md5_crypt.buflen, align 4 %18 = load ptr, ptr @__md5_crypt.buffer, align 8 %19 = load i32, ptr @__md5_crypt.buflen, align 4 %20 = call ptr @realloc(ptr noundef %18, i32 noundef %19) store ptr %20, ptr @__md5_crypt.buffer, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %23 22: ; preds = %16 store ptr null, ptr %3, align 8 br label %30 23: ; preds = %16 br label %24 24: ; preds = %23, %2 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr @__md5_crypt.buffer, align 8 %28 = load i32, ptr @__md5_crypt.buflen, align 4 %29 = call ptr @__md5_crypt_r(ptr noundef %25, ptr noundef %26, ptr noundef %27, i32 noundef %28) store ptr %29, ptr %3, align 8 br label %30 30: ; preds = %24, %22 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare ptr @__md5_crypt_r(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpll7sydb2.c' source_filename = "/tmp/tmpll7sydb2.c" target datalayout = "e-m:e-p270: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/tmpll7sydb2.c" target datalayout = "e-m:e-p270: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/tmpz9sfao3e.c' source_filename = "/tmp/tmpz9sfao3e.c" target datalayout = "e-m:e-p270: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 @strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %9, align 8 store i32 0, ptr %7, align 4 br label %12 12: ; preds = %31, %3 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %34 16: ; preds = %12 %17 = load ptr, ptr %8, 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 %29 21: ; preds = %16 %22 = load ptr, ptr %8, align 8 %23 = load i8, ptr %22, align 1 %24 = load ptr, ptr %9, align 8 store i8 %23, ptr %24, align 1 %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %8, align 8 %27 = load ptr, ptr %9, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %9, align 8 br label %30 29: ; preds = %16 br label %34 30: ; preds = %21 br label %31 31: ; preds = %30 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %12, !llvm.loop !6 34: ; preds = %29, %12 %35 = load ptr, ptr %9, align 8 store i8 0, ptr %35, align 1 %36 = load ptr, ptr %4, align 8 ret ptr %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpz9sfao3e.c" target datalayout = "e-m:e-p270: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 @strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %9, align 8 store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %30 %16 = load ptr, ptr %8, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %28 20: ; preds = %15 %21 = load ptr, ptr %8, align 8 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %9, align 8 store i8 %22, ptr %23, align 1 %24 = load ptr, ptr %8, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %8, align 8 %26 = load ptr, ptr %9, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %9, align 8 br label %29 28: ; preds = %15 br label %36 29: ; preds = %20 br label %30 30: ; preds = %29 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %15, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %30 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %36 36: ; preds = %.loopexit, %28 %37 = load ptr, ptr %9, align 8 store i8 0, ptr %37, align 1 %38 = load ptr, ptr %4, align 8 ret ptr %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpt6xokxag.c' source_filename = "/tmp/tmpt6xokxag.c" target datalayout = "e-m:e-p270: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 @allocMem(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = trunc i64 %9 to i32 %11 = call ptr @malloc(i32 noundef %10) store ptr %11, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %12 12: ; preds = %26, %2 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %29 16: ; preds = %12 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 1, %18 %20 = trunc i64 %19 to i32 %21 = call ptr @malloc(i32 noundef %20) %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 store ptr %21, ptr %25, align 8 br label %26 26: ; preds = %16 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %12, !llvm.loop !6 29: ; preds = %12 %30 = load ptr, ptr %5, align 8 ret ptr %30 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt6xokxag.c" target datalayout = "e-m:e-p270: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 @allocMem(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 8 %10 = trunc i64 %9 to i32 %11 = call ptr @malloc(i32 noundef %10) store ptr %11, ptr %5, align 8 store i32 0, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %25 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 1, %17 %19 = trunc i64 %18 to i32 %20 = call ptr @malloc(i32 noundef %19) %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 store ptr %20, ptr %24, align 8 br label %25 25: ; preds = %15 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %2 %32 = load ptr, ptr %5, align 8 ret ptr %32 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}