llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpqgptnmgg.c' source_filename = "/tmp/tmpqgptnmgg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ERI_Spherical_Harmonics(i32 noundef %0, i32 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 ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca x86_fp80, align 16 %18 = alloca x86_fp80, align 16 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store double %2, ptr %10, align 8 store double %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %24 = load i32, ptr %9, align 4 %25 = call i32 @abs(i32 noundef %24) store i32 %25, ptr %16, align 4 store x86_fp80 0xK3FFF8000000000000000, ptr %17, align 16 store i32 2, ptr %15, align 4 br label %26 26: ; preds = %37, %7 %27 = load i32, ptr %15, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %16, align 4 %30 = sub i32 %28, %29 %31 = icmp ule i32 %27, %30 br i1 %31, label %32, label %40 32: ; preds = %26 %33 = load i32, ptr %15, align 4 %34 = uitofp i32 %33 to x86_fp80 %35 = load x86_fp80, ptr %17, align 16 %36 = fmul x86_fp80 %35, %34 store x86_fp80 %36, ptr %17, align 16 br label %37 37: ; preds = %32 %38 = load i32, ptr %15, align 4 %39 = add i32 %38, 1 store i32 %39, ptr %15, align 4 br label %26, !llvm.loop !6 40: ; preds = %26 store x86_fp80 0xK3FFF8000000000000000, ptr %18, align 16 store i32 2, ptr %15, align 4 br label %41 41: ; preds = %52, %40 %42 = load i32, ptr %15, align 4 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %16, align 4 %45 = add i32 %43, %44 %46 = icmp ule i32 %42, %45 br i1 %46, label %47, label %55 47: ; preds = %41 %48 = load i32, ptr %15, align 4 %49 = uitofp i32 %48 to x86_fp80 %50 = load x86_fp80, ptr %18, align 16 %51 = fmul x86_fp80 %50, %49 store x86_fp80 %51, ptr %18, align 16 br label %52 52: ; preds = %47 %53 = load i32, ptr %15, align 4 %54 = add i32 %53, 1 store i32 %54, ptr %15, align 4 br label %41, !llvm.loop !8 55: ; preds = %41 %56 = load i32, ptr %8, align 4 %57 = sitofp i32 %56 to double %58 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %57, double 1.000000e+00) %59 = fdiv double %58, 0x402921FB54442D18 %60 = fpext double %59 to x86_fp80 %61 = load x86_fp80, ptr %17, align 16 %62 = fmul x86_fp80 %60, %61 %63 = load x86_fp80, ptr %18, align 16 %64 = fdiv x86_fp80 %62, %63 %65 = fptrunc x86_fp80 %64 to double %66 = call double @sqrt(double noundef %65) #4 store double %66, ptr %19, align 8 %67 = load i32, ptr %9, align 4 %68 = icmp slt i32 %67, 0 br i1 %68, label %69, label %76 69: ; preds = %55 %70 = load i32, ptr %16, align 4 %71 = urem i32 %70, 2 %72 = icmp eq i32 %71, 1 br i1 %72, label %73, label %76 73: ; preds = %69 %74 = load double, ptr %19, align 8 %75 = fneg double %74 store double %75, ptr %19, align 8 br label %76 76: ; preds = %73, %69, %55 %77 = load i32, ptr %8, align 4 %78 = load i32, ptr %16, align 4 %79 = load double, ptr %10, align 8 %80 = call double @cos(double noundef %79) #4 %81 = call i32 @ERI_Associated_Legendre_Polynomial(i32 noundef %77, i32 noundef %78, double noundef %80, ptr noundef %22, ptr noundef %23) %82 = load i32, ptr %9, align 4 %83 = sitofp i32 %82 to double %84 = load double, ptr %11, align 8 %85 = fmul double %83, %84 %86 = call double @cos(double noundef %85) #4 store double %86, ptr %20, align 8 %87 = load i32, ptr %9, align 4 %88 = sitofp i32 %87 to double %89 = load double, ptr %11, align 8 %90 = fmul double %88, %89 %91 = call double @sin(double noundef %90) #4 store double %91, ptr %21, align 8 %92 = load double, ptr %19, align 8 %93 = load double, ptr %22, align 8 %94 = fmul double %92, %93 %95 = load double, ptr %20, align 8 %96 = fmul double %94, %95 %97 = load ptr, ptr %12, align 8 %98 = getelementptr inbounds double, ptr %97, i64 0 store double %96, ptr %98, align 8 %99 = load double, ptr %19, align 8 %100 = load double, ptr %22, align 8 %101 = fmul double %99, %100 %102 = load double, ptr %21, align 8 %103 = fmul double %101, %102 %104 = load ptr, ptr %12, align 8 %105 = getelementptr inbounds double, ptr %104, i64 1 store double %103, ptr %105, align 8 %106 = load double, ptr %19, align 8 %107 = load double, ptr %23, align 8 %108 = fmul double %106, %107 %109 = load double, ptr %20, align 8 %110 = fmul double %108, %109 %111 = load ptr, ptr %13, align 8 %112 = getelementptr inbounds double, ptr %111, i64 0 store double %110, ptr %112, align 8 %113 = load double, ptr %19, align 8 %114 = load double, ptr %23, align 8 %115 = fmul double %113, %114 %116 = load double, ptr %21, align 8 %117 = fmul double %115, %116 %118 = load ptr, ptr %13, align 8 %119 = getelementptr inbounds double, ptr %118, i64 1 store double %117, ptr %119, align 8 %120 = load i32, ptr %9, align 4 %121 = sitofp i32 %120 to double %122 = fneg double %121 %123 = load ptr, ptr %12, align 8 %124 = getelementptr inbounds double, ptr %123, i64 1 %125 = load double, ptr %124, align 8 %126 = fmul double %122, %125 %127 = load ptr, ptr %14, align 8 %128 = getelementptr inbounds double, ptr %127, i64 0 store double %126, ptr %128, align 8 %129 = load i32, ptr %9, align 4 %130 = sitofp i32 %129 to double %131 = load ptr, ptr %12, align 8 %132 = getelementptr inbounds double, ptr %131, i64 0 %133 = load double, ptr %132, align 8 %134 = fmul double %130, %133 %135 = load ptr, ptr %14, align 8 %136 = getelementptr inbounds double, ptr %135, i64 1 store double %134, ptr %136, align 8 ret void } declare i32 @abs(i32 noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @ERI_Associated_Legendre_Polynomial(i32 noundef, i32 noundef, double noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nounwind declare double @sin(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqgptnmgg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ERI_Spherical_Harmonics(i32 noundef %0, i32 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 ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca x86_fp80, align 16 %18 = alloca x86_fp80, align 16 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store double %2, ptr %10, align 8 store double %3, ptr %11, align 8 store ptr %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %24 = load i32, ptr %9, align 4 %25 = call i32 @abs(i32 noundef %24) store i32 %25, ptr %16, align 4 store x86_fp80 0xK3FFF8000000000000000, ptr %17, align 16 store i32 2, ptr %15, align 4 %26 = load i32, ptr %15, align 4 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %16, align 4 %29 = sub i32 %27, %28 %30 = icmp ule i32 %26, %29 br i1 %30, label %.lr.ph, label %44 .lr.ph: ; preds = %7 br label %31 31: ; preds = %.lr.ph, %36 %32 = load i32, ptr %15, align 4 %33 = uitofp i32 %32 to x86_fp80 %34 = load x86_fp80, ptr %17, align 16 %35 = fmul x86_fp80 %34, %33 store x86_fp80 %35, ptr %17, align 16 br label %36 36: ; preds = %31 %37 = load i32, ptr %15, align 4 %38 = add i32 %37, 1 store i32 %38, ptr %15, align 4 %39 = load i32, ptr %15, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %16, align 4 %42 = sub i32 %40, %41 %43 = icmp ule i32 %39, %42 br i1 %43, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %44 44: ; preds = %._crit_edge, %7 store x86_fp80 0xK3FFF8000000000000000, ptr %18, align 16 store i32 2, ptr %15, align 4 %45 = load i32, ptr %15, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %16, align 4 %48 = add i32 %46, %47 %49 = icmp ule i32 %45, %48 br i1 %49, label %.lr.ph2, label %63 .lr.ph2: ; preds = %44 br label %50 50: ; preds = %.lr.ph2, %55 %51 = load i32, ptr %15, align 4 %52 = uitofp i32 %51 to x86_fp80 %53 = load x86_fp80, ptr %18, align 16 %54 = fmul x86_fp80 %53, %52 store x86_fp80 %54, ptr %18, align 16 br label %55 55: ; preds = %50 %56 = load i32, ptr %15, align 4 %57 = add i32 %56, 1 store i32 %57, ptr %15, align 4 %58 = load i32, ptr %15, align 4 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %16, align 4 %61 = add i32 %59, %60 %62 = icmp ule i32 %58, %61 br i1 %62, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %63 63: ; preds = %._crit_edge3, %44 %64 = load i32, ptr %8, align 4 %65 = sitofp i32 %64 to double %66 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %65, double 1.000000e+00) %67 = fdiv double %66, 0x402921FB54442D18 %68 = fpext double %67 to x86_fp80 %69 = load x86_fp80, ptr %17, align 16 %70 = fmul x86_fp80 %68, %69 %71 = load x86_fp80, ptr %18, align 16 %72 = fdiv x86_fp80 %70, %71 %73 = fptrunc x86_fp80 %72 to double %74 = call double @sqrt(double noundef %73) #4 store double %74, ptr %19, align 8 %75 = load i32, ptr %9, align 4 %76 = icmp slt i32 %75, 0 br i1 %76, label %77, label %84 77: ; preds = %63 %78 = load i32, ptr %16, align 4 %79 = urem i32 %78, 2 %80 = icmp eq i32 %79, 1 br i1 %80, label %81, label %84 81: ; preds = %77 %82 = load double, ptr %19, align 8 %83 = fneg double %82 store double %83, ptr %19, align 8 br label %84 84: ; preds = %81, %77, %63 %85 = load i32, ptr %8, align 4 %86 = load i32, ptr %16, align 4 %87 = load double, ptr %10, align 8 %88 = call double @cos(double noundef %87) #4 %89 = call i32 @ERI_Associated_Legendre_Polynomial(i32 noundef %85, i32 noundef %86, double noundef %88, ptr noundef %22, ptr noundef %23) %90 = load i32, ptr %9, align 4 %91 = sitofp i32 %90 to double %92 = load double, ptr %11, align 8 %93 = fmul double %91, %92 %94 = call double @cos(double noundef %93) #4 store double %94, ptr %20, align 8 %95 = load i32, ptr %9, align 4 %96 = sitofp i32 %95 to double %97 = load double, ptr %11, align 8 %98 = fmul double %96, %97 %99 = call double @sin(double noundef %98) #4 store double %99, ptr %21, align 8 %100 = load double, ptr %19, align 8 %101 = load double, ptr %22, align 8 %102 = fmul double %100, %101 %103 = load double, ptr %20, align 8 %104 = fmul double %102, %103 %105 = load ptr, ptr %12, align 8 %106 = getelementptr inbounds double, ptr %105, i64 0 store double %104, ptr %106, align 8 %107 = load double, ptr %19, align 8 %108 = load double, ptr %22, align 8 %109 = fmul double %107, %108 %110 = load double, ptr %21, align 8 %111 = fmul double %109, %110 %112 = load ptr, ptr %12, align 8 %113 = getelementptr inbounds double, ptr %112, i64 1 store double %111, ptr %113, align 8 %114 = load double, ptr %19, align 8 %115 = load double, ptr %23, align 8 %116 = fmul double %114, %115 %117 = load double, ptr %20, align 8 %118 = fmul double %116, %117 %119 = load ptr, ptr %13, align 8 %120 = getelementptr inbounds double, ptr %119, i64 0 store double %118, ptr %120, align 8 %121 = load double, ptr %19, align 8 %122 = load double, ptr %23, align 8 %123 = fmul double %121, %122 %124 = load double, ptr %21, align 8 %125 = fmul double %123, %124 %126 = load ptr, ptr %13, align 8 %127 = getelementptr inbounds double, ptr %126, i64 1 store double %125, ptr %127, align 8 %128 = load i32, ptr %9, align 4 %129 = sitofp i32 %128 to double %130 = fneg double %129 %131 = load ptr, ptr %12, align 8 %132 = getelementptr inbounds double, ptr %131, i64 1 %133 = load double, ptr %132, align 8 %134 = fmul double %130, %133 %135 = load ptr, ptr %14, align 8 %136 = getelementptr inbounds double, ptr %135, i64 0 store double %134, ptr %136, align 8 %137 = load i32, ptr %9, align 4 %138 = sitofp i32 %137 to double %139 = load ptr, ptr %12, align 8 %140 = getelementptr inbounds double, ptr %139, i64 0 %141 = load double, ptr %140, align 8 %142 = fmul double %138, %141 %143 = load ptr, ptr %14, align 8 %144 = getelementptr inbounds double, ptr %143, i64 1 store double %142, ptr %144, align 8 ret void } declare i32 @abs(i32 noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @ERI_Associated_Legendre_Polynomial(i32 noundef, i32 noundef, double noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nounwind declare double @sin(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpscsiw42e.c' source_filename = "/tmp/tmpscsiw42e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @htx_strcpy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @strcpy(ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @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/tmpscsiw42e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @htx_strcpy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @strcpy(ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @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/tmp0b0ydgc9.c' source_filename = "/tmp/tmp0b0ydgc9.c" target datalayout = "e-m:e-p270: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/tmp0b0ydgc9.c" target datalayout = "e-m:e-p270: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/tmp12ojqaiu.c' source_filename = "/tmp/tmp12ojqaiu.c" target datalayout = "e-m:e-p270: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"\0AAccess to dangerous function %s() denied.\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"creat\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @creat(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef @.str.1) %8 = call i32 @assert(i32 noundef 0) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp12ojqaiu.c" target datalayout = "e-m:e-p270: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"\0AAccess to dangerous function %s() denied.\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"creat\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @creat(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef @.str.1) %8 = call i32 @assert(i32 noundef 0) %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #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"}
; ModuleID = '/tmp/tmpwuzuc1lt.c' source_filename = "/tmp/tmpwuzuc1lt.c" target datalayout = "e-m:e-p270: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/tmpwuzuc1lt.c" target datalayout = "e-m:e-p270: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/tmpj0f882ul.c' source_filename = "/tmp/tmpj0f882ul.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @.str = private unnamed_addr constant [8 x i8] c"C.UTF-8\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"en_US.UTF-8\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"/usr/share/locale\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [34 x i8] c"Can't read /usr/share/locale: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call i32 @sl(ptr noundef @.str) %5 = call i32 @sl(ptr noundef @.str.1) %6 = call ptr @opendir(ptr noundef @.str.2) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %14, label %9 9: ; preds = %0 %10 = load i32, ptr @stderr, align 4 %11 = load i32, ptr @errno, align 4 %12 = call ptr @strerror(i32 noundef %11) %13 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.3, ptr noundef %12) store i32 1, ptr %1, align 4 br label %25 14: ; preds = %0 br label %15 15: ; preds = %19, %14 %16 = load ptr, ptr %2, align 8 %17 = call ptr @readdir(ptr noundef %16) store ptr %17, ptr %3, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds %struct.dirent, ptr %20, i32 0, i32 0 %22 = load ptr, ptr %21, align 8 %23 = call i32 @sl(ptr noundef %22) br label %15, !llvm.loop !6 24: ; preds = %15 store i32 1, ptr %1, align 4 br label %25 25: ; preds = %24, %9 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @sl(ptr noundef) #1 declare ptr @opendir(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare ptr @readdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpj0f882ul.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @.str = private unnamed_addr constant [8 x i8] c"C.UTF-8\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"en_US.UTF-8\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"/usr/share/locale\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [34 x i8] c"Can't read /usr/share/locale: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call i32 @sl(ptr noundef @.str) %5 = call i32 @sl(ptr noundef @.str.1) %6 = call ptr @opendir(ptr noundef @.str.2) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %14, label %9 9: ; preds = %0 %10 = load i32, ptr @stderr, align 4 %11 = load i32, ptr @errno, align 4 %12 = call ptr @strerror(i32 noundef %11) %13 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.3, ptr noundef %12) store i32 1, ptr %1, align 4 br label %27 14: ; preds = %0 %15 = load ptr, ptr %2, align 8 %16 = call ptr @readdir(ptr noundef %15) store ptr %16, ptr %3, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %.lr.ph, label %26 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %18 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds %struct.dirent, ptr %19, i32 0, i32 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 @sl(ptr noundef %21) %23 = load ptr, ptr %2, align 8 %24 = call ptr @readdir(ptr noundef %23) store ptr %24, ptr %3, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %26 26: ; preds = %._crit_edge, %14 store i32 1, ptr %1, align 4 br label %27 27: ; preds = %26, %9 %28 = load i32, ptr %1, align 4 ret i32 %28 } declare i32 @sl(ptr noundef) #1 declare ptr @opendir(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare ptr @readdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6ltdbtbz.c' source_filename = "/tmp/tmp6ltdbtbz.c" target datalayout = "e-m:e-p270: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/tmp6ltdbtbz.c" target datalayout = "e-m:e-p270: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/tmpeofnkrd3.c' source_filename = "/tmp/tmpeofnkrd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @astringWriteToFD(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i64 0, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %7, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %2 br label %15 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %12, align 8 %14 = call i32 @strlen(ptr noundef %13) br label %15 15: ; preds = %11, %10 %16 = phi i32 [ 0, %10 ], [ %14, %11 ] store i32 %16, ptr %6, align 4 %17 = load i32, ptr %3, align 4 %18 = call i64 @uint32WriteToFD(i32 noundef %17, ptr noundef %6) %19 = load i64, ptr %5, align 8 %20 = add i64 %19, %18 store i64 %20, ptr %5, align 8 %21 = load i32, ptr %3, align 4 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %6, align 4 %25 = call i64 @write_FD(i32 noundef %21, ptr noundef %23, i32 noundef %24) %26 = load i64, ptr %5, align 8 %27 = add i64 %26, %25 store i64 %27, ptr %5, align 8 %28 = load i64, ptr %5, align 8 ret i64 %28 } declare i32 @strlen(ptr noundef) #1 declare i64 @uint32WriteToFD(i32 noundef, ptr noundef) #1 declare i64 @write_FD(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/tmpeofnkrd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @astringWriteToFD(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i64 0, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %7, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %2 br label %15 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %12, align 8 %14 = call i32 @strlen(ptr noundef %13) br label %15 15: ; preds = %11, %10 %16 = phi i32 [ 0, %10 ], [ %14, %11 ] store i32 %16, ptr %6, align 4 %17 = load i32, ptr %3, align 4 %18 = call i64 @uint32WriteToFD(i32 noundef %17, ptr noundef %6) %19 = load i64, ptr %5, align 8 %20 = add i64 %19, %18 store i64 %20, ptr %5, align 8 %21 = load i32, ptr %3, align 4 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %6, align 4 %25 = call i64 @write_FD(i32 noundef %21, ptr noundef %23, i32 noundef %24) %26 = load i64, ptr %5, align 8 %27 = add i64 %26, %25 store i64 %27, ptr %5, align 8 %28 = load i64, ptr %5, align 8 ret i64 %28 } declare i32 @strlen(ptr noundef) #1 declare i64 @uint32WriteToFD(i32 noundef, ptr noundef) #1 declare i64 @write_FD(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/tmpvoadwswn.c' source_filename = "/tmp/tmpvoadwswn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recup(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = call ptr @calloc(i32 noundef 10, i32 noundef 1) store ptr %7, ptr %3, align 8 %8 = call ptr @calloc(i32 noundef 10, i32 noundef 1) store ptr %8, ptr %4, align 8 store i32 10, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %12, %1 %10 = load i32, ptr %2, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %26 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %5, align 4 %15 = srem i32 %13, %14 %16 = add nsw i32 %15, 48 %17 = trunc i32 %16 to i8 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 %17, ptr %21, align 1 %22 = load i32, ptr %2, align 4 %23 = sdiv i32 %22, 10 store i32 %23, ptr %2, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 br label %9, !llvm.loop !6 26: ; preds = %9 store i32 0, ptr %5, align 4 br label %27 27: ; preds = %44, %26 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %47 31: ; preds = %27 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %6, align 4 %34 = sub nsw i32 %33, 1 %35 = load i32, ptr %5, align 4 %36 = sub nsw i32 %34, %35 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %32, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 %39, ptr %43, align 1 br label %44 44: ; preds = %31 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %27, !llvm.loop !8 47: ; preds = %27 %48 = load ptr, ptr %4, align 8 ret ptr %48 } declare ptr @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvoadwswn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recup(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = call ptr @calloc(i32 noundef 10, i32 noundef 1) store ptr %7, ptr %3, align 8 %8 = call ptr @calloc(i32 noundef 10, i32 noundef 1) store ptr %8, ptr %4, align 8 store i32 10, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %5, align 4 %14 = srem i32 %12, %13 %15 = add nsw i32 %14, 48 %16 = trunc i32 %15 to i8 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 %16, ptr %20, align 1 %21 = load i32, ptr %2, align 4 %22 = sdiv i32 %21, 10 store i32 %22, ptr %2, align 4 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %27 27: ; preds = %._crit_edge, %1 store i32 0, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph2, label %50 .lr.ph2: ; preds = %27 br label %31 31: ; preds = %.lr.ph2, %44 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %6, align 4 %34 = sub nsw i32 %33, 1 %35 = load i32, ptr %5, align 4 %36 = sub nsw i32 %34, %35 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %32, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 %39, ptr %43, align 1 br label %44 44: ; preds = %31 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 %47 = load i32, ptr %5, align 4 %48 = load i32, ptr %6, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %50 50: ; preds = %._crit_edge3, %27 %51 = load ptr, ptr %4, align 8 ret ptr %51 } declare ptr @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpp1chrm20.c' source_filename = "/tmp/tmpp1chrm20.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"MEDIA = %.5f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = load double, ptr %2, align 8 %6 = load double, ptr %3, align 8 %7 = fmul double %6, 7.500000e+00 %8 = call double @llvm.fmuladd.f64(double %5, double 3.500000e+00, double %7) %9 = fdiv double %8, 1.100000e+01 %10 = call i32 @printf(ptr noundef @.str.1, double noundef %9) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp1chrm20.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"MEDIA = %.5f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = load double, ptr %2, align 8 %6 = load double, ptr %3, align 8 %7 = fmul double %6, 7.500000e+00 %8 = call double @llvm.fmuladd.f64(double %5, double 3.500000e+00, double %7) %9 = fdiv double %8, 1.100000e+01 %10 = call i32 @printf(ptr noundef @.str.1, double noundef %9) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr 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"}
; ModuleID = '/tmp/tmpppkyu60n.c' source_filename = "/tmp/tmpppkyu60n.c" target datalayout = "e-m:e-p270: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/tmpppkyu60n.c" target datalayout = "e-m:e-p270: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/tmptaru8sfu.c' source_filename = "/tmp/tmptaru8sfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmousewiny() #0 { %1 = call i64 (...) @GetMouseWinY289() ret i64 %1 } declare i64 @GetMouseWinY289(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptaru8sfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmousewiny() #0 { %1 = call i64 (...) @GetMouseWinY289() ret i64 %1 } declare i64 @GetMouseWinY289(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj2zpzv64.c' source_filename = "/tmp/tmpj2zpzv64.c" target datalayout = "e-m:e-p270: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/tmpj2zpzv64.c" target datalayout = "e-m:e-p270: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/tmpvwtzjokj.c' source_filename = "/tmp/tmpvwtzjokj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @invmix(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @mix(ptr noundef %5, i32 noundef %6) ret void } declare i32 @mix(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/tmpvwtzjokj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @invmix(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @mix(ptr noundef %5, i32 noundef %6) ret void } declare i32 @mix(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/tmpc2ek4hvg.c' source_filename = "/tmp/tmpc2ek4hvg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset_aligned(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 %9 = load i64, ptr %6, align 8 %10 = udiv i64 %9, 4 store i64 %10, ptr %6, align 8 br label %11 11: ; preds = %15, %3 %12 = load i64, ptr %6, align 8 %13 = add i64 %12, -1 store i64 %13, ptr %6, align 8 %14 = icmp ne i64 %12, 0 br i1 %14, label %15, label %19 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = load ptr, ptr %7, align 8 %18 = getelementptr inbounds i32, ptr %17, i32 1 store ptr %18, ptr %7, align 8 store i32 %16, ptr %17, align 4 br label %11, !llvm.loop !6 19: ; preds = %11 %20 = load ptr, ptr %4, align 8 ret ptr %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpc2ek4hvg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset_aligned(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 %9 = load i64, ptr %6, align 8 %10 = udiv i64 %9, 4 store i64 %10, ptr %6, align 8 %11 = load i64, ptr %6, align 8 %12 = add i64 %11, -1 store i64 %12, ptr %6, align 8 %13 = icmp ne i64 %11, 0 br i1 %13, label %.lr.ph, label %21 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %14 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i32, ptr %16, i32 1 store ptr %17, ptr %7, align 8 store i32 %15, ptr %16, align 4 %18 = load i64, ptr %6, align 8 %19 = add i64 %18, -1 store i64 %19, ptr %6, align 8 %20 = icmp ne i64 %18, 0 br i1 %20, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %21 21: ; preds = %._crit_edge, %3 %22 = load ptr, ptr %4, align 8 ret ptr %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbt8isue9.c' source_filename = "/tmp/tmpbt8isue9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f_add_int8_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, i64 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %15 15: ; preds = %48, %6 %16 = load i32, ptr %13, align 4 %17 = load i32, ptr %12, align 4 %18 = icmp ult i32 %16, %17 br i1 %18, label %19, label %51 19: ; preds = %15 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %13, align 4 %22 = zext i32 %21 to i64 %23 = getelementptr inbounds i64, ptr %20, i64 %22 %24 = load i64, ptr %23, align 8 %25 = load i64, ptr %11, align 8 %26 = add nsw i64 %24, %25 store i64 %26, ptr %14, align 8 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %13, align 4 %29 = zext i32 %28 to i64 %30 = getelementptr inbounds i64, ptr %27, i64 %29 %31 = load i64, ptr %30, align 8 %32 = load i64, ptr %9, align 8 %33 = icmp slt i64 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %19 %35 = load i64, ptr %14, align 8 br label %42 36: ; preds = %19 %37 = load ptr, ptr %10, align 8 %38 = load i32, ptr %13, align 4 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds i64, ptr %37, i64 %39 %41 = load i64, ptr %40, align 8 br label %42 42: ; preds = %36, %34 %43 = phi i64 [ %35, %34 ], [ %41, %36 ] %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %13, align 4 %46 = zext i32 %45 to i64 %47 = getelementptr inbounds i64, ptr %44, i64 %46 store i64 %43, ptr %47, align 8 br label %48 48: ; preds = %42 %49 = load i32, ptr %13, align 4 %50 = add i32 %49, 1 store i32 %50, ptr %13, align 4 br label %15, !llvm.loop !6 51: ; preds = %15 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbt8isue9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f_add_int8_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, i64 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 store i32 0, ptr %13, align 4 %15 = load i32, ptr %13, align 4 %16 = load i32, ptr %12, align 4 %17 = icmp ult i32 %15, %16 br i1 %17, label %.lr.ph, label %53 .lr.ph: ; preds = %6 br label %18 18: ; preds = %.lr.ph, %47 %19 = load ptr, ptr %10, align 8 %20 = load i32, ptr %13, align 4 %21 = zext i32 %20 to i64 %22 = getelementptr inbounds i64, ptr %19, i64 %21 %23 = load i64, ptr %22, align 8 %24 = load i64, ptr %11, align 8 %25 = add nsw i64 %23, %24 store i64 %25, ptr %14, align 8 %26 = load ptr, ptr %8, align 8 %27 = load i32, ptr %13, align 4 %28 = zext i32 %27 to i64 %29 = getelementptr inbounds i64, ptr %26, i64 %28 %30 = load i64, ptr %29, align 8 %31 = load i64, ptr %9, align 8 %32 = icmp slt i64 %30, %31 br i1 %32, label %33, label %35 33: ; preds = %18 %34 = load i64, ptr %14, align 8 br label %41 35: ; preds = %18 %36 = load ptr, ptr %10, align 8 %37 = load i32, ptr %13, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds i64, ptr %36, i64 %38 %40 = load i64, ptr %39, align 8 br label %41 41: ; preds = %35, %33 %42 = phi i64 [ %34, %33 ], [ %40, %35 ] %43 = load ptr, ptr %7, align 8 %44 = load i32, ptr %13, align 4 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds i64, ptr %43, i64 %45 store i64 %42, ptr %46, align 8 br label %47 47: ; preds = %41 %48 = load i32, ptr %13, align 4 %49 = add i32 %48, 1 store i32 %49, ptr %13, align 4 %50 = load i32, ptr %13, align 4 %51 = load i32, ptr %12, align 4 %52 = icmp ult i32 %50, %51 br i1 %52, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %53 53: ; preds = %._crit_edge, %6 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmporfz0vfh.c' source_filename = "/tmp/tmporfz0vfh.c" target datalayout = "e-m:e-p270: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/tmporfz0vfh.c" target datalayout = "e-m:e-p270: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/tmpzbf__eg7.c' source_filename = "/tmp/tmpzbf__eg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xfiredb_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %5 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/tmpzbf__eg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xfiredb_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %5 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/tmpa63mpgmn.c' source_filename = "/tmp/tmpa63mpgmn.c" target datalayout = "e-m:e-p270: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/tmpa63mpgmn.c" target datalayout = "e-m:e-p270: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/tmpsf6ily6y.c' source_filename = "/tmp/tmpsf6ily6y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCKS_PER_SEC = dso_local global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @timeit() #0 { %1 = alloca float, align 4 %2 = alloca i64, align 8 store float -1.000000e+00, ptr %1, align 4 %3 = call i64 (...) @clock() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = sitofp i64 %4 to float %6 = load float, ptr @CLOCKS_PER_SEC, align 4 %7 = fdiv float %5, %6 store float %7, ptr %1, align 4 %8 = load float, ptr %1, align 4 ret float %8 } declare i64 @clock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsf6ily6y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCKS_PER_SEC = dso_local global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @timeit() #0 { %1 = alloca float, align 4 %2 = alloca i64, align 8 store float -1.000000e+00, ptr %1, align 4 %3 = call i64 (...) @clock() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = sitofp i64 %4 to float %6 = load float, ptr @CLOCKS_PER_SEC, align 4 %7 = fdiv float %5, %6 store float %7, ptr %1, align 4 %8 = load float, ptr %1, align 4 ret float %8 } declare i64 @clock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwkl7f_xz.c' source_filename = "/tmp/tmpwkl7f_xz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"__erfl not implemented\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @__erfl(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fputs(ptr noundef @.str, i32 noundef %3) %5 = load i32, ptr @ENOSYS, align 4 %6 = call i32 @__set_errno(i32 noundef %5) ret x86_fp80 0xK00000000000000000000 } declare i32 @fputs(ptr noundef, i32 noundef) #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/tmpwkl7f_xz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"__erfl not implemented\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @__erfl(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fputs(ptr noundef @.str, i32 noundef %3) %5 = load i32, ptr @ENOSYS, align 4 %6 = call i32 @__set_errno(i32 noundef %5) ret x86_fp80 0xK00000000000000000000 } declare i32 @fputs(ptr noundef, i32 noundef) #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/tmp1_81p2__.c' source_filename = "/tmp/tmp1_81p2__.c" target datalayout = "e-m:e-p270: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/tmp1_81p2__.c" target datalayout = "e-m:e-p270: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/tmp8g4e6vq1.c' source_filename = "/tmp/tmp8g4e6vq1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @BM_stdDev(ptr noundef %0, i32 noundef %1, float noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca float, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store float %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load float, ptr %6, align 4 %10 = call i32 @BM_variance(ptr noundef %7, i32 noundef %8, float noundef %9) %11 = call float @sqrt(i32 noundef %10) ret float %11 } declare float @sqrt(i32 noundef) #1 declare i32 @BM_variance(ptr noundef, i32 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/tmp8g4e6vq1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @BM_stdDev(ptr noundef %0, i32 noundef %1, float noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca float, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store float %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load float, ptr %6, align 4 %10 = call i32 @BM_variance(ptr noundef %7, i32 noundef %8, float noundef %9) %11 = call float @sqrt(i32 noundef %10) ret float %11 } declare float @sqrt(i32 noundef) #1 declare i32 @BM_variance(ptr noundef, i32 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/tmpufn7puzt.c' source_filename = "/tmp/tmpufn7puzt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @da_rmitem(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %33, %4 %11 = load i32, ptr %9, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %36 15: ; preds = %10 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = load ptr, ptr %8, align 8 %23 = icmp eq ptr %21, %22 br i1 %23, label %24, label %32 24: ; preds = %15 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %6, align 8 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %9, align 4 %29 = call i32 @da_delitem(ptr noundef %25, ptr noundef %26, ptr noundef %27, i32 noundef %28) %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %9, align 4 br label %32 32: ; preds = %24, %15 br label %33 33: ; preds = %32 %34 = load i32, ptr %9, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %9, align 4 br label %10, !llvm.loop !6 36: ; preds = %10 ret void } declare i32 @da_delitem(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpufn7puzt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @da_rmitem(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp slt i32 %10, %12 br i1 %13, label %.lr.ph, label %39 .lr.ph: ; preds = %4 br label %14 14: ; preds = %.lr.ph, %32 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %8, align 8 %22 = icmp eq ptr %20, %21 br i1 %22, label %23, label %31 23: ; preds = %14 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %6, align 8 %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %9, align 4 %28 = call i32 @da_delitem(ptr noundef %24, ptr noundef %25, ptr noundef %26, i32 noundef %27) %29 = load i32, ptr %9, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %9, align 4 br label %31 31: ; preds = %23, %14 br label %32 32: ; preds = %31 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %9, align 4 %35 = load i32, ptr %9, align 4 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %36, align 4 %38 = icmp slt i32 %35, %37 br i1 %38, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %39 39: ; preds = %._crit_edge, %4 ret void } declare i32 @da_delitem(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp595_01ez.c' source_filename = "/tmp/tmp595_01ez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multi_loop_uint32_t(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %18, %1 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 100 br i1 %8, label %9, label %21 9: ; preds = %6 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 5, %10 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = add nsw i32 %16, %11 store i32 %17, ptr %15, align 4 br label %18 18: ; preds = %9 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 %22 = load ptr, ptr %2, align 8 %23 = call i32 @consumer(ptr noundef %22) store i32 0, ptr %4, align 4 br label %24 24: ; preds = %36, %21 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %25, 100 br i1 %26, label %27, label %39 27: ; preds = %24 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 5, %28 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = add nsw i32 %34, %29 store i32 %35, ptr %33, align 4 br label %36 36: ; preds = %27 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 br label %24, !llvm.loop !8 39: ; preds = %24 %40 = load ptr, ptr %2, align 8 %41 = call i32 @consumer(ptr noundef %40) store i32 0, ptr %5, align 4 br label %42 42: ; preds = %54, %39 %43 = load i32, ptr %5, align 4 %44 = icmp slt i32 %43, 100 br i1 %44, label %45, label %57 45: ; preds = %42 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 5, %46 %48 = load ptr, ptr %2, align 8 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = add nsw i32 %52, %47 store i32 %53, ptr %51, align 4 br label %54 54: ; preds = %45 %55 = load i32, ptr %5, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %5, align 4 br label %42, !llvm.loop !9 57: ; preds = %42 %58 = load ptr, ptr %2, align 8 %59 = call i32 @consumer(ptr noundef %58) ret void } declare i32 @consumer(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp595_01ez.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multi_loop_uint32_t(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 100 br i1 %7, label %.lr.ph, label %22 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %17 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 5, %9 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = add nsw i32 %15, %10 store i32 %16, ptr %14, align 4 br label %17 17: ; preds = %8 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 100 br i1 %21, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %1 %23 = load ptr, ptr %2, align 8 %24 = call i32 @consumer(ptr noundef %23) store i32 0, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %25, 100 br i1 %26, label %.lr.ph2, label %41 .lr.ph2: ; preds = %22 br label %27 27: ; preds = %.lr.ph2, %36 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 5, %28 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = add nsw i32 %34, %29 store i32 %35, ptr %33, align 4 br label %36 36: ; preds = %27 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %39, 100 br i1 %40, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %41 41: ; preds = %._crit_edge3, %22 %42 = load ptr, ptr %2, align 8 %43 = call i32 @consumer(ptr noundef %42) store i32 0, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = icmp slt i32 %44, 100 br i1 %45, label %.lr.ph5, label %60 .lr.ph5: ; preds = %41 br label %46 46: ; preds = %.lr.ph5, %55 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 5, %47 %49 = load ptr, ptr %2, align 8 %50 = load i32, ptr %5, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 %53 = load i32, ptr %52, align 4 %54 = add nsw i32 %53, %48 store i32 %54, ptr %52, align 4 br label %55 55: ; preds = %46 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %5, align 4 %58 = load i32, ptr %5, align 4 %59 = icmp slt i32 %58, 100 br i1 %59, label %46, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %55 br label %60 60: ; preds = %._crit_edge6, %41 %61 = load ptr, ptr %2, align 8 %62 = call i32 @consumer(ptr noundef %61) ret void } declare i32 @consumer(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpjzpwx4ou.c' source_filename = "/tmp/tmpjzpwx4ou.c" target datalayout = "e-m:e-p270: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/tmpjzpwx4ou.c" target datalayout = "e-m:e-p270: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/tmptl1v4j6o.c' source_filename = "/tmp/tmptl1v4j6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @addnewenv(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 i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i64 @strcspn(ptr noundef %9, ptr noundef @.str) store i64 %10, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %11 11: ; preds = %37, %3 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %40 15: ; preds = %11 %16 = load i64, ptr %7, align 8 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i64 @strcspn(ptr noundef %21, ptr noundef @.str) %23 = icmp ne i64 %16, %22 br i1 %23, label %24, label %25 24: ; preds = %15 br label %37 25: ; preds = %15 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = load i64, ptr %7, align 8 %33 = call i64 @strncmp(ptr noundef %26, ptr noundef %31, i64 noundef %32) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %25 br label %40 36: ; preds = %25 br label %37 37: ; preds = %36, %24 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 br label %11, !llvm.loop !6 40: ; preds = %35, %11 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp sge i32 %41, %42 br i1 %43, label %44, label %52 44: ; preds = %40 %45 = load ptr, ptr %4, align 8 %46 = call ptr @istrdup(ptr noundef %45) %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 %50 = sext i32 %48 to i64 %51 = getelementptr inbounds ptr, ptr %47, i64 %50 store ptr %46, ptr %51, align 8 br label %65 52: ; preds = %40 %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %53, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = call i32 @free(ptr noundef %57) %59 = load ptr, ptr %4, align 8 %60 = call ptr @istrdup(ptr noundef %59) %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr %8, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds ptr, ptr %61, i64 %63 store ptr %60, ptr %64, align 8 br label %65 65: ; preds = %52, %44 %66 = load i32, ptr %6, align 4 ret i32 %66 } declare i64 @strcspn(ptr noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @istrdup(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/tmptl1v4j6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @addnewenv(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 i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i64 @strcspn(ptr noundef %9, ptr noundef @.str) store i64 %10, ptr %7, align 8 store i32 0, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %36 %15 = load i64, ptr %7, align 8 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %8, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i64 @strcspn(ptr noundef %20, ptr noundef @.str) %22 = icmp ne i64 %15, %21 br i1 %22, label %23, label %24 23: ; preds = %14 br label %36 24: ; preds = %14 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = load i64, ptr %7, align 8 %32 = call i64 @strncmp(ptr noundef %25, ptr noundef %30, i64 noundef %31) %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %24 br label %42 35: ; preds = %24 br label %36 36: ; preds = %35, %23 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %36 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %42 42: ; preds = %.loopexit, %34 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sge i32 %43, %44 br i1 %45, label %46, label %54 46: ; preds = %42 %47 = load ptr, ptr %4, align 8 %48 = call ptr @istrdup(ptr noundef %47) %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 %52 = sext i32 %50 to i64 %53 = getelementptr inbounds ptr, ptr %49, i64 %52 store ptr %48, ptr %53, align 8 br label %67 54: ; preds = %42 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %8, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds ptr, ptr %55, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = call i32 @free(ptr noundef %59) %61 = load ptr, ptr %4, align 8 %62 = call ptr @istrdup(ptr noundef %61) %63 = load ptr, ptr %5, align 8 %64 = load i32, ptr %8, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 store ptr %62, ptr %66, align 8 br label %67 67: ; preds = %54, %46 %68 = load i32, ptr %6, align 4 ret i32 %68 } declare i64 @strcspn(ptr noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 declare ptr @istrdup(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/tmp2smajl81.c' source_filename = "/tmp/tmp2smajl81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr_fd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %14, %2 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %7, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %24 14: ; preds = %6 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = load i32, ptr %4, align 4 %21 = call i32 @ft_putchar_fd(i8 noundef signext %19, i32 noundef %20) %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %6, !llvm.loop !6 24: ; preds = %6 ret void } declare i32 @ft_putchar_fd(i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2smajl81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr_fd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds i8, ptr %6, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %13 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = load i32, ptr %4, align 4 %20 = call i32 @ft_putchar_fd(i8 noundef signext %18, i32 noundef %19) %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %30 30: ; preds = %._crit_edge, %2 ret void } declare i32 @ft_putchar_fd(i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe1pnsjpj.c' source_filename = "/tmp/tmpe1pnsjpj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"prefix = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @get_netmask_prefix_len(i32 noundef -256) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @get_netmask_prefix_len(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe1pnsjpj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"prefix = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @get_netmask_prefix_len(i32 noundef -256) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @get_netmask_prefix_len(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptqkketng.c' source_filename = "/tmp/tmptqkketng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rndBox() #0 { %1 = alloca double, align 8 %2 = call double (...) @rndu() %3 = call double @sqrt(i32 noundef 11) %4 = fsub double %3, 5.000000e-01 %5 = fdiv double %4, 2.000000e+00 %6 = fsub double %5, 5.000000e-01 %7 = call double @llvm.fmuladd.f64(double %2, double %6, double 5.000000e-01) store double %7, ptr %1, align 8 %8 = call double (...) @rndu() %9 = fcmp olt double %8, 5.000000e-01 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = load double, ptr %1, align 8 %12 = fneg double %11 store double %12, ptr %1, align 8 br label %13 13: ; preds = %10, %0 %14 = load double, ptr %1, align 8 ret double %14 } declare double @rndu(...) #1 declare double @sqrt(i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptqkketng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rndBox() #0 { %1 = alloca double, align 8 %2 = call double (...) @rndu() %3 = call double @sqrt(i32 noundef 11) %4 = fsub double %3, 5.000000e-01 %5 = fdiv double %4, 2.000000e+00 %6 = fsub double %5, 5.000000e-01 %7 = call double @llvm.fmuladd.f64(double %2, double %6, double 5.000000e-01) store double %7, ptr %1, align 8 %8 = call double (...) @rndu() %9 = fcmp olt double %8, 5.000000e-01 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = load double, ptr %1, align 8 %12 = fneg double %11 store double %12, ptr %1, align 8 br label %13 13: ; preds = %10, %0 %14 = load double, ptr %1, align 8 ret double %14 } declare double @rndu(...) #1 declare double @sqrt(i32 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"}
; ModuleID = '/tmp/tmpjn3qnma1.c' source_filename = "/tmp/tmpjn3qnma1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 br label %7 7: ; preds = %42, %2 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %38, %7 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %41 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %19, i64 %22 %24 = load i32, ptr %23, align 4 %25 = icmp sgt i32 %18, %24 br i1 %25, label %26, label %37 26: ; preds = %13 store i32 0, ptr %5, align 4 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %31, i64 %34 %36 = call i32 @swap(ptr noundef %30, ptr noundef %35) br label %37 37: ; preds = %26, %13 br label %38 38: ; preds = %37 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %6, align 4 br label %8, !llvm.loop !6 41: ; preds = %8 br label %42 42: ; preds = %41 %43 = load i32, ptr %5, align 4 %44 = icmp ne i32 %43, 1 br i1 %44, label %7, label %45, !llvm.loop !8 45: ; preds = %42 ret void } declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjn3qnma1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 br label %7 7: ; preds = %45, %2 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %44 .lr.ph: ; preds = %7 br label %12 12: ; preds = %.lr.ph, %37 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %18, i64 %21 %23 = load i32, ptr %22, align 4 %24 = icmp sgt i32 %17, %23 br i1 %24, label %25, label %36 25: ; preds = %12 store i32 0, ptr %5, align 4 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %30, i64 %33 %35 = call i32 @swap(ptr noundef %29, ptr noundef %34) br label %36 36: ; preds = %25, %12 br label %37 37: ; preds = %36 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %6, align 4 %40 = load i32, ptr %6, align 4 %41 = load i32, ptr %4, align 4 %42 = sub nsw i32 %41, 1 %43 = icmp slt i32 %40, %42 br i1 %43, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %44 44: ; preds = %._crit_edge, %7 br label %45 45: ; preds = %44 %46 = load i32, ptr %5, align 4 %47 = icmp ne i32 %46, 1 br i1 %47, label %7, label %48, !llvm.loop !8 48: ; preds = %45 ret void } declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_bww44y5.c' source_filename = "/tmp/tmp_bww44y5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fputs(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %7, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @fwrite(ptr noundef %10, i32 noundef 1, i32 noundef %11, ptr noundef %12) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = load i32, ptr @EOF, align 4 store i32 %18, ptr %3, align 4 br label %20 19: ; preds = %2 store i32 1, ptr %3, align 4 br label %20 20: ; preds = %19, %17 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @strlen(ptr noundef) #1 declare i32 @fwrite(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/tmp_bww44y5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fputs(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %7, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @fwrite(ptr noundef %10, i32 noundef 1, i32 noundef %11, ptr noundef %12) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = load i32, ptr @EOF, align 4 store i32 %18, ptr %3, align 4 br label %20 19: ; preds = %2 store i32 1, ptr %3, align 4 br label %20 20: ; preds = %19, %17 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @strlen(ptr noundef) #1 declare i32 @fwrite(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/tmpro7puo7f.c' source_filename = "/tmp/tmpro7puo7f.c" target datalayout = "e-m:e-p270: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/tmpro7puo7f.c" target datalayout = "e-m:e-p270: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/tmpiyxttwkb.c' source_filename = "/tmp/tmpiyxttwkb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"Error: try to allocate negative-sized memory block!\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c" raised in %s at %s:%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"memory_alloc\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [35 x i8] c"Error: failed to allocate memory!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memory_alloc(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 br label %8 8: ; preds = %3 %9 = load i64, ptr %4, align 8 %10 = icmp sle i64 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %13, i32 noundef %14) %16 = load i32, ptr @EXIT_FAILURE, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %8 br label %19 19: ; preds = %18 %20 = load i64, ptr %4, align 8 %21 = call ptr @malloc(i64 noundef %20) store ptr %21, ptr %7, align 8 br label %22 22: ; preds = %19 %23 = load ptr, ptr %7, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %32 25: ; preds = %22 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %6, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %27, i32 noundef %28) %30 = load i32, ptr @EXIT_FAILURE, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %22 br label %33 33: ; preds = %32 %34 = load ptr, ptr %7, align 8 ret ptr %34 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(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" } 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/tmpiyxttwkb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"Error: try to allocate negative-sized memory block!\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c" raised in %s at %s:%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"memory_alloc\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [35 x i8] c"Error: failed to allocate memory!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memory_alloc(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 br label %8 8: ; preds = %3 %9 = load i64, ptr %4, align 8 %10 = icmp sle i64 %9, 0 br i1 %10, label %11, label %18 11: ; preds = %8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %13, i32 noundef %14) %16 = load i32, ptr @EXIT_FAILURE, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %8 br label %19 19: ; preds = %18 %20 = load i64, ptr %4, align 8 %21 = call ptr @malloc(i64 noundef %20) store ptr %21, ptr %7, align 8 br label %22 22: ; preds = %19 %23 = load ptr, ptr %7, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %32 25: ; preds = %22 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %6, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %27, i32 noundef %28) %30 = load i32, ptr @EXIT_FAILURE, align 4 %31 = call i32 @exit(i32 noundef %30) #3 unreachable 32: ; preds = %22 br label %33 33: ; preds = %32 %34 = load ptr, ptr %7, align 8 ret ptr %34 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(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" } 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/tmpa70gx_t6.c' source_filename = "/tmp/tmpa70gx_t6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__assert(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 @hal_DbgAssert(ptr noundef %3) ret void } declare i32 @hal_DbgAssert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa70gx_t6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__assert(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 @hal_DbgAssert(ptr noundef %3) ret void } declare i32 @hal_DbgAssert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwj1vk3qe.c' source_filename = "/tmp/tmpwj1vk3qe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"NO LOOP\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"LOOP\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [10000 x i8], align 16 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = call i32 (...) @getchar() br label %10 10: ; preds = %62, %0 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %2, align 4 %13 = icmp ne i32 %11, 0 br i1 %13, label %14, label %63 14: ; preds = %10 %15 = getelementptr inbounds [10000 x i8], ptr %6, i64 0, i64 0 %16 = call i32 @gets(ptr noundef %15) store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %17 = getelementptr inbounds [10000 x i8], ptr %6, i64 0, i64 0 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp sle i32 %19, 3 br i1 %20, label %21, label %23 21: ; preds = %14 %22 = call i32 @printf(ptr noundef @.str.1) br label %62 23: ; preds = %14 store i32 0, ptr %5, align 4 br label %24 24: ; preds = %50, %23 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %53 28: ; preds = %24 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [10000 x i8], ptr %6, i64 0, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 77 br i1 %34, label %35, label %38 35: ; preds = %28 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 br label %49 38: ; preds = %28 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [10000 x i8], ptr %6, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 70 br i1 %44, label %45, label %48 45: ; preds = %38 %46 = load i32, ptr %4, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %4, align 4 br label %48 48: ; preds = %45, %38 br label %49 49: ; preds = %48, %35 br label %50 50: ; preds = %49 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %24, !llvm.loop !6 53: ; preds = %24 %54 = load i32, ptr %3, align 4 %55 = load i32, ptr %4, align 4 %56 = icmp eq i32 %54, %55 br i1 %56, label %57, label %59 57: ; preds = %53 %58 = call i32 @printf(ptr noundef @.str.2) br label %61 59: ; preds = %53 %60 = call i32 @printf(ptr noundef @.str.1) br label %61 61: ; preds = %59, %57 br label %62 62: ; preds = %61, %21 br label %10, !llvm.loop !8 63: ; preds = %10 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwj1vk3qe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"NO LOOP\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"LOOP\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [10000 x i8], align 16 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = call i32 (...) @getchar() %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %2, align 4 %12 = icmp ne i32 %10, 0 br i1 %12, label %.lr.ph2, label %67 .lr.ph2: ; preds = %0 br label %13 13: ; preds = %.lr.ph2, %63 %14 = getelementptr inbounds [10000 x i8], ptr %6, i64 0, i64 0 %15 = call i32 @gets(ptr noundef %14) store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %16 = getelementptr inbounds [10000 x i8], ptr %6, i64 0, i64 0 %17 = call i32 @strlen(ptr noundef %16) store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp sle i32 %18, 3 br i1 %19, label %20, label %22 20: ; preds = %13 %21 = call i32 @printf(ptr noundef @.str.1) br label %63 22: ; preds = %13 store i32 0, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %54 .lr.ph: ; preds = %22 br label %26 26: ; preds = %.lr.ph, %48 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [10000 x i8], ptr %6, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 77 br i1 %32, label %33, label %36 33: ; preds = %26 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %3, align 4 br label %47 36: ; preds = %26 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [10000 x i8], ptr %6, i64 0, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 70 br i1 %42, label %43, label %46 43: ; preds = %36 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %4, align 4 br label %46 46: ; preds = %43, %36 br label %47 47: ; preds = %46, %33 br label %48 48: ; preds = %47 %49 = load i32, ptr %5, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %5, align 4 %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %22 %55 = load i32, ptr %3, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp eq i32 %55, %56 br i1 %57, label %58, label %60 58: ; preds = %54 %59 = call i32 @printf(ptr noundef @.str.2) br label %62 60: ; preds = %54 %61 = call i32 @printf(ptr noundef @.str.1) br label %62 62: ; preds = %60, %58 br label %63 63: ; preds = %62, %20 %64 = load i32, ptr %2, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %2, align 4 %66 = icmp ne i32 %64, 0 br i1 %66, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %63 br label %67 67: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpx7j4rlqs.c' source_filename = "/tmp/tmpx7j4rlqs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"GET / \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @checkURL(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = call ptr @malloc(i32 noundef 6) store ptr %6, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %20, %1 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 6 br i1 %9, label %10, label %23 10: ; preds = %7 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 store i8 %15, ptr %19, align 1 br label %20 20: ; preds = %10 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %7, !llvm.loop !6 23: ; preds = %7 %24 = load ptr, ptr %4, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 -1, ptr %2, align 4 br label %29 28: ; preds = %23 store i32 0, ptr %2, align 4 br label %29 29: ; preds = %28, %27 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare ptr @malloc(i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx7j4rlqs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"GET / \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @checkURL(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = call ptr @malloc(i32 noundef 6) store ptr %6, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 6 br i1 %8, label %.lr.ph, label %24 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %19 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store i8 %14, ptr %18, align 1 br label %19 19: ; preds = %9 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %22, 6 br i1 %23, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %1 %25 = load ptr, ptr %4, align 8 %26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %24 store i32 -1, ptr %2, align 4 br label %30 29: ; preds = %24 store i32 0, ptr %2, align 4 br label %30 30: ; preds = %29, %28 %31 = load i32, ptr %2, align 4 ret i32 %31 } declare ptr @malloc(i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgfr4l8sj.c' source_filename = "/tmp/tmpgfr4l8sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"new.c\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"printf hello world\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [1025 x i8], align 16 store i32 0, ptr %1, align 4 %6 = call i32 @creat(ptr noundef @.str, i32 noundef 511) %7 = call i32 @open(ptr noundef @.str, i32 noundef 1) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @write(i32 noundef %8, ptr noundef @.str.1, i32 noundef 50) %10 = call i32 @close(i32 noundef 3) %11 = call i32 @open(ptr noundef @.str, i32 noundef 0) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = getelementptr inbounds [1025 x i8], ptr %5, i64 0, i64 0 %14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 100) store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [1025 x i8], ptr %5, i64 0, i64 %16 store i8 0, ptr %17, align 1 %18 = getelementptr inbounds [1025 x i8], ptr %5, i64 0, i64 0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgfr4l8sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"new.c\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"printf hello world\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [1025 x i8], align 16 store i32 0, ptr %1, align 4 %6 = call i32 @creat(ptr noundef @.str, i32 noundef 511) %7 = call i32 @open(ptr noundef @.str, i32 noundef 1) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @write(i32 noundef %8, ptr noundef @.str.1, i32 noundef 50) %10 = call i32 @close(i32 noundef 3) %11 = call i32 @open(ptr noundef @.str, i32 noundef 0) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = getelementptr inbounds [1025 x i8], ptr %5, i64 0, i64 0 %14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 100) store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [1025 x i8], ptr %5, i64 0, i64 %16 store i8 0, ptr %17, align 1 %18 = getelementptr inbounds [1025 x i8], ptr %5, i64 0, i64 0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @creat(ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpizgmenxg.c' source_filename = "/tmp/tmpizgmenxg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%d%c%d=%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %37, %18, %0 %11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %12 = call i64 @gets(ptr noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %38 14: ; preds = %10 %15 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @sscanf(ptr noundef %15, ptr noundef @.str, ptr noundef %5, ptr noundef %3, ptr noundef %6, ptr noundef %8) %17 = icmp ne i32 %16, 4 br i1 %17, label %18, label %19 18: ; preds = %14 br label %10, !llvm.loop !6 19: ; preds = %14 %20 = load i8, ptr %3, align 1 %21 = sext i8 %20 to i32 switch i32 %21, label %30 [ i32 43, label %22 i32 45, label %26 ] 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %23, %24 store i32 %25, ptr %7, align 4 br label %30 26: ; preds = %19 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = sub nsw i32 %27, %28 store i32 %29, ptr %7, align 4 br label %30 30: ; preds = %19, %26, %22 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp eq i32 %31, %32 br i1 %33, label %34, label %37 34: ; preds = %30 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %9, align 4 br label %37 37: ; preds = %34, %30 br label %10, !llvm.loop !6 38: ; preds = %10 %39 = load i32, ptr %9, align 4 %40 = call i32 @printf(ptr noundef @.str.1, i32 noundef %39) ret i32 0 } declare i64 @gets(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpizgmenxg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%d%c%d=%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %9, align 4 %10 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %11 = call i64 @gets(ptr noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %.lr.ph, label %39 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %.backedge %14 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %15 = call i32 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %5, ptr noundef %3, ptr noundef %6, ptr noundef %8) %16 = icmp ne i32 %15, 4 br i1 %16, label %17, label %20 17: ; preds = %13 br label %.backedge .backedge: ; preds = %17, %38 %18 = call i64 @gets(ptr noundef %10) %19 = icmp ne i64 %18, 0 br i1 %19, label %13, label %._crit_edge, !llvm.loop !6 20: ; preds = %13 %21 = load i8, ptr %3, align 1 %22 = sext i8 %21 to i32 switch i32 %22, label %31 [ i32 43, label %23 i32 45, label %27 ] 23: ; preds = %20 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %24, %25 store i32 %26, ptr %7, align 4 br label %31 27: ; preds = %20 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = sub nsw i32 %28, %29 store i32 %30, ptr %7, align 4 br label %31 31: ; preds = %27, %23, %20 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %8, align 4 %34 = icmp eq i32 %32, %33 br i1 %34, label %35, label %38 35: ; preds = %31 %36 = load i32, ptr %9, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %9, align 4 br label %38 38: ; preds = %35, %31 br label %.backedge ._crit_edge: ; preds = %.backedge br label %39 39: ; preds = %._crit_edge, %0 %40 = load i32, ptr %9, align 4 %41 = call i32 @printf(ptr noundef @.str.1, i32 noundef %40) ret i32 0 } declare i64 @gets(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptvj3v288.c' source_filename = "/tmp/tmptvj3v288.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qd_add_d(ptr noundef %0, double noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds double, ptr %12, i64 0 %14 = load double, ptr %13, align 8 %15 = load double, ptr %5, align 8 %16 = call double @dd_two_sum(double noundef %14, double noundef %15, ptr noundef %11) %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds double, ptr %17, i64 0 store double %16, ptr %18, align 8 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds double, ptr %19, i64 1 %21 = load double, ptr %20, align 8 %22 = load double, ptr %11, align 8 %23 = call double @dd_two_sum(double noundef %21, double noundef %22, ptr noundef %11) %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds double, ptr %24, i64 1 store double %23, ptr %25, align 8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds double, ptr %26, i64 2 %28 = load double, ptr %27, align 8 %29 = load double, ptr %11, align 8 %30 = call double @dd_two_sum(double noundef %28, double noundef %29, ptr noundef %11) %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds double, ptr %31, i64 2 store double %30, ptr %32, align 8 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds double, ptr %33, i64 3 %35 = load double, ptr %34, align 8 %36 = load double, ptr %11, align 8 %37 = call double @dd_two_sum(double noundef %35, double noundef %36, ptr noundef %11) %38 = load ptr, ptr %6, align 8 %39 = getelementptr inbounds double, ptr %38, i64 3 store double %37, ptr %39, align 8 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds double, ptr %40, i64 0 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds double, ptr %42, i64 1 %44 = load ptr, ptr %6, align 8 %45 = getelementptr inbounds double, ptr %44, i64 2 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds double, ptr %46, i64 3 %48 = call i32 @qd_renorm5(ptr noundef %41, ptr noundef %43, ptr noundef %45, ptr noundef %47, ptr noundef %11) ret void } declare double @dd_two_sum(double noundef, double noundef, ptr noundef) #1 declare i32 @qd_renorm5(ptr noundef, 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/tmptvj3v288.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qd_add_d(ptr noundef %0, double noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds double, ptr %12, i64 0 %14 = load double, ptr %13, align 8 %15 = load double, ptr %5, align 8 %16 = call double @dd_two_sum(double noundef %14, double noundef %15, ptr noundef %11) %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds double, ptr %17, i64 0 store double %16, ptr %18, align 8 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds double, ptr %19, i64 1 %21 = load double, ptr %20, align 8 %22 = load double, ptr %11, align 8 %23 = call double @dd_two_sum(double noundef %21, double noundef %22, ptr noundef %11) %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds double, ptr %24, i64 1 store double %23, ptr %25, align 8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds double, ptr %26, i64 2 %28 = load double, ptr %27, align 8 %29 = load double, ptr %11, align 8 %30 = call double @dd_two_sum(double noundef %28, double noundef %29, ptr noundef %11) %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds double, ptr %31, i64 2 store double %30, ptr %32, align 8 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds double, ptr %33, i64 3 %35 = load double, ptr %34, align 8 %36 = load double, ptr %11, align 8 %37 = call double @dd_two_sum(double noundef %35, double noundef %36, ptr noundef %11) %38 = load ptr, ptr %6, align 8 %39 = getelementptr inbounds double, ptr %38, i64 3 store double %37, ptr %39, align 8 %40 = load ptr, ptr %6, align 8 %41 = getelementptr inbounds double, ptr %40, i64 0 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds double, ptr %42, i64 1 %44 = load ptr, ptr %6, align 8 %45 = getelementptr inbounds double, ptr %44, i64 2 %46 = load ptr, ptr %6, align 8 %47 = getelementptr inbounds double, ptr %46, i64 3 %48 = call i32 @qd_renorm5(ptr noundef %41, ptr noundef %43, ptr noundef %45, ptr noundef %47, ptr noundef %11) ret void } declare double @dd_two_sum(double noundef, double noundef, ptr noundef) #1 declare i32 @qd_renorm5(ptr noundef, 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/tmpz6fv4567.c' source_filename = "/tmp/tmpz6fv4567.c" target datalayout = "e-m:e-p270: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/tmpz6fv4567.c" target datalayout = "e-m:e-p270: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/tmpddwxukb5.c' source_filename = "/tmp/tmpddwxukb5.c" target datalayout = "e-m:e-p270: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 { i64, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @eloop_q_timeout_add_sec(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca %struct.timeval, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = load i32, ptr %8, align 4 %13 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 store i32 %12, ptr %13, align 8 %14 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 store i64 0, ptr %14, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %10, align 8 %19 = call i32 @eloop_q_timeout_add_tv(ptr noundef %15, i32 noundef %16, ptr noundef %11, ptr noundef %17, ptr noundef %18) ret i32 %19 } declare i32 @eloop_q_timeout_add_tv(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpddwxukb5.c" target datalayout = "e-m:e-p270: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 { i64, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @eloop_q_timeout_add_sec(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca %struct.timeval, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %12 = load i32, ptr %8, align 4 %13 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1 store i32 %12, ptr %13, align 8 %14 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0 store i64 0, ptr %14, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %10, align 8 %19 = call i32 @eloop_q_timeout_add_tv(ptr noundef %15, i32 noundef %16, ptr noundef %11, ptr noundef %17, ptr noundef %18) ret i32 %19 } declare i32 @eloop_q_timeout_add_tv(ptr 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"}
; ModuleID = '/tmp/tmpewp6djgt.c' source_filename = "/tmp/tmpewp6djgt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toString(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = call i64 @malloc(i32 noundef 9) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %8 8: ; preds = %11, %1 %9 = load i32, ptr %2, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %25 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = srem i32 %12, 10 store i32 %13, ptr %5, align 4 %14 = load i32, ptr %2, align 4 %15 = sdiv i32 %14, 10 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 48, %16 %18 = trunc i32 %17 to i8 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 %18, ptr %22, align 1 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %8, !llvm.loop !6 25: ; preds = %8 %26 = load ptr, ptr %3, align 8 %27 = call ptr @reverse(ptr noundef %26) ret ptr %27 } declare i64 @malloc(i32 noundef) #1 declare ptr @reverse(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpewp6djgt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toString(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = call i64 @malloc(i32 noundef 9) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %3, align 8 store i32 0, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i32, ptr %2, align 4 %12 = srem i32 %11, 10 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %2, align 4 %14 = sdiv i32 %13, 10 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 48, %15 %17 = trunc i32 %16 to i8 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 %17, ptr %21, align 1 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %26 26: ; preds = %._crit_edge, %1 %27 = load ptr, ptr %3, align 8 %28 = call ptr @reverse(ptr noundef %27) ret ptr %28 } declare i64 @malloc(i32 noundef) #1 declare ptr @reverse(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_g6bk1cd.c' source_filename = "/tmp/tmp_g6bk1cd.c" target datalayout = "e-m:e-p270: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/tmp_g6bk1cd.c" target datalayout = "e-m:e-p270: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/tmpsgzzyl1u.c' source_filename = "/tmp/tmpsgzzyl1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [72 x i8] c"Problem 6: How many bulbs (0 < n <1 000 000 000) are present, Mr. Mabu?\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Bulb %d is on.\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Blub %d is off.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Problem6() #0 { %1 = alloca i64, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) store i32 2, ptr %2, align 4 br label %6 6: ; preds = %24, %0 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = load i64, ptr %1, align 8 %10 = icmp sle i64 %8, %9 br i1 %10, label %11, label %27 11: ; preds = %6 %12 = load i64, ptr %1, align 8 %13 = load i32, ptr %2, align 4 %14 = sext i32 %13 to i64 %15 = srem i64 %12, %14 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %11 %18 = load i32, ptr %3, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %17 store i32 0, ptr %3, align 4 br label %22 21: ; preds = %17 store i32 1, ptr %3, align 4 br label %22 22: ; preds = %21, %20 br label %23 23: ; preds = %22, %11 br label %24 24: ; preds = %23 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %2, align 4 br label %6, !llvm.loop !6 27: ; preds = %6 %28 = load i32, ptr %3, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load i64, ptr %1, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %31) br label %36 33: ; preds = %27 %34 = load i64, ptr %1, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %34) br label %36 36: ; preds = %33, %30 ret void } 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/tmpsgzzyl1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [72 x i8] c"Problem 6: How many bulbs (0 < n <1 000 000 000) are present, Mr. Mabu?\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Bulb %d is on.\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"Blub %d is off.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Problem6() #0 { %1 = alloca i64, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) store i32 2, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = sext i32 %6 to i64 %8 = load i64, ptr %1, align 8 %9 = icmp sle i64 %7, %8 br i1 %9, label %.lr.ph, label %30 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %23 %11 = load i64, ptr %1, align 8 %12 = load i32, ptr %2, align 4 %13 = sext i32 %12 to i64 %14 = srem i64 %11, %13 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %10 %17 = load i32, ptr %3, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 0, ptr %3, align 4 br label %21 20: ; preds = %16 store i32 1, ptr %3, align 4 br label %21 21: ; preds = %20, %19 br label %22 22: ; preds = %21, %10 br label %23 23: ; preds = %22 %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = sext i32 %26 to i64 %28 = load i64, ptr %1, align 8 %29 = icmp sle i64 %27, %28 br i1 %29, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %30 30: ; preds = %._crit_edge, %0 %31 = load i32, ptr %3, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %30 %34 = load i64, ptr %1, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %34) br label %39 36: ; preds = %30 %37 = load i64, ptr %1, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %37) br label %39 39: ; preds = %36, %33 ret void } 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/tmpdf53k0ex.c' source_filename = "/tmp/tmpdf53k0ex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i64 42, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %24, %1 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = sub nsw i32 %8, 1 %10 = icmp sle i32 %6, %9 br i1 %10, label %11, label %27 11: ; preds = %5 %12 = load i64, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = mul nsw i32 %14, %20 %22 = sext i32 %21 to i64 %23 = add nsw i64 %12, %22 store i64 %23, ptr %3, align 8 br label %24 24: ; preds = %11 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 br label %5, !llvm.loop !6 27: ; preds = %5 %28 = load i64, ptr %3, align 8 ret i64 %28 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdf53k0ex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i64 42, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = sub nsw i32 %7, 1 %9 = icmp sle i32 %5, %8 br i1 %9, label %.lr.ph, label %31 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %23 %11 = load i64, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 1 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = mul nsw i32 %13, %19 %21 = sext i32 %20 to i64 %22 = add nsw i64 %11, %21 store i64 %22, ptr %3, align 8 br label %23 23: ; preds = %10 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = load ptr, ptr %2, align 8 %28 = call i32 @strlen(ptr noundef %27) %29 = sub nsw i32 %28, 1 %30 = icmp sle i32 %26, %29 br i1 %30, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %31 31: ; preds = %._crit_edge, %1 %32 = load i64, ptr %3, align 8 ret i64 %32 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdthd0b6d.c' source_filename = "/tmp/tmpdthd0b6d.c" target datalayout = "e-m:e-p270: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/tmpdthd0b6d.c" target datalayout = "e-m:e-p270: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/tmpabnt41yq.c' source_filename = "/tmp/tmpabnt41yq.c" target datalayout = "e-m:e-p270: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 [34 x i8] c"**ERR: Bad string in H_string().\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @H_string(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %13, label %7 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %7, %1 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %7 %18 = load ptr, ptr %3, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = sub nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 switch i32 %21, label %55 [ i32 0, label %22 i32 1, label %28 i32 2, label %39 ] 22: ; preds = %17 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 0 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = srem i32 %26, 255 store i32 %27, ptr %2, align 4 br label %81 28: ; preds = %17 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 0 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = mul nsw i32 %32, %36 %38 = srem i32 %37, 255 store i32 %38, ptr %2, align 4 br label %81 39: ; preds = %17 %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 0 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = load ptr, ptr %3, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 1 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = mul nsw i32 %43, %47 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 2 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = add nsw i32 %48, %52 %54 = srem i32 %53, 255 store i32 %54, ptr %2, align 4 br label %81 55: ; preds = %17 %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 0 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = load ptr, ptr %3, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 1 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = mul nsw i32 %59, %63 %65 = load ptr, ptr %3, align 8 %66 = load i32, ptr %4, align 4 %67 = sub nsw i32 %66, 1 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %65, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = mul nsw i32 %64, %71 %73 = load ptr, ptr %3, align 8 %74 = load i32, ptr %4, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = add nsw i32 %72, %78 %80 = srem i32 %79, 255 store i32 %80, ptr %2, align 4 br label %81 81: ; preds = %55, %39, %28, %22 %82 = load i32, ptr %2, align 4 ret i32 %82 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpabnt41yq.c" target datalayout = "e-m:e-p270: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 [34 x i8] c"**ERR: Bad string in H_string().\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @H_string(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %13, label %7 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %7, %1 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %7 %18 = load ptr, ptr %3, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = sub nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 switch i32 %21, label %55 [ i32 0, label %22 i32 1, label %28 i32 2, label %39 ] 22: ; preds = %17 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 0 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = srem i32 %26, 255 store i32 %27, ptr %2, align 4 br label %81 28: ; preds = %17 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 0 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = mul nsw i32 %32, %36 %38 = srem i32 %37, 255 store i32 %38, ptr %2, align 4 br label %81 39: ; preds = %17 %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 0 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = load ptr, ptr %3, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 1 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = mul nsw i32 %43, %47 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 2 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = add nsw i32 %48, %52 %54 = srem i32 %53, 255 store i32 %54, ptr %2, align 4 br label %81 55: ; preds = %17 %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 0 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = load ptr, ptr %3, align 8 %61 = getelementptr inbounds i8, ptr %60, i64 1 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = mul nsw i32 %59, %63 %65 = load ptr, ptr %3, align 8 %66 = load i32, ptr %4, align 4 %67 = sub nsw i32 %66, 1 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %65, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = mul nsw i32 %64, %71 %73 = load ptr, ptr %3, align 8 %74 = load i32, ptr %4, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = add nsw i32 %72, %78 %80 = srem i32 %79, 255 store i32 %80, ptr %2, align 4 br label %81 81: ; preds = %55, %39, %28, %22 %82 = load i32, ptr %2, align 4 ret i32 %82 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpdp__rgcz.c' source_filename = "/tmp/tmpdp__rgcz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"------------------------------\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Test WriteImage function\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Done\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @TestCalcMax() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.1) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdp__rgcz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"------------------------------\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Test WriteImage function\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Done\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @TestCalcMax() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.1) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4luqxarx.c' source_filename = "/tmp/tmp4luqxarx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"file.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"testing %s\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [5 x i8] c"xyz\0A\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"good1\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [5 x i8] c"wxyz\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"good2\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [4 x i8] c"a\0Ab\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"not possible\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca [60 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 100, i1 false) %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %39 10: ; preds = %0 %11 = load ptr, ptr %3, align 8 %12 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.3, ptr noundef @.str.4) %13 = load ptr, ptr %3, align 8 %14 = call i32 @fclose(ptr noundef %13) %15 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %16 = load i32, ptr @stdin, align 4 %17 = call i32 @fgets(ptr noundef %15, i32 noundef 5, i32 noundef %16) %18 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %19 = call i32 @strcmp(ptr noundef %18, ptr noundef @.str.5) %20 = icmp ne i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %10 %22 = load i32, ptr @stdout, align 4 %23 = call i32 @fwrite(ptr noundef @.str.6, i32 noundef 1, i32 noundef 6, i32 noundef %22) br label %32 24: ; preds = %10 %25 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str.7) %27 = icmp ne i32 %26, 0 br i1 %27, label %31, label %28 28: ; preds = %24 %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fwrite(ptr noundef @.str.8, i32 noundef 1, i32 noundef 6, i32 noundef %29) br label %31 31: ; preds = %28, %24 br label %32 32: ; preds = %31, %21 %33 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.9) %35 = icmp ne i32 %34, 0 br i1 %35, label %38, label %36 36: ; preds = %32 %37 = call i32 @puts(ptr noundef @.str.10) br label %38 38: ; preds = %36, %32 store i32 0, ptr %1, align 4 br label %39 39: ; preds = %38, %8 %40 = load i32, ptr %1, align 4 ret i32 %40 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @puts(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4luqxarx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"file.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"testing %s\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [5 x i8] c"xyz\0A\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"good1\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [5 x i8] c"wxyz\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"good2\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [4 x i8] c"a\0Ab\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"not possible\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca [60 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 100, i1 false) %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %39 10: ; preds = %0 %11 = load ptr, ptr %3, align 8 %12 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.3, ptr noundef @.str.4) %13 = load ptr, ptr %3, align 8 %14 = call i32 @fclose(ptr noundef %13) %15 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %16 = load i32, ptr @stdin, align 4 %17 = call i32 @fgets(ptr noundef %15, i32 noundef 5, i32 noundef %16) %18 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %19 = call i32 @strcmp(ptr noundef %18, ptr noundef @.str.5) %20 = icmp ne i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %10 %22 = load i32, ptr @stdout, align 4 %23 = call i32 @fwrite(ptr noundef @.str.6, i32 noundef 1, i32 noundef 6, i32 noundef %22) br label %32 24: ; preds = %10 %25 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str.7) %27 = icmp ne i32 %26, 0 br i1 %27, label %31, label %28 28: ; preds = %24 %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fwrite(ptr noundef @.str.8, i32 noundef 1, i32 noundef 6, i32 noundef %29) br label %31 31: ; preds = %28, %24 br label %32 32: ; preds = %31, %21 %33 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.9) %35 = icmp ne i32 %34, 0 br i1 %35, label %38, label %36 36: ; preds = %32 %37 = call i32 @puts(ptr noundef @.str.10) br label %38 38: ; preds = %36, %32 store i32 0, ptr %1, align 4 br label %39 39: ; preds = %38, %8 %40 = load i32, ptr %1, align 4 ret i32 %40 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @puts(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp65z9e2ix.c' source_filename = "/tmp/tmp65z9e2ix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %21, %0 %5 = load i32, ptr %3, align 4 %6 = add i32 %5, 1 store i32 %6, ptr %3, align 4 %7 = icmp ult i32 %6, 1000 br i1 %7, label %8, label %22 8: ; preds = %4 %9 = load i32, ptr %3, align 4 %10 = urem i32 %9, 3 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %8 %13 = load i32, ptr %3, align 4 %14 = urem i32 %13, 5 %15 = icmp ne i32 %14, 0 br i1 %15, label %21, label %16 16: ; preds = %12, %8 %17 = load i32, ptr %3, align 4 %18 = zext i32 %17 to i64 %19 = load i64, ptr %2, align 8 %20 = add i64 %19, %18 store i64 %20, ptr %2, align 8 br label %21 21: ; preds = %16, %12 br label %4, !llvm.loop !6 22: ; preds = %4 %23 = load i64, ptr %2, align 8 %24 = call i32 @printf(ptr noundef @.str, i64 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp65z9e2ix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = add i32 %4, 1 store i32 %5, ptr %3, align 4 %6 = icmp ult i32 %5, 1000 br i1 %6, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %20 %8 = load i32, ptr %3, align 4 %9 = urem i32 %8, 3 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = urem i32 %12, 5 %14 = icmp ne i32 %13, 0 br i1 %14, label %20, label %15 15: ; preds = %11, %7 %16 = load i32, ptr %3, align 4 %17 = zext i32 %16 to i64 %18 = load i64, ptr %2, align 8 %19 = add i64 %18, %17 store i64 %19, ptr %2, align 8 br label %20 20: ; preds = %15, %11 %21 = load i32, ptr %3, align 4 %22 = add i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = icmp ult i32 %22, 1000 br i1 %23, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %24 24: ; preds = %._crit_edge, %0 %25 = load i64, ptr %2, align 8 %26 = call i32 @printf(ptr noundef @.str, i64 noundef %25) ret i32 0 } declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn_qvdpvp.c' source_filename = "/tmp/tmpn_qvdpvp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"big1.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"words.txt\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %3, align 8 %6 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %6, ptr %4, align 8 br label %7 7: ; preds = %27, %22, %0 %8 = load ptr, ptr %3, align 8 %9 = call signext i8 @fgetc(ptr noundef %8) store i8 %9, ptr %2, align 1 %10 = sext i8 %9 to i32 %11 = load i8, ptr @EOF, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %10, %12 br i1 %13, label %14, label %28 14: ; preds = %7 %15 = load i8, ptr %2, align 1 %16 = call i64 @ispunct(i8 noundef signext %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %14 %19 = load i8, ptr %2, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 39 br i1 %21, label %22, label %23 22: ; preds = %18 br label %7, !llvm.loop !6 23: ; preds = %18, %14 %24 = load i8, ptr %2, align 1 %25 = load ptr, ptr %4, align 8 %26 = call i32 @fputc(i8 noundef signext %24, ptr noundef %25) br label %27 27: ; preds = %23 br label %7, !llvm.loop !6 28: ; preds = %7 %29 = load ptr, ptr %3, align 8 %30 = call i32 @fclose(ptr noundef %29) %31 = load ptr, ptr %4, align 8 %32 = call i32 @fclose(ptr noundef %31) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i64 @ispunct(i8 noundef signext) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn_qvdpvp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"big1.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"words.txt\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %3, align 8 %6 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call signext i8 @fgetc(ptr noundef %7) store i8 %8, ptr %2, align 1 %9 = sext i8 %8 to i32 %10 = load i8, ptr @EOF, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %9, %11 br i1 %12, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %.backedge %14 = load i8, ptr %2, align 1 %15 = call i64 @ispunct(i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %28 17: ; preds = %13 %18 = load i8, ptr %2, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 39 br i1 %20, label %21, label %28 21: ; preds = %17 br label %.backedge .backedge: ; preds = %21, %32 %22 = load ptr, ptr %3, align 8 %23 = call signext i8 @fgetc(ptr noundef %22) store i8 %23, ptr %2, align 1 %24 = sext i8 %23 to i32 %25 = load i8, ptr @EOF, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %24, %26 br i1 %27, label %13, label %._crit_edge, !llvm.loop !6 28: ; preds = %17, %13 %29 = load i8, ptr %2, align 1 %30 = load ptr, ptr %4, align 8 %31 = call i32 @fputc(i8 noundef signext %29, ptr noundef %30) br label %32 32: ; preds = %28 br label %.backedge ._crit_edge: ; preds = %.backedge br label %33 33: ; preds = %._crit_edge, %0 %34 = load ptr, ptr %3, align 8 %35 = call i32 @fclose(ptr noundef %34) %36 = load ptr, ptr %4, align 8 %37 = call i32 @fclose(ptr noundef %36) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i64 @ispunct(i8 noundef signext) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr7wj3zub.c' source_filename = "/tmp/tmpr7wj3zub.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"chex %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"1.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr7wj3zub.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"chex %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"1.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2fr0f4ms.c' source_filename = "/tmp/tmp2fr0f4ms.c" target datalayout = "e-m:e-p270: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/tmp2fr0f4ms.c" target datalayout = "e-m:e-p270: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/tmp0dfduwg1.c' source_filename = "/tmp/tmp0dfduwg1.c" target datalayout = "e-m:e-p270: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/tmp0dfduwg1.c" target datalayout = "e-m:e-p270: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/tmp9pbo_a6f.c' source_filename = "/tmp/tmp9pbo_a6f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [5 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4], align 16 @.str = private unnamed_addr constant [86 x i8] c"Effects of passing entire array by reference:\0A\0AThe values of the original array are:\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%3d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"The values of the modified array are:\0A\00", align 1 @.str.4 = private unnamed_addr constant [72 x i8] c"\0A\0A\0AEffects of passing array element by value:\0A\0AThe value of a[3] is %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"The value of a[ 3 ] is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 20, i1 false) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %5 5: ; preds = %14, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 5 br i1 %7, label %8, label %17 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12) br label %14 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %5, !llvm.loop !6 17: ; preds = %5 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %19 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %20 = call i32 @modifyArray(ptr noundef %19, i32 noundef 5) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %3, align 4 br label %22 22: ; preds = %31, %17 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %23, 5 br i1 %24, label %25, label %34 25: ; preds = %22 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29) br label %31 31: ; preds = %25 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 br label %22, !llvm.loop !8 34: ; preds = %22 %35 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3 %36 = load i32, ptr %35, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %36) %38 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3 %39 = load i32, ptr %38, align 4 %40 = call i32 @modifyElement(i32 noundef %39) %41 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3 %42 = load i32, ptr %41, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %42) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @modifyArray(ptr noundef, i32 noundef) #2 declare i32 @modifyElement(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9pbo_a6f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [5 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4], align 16 @.str = private unnamed_addr constant [86 x i8] c"Effects of passing entire array by reference:\0A\0AThe values of the original array are:\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%3d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"The values of the modified array are:\0A\00", align 1 @.str.4 = private unnamed_addr constant [72 x i8] c"\0A\0A\0AEffects of passing array element by value:\0A\0AThe value of a[3] is %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"The value of a[ 3 ] is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 20, i1 false) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %13 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %9 %11 = load i32, ptr %10, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11) br label %13 13: ; preds = %7 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 5 br i1 %17, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %20 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %21 = call i32 @modifyArray(ptr noundef %20, i32 noundef 5) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %23, 5 br i1 %24, label %.lr.ph2, label %36 .lr.ph2: ; preds = %18 br label %25 25: ; preds = %.lr.ph2, %31 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29) br label %31 31: ; preds = %25 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %34, 5 br i1 %35, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %36 36: ; preds = %._crit_edge3, %18 %37 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3 %38 = load i32, ptr %37, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %38) %40 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3 %41 = load i32, ptr %40, align 4 %42 = call i32 @modifyElement(i32 noundef %41) %43 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3 %44 = load i32, ptr %43, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %44) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @modifyArray(ptr noundef, i32 noundef) #2 declare i32 @modifyElement(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpp7sb8hxu.c' source_filename = "/tmp/tmpp7sb8hxu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Let's see how the coin flips .. \0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"Heads\09\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Tails\09\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"\0A\0A /There are %d heads\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"\0A /There are %d tails\00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"\0A\0AThe results just came in...\0A\09Are you curious..?\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"Heads percentage = %.2f\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"Tails percent = %.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = call i64 @time(ptr noundef null) %9 = trunc i64 %8 to i32 %10 = call i32 @srand(i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 br label %12 12: ; preds = %30, %0 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 1000 br i1 %14, label %15, label %33 15: ; preds = %12 %16 = call i32 (...) @rand() %17 = srem i32 %16, 2 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %15 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %24 22: ; preds = %15 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22, %20 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, %25 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = sub nsw i32 1000, %28 store i32 %29, ptr %5, align 4 br label %30 30: ; preds = %24 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %2, align 4 br label %12, !llvm.loop !6 33: ; preds = %12 %34 = load i32, ptr %4, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34) %36 = load i32, ptr %5, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %36) %38 = load i32, ptr %4, align 4 %39 = sitofp i32 %38 to float %40 = fdiv float %39, 1.000000e+03 %41 = fpext float %40 to double %42 = fmul double %41, 1.000000e+02 %43 = fptrunc double %42 to float store float %43, ptr %7, align 4 %44 = load float, ptr %7, align 4 %45 = fpext float %44 to double %46 = fsub double 1.000000e+02, %45 %47 = fptrunc double %46 to float store float %47, ptr %6, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %49 = load float, ptr %7, align 4 %50 = fpext float %49 to double %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %50) %52 = load float, ptr %6, align 4 %53 = fpext float %52 to double %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %53) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp7sb8hxu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Let's see how the coin flips .. \0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"Heads\09\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Tails\09\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"\0A\0A /There are %d heads\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"\0A /There are %d tails\00", align 1 @.str.5 = private unnamed_addr constant [52 x i8] c"\0A\0AThe results just came in...\0A\09Are you curious..?\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"Heads percentage = %.2f\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"Tails percent = %.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = call i64 @time(ptr noundef null) %9 = trunc i64 %8 to i32 %10 = call i32 @srand(i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 1000 br i1 %13, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %29 %15 = call i32 (...) @rand() %16 = srem i32 %15, 2 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %23 21: ; preds = %14 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %23 23: ; preds = %21, %19 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, %24 store i32 %26, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = sub nsw i32 1000, %27 store i32 %28, ptr %5, align 4 br label %29 29: ; preds = %23 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %2, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %32, 1000 br i1 %33, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %0 %35 = load i32, ptr %4, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %35) %37 = load i32, ptr %5, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %37) %39 = load i32, ptr %4, align 4 %40 = sitofp i32 %39 to float %41 = fdiv float %40, 1.000000e+03 %42 = fpext float %41 to double %43 = fmul double %42, 1.000000e+02 %44 = fptrunc double %43 to float store float %44, ptr %7, align 4 %45 = load float, ptr %7, align 4 %46 = fpext float %45 to double %47 = fsub double 1.000000e+02, %46 %48 = fptrunc double %47 to float store float %48, ptr %6, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %50 = load float, ptr %7, align 4 %51 = fpext float %50 to double %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %51) %53 = load float, ptr %6, align 4 %54 = fpext float %53 to double %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %54) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjejmlslz.c' source_filename = "/tmp/tmpjejmlslz.c" target datalayout = "e-m:e-p270: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/tmpjejmlslz.c" target datalayout = "e-m:e-p270: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/tmpfbjlkqu8.c' source_filename = "/tmp/tmpfbjlkqu8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"M450_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M450_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfbjlkqu8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"M450_f(const char *s) is not yet implemented!\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @M450_f(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @debug(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4) ret i32 1 } declare i32 @debug(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_d2kugph.c' source_filename = "/tmp/tmp_d2kugph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_hex(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_d2kugph.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_hex(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpckixirbq.c' source_filename = "/tmp/tmpckixirbq.c" target datalayout = "e-m:e-p270: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/tmpckixirbq.c" target datalayout = "e-m:e-p270: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/tmph20_k05k.c' source_filename = "/tmp/tmph20_k05k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EMACTimestampPPSCommand(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 1074708480 %7 = zext i1 %6 to i32 %8 = call i32 @ASSERT(i32 noundef %7) br label %9 9: ; preds = %17, %2 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1836 %12 = sext i32 %11 to i64 %13 = inttoptr i64 %12 to ptr %14 = load volatile i32, ptr %13, align 4 %15 = and i32 %14, 15 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %9 br label %9, !llvm.loop !6 18: ; preds = %9 %19 = load i32, ptr %4, align 4 %20 = or i32 16, %19 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1836 %23 = sext i32 %22 to i64 %24 = inttoptr i64 %23 to ptr store volatile i32 %20, ptr %24, align 4 ret void } 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/tmph20_k05k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EMACTimestampPPSCommand(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 1074708480 %7 = zext i1 %6 to i32 %8 = call i32 @ASSERT(i32 noundef %7) br label %9 9: ; preds = %9, %2 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1836 %12 = sext i32 %11 to i64 %13 = inttoptr i64 %12 to ptr %14 = load volatile i32, ptr %13, align 4 %15 = and i32 %14, 15 %16 = icmp ne i32 %15, 0 br i1 %16, label %9, label %17, !llvm.loop !6 17: ; preds = %9 %18 = load i32, ptr %4, align 4 %19 = or i32 16, %18 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1836 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr store volatile i32 %19, ptr %23, align 4 ret void } 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/tmpad8oiq7j.c' source_filename = "/tmp/tmpad8oiq7j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [30 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @gets(ptr noundef %3) %5 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %5) ret i32 0 } declare i32 @gets(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpad8oiq7j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [30 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @gets(ptr noundef %3) %5 = getelementptr inbounds [30 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %5) ret i32 0 } declare i32 @gets(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"}
; ModuleID = '/tmp/tmp5ugfznwl.c' source_filename = "/tmp/tmp5ugfznwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGTERM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @kill_processes(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %27, %2 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %11, label %30 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = icmp ne i32 %16, -1 br i1 %17, label %18, label %26 18: ; preds = %11 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = load i32, ptr @SIGTERM, align 4 %25 = call i32 @kill(i32 noundef %23, i32 noundef %24) br label %26 26: ; preds = %18, %11 br label %27 27: ; preds = %26 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %6, !llvm.loop !6 30: ; preds = %6 ret void } declare i32 @kill(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ugfznwl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGTERM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @kill_processes(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = sext i32 %6 to i64 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %26 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = icmp ne i32 %15, -1 br i1 %16, label %17, label %25 17: ; preds = %10 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = load i32, ptr @SIGTERM, align 4 %24 = call i32 @kill(i32 noundef %22, i32 noundef %23) br label %25 25: ; preds = %17, %10 br label %26 26: ; preds = %25 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = load i64, ptr %4, align 8 %32 = icmp ult i64 %30, %31 br i1 %32, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %33 33: ; preds = %._crit_edge, %2 ret void } declare i32 @kill(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpz801h66z.c' source_filename = "/tmp/tmpz801h66z.c" target datalayout = "e-m:e-p270: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 [569 x i8] c"Usage: qpi_stress [options]\0A\09-h, --help\0A\09\09print this help\0A\09-n, --number=n\0A\09\09 start n processes, default number of cpu cores\0A\09-t, --timeout=n\0A\09\09 time to run(minute), default 0-run util CTRL+C pressed\0A\09-d, --data=n\0A\09\09 data to fill memory, 0 for random, default 0xaa\0A\09-s, --size=n\0A\09\09 size of share memory(MB), default 4\0A\09-p, --delay=n\0A\09\09 result display delay(seconds), default 10\0A\09-o, --output=file\0A\09\09 write result to file, default screen\0AExample:\0A\09qpi_stress -n4 -s10 -t10 -d 0x55\0A start 4 processes, run 10 minutes, per process requst 10 MB memory, use 0x55 to fill\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpz801h66z.c" target datalayout = "e-m:e-p270: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 [569 x i8] c"Usage: qpi_stress [options]\0A\09-h, --help\0A\09\09print this help\0A\09-n, --number=n\0A\09\09 start n processes, default number of cpu cores\0A\09-t, --timeout=n\0A\09\09 time to run(minute), default 0-run util CTRL+C pressed\0A\09-d, --data=n\0A\09\09 data to fill memory, 0 for random, default 0xaa\0A\09-s, --size=n\0A\09\09 size of share memory(MB), default 4\0A\09-p, --delay=n\0A\09\09 result display delay(seconds), default 10\0A\09-o, --output=file\0A\09\09 write result to file, default screen\0AExample:\0A\09qpi_stress -n4 -s10 -t10 -d 0x55\0A start 4 processes, run 10 minutes, per process requst 10 MB memory, use 0x55 to fill\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmphepguwzp.c' source_filename = "/tmp/tmphepguwzp.c" target datalayout = "e-m:e-p270: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/tmphepguwzp.c" target datalayout = "e-m:e-p270: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/tmpj_vlt98z.c' source_filename = "/tmp/tmpj_vlt98z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Hello from main.c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 (...) @prog1() %4 = call i32 (...) @prog2() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @prog1(...) #1 declare i32 @prog2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_vlt98z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Hello from main.c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 (...) @prog1() %4 = call i32 (...) @prog2() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @prog1(...) #1 declare i32 @prog2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1lzynpb2.c' source_filename = "/tmp/tmp1lzynpb2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %7 } 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/tmp1lzynpb2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %7 } 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/tmprngwzral.c' source_filename = "/tmp/tmprngwzral.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abcd.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"Last character = [%c/%d]\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"Second to last character = [%c/%d]\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"Third to last character = [%c/%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr @SEEK_END, align 4 %7 = call i32 @fseek(ptr noundef %5, i32 noundef -1, i32 noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @fgetc(ptr noundef %8) store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 @printf(ptr noundef @.str.2, i32 noundef %10, i32 noundef %11) %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr @SEEK_END, align 4 %15 = call i32 @fseek(ptr noundef %13, i32 noundef -2, i32 noundef %14) %16 = load ptr, ptr %3, align 8 %17 = call i32 @fgetc(ptr noundef %16) store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = call i32 @printf(ptr noundef @.str.3, i32 noundef %18, i32 noundef %19) %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr @SEEK_END, align 4 %23 = call i32 @fseek(ptr noundef %21, i32 noundef -3, i32 noundef %22) %24 = load ptr, ptr %3, align 8 %25 = call i32 @fgetc(ptr noundef %24) store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = call i32 @printf(ptr noundef @.str.4, i32 noundef %26, i32 noundef %27) %29 = load ptr, ptr %3, align 8 %30 = call i32 @fclose(ptr noundef %29) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprngwzral.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abcd.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"Last character = [%c/%d]\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"Second to last character = [%c/%d]\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"Third to last character = [%c/%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr @SEEK_END, align 4 %7 = call i32 @fseek(ptr noundef %5, i32 noundef -1, i32 noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @fgetc(ptr noundef %8) store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 @printf(ptr noundef @.str.2, i32 noundef %10, i32 noundef %11) %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr @SEEK_END, align 4 %15 = call i32 @fseek(ptr noundef %13, i32 noundef -2, i32 noundef %14) %16 = load ptr, ptr %3, align 8 %17 = call i32 @fgetc(ptr noundef %16) store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = call i32 @printf(ptr noundef @.str.3, i32 noundef %18, i32 noundef %19) %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr @SEEK_END, align 4 %23 = call i32 @fseek(ptr noundef %21, i32 noundef -3, i32 noundef %22) %24 = load ptr, ptr %3, align 8 %25 = call i32 @fgetc(ptr noundef %24) store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = call i32 @printf(ptr noundef @.str.4, i32 noundef %26, i32 noundef %27) %29 = load ptr, ptr %3, align 8 %30 = call i32 @fclose(ptr noundef %29) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpivxhtdsb.c' source_filename = "/tmp/tmpivxhtdsb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"toc_get_info %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @serv_get_info(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [2048 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call ptr @normalize(ptr noundef %5) %7 = call i32 @snprintf(ptr noundef %4, i32 noundef 2048, ptr noundef @.str, ptr noundef %6) %8 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @sflap_send(ptr noundef %8, i32 noundef -1, i32 noundef 2) ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @normalize(ptr noundef) #1 declare i32 @sflap_send(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/tmpivxhtdsb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"toc_get_info %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @serv_get_info(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [2048 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %5 = load ptr, ptr %2, align 8 %6 = call ptr @normalize(ptr noundef %5) %7 = call i32 @snprintf(ptr noundef %4, i32 noundef 2048, ptr noundef @.str, ptr noundef %6) %8 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @sflap_send(ptr noundef %8, i32 noundef -1, i32 noundef 2) ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @normalize(ptr noundef) #1 declare i32 @sflap_send(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/tmphu3py508.c' source_filename = "/tmp/tmphu3py508.c" target datalayout = "e-m:e-p270: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/tmphu3py508.c" target datalayout = "e-m:e-p270: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/tmphcj84fg_.c' source_filename = "/tmp/tmphcj84fg_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s <srv IP>:<srv PORT>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphcj84fg_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s <srv IP>:<srv PORT>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp87izz9p8.c' source_filename = "/tmp/tmp87izz9p8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca float, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = call ptr @pico_fb(i32 noundef 512, i32 noundef 384) store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %2 store i32 -1, ptr %3, align 4 br label %119 18: ; preds = %2 store i32 0, ptr %8, align 4 store i32 1, ptr %9, align 4 store i32 0, ptr %7, align 4 br label %19 19: ; preds = %114, %18 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 100000 br i1 %21, label %22, label %117 22: ; preds = %19 %23 = call i32 (...) @wait_sync() store i32 0, ptr %12, align 4 store i32 0, ptr %11, align 4 br label %24 24: ; preds = %94, %22 %25 = load i32, ptr %11, align 4 %26 = icmp slt i32 %25, 384 br i1 %26, label %27, label %97 27: ; preds = %24 store i32 0, ptr %10, align 4 br label %28 28: ; preds = %90, %27 %29 = load i32, ptr %10, align 4 %30 = icmp slt i32 %29, 512 br i1 %30, label %31, label %93 31: ; preds = %28 %32 = load i32, ptr %10, align 4 %33 = sub nsw i32 %32, 256 %34 = load i32, ptr %10, align 4 %35 = sub nsw i32 %34, 256 %36 = mul nsw i32 %33, %35 %37 = load i32, ptr %11, align 4 %38 = sub nsw i32 %37, 192 %39 = load i32, ptr %11, align 4 %40 = sub nsw i32 %39, 192 %41 = mul nsw i32 %38, %40 %42 = add nsw i32 %36, %41 %43 = sitofp i32 %42 to float store float %43, ptr %13, align 4 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %11, align 4 %46 = and i32 %44, %45 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %46, %47 %49 = sitofp i32 %48 to float %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %12, align 4 %52 = add nsw i32 %51, 0 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds float, ptr %50, i64 %53 store float %49, ptr %54, align 4 %55 = load i32, ptr %8, align 4 %56 = sitofp i32 %55 to float %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %12, align 4 %59 = add nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds float, ptr %57, i64 %60 store float %56, ptr %61, align 4 %62 = load i32, ptr %10, align 4 %63 = sub nsw i32 %62, 256 %64 = load i32, ptr %7, align 4 %65 = mul nsw i32 %63, %64 %66 = sitofp i32 %65 to double %67 = load i32, ptr %11, align 4 %68 = sub nsw i32 %67, 192 %69 = sitofp i32 %68 to double %70 = fadd double %69, 5.000000e-01 %71 = fdiv double %66, %70 %72 = fptrunc double %71 to float %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr %12, align 4 %75 = add nsw i32 %74, 2 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds float, ptr %73, i64 %76 store float %72, ptr %77, align 4 %78 = load float, ptr %13, align 4 %79 = fmul float %78, 8.000000e+02 %80 = load i32, ptr %7, align 4 %81 = sitofp i32 %80 to float %82 = fdiv float %79, %81 %83 = load ptr, ptr %6, align 8 %84 = load i32, ptr %12, align 4 %85 = add nsw i32 %84, 3 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds float, ptr %83, i64 %86 store float %82, ptr %87, align 4 %88 = load i32, ptr %12, align 4 %89 = add nsw i32 %88, 4 store i32 %89, ptr %12, align 4 br label %90 90: ; preds = %31 %91 = load i32, ptr %10, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %10, align 4 br label %28, !llvm.loop !6 93: ; preds = %28 br label %94 94: ; preds = %93 %95 = load i32, ptr %11, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %11, align 4 br label %24, !llvm.loop !8 97: ; preds = %24 %98 = call i32 (...) @flip_buffer() %99 = load i32, ptr %9, align 4 %100 = load i32, ptr %8, align 4 %101 = add nsw i32 %100, %99 store i32 %101, ptr %8, align 4 %102 = load i32, ptr %8, align 4 %103 = icmp sge i32 %102, 255 br i1 %103, label %107, label %104 104: ; preds = %97 %105 = load i32, ptr %8, align 4 %106 = icmp slt i32 %105, 0 br i1 %106, label %107, label %113 107: ; preds = %104, %97 %108 = load i32, ptr %9, align 4 %109 = mul nsw i32 %108, -1 store i32 %109, ptr %9, align 4 %110 = load i32, ptr %9, align 4 %111 = load i32, ptr %8, align 4 %112 = add nsw i32 %111, %110 store i32 %112, ptr %8, align 4 br label %113 113: ; preds = %107, %104 br label %114 114: ; preds = %113 %115 = load i32, ptr %7, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %7, align 4 br label %19, !llvm.loop !9 117: ; preds = %19 %118 = call i32 (...) @pico_exit() store i32 0, ptr %3, align 4 br label %119 119: ; preds = %117, %17 %120 = load i32, ptr %3, align 4 ret i32 %120 } declare ptr @pico_fb(i32 noundef, i32 noundef) #1 declare i32 @wait_sync(...) #1 declare i32 @flip_buffer(...) #1 declare i32 @pico_exit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp87izz9p8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca float, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = call ptr @pico_fb(i32 noundef 512, i32 noundef 384) store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %18, label %17 17: ; preds = %2 store i32 -1, ptr %3, align 4 br label %122 18: ; preds = %2 store i32 0, ptr %8, align 4 store i32 1, ptr %9, align 4 store i32 0, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 100000 br i1 %20, label %.lr.ph5, label %120 .lr.ph5: ; preds = %18 br label %21 21: ; preds = %.lr.ph5, %115 %22 = call i32 (...) @wait_sync() store i32 0, ptr %12, align 4 store i32 0, ptr %11, align 4 %23 = load i32, ptr %11, align 4 %24 = icmp slt i32 %23, 384 br i1 %24, label %.lr.ph2, label %98 .lr.ph2: ; preds = %21 br label %25 25: ; preds = %.lr.ph2, %93 store i32 0, ptr %10, align 4 %26 = load i32, ptr %10, align 4 %27 = icmp slt i32 %26, 512 br i1 %27, label %.lr.ph, label %92 .lr.ph: ; preds = %25 br label %28 28: ; preds = %.lr.ph, %87 %29 = load i32, ptr %10, align 4 %30 = sub nsw i32 %29, 256 %31 = load i32, ptr %10, align 4 %32 = sub nsw i32 %31, 256 %33 = mul nsw i32 %30, %32 %34 = load i32, ptr %11, align 4 %35 = sub nsw i32 %34, 192 %36 = load i32, ptr %11, align 4 %37 = sub nsw i32 %36, 192 %38 = mul nsw i32 %35, %37 %39 = add nsw i32 %33, %38 %40 = sitofp i32 %39 to float store float %40, ptr %13, align 4 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %11, align 4 %43 = and i32 %41, %42 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %43, %44 %46 = sitofp i32 %45 to float %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %12, align 4 %49 = add nsw i32 %48, 0 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds float, ptr %47, i64 %50 store float %46, ptr %51, align 4 %52 = load i32, ptr %8, align 4 %53 = sitofp i32 %52 to float %54 = load ptr, ptr %6, align 8 %55 = load i32, ptr %12, align 4 %56 = add nsw i32 %55, 1 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds float, ptr %54, i64 %57 store float %53, ptr %58, align 4 %59 = load i32, ptr %10, align 4 %60 = sub nsw i32 %59, 256 %61 = load i32, ptr %7, align 4 %62 = mul nsw i32 %60, %61 %63 = sitofp i32 %62 to double %64 = load i32, ptr %11, align 4 %65 = sub nsw i32 %64, 192 %66 = sitofp i32 %65 to double %67 = fadd double %66, 5.000000e-01 %68 = fdiv double %63, %67 %69 = fptrunc double %68 to float %70 = load ptr, ptr %6, align 8 %71 = load i32, ptr %12, align 4 %72 = add nsw i32 %71, 2 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds float, ptr %70, i64 %73 store float %69, ptr %74, align 4 %75 = load float, ptr %13, align 4 %76 = fmul float %75, 8.000000e+02 %77 = load i32, ptr %7, align 4 %78 = sitofp i32 %77 to float %79 = fdiv float %76, %78 %80 = load ptr, ptr %6, align 8 %81 = load i32, ptr %12, align 4 %82 = add nsw i32 %81, 3 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds float, ptr %80, i64 %83 store float %79, ptr %84, align 4 %85 = load i32, ptr %12, align 4 %86 = add nsw i32 %85, 4 store i32 %86, ptr %12, align 4 br label %87 87: ; preds = %28 %88 = load i32, ptr %10, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %10, align 4 %90 = load i32, ptr %10, align 4 %91 = icmp slt i32 %90, 512 br i1 %91, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %87 br label %92 92: ; preds = %._crit_edge, %25 br label %93 93: ; preds = %92 %94 = load i32, ptr %11, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %11, align 4 %96 = load i32, ptr %11, align 4 %97 = icmp slt i32 %96, 384 br i1 %97, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %93 br label %98 98: ; preds = %._crit_edge3, %21 %99 = call i32 (...) @flip_buffer() %100 = load i32, ptr %9, align 4 %101 = load i32, ptr %8, align 4 %102 = add nsw i32 %101, %100 store i32 %102, ptr %8, align 4 %103 = load i32, ptr %8, align 4 %104 = icmp sge i32 %103, 255 br i1 %104, label %108, label %105 105: ; preds = %98 %106 = load i32, ptr %8, align 4 %107 = icmp slt i32 %106, 0 br i1 %107, label %108, label %114 108: ; preds = %105, %98 %109 = load i32, ptr %9, align 4 %110 = mul nsw i32 %109, -1 store i32 %110, ptr %9, align 4 %111 = load i32, ptr %9, align 4 %112 = load i32, ptr %8, align 4 %113 = add nsw i32 %112, %111 store i32 %113, ptr %8, align 4 br label %114 114: ; preds = %108, %105 br label %115 115: ; preds = %114 %116 = load i32, ptr %7, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %7, align 4 %118 = load i32, ptr %7, align 4 %119 = icmp slt i32 %118, 100000 br i1 %119, label %21, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %115 br label %120 120: ; preds = %._crit_edge6, %18 %121 = call i32 (...) @pico_exit() store i32 0, ptr %3, align 4 br label %122 122: ; preds = %120, %17 %123 = load i32, ptr %3, align 4 ret i32 %123 } declare ptr @pico_fb(i32 noundef, i32 noundef) #1 declare i32 @wait_sync(...) #1 declare i32 @flip_buffer(...) #1 declare i32 @pico_exit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpmxwxjjp7.c' source_filename = "/tmp/tmpmxwxjjp7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [111 x i8] c"Syntax : photo23d -l <left images> -r <right images> -o <output file pattern> [options]\0A\0AValid options are :\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @T3D_PrintHeader() #0 { %1 = call i32 @T3D_OutputMessage(ptr noundef @.str) ret void } declare i32 @T3D_OutputMessage(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmxwxjjp7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [111 x i8] c"Syntax : photo23d -l <left images> -r <right images> -o <output file pattern> [options]\0A\0AValid options are :\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @T3D_PrintHeader() #0 { %1 = call i32 @T3D_OutputMessage(ptr noundef @.str) ret void } declare i32 @T3D_OutputMessage(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd1etkp41.c' source_filename = "/tmp/tmpd1etkp41.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.anon = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hashlittle2(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca %union.anon, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %14 = load i64, ptr %6, align 8 %15 = trunc i64 %14 to i32 %16 = add i32 -559038737, %15 %17 = load ptr, ptr %7, align 8 %18 = load i32, ptr %17, align 4 %19 = add i32 %16, %18 store i32 %19, ptr %11, align 4 store i32 %19, ptr %10, align 4 store i32 %19, ptr %9, align 4 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr %11, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %11, align 4 %24 = load ptr, ptr %5, align 8 store ptr %24, ptr %12, align 8 %25 = load ptr, ptr %5, align 8 store ptr %25, ptr %13, align 8 br label %26 26: ; preds = %29, %4 %27 = load i64, ptr %6, align 8 %28 = icmp ugt i64 %27, 12 br i1 %28, label %29, label %181 29: ; preds = %26 %30 = load ptr, ptr %13, align 8 %31 = getelementptr inbounds i32, ptr %30, i64 0 %32 = load i32, ptr %31, align 4 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, %32 store i32 %34, ptr %9, align 4 %35 = load ptr, ptr %13, align 8 %36 = getelementptr inbounds i32, ptr %35, i64 1 %37 = load i32, ptr %36, align 4 %38 = shl i32 %37, 8 %39 = load i32, ptr %9, align 4 %40 = add nsw i32 %39, %38 store i32 %40, ptr %9, align 4 %41 = load ptr, ptr %13, align 8 %42 = getelementptr inbounds i32, ptr %41, i64 2 %43 = load i32, ptr %42, align 4 %44 = shl i32 %43, 16 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, %44 store i32 %46, ptr %9, align 4 %47 = load ptr, ptr %13, align 8 %48 = getelementptr inbounds i32, ptr %47, i64 3 %49 = load i32, ptr %48, align 4 %50 = shl i32 %49, 24 %51 = load i32, ptr %9, align 4 %52 = add nsw i32 %51, %50 store i32 %52, ptr %9, align 4 %53 = load ptr, ptr %13, align 8 %54 = getelementptr inbounds i32, ptr %53, i64 4 %55 = load i32, ptr %54, align 4 %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, %55 store i32 %57, ptr %10, align 4 %58 = load ptr, ptr %13, align 8 %59 = getelementptr inbounds i32, ptr %58, i64 5 %60 = load i32, ptr %59, align 4 %61 = shl i32 %60, 8 %62 = load i32, ptr %10, align 4 %63 = add nsw i32 %62, %61 store i32 %63, ptr %10, align 4 %64 = load ptr, ptr %13, align 8 %65 = getelementptr inbounds i32, ptr %64, i64 6 %66 = load i32, ptr %65, align 4 %67 = shl i32 %66, 16 %68 = load i32, ptr %10, align 4 %69 = add nsw i32 %68, %67 store i32 %69, ptr %10, align 4 %70 = load ptr, ptr %13, align 8 %71 = getelementptr inbounds i32, ptr %70, i64 7 %72 = load i32, ptr %71, align 4 %73 = shl i32 %72, 24 %74 = load i32, ptr %10, align 4 %75 = add nsw i32 %74, %73 store i32 %75, ptr %10, align 4 %76 = load ptr, ptr %13, align 8 %77 = getelementptr inbounds i32, ptr %76, i64 8 %78 = load i32, ptr %77, align 4 %79 = load i32, ptr %11, align 4 %80 = add nsw i32 %79, %78 store i32 %80, ptr %11, align 4 %81 = load ptr, ptr %13, align 8 %82 = getelementptr inbounds i32, ptr %81, i64 9 %83 = load i32, ptr %82, align 4 %84 = shl i32 %83, 8 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, %84 store i32 %86, ptr %11, align 4 %87 = load ptr, ptr %13, align 8 %88 = getelementptr inbounds i32, ptr %87, i64 10 %89 = load i32, ptr %88, align 4 %90 = shl i32 %89, 16 %91 = load i32, ptr %11, align 4 %92 = add nsw i32 %91, %90 store i32 %92, ptr %11, align 4 %93 = load ptr, ptr %13, align 8 %94 = getelementptr inbounds i32, ptr %93, i64 11 %95 = load i32, ptr %94, align 4 %96 = shl i32 %95, 24 %97 = load i32, ptr %11, align 4 %98 = add nsw i32 %97, %96 store i32 %98, ptr %11, align 4 %99 = load i32, ptr %11, align 4 %100 = load i32, ptr %9, align 4 %101 = sub nsw i32 %100, %99 store i32 %101, ptr %9, align 4 %102 = load i32, ptr %11, align 4 %103 = shl i32 %102, 4 %104 = load i32, ptr %11, align 4 %105 = ashr i32 %104, 28 %106 = or i32 %103, %105 %107 = load i32, ptr %9, align 4 %108 = xor i32 %107, %106 store i32 %108, ptr %9, align 4 %109 = load i32, ptr %10, align 4 %110 = load i32, ptr %11, align 4 %111 = add nsw i32 %110, %109 store i32 %111, ptr %11, align 4 %112 = load i32, ptr %9, align 4 %113 = load i32, ptr %10, align 4 %114 = sub nsw i32 %113, %112 store i32 %114, ptr %10, align 4 %115 = load i32, ptr %9, align 4 %116 = shl i32 %115, 6 %117 = load i32, ptr %9, align 4 %118 = ashr i32 %117, 26 %119 = or i32 %116, %118 %120 = load i32, ptr %10, align 4 %121 = xor i32 %120, %119 store i32 %121, ptr %10, align 4 %122 = load i32, ptr %11, align 4 %123 = load i32, ptr %9, align 4 %124 = add nsw i32 %123, %122 store i32 %124, ptr %9, align 4 %125 = load i32, ptr %10, align 4 %126 = load i32, ptr %11, align 4 %127 = sub nsw i32 %126, %125 store i32 %127, ptr %11, align 4 %128 = load i32, ptr %10, align 4 %129 = shl i32 %128, 8 %130 = load i32, ptr %10, align 4 %131 = ashr i32 %130, 24 %132 = or i32 %129, %131 %133 = load i32, ptr %11, align 4 %134 = xor i32 %133, %132 store i32 %134, ptr %11, align 4 %135 = load i32, ptr %9, align 4 %136 = load i32, ptr %10, align 4 %137 = add nsw i32 %136, %135 store i32 %137, ptr %10, align 4 %138 = load i32, ptr %11, align 4 %139 = load i32, ptr %9, align 4 %140 = sub nsw i32 %139, %138 store i32 %140, ptr %9, align 4 %141 = load i32, ptr %11, align 4 %142 = shl i32 %141, 16 %143 = load i32, ptr %11, align 4 %144 = ashr i32 %143, 16 %145 = or i32 %142, %144 %146 = load i32, ptr %9, align 4 %147 = xor i32 %146, %145 store i32 %147, ptr %9, align 4 %148 = load i32, ptr %10, align 4 %149 = load i32, ptr %11, align 4 %150 = add nsw i32 %149, %148 store i32 %150, ptr %11, align 4 %151 = load i32, ptr %9, align 4 %152 = load i32, ptr %10, align 4 %153 = sub nsw i32 %152, %151 store i32 %153, ptr %10, align 4 %154 = load i32, ptr %9, align 4 %155 = shl i32 %154, 19 %156 = load i32, ptr %9, align 4 %157 = ashr i32 %156, 13 %158 = or i32 %155, %157 %159 = load i32, ptr %10, align 4 %160 = xor i32 %159, %158 store i32 %160, ptr %10, align 4 %161 = load i32, ptr %11, align 4 %162 = load i32, ptr %9, align 4 %163 = add nsw i32 %162, %161 store i32 %163, ptr %9, align 4 %164 = load i32, ptr %10, align 4 %165 = load i32, ptr %11, align 4 %166 = sub nsw i32 %165, %164 store i32 %166, ptr %11, align 4 %167 = load i32, ptr %10, align 4 %168 = shl i32 %167, 4 %169 = load i32, ptr %10, align 4 %170 = ashr i32 %169, 28 %171 = or i32 %168, %170 %172 = load i32, ptr %11, align 4 %173 = xor i32 %172, %171 store i32 %173, ptr %11, align 4 %174 = load i32, ptr %9, align 4 %175 = load i32, ptr %10, align 4 %176 = add nsw i32 %175, %174 store i32 %176, ptr %10, align 4 %177 = load i64, ptr %6, align 8 %178 = sub i64 %177, 12 store i64 %178, ptr %6, align 8 %179 = load ptr, ptr %13, align 8 %180 = getelementptr inbounds i32, ptr %179, i64 12 store ptr %180, ptr %13, align 8 br label %26, !llvm.loop !6 181: ; preds = %26 %182 = load i64, ptr %6, align 8 switch i64 %182, label %269 [ i64 12, label %183 i64 11, label %190 i64 10, label %197 i64 9, label %204 i64 8, label %210 i64 7, label %217 i64 6, label %224 i64 5, label %231 i64 4, label %237 i64 3, label %244 i64 2, label %251 i64 1, label %258 i64 0, label %264 ] 183: ; preds = %181 %184 = load ptr, ptr %13, align 8 %185 = getelementptr inbounds i32, ptr %184, i64 11 %186 = load i32, ptr %185, align 4 %187 = shl i32 %186, 24 %188 = load i32, ptr %11, align 4 %189 = add nsw i32 %188, %187 store i32 %189, ptr %11, align 4 br label %190 190: ; preds = %181, %183 %191 = load ptr, ptr %13, align 8 %192 = getelementptr inbounds i32, ptr %191, i64 10 %193 = load i32, ptr %192, align 4 %194 = shl i32 %193, 16 %195 = load i32, ptr %11, align 4 %196 = add nsw i32 %195, %194 store i32 %196, ptr %11, align 4 br label %197 197: ; preds = %181, %190 %198 = load ptr, ptr %13, align 8 %199 = getelementptr inbounds i32, ptr %198, i64 9 %200 = load i32, ptr %199, align 4 %201 = shl i32 %200, 8 %202 = load i32, ptr %11, align 4 %203 = add nsw i32 %202, %201 store i32 %203, ptr %11, align 4 br label %204 204: ; preds = %181, %197 %205 = load ptr, ptr %13, align 8 %206 = getelementptr inbounds i32, ptr %205, i64 8 %207 = load i32, ptr %206, align 4 %208 = load i32, ptr %11, align 4 %209 = add nsw i32 %208, %207 store i32 %209, ptr %11, align 4 br label %210 210: ; preds = %181, %204 %211 = load ptr, ptr %13, align 8 %212 = getelementptr inbounds i32, ptr %211, i64 7 %213 = load i32, ptr %212, align 4 %214 = shl i32 %213, 24 %215 = load i32, ptr %10, align 4 %216 = add nsw i32 %215, %214 store i32 %216, ptr %10, align 4 br label %217 217: ; preds = %181, %210 %218 = load ptr, ptr %13, align 8 %219 = getelementptr inbounds i32, ptr %218, i64 6 %220 = load i32, ptr %219, align 4 %221 = shl i32 %220, 16 %222 = load i32, ptr %10, align 4 %223 = add nsw i32 %222, %221 store i32 %223, ptr %10, align 4 br label %224 224: ; preds = %181, %217 %225 = load ptr, ptr %13, align 8 %226 = getelementptr inbounds i32, ptr %225, i64 5 %227 = load i32, ptr %226, align 4 %228 = shl i32 %227, 8 %229 = load i32, ptr %10, align 4 %230 = add nsw i32 %229, %228 store i32 %230, ptr %10, align 4 br label %231 231: ; preds = %181, %224 %232 = load ptr, ptr %13, align 8 %233 = getelementptr inbounds i32, ptr %232, i64 4 %234 = load i32, ptr %233, align 4 %235 = load i32, ptr %10, align 4 %236 = add nsw i32 %235, %234 store i32 %236, ptr %10, align 4 br label %237 237: ; preds = %181, %231 %238 = load ptr, ptr %13, align 8 %239 = getelementptr inbounds i32, ptr %238, i64 3 %240 = load i32, ptr %239, align 4 %241 = shl i32 %240, 24 %242 = load i32, ptr %9, align 4 %243 = add nsw i32 %242, %241 store i32 %243, ptr %9, align 4 br label %244 244: ; preds = %181, %237 %245 = load ptr, ptr %13, align 8 %246 = getelementptr inbounds i32, ptr %245, i64 2 %247 = load i32, ptr %246, align 4 %248 = shl i32 %247, 16 %249 = load i32, ptr %9, align 4 %250 = add nsw i32 %249, %248 store i32 %250, ptr %9, align 4 br label %251 251: ; preds = %181, %244 %252 = load ptr, ptr %13, align 8 %253 = getelementptr inbounds i32, ptr %252, i64 1 %254 = load i32, ptr %253, align 4 %255 = shl i32 %254, 8 %256 = load i32, ptr %9, align 4 %257 = add nsw i32 %256, %255 store i32 %257, ptr %9, align 4 br label %258 258: ; preds = %181, %251 %259 = load ptr, ptr %13, align 8 %260 = getelementptr inbounds i32, ptr %259, i64 0 %261 = load i32, ptr %260, align 4 %262 = load i32, ptr %9, align 4 %263 = add nsw i32 %262, %261 store i32 %263, ptr %9, align 4 br label %269 264: ; preds = %181 %265 = load i32, ptr %11, align 4 %266 = load ptr, ptr %7, align 8 store i32 %265, ptr %266, align 4 %267 = load i32, ptr %10, align 4 %268 = load ptr, ptr %8, align 8 store i32 %267, ptr %268, align 4 br label %344 269: ; preds = %181, %258 %270 = load i32, ptr %10, align 4 %271 = load i32, ptr %11, align 4 %272 = xor i32 %271, %270 store i32 %272, ptr %11, align 4 %273 = load i32, ptr %10, align 4 %274 = shl i32 %273, 14 %275 = load i32, ptr %10, align 4 %276 = ashr i32 %275, 18 %277 = or i32 %274, %276 %278 = load i32, ptr %11, align 4 %279 = sub nsw i32 %278, %277 store i32 %279, ptr %11, align 4 %280 = load i32, ptr %11, align 4 %281 = load i32, ptr %9, align 4 %282 = xor i32 %281, %280 store i32 %282, ptr %9, align 4 %283 = load i32, ptr %11, align 4 %284 = shl i32 %283, 11 %285 = load i32, ptr %11, align 4 %286 = ashr i32 %285, 21 %287 = or i32 %284, %286 %288 = load i32, ptr %9, align 4 %289 = sub nsw i32 %288, %287 store i32 %289, ptr %9, align 4 %290 = load i32, ptr %9, align 4 %291 = load i32, ptr %10, align 4 %292 = xor i32 %291, %290 store i32 %292, ptr %10, align 4 %293 = load i32, ptr %9, align 4 %294 = shl i32 %293, 25 %295 = load i32, ptr %9, align 4 %296 = ashr i32 %295, 7 %297 = or i32 %294, %296 %298 = load i32, ptr %10, align 4 %299 = sub nsw i32 %298, %297 store i32 %299, ptr %10, align 4 %300 = load i32, ptr %10, align 4 %301 = load i32, ptr %11, align 4 %302 = xor i32 %301, %300 store i32 %302, ptr %11, align 4 %303 = load i32, ptr %10, align 4 %304 = shl i32 %303, 16 %305 = load i32, ptr %10, align 4 %306 = ashr i32 %305, 16 %307 = or i32 %304, %306 %308 = load i32, ptr %11, align 4 %309 = sub nsw i32 %308, %307 store i32 %309, ptr %11, align 4 %310 = load i32, ptr %11, align 4 %311 = load i32, ptr %9, align 4 %312 = xor i32 %311, %310 store i32 %312, ptr %9, align 4 %313 = load i32, ptr %11, align 4 %314 = shl i32 %313, 4 %315 = load i32, ptr %11, align 4 %316 = ashr i32 %315, 28 %317 = or i32 %314, %316 %318 = load i32, ptr %9, align 4 %319 = sub nsw i32 %318, %317 store i32 %319, ptr %9, align 4 %320 = load i32, ptr %9, align 4 %321 = load i32, ptr %10, align 4 %322 = xor i32 %321, %320 store i32 %322, ptr %10, align 4 %323 = load i32, ptr %9, align 4 %324 = shl i32 %323, 14 %325 = load i32, ptr %9, align 4 %326 = ashr i32 %325, 18 %327 = or i32 %324, %326 %328 = load i32, ptr %10, align 4 %329 = sub nsw i32 %328, %327 store i32 %329, ptr %10, align 4 %330 = load i32, ptr %10, align 4 %331 = load i32, ptr %11, align 4 %332 = xor i32 %331, %330 store i32 %332, ptr %11, align 4 %333 = load i32, ptr %10, align 4 %334 = shl i32 %333, 24 %335 = load i32, ptr %10, align 4 %336 = ashr i32 %335, 8 %337 = or i32 %334, %336 %338 = load i32, ptr %11, align 4 %339 = sub nsw i32 %338, %337 store i32 %339, ptr %11, align 4 %340 = load i32, ptr %11, align 4 %341 = load ptr, ptr %7, align 8 store i32 %340, ptr %341, align 4 %342 = load i32, ptr %10, align 4 %343 = load ptr, ptr %8, align 8 store i32 %342, ptr %343, align 4 br label %344 344: ; preds = %269, %264 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd1etkp41.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.anon = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hashlittle2(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca %union.anon, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %14 = load i64, ptr %6, align 8 %15 = trunc i64 %14 to i32 %16 = add i32 -559038737, %15 %17 = load ptr, ptr %7, align 8 %18 = load i32, ptr %17, align 4 %19 = add i32 %16, %18 store i32 %19, ptr %11, align 4 store i32 %19, ptr %10, align 4 store i32 %19, ptr %9, align 4 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr %11, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %11, align 4 %24 = load ptr, ptr %5, align 8 store ptr %24, ptr %12, align 8 %25 = load ptr, ptr %5, align 8 store ptr %25, ptr %13, align 8 %26 = load i64, ptr %6, align 8 %27 = icmp ugt i64 %26, 12 br i1 %27, label %.lr.ph, label %182 .lr.ph: ; preds = %4 br label %28 28: ; preds = %.lr.ph, %28 %29 = load ptr, ptr %13, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 0 %31 = load i32, ptr %30, align 4 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, %31 store i32 %33, ptr %9, align 4 %34 = load ptr, ptr %13, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 1 %36 = load i32, ptr %35, align 4 %37 = shl i32 %36, 8 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, %37 store i32 %39, ptr %9, align 4 %40 = load ptr, ptr %13, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 2 %42 = load i32, ptr %41, align 4 %43 = shl i32 %42, 16 %44 = load i32, ptr %9, align 4 %45 = add nsw i32 %44, %43 store i32 %45, ptr %9, align 4 %46 = load ptr, ptr %13, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 3 %48 = load i32, ptr %47, align 4 %49 = shl i32 %48, 24 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %50, %49 store i32 %51, ptr %9, align 4 %52 = load ptr, ptr %13, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 4 %54 = load i32, ptr %53, align 4 %55 = load i32, ptr %10, align 4 %56 = add nsw i32 %55, %54 store i32 %56, ptr %10, align 4 %57 = load ptr, ptr %13, align 8 %58 = getelementptr inbounds i32, ptr %57, i64 5 %59 = load i32, ptr %58, align 4 %60 = shl i32 %59, 8 %61 = load i32, ptr %10, align 4 %62 = add nsw i32 %61, %60 store i32 %62, ptr %10, align 4 %63 = load ptr, ptr %13, align 8 %64 = getelementptr inbounds i32, ptr %63, i64 6 %65 = load i32, ptr %64, align 4 %66 = shl i32 %65, 16 %67 = load i32, ptr %10, align 4 %68 = add nsw i32 %67, %66 store i32 %68, ptr %10, align 4 %69 = load ptr, ptr %13, align 8 %70 = getelementptr inbounds i32, ptr %69, i64 7 %71 = load i32, ptr %70, align 4 %72 = shl i32 %71, 24 %73 = load i32, ptr %10, align 4 %74 = add nsw i32 %73, %72 store i32 %74, ptr %10, align 4 %75 = load ptr, ptr %13, align 8 %76 = getelementptr inbounds i32, ptr %75, i64 8 %77 = load i32, ptr %76, align 4 %78 = load i32, ptr %11, align 4 %79 = add nsw i32 %78, %77 store i32 %79, ptr %11, align 4 %80 = load ptr, ptr %13, align 8 %81 = getelementptr inbounds i32, ptr %80, i64 9 %82 = load i32, ptr %81, align 4 %83 = shl i32 %82, 8 %84 = load i32, ptr %11, align 4 %85 = add nsw i32 %84, %83 store i32 %85, ptr %11, align 4 %86 = load ptr, ptr %13, align 8 %87 = getelementptr inbounds i32, ptr %86, i64 10 %88 = load i32, ptr %87, align 4 %89 = shl i32 %88, 16 %90 = load i32, ptr %11, align 4 %91 = add nsw i32 %90, %89 store i32 %91, ptr %11, align 4 %92 = load ptr, ptr %13, align 8 %93 = getelementptr inbounds i32, ptr %92, i64 11 %94 = load i32, ptr %93, align 4 %95 = shl i32 %94, 24 %96 = load i32, ptr %11, align 4 %97 = add nsw i32 %96, %95 store i32 %97, ptr %11, align 4 %98 = load i32, ptr %11, align 4 %99 = load i32, ptr %9, align 4 %100 = sub nsw i32 %99, %98 store i32 %100, ptr %9, align 4 %101 = load i32, ptr %11, align 4 %102 = shl i32 %101, 4 %103 = load i32, ptr %11, align 4 %104 = ashr i32 %103, 28 %105 = or i32 %102, %104 %106 = load i32, ptr %9, align 4 %107 = xor i32 %106, %105 store i32 %107, ptr %9, align 4 %108 = load i32, ptr %10, align 4 %109 = load i32, ptr %11, align 4 %110 = add nsw i32 %109, %108 store i32 %110, ptr %11, align 4 %111 = load i32, ptr %9, align 4 %112 = load i32, ptr %10, align 4 %113 = sub nsw i32 %112, %111 store i32 %113, ptr %10, align 4 %114 = load i32, ptr %9, align 4 %115 = shl i32 %114, 6 %116 = load i32, ptr %9, align 4 %117 = ashr i32 %116, 26 %118 = or i32 %115, %117 %119 = load i32, ptr %10, align 4 %120 = xor i32 %119, %118 store i32 %120, ptr %10, align 4 %121 = load i32, ptr %11, align 4 %122 = load i32, ptr %9, align 4 %123 = add nsw i32 %122, %121 store i32 %123, ptr %9, align 4 %124 = load i32, ptr %10, align 4 %125 = load i32, ptr %11, align 4 %126 = sub nsw i32 %125, %124 store i32 %126, ptr %11, align 4 %127 = load i32, ptr %10, align 4 %128 = shl i32 %127, 8 %129 = load i32, ptr %10, align 4 %130 = ashr i32 %129, 24 %131 = or i32 %128, %130 %132 = load i32, ptr %11, align 4 %133 = xor i32 %132, %131 store i32 %133, ptr %11, align 4 %134 = load i32, ptr %9, align 4 %135 = load i32, ptr %10, align 4 %136 = add nsw i32 %135, %134 store i32 %136, ptr %10, align 4 %137 = load i32, ptr %11, align 4 %138 = load i32, ptr %9, align 4 %139 = sub nsw i32 %138, %137 store i32 %139, ptr %9, align 4 %140 = load i32, ptr %11, align 4 %141 = shl i32 %140, 16 %142 = load i32, ptr %11, align 4 %143 = ashr i32 %142, 16 %144 = or i32 %141, %143 %145 = load i32, ptr %9, align 4 %146 = xor i32 %145, %144 store i32 %146, ptr %9, align 4 %147 = load i32, ptr %10, align 4 %148 = load i32, ptr %11, align 4 %149 = add nsw i32 %148, %147 store i32 %149, ptr %11, align 4 %150 = load i32, ptr %9, align 4 %151 = load i32, ptr %10, align 4 %152 = sub nsw i32 %151, %150 store i32 %152, ptr %10, align 4 %153 = load i32, ptr %9, align 4 %154 = shl i32 %153, 19 %155 = load i32, ptr %9, align 4 %156 = ashr i32 %155, 13 %157 = or i32 %154, %156 %158 = load i32, ptr %10, align 4 %159 = xor i32 %158, %157 store i32 %159, ptr %10, align 4 %160 = load i32, ptr %11, align 4 %161 = load i32, ptr %9, align 4 %162 = add nsw i32 %161, %160 store i32 %162, ptr %9, align 4 %163 = load i32, ptr %10, align 4 %164 = load i32, ptr %11, align 4 %165 = sub nsw i32 %164, %163 store i32 %165, ptr %11, align 4 %166 = load i32, ptr %10, align 4 %167 = shl i32 %166, 4 %168 = load i32, ptr %10, align 4 %169 = ashr i32 %168, 28 %170 = or i32 %167, %169 %171 = load i32, ptr %11, align 4 %172 = xor i32 %171, %170 store i32 %172, ptr %11, align 4 %173 = load i32, ptr %9, align 4 %174 = load i32, ptr %10, align 4 %175 = add nsw i32 %174, %173 store i32 %175, ptr %10, align 4 %176 = load i64, ptr %6, align 8 %177 = sub i64 %176, 12 store i64 %177, ptr %6, align 8 %178 = load ptr, ptr %13, align 8 %179 = getelementptr inbounds i32, ptr %178, i64 12 store ptr %179, ptr %13, align 8 %180 = load i64, ptr %6, align 8 %181 = icmp ugt i64 %180, 12 br i1 %181, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %182 182: ; preds = %._crit_edge, %4 %183 = load i64, ptr %6, align 8 switch i64 %183, label %270 [ i64 12, label %184 i64 11, label %191 i64 10, label %198 i64 9, label %205 i64 8, label %211 i64 7, label %218 i64 6, label %225 i64 5, label %232 i64 4, label %238 i64 3, label %245 i64 2, label %252 i64 1, label %259 i64 0, label %265 ] 184: ; preds = %182 %185 = load ptr, ptr %13, align 8 %186 = getelementptr inbounds i32, ptr %185, i64 11 %187 = load i32, ptr %186, align 4 %188 = shl i32 %187, 24 %189 = load i32, ptr %11, align 4 %190 = add nsw i32 %189, %188 store i32 %190, ptr %11, align 4 br label %191 191: ; preds = %184, %182 %192 = load ptr, ptr %13, align 8 %193 = getelementptr inbounds i32, ptr %192, i64 10 %194 = load i32, ptr %193, align 4 %195 = shl i32 %194, 16 %196 = load i32, ptr %11, align 4 %197 = add nsw i32 %196, %195 store i32 %197, ptr %11, align 4 br label %198 198: ; preds = %191, %182 %199 = load ptr, ptr %13, align 8 %200 = getelementptr inbounds i32, ptr %199, i64 9 %201 = load i32, ptr %200, align 4 %202 = shl i32 %201, 8 %203 = load i32, ptr %11, align 4 %204 = add nsw i32 %203, %202 store i32 %204, ptr %11, align 4 br label %205 205: ; preds = %198, %182 %206 = load ptr, ptr %13, align 8 %207 = getelementptr inbounds i32, ptr %206, i64 8 %208 = load i32, ptr %207, align 4 %209 = load i32, ptr %11, align 4 %210 = add nsw i32 %209, %208 store i32 %210, ptr %11, align 4 br label %211 211: ; preds = %205, %182 %212 = load ptr, ptr %13, align 8 %213 = getelementptr inbounds i32, ptr %212, i64 7 %214 = load i32, ptr %213, align 4 %215 = shl i32 %214, 24 %216 = load i32, ptr %10, align 4 %217 = add nsw i32 %216, %215 store i32 %217, ptr %10, align 4 br label %218 218: ; preds = %211, %182 %219 = load ptr, ptr %13, align 8 %220 = getelementptr inbounds i32, ptr %219, i64 6 %221 = load i32, ptr %220, align 4 %222 = shl i32 %221, 16 %223 = load i32, ptr %10, align 4 %224 = add nsw i32 %223, %222 store i32 %224, ptr %10, align 4 br label %225 225: ; preds = %218, %182 %226 = load ptr, ptr %13, align 8 %227 = getelementptr inbounds i32, ptr %226, i64 5 %228 = load i32, ptr %227, align 4 %229 = shl i32 %228, 8 %230 = load i32, ptr %10, align 4 %231 = add nsw i32 %230, %229 store i32 %231, ptr %10, align 4 br label %232 232: ; preds = %225, %182 %233 = load ptr, ptr %13, align 8 %234 = getelementptr inbounds i32, ptr %233, i64 4 %235 = load i32, ptr %234, align 4 %236 = load i32, ptr %10, align 4 %237 = add nsw i32 %236, %235 store i32 %237, ptr %10, align 4 br label %238 238: ; preds = %232, %182 %239 = load ptr, ptr %13, align 8 %240 = getelementptr inbounds i32, ptr %239, i64 3 %241 = load i32, ptr %240, align 4 %242 = shl i32 %241, 24 %243 = load i32, ptr %9, align 4 %244 = add nsw i32 %243, %242 store i32 %244, ptr %9, align 4 br label %245 245: ; preds = %238, %182 %246 = load ptr, ptr %13, align 8 %247 = getelementptr inbounds i32, ptr %246, i64 2 %248 = load i32, ptr %247, align 4 %249 = shl i32 %248, 16 %250 = load i32, ptr %9, align 4 %251 = add nsw i32 %250, %249 store i32 %251, ptr %9, align 4 br label %252 252: ; preds = %245, %182 %253 = load ptr, ptr %13, align 8 %254 = getelementptr inbounds i32, ptr %253, i64 1 %255 = load i32, ptr %254, align 4 %256 = shl i32 %255, 8 %257 = load i32, ptr %9, align 4 %258 = add nsw i32 %257, %256 store i32 %258, ptr %9, align 4 br label %259 259: ; preds = %252, %182 %260 = load ptr, ptr %13, align 8 %261 = getelementptr inbounds i32, ptr %260, i64 0 %262 = load i32, ptr %261, align 4 %263 = load i32, ptr %9, align 4 %264 = add nsw i32 %263, %262 store i32 %264, ptr %9, align 4 br label %270 265: ; preds = %182 %266 = load i32, ptr %11, align 4 %267 = load ptr, ptr %7, align 8 store i32 %266, ptr %267, align 4 %268 = load i32, ptr %10, align 4 %269 = load ptr, ptr %8, align 8 store i32 %268, ptr %269, align 4 br label %345 270: ; preds = %259, %182 %271 = load i32, ptr %10, align 4 %272 = load i32, ptr %11, align 4 %273 = xor i32 %272, %271 store i32 %273, ptr %11, align 4 %274 = load i32, ptr %10, align 4 %275 = shl i32 %274, 14 %276 = load i32, ptr %10, align 4 %277 = ashr i32 %276, 18 %278 = or i32 %275, %277 %279 = load i32, ptr %11, align 4 %280 = sub nsw i32 %279, %278 store i32 %280, ptr %11, align 4 %281 = load i32, ptr %11, align 4 %282 = load i32, ptr %9, align 4 %283 = xor i32 %282, %281 store i32 %283, ptr %9, align 4 %284 = load i32, ptr %11, align 4 %285 = shl i32 %284, 11 %286 = load i32, ptr %11, align 4 %287 = ashr i32 %286, 21 %288 = or i32 %285, %287 %289 = load i32, ptr %9, align 4 %290 = sub nsw i32 %289, %288 store i32 %290, ptr %9, align 4 %291 = load i32, ptr %9, align 4 %292 = load i32, ptr %10, align 4 %293 = xor i32 %292, %291 store i32 %293, ptr %10, align 4 %294 = load i32, ptr %9, align 4 %295 = shl i32 %294, 25 %296 = load i32, ptr %9, align 4 %297 = ashr i32 %296, 7 %298 = or i32 %295, %297 %299 = load i32, ptr %10, align 4 %300 = sub nsw i32 %299, %298 store i32 %300, ptr %10, align 4 %301 = load i32, ptr %10, align 4 %302 = load i32, ptr %11, align 4 %303 = xor i32 %302, %301 store i32 %303, ptr %11, align 4 %304 = load i32, ptr %10, align 4 %305 = shl i32 %304, 16 %306 = load i32, ptr %10, align 4 %307 = ashr i32 %306, 16 %308 = or i32 %305, %307 %309 = load i32, ptr %11, align 4 %310 = sub nsw i32 %309, %308 store i32 %310, ptr %11, align 4 %311 = load i32, ptr %11, align 4 %312 = load i32, ptr %9, align 4 %313 = xor i32 %312, %311 store i32 %313, ptr %9, align 4 %314 = load i32, ptr %11, align 4 %315 = shl i32 %314, 4 %316 = load i32, ptr %11, align 4 %317 = ashr i32 %316, 28 %318 = or i32 %315, %317 %319 = load i32, ptr %9, align 4 %320 = sub nsw i32 %319, %318 store i32 %320, ptr %9, align 4 %321 = load i32, ptr %9, align 4 %322 = load i32, ptr %10, align 4 %323 = xor i32 %322, %321 store i32 %323, ptr %10, align 4 %324 = load i32, ptr %9, align 4 %325 = shl i32 %324, 14 %326 = load i32, ptr %9, align 4 %327 = ashr i32 %326, 18 %328 = or i32 %325, %327 %329 = load i32, ptr %10, align 4 %330 = sub nsw i32 %329, %328 store i32 %330, ptr %10, align 4 %331 = load i32, ptr %10, align 4 %332 = load i32, ptr %11, align 4 %333 = xor i32 %332, %331 store i32 %333, ptr %11, align 4 %334 = load i32, ptr %10, align 4 %335 = shl i32 %334, 24 %336 = load i32, ptr %10, align 4 %337 = ashr i32 %336, 8 %338 = or i32 %335, %337 %339 = load i32, ptr %11, align 4 %340 = sub nsw i32 %339, %338 store i32 %340, ptr %11, align 4 %341 = load i32, ptr %11, align 4 %342 = load ptr, ptr %7, align 8 store i32 %341, ptr %342, align 4 %343 = load i32, ptr %10, align 4 %344 = load ptr, ptr %8, align 8 store i32 %343, ptr %344, align 4 br label %345 345: ; preds = %270, %265 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphla4w86f.c' source_filename = "/tmp/tmphla4w86f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hfree(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 @hgetHdr(ptr noundef %3) %5 = call i32 @free(i32 noundef %4) ret void } declare i32 @free(i32 noundef) #1 declare i32 @hgetHdr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphla4w86f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hfree(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 @hgetHdr(ptr noundef %3) %5 = call i32 @free(i32 noundef %4) ret void } declare i32 @free(i32 noundef) #1 declare i32 @hgetHdr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpga49gbyk.c' source_filename = "/tmp/tmpga49gbyk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @termios_cfsetospeed(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @cfsetospeed(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @cfsetospeed(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/tmpga49gbyk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @termios_cfsetospeed(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @cfsetospeed(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @cfsetospeed(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/tmphusxtef8.c' source_filename = "/tmp/tmphusxtef8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @HUGE_VAL = dso_local global double 0.000000e+00, align 8 @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @cosh(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = fcmp olt double %4, 0.000000e+00 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load double, ptr %3, align 8 %8 = fneg double %7 store double %8, ptr %3, align 8 br label %9 9: ; preds = %6, %1 %10 = load double, ptr %3, align 8 %11 = fcmp ogt double %10, 2.100000e+01 br i1 %11, label %12, label %24 12: ; preds = %9 %13 = load double, ptr %3, align 8 %14 = load double, ptr @HUGE_VAL, align 8 %15 = fcmp oge double %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr @ERANGE, align 4 store i32 %17, ptr @errno, align 4 %18 = load double, ptr @HUGE_VAL, align 8 store double %18, ptr %2, align 8 br label %33 19: ; preds = %12 %20 = load double, ptr %3, align 8 %21 = call i32 @exp(double noundef %20) %22 = sdiv i32 %21, 2 %23 = sitofp i32 %22 to double store double %23, ptr %2, align 8 br label %33 24: ; preds = %9 %25 = load double, ptr %3, align 8 %26 = call i32 @exp(double noundef %25) %27 = load double, ptr %3, align 8 %28 = fneg double %27 %29 = call i32 @exp(double noundef %28) %30 = add nsw i32 %26, %29 %31 = sdiv i32 %30, 2 %32 = sitofp i32 %31 to double store double %32, ptr %2, align 8 br label %33 33: ; preds = %24, %19, %16 %34 = load double, ptr %2, align 8 ret double %34 } declare i32 @exp(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/tmphusxtef8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @HUGE_VAL = dso_local global double 0.000000e+00, align 8 @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @cosh(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = fcmp olt double %4, 0.000000e+00 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load double, ptr %3, align 8 %8 = fneg double %7 store double %8, ptr %3, align 8 br label %9 9: ; preds = %6, %1 %10 = load double, ptr %3, align 8 %11 = fcmp ogt double %10, 2.100000e+01 br i1 %11, label %12, label %24 12: ; preds = %9 %13 = load double, ptr %3, align 8 %14 = load double, ptr @HUGE_VAL, align 8 %15 = fcmp oge double %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr @ERANGE, align 4 store i32 %17, ptr @errno, align 4 %18 = load double, ptr @HUGE_VAL, align 8 store double %18, ptr %2, align 8 br label %33 19: ; preds = %12 %20 = load double, ptr %3, align 8 %21 = call i32 @exp(double noundef %20) %22 = sdiv i32 %21, 2 %23 = sitofp i32 %22 to double store double %23, ptr %2, align 8 br label %33 24: ; preds = %9 %25 = load double, ptr %3, align 8 %26 = call i32 @exp(double noundef %25) %27 = load double, ptr %3, align 8 %28 = fneg double %27 %29 = call i32 @exp(double noundef %28) %30 = add nsw i32 %26, %29 %31 = sdiv i32 %30, 2 %32 = sitofp i32 %31 to double store double %32, ptr %2, align 8 br label %33 33: ; preds = %24, %19, %16 %34 = load double, ptr %2, align 8 ret double %34 } declare i32 @exp(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/tmpw69f0zjy.c' source_filename = "/tmp/tmpw69f0zjy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"after f1 rez = %d;\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"after f2 rez = %d;\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 store i32 13, ptr %3, align 4 %5 = call i32 @f1(ptr noundef %2, ptr noundef %3) store i32 %5, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @f_p(ptr noundef @f1, ptr noundef %2, ptr noundef %3) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9) ret i32 0 } declare i32 @f1(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @f_p(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/tmpw69f0zjy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"after f1 rez = %d;\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"after f2 rez = %d;\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 store i32 13, ptr %3, align 4 %5 = call i32 @f1(ptr noundef %2, ptr noundef %3) store i32 %5, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @f_p(ptr noundef @f1, ptr noundef %2, ptr noundef %3) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9) ret i32 0 } declare i32 @f1(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @f_p(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/tmpoqwovj7i.c' source_filename = "/tmp/tmpoqwovj7i.c" target datalayout = "e-m:e-p270: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.utsname = type { i32 } @.str = private unnamed_addr constant [66 x i8] c"error: floating point comparison failed on sec: %d, i: %d, j: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Program completed successfully.\0A\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"Be sure that it checkpointed at least once.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca i32, align 4 %17 = alloca %struct.utsname, 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 1, ptr %10, align 4 store float 4.500000e+01, ptr %13, align 4 store float 2.300000e+01, ptr %14, align 4 store float 2.560000e+02, ptr %15, align 4 store i32 1, ptr %16, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp sge i32 %18, 2 br i1 %19, label %20, label %25 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %10, align 4 br label %25 25: ; preds = %20, %2 %26 = load i32, ptr %10, align 4 %27 = icmp slt i32 %26, 1 br i1 %27, label %28, label %29 28: ; preds = %25 store i32 1, ptr %10, align 4 br label %29 29: ; preds = %28, %25 %30 = call i64 @time(ptr noundef null) store i64 %30, ptr %11, align 8 store i32 0, ptr %8, align 4 br label %31 31: ; preds = %63, %29 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %64 35: ; preds = %31 store i32 0, ptr %7, align 4 br label %36 36: ; preds = %51, %35 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %37, 10000 br i1 %38, label %39, label %54 39: ; preds = %36 %40 = load float, ptr %13, align 4 %41 = load float, ptr %14, align 4 %42 = fadd float %40, %41 %43 = load float, ptr %15, align 4 %44 = fcmp oge float %42, %43 br i1 %44, label %45, label %50 45: ; preds = %39 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %7, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %46, i32 noundef %47, i32 noundef %48) store i32 0, ptr %16, align 4 br label %50 50: ; preds = %45, %39 br label %51 51: ; preds = %50 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 br label %36, !llvm.loop !6 54: ; preds = %36 %55 = call i64 @time(ptr noundef null) store i64 %55, ptr %12, align 8 %56 = load i64, ptr %12, align 8 %57 = load i64, ptr %11, align 8 %58 = icmp sgt i64 %56, %57 br i1 %58, label %59, label %63 59: ; preds = %54 %60 = load i64, ptr %12, align 8 store i64 %60, ptr %11, align 8 %61 = load i32, ptr %8, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %8, align 4 br label %63 63: ; preds = %59, %54 br label %31, !llvm.loop !8 64: ; preds = %31 %65 = load i32, ptr %16, align 4 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %70 67: ; preds = %64 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %71 70: ; preds = %64 store i32 1, ptr %3, align 4 br label %71 71: ; preds = %70, %67 %72 = load i32, ptr %3, align 4 ret i32 %72 } declare i32 @atoi(ptr noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoqwovj7i.c" target datalayout = "e-m:e-p270: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.utsname = type { i32 } @.str = private unnamed_addr constant [66 x i8] c"error: floating point comparison failed on sec: %d, i: %d, j: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Program completed successfully.\0A\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"Be sure that it checkpointed at least once.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca i32, align 4 %17 = alloca %struct.utsname, 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 1, ptr %10, align 4 store float 4.500000e+01, ptr %13, align 4 store float 2.300000e+01, ptr %14, align 4 store float 2.560000e+02, ptr %15, align 4 store i32 1, ptr %16, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp sge i32 %18, 2 br i1 %19, label %20, label %25 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %10, align 4 br label %25 25: ; preds = %20, %2 %26 = load i32, ptr %10, align 4 %27 = icmp slt i32 %26, 1 br i1 %27, label %28, label %29 28: ; preds = %25 store i32 1, ptr %10, align 4 br label %29 29: ; preds = %28, %25 %30 = call i64 @time(ptr noundef null) store i64 %30, ptr %11, align 8 store i32 0, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %10, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph2, label %67 .lr.ph2: ; preds = %29 br label %34 34: ; preds = %.lr.ph2, %63 store i32 0, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %35, 10000 br i1 %36, label %.lr.ph, label %54 .lr.ph: ; preds = %34 br label %37 37: ; preds = %.lr.ph, %49 %38 = load float, ptr %13, align 4 %39 = load float, ptr %14, align 4 %40 = fadd float %38, %39 %41 = load float, ptr %15, align 4 %42 = fcmp oge float %40, %41 br i1 %42, label %43, label %48 43: ; preds = %37 %44 = load i32, ptr %8, align 4 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %44, i32 noundef %45, i32 noundef %46) store i32 0, ptr %16, align 4 br label %48 48: ; preds = %43, %37 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 = icmp slt i32 %52, 10000 br i1 %53, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %54 54: ; preds = %._crit_edge, %34 %55 = call i64 @time(ptr noundef null) store i64 %55, ptr %12, align 8 %56 = load i64, ptr %12, align 8 %57 = load i64, ptr %11, align 8 %58 = icmp sgt i64 %56, %57 br i1 %58, label %59, label %63 59: ; preds = %54 %60 = load i64, ptr %12, align 8 store i64 %60, ptr %11, align 8 %61 = load i32, ptr %8, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %8, align 4 br label %63 63: ; preds = %59, %54 %64 = load i32, ptr %8, align 4 %65 = load i32, ptr %10, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %63 br label %67 67: ; preds = %._crit_edge3, %29 %68 = load i32, ptr %16, align 4 %69 = icmp ne i32 %68, 0 br i1 %69, label %70, label %73 70: ; preds = %67 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %74 73: ; preds = %67 store i32 1, ptr %3, align 4 br label %74 74: ; preds = %73, %70 %75 = load i32, ptr %3, align 4 ret i32 %75 } declare i32 @atoi(ptr noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpoo1l7y3l.c' source_filename = "/tmp/tmpoo1l7y3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x97\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x97() #0 { %1 = call i64 @islower(i32 noundef 151) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 760, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(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/tmpoo1l7y3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x97\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x97() #0 { %1 = call i64 @islower(i32 noundef 151) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 760, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(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/tmpi_hzghg8.c' source_filename = "/tmp/tmpi_hzghg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test26(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_avg_pu8(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_avg_pu8(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/tmpi_hzghg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test26(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_avg_pu8(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_avg_pu8(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/tmph6f31jnc.c' source_filename = "/tmp/tmph6f31jnc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simplify_nakedsingle_struc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %61, %1 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 9 br i1 %8, label %9, label %64 9: ; preds = %6 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %10, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = load i32, ptr %14, align 4 %16 = call i64 @is_fixed(i32 noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %60 18: ; preds = %9 store i32 0, ptr %5, align 4 br label %19 19: ; preds = %56, %18 %20 = load i32, ptr %5, align 4 %21 = icmp slt i32 %20, 9 br i1 %21, label %22, label %59 22: ; preds = %19 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp ne i32 %23, %24 br i1 %25, label %26, label %55 26: ; preds = %22 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = load i32, ptr %37, align 4 %39 = and i32 %32, %38 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %55 41: ; preds = %26 %42 = load ptr, ptr %2, align 8 %43 = load i32, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %46, align 4 %48 = load ptr, ptr %2, align 8 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = load i32, ptr %52, align 4 %54 = sub nsw i32 %53, %47 store i32 %54, ptr %52, align 4 store i32 1, ptr %3, align 4 br label %55 55: ; preds = %41, %26, %22 br label %56 56: ; preds = %55 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %5, align 4 br label %19, !llvm.loop !6 59: ; preds = %19 br label %60 60: ; preds = %59, %9 br label %61 61: ; preds = %60 %62 = load i32, ptr %4, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %4, align 4 br label %6, !llvm.loop !8 64: ; preds = %6 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare i64 @is_fixed(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph6f31jnc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simplify_nakedsingle_struc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 9 br i1 %7, label %.lr.ph2, label %66 .lr.ph2: ; preds = %1 br label %8 8: ; preds = %.lr.ph2, %61 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds ptr, ptr %9, i64 %11 %13 = load ptr, ptr %12, align 8 %14 = load i32, ptr %13, align 4 %15 = call i64 @is_fixed(i32 noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %60 17: ; preds = %8 store i32 0, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %18, 9 br i1 %19, label %.lr.ph, label %59 .lr.ph: ; preds = %17 br label %20 20: ; preds = %.lr.ph, %54 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp ne i32 %21, %22 br i1 %23, label %24, label %53 24: ; preds = %20 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %2, align 8 %32 = load i32, ptr %4, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = load i32, ptr %35, align 4 %37 = and i32 %30, %36 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %53 39: ; preds = %24 %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %2, align 8 %47 = load i32, ptr %5, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds ptr, ptr %46, i64 %48 %50 = load ptr, ptr %49, align 8 %51 = load i32, ptr %50, align 4 %52 = sub nsw i32 %51, %45 store i32 %52, ptr %50, align 4 store i32 1, ptr %3, align 4 br label %53 53: ; preds = %39, %24, %20 br label %54 54: ; preds = %53 %55 = load i32, ptr %5, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %5, align 4 %57 = load i32, ptr %5, align 4 %58 = icmp slt i32 %57, 9 br i1 %58, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %59 59: ; preds = %._crit_edge, %17 br label %60 60: ; preds = %59, %8 br label %61 61: ; preds = %60 %62 = load i32, ptr %4, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %4, align 4 %64 = load i32, ptr %4, align 4 %65 = icmp slt i32 %64, 9 br i1 %65, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %61 br label %66 66: ; preds = %._crit_edge3, %1 %67 = load i32, ptr %3, align 4 ret i32 %67 } declare i64 @is_fixed(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd5175n8d.c' source_filename = "/tmp/tmpd5175n8d.c" target datalayout = "e-m:e-p270: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/tmpd5175n8d.c" target datalayout = "e-m:e-p270: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/tmp0vh_kuww.c' source_filename = "/tmp/tmp0vh_kuww.c" target datalayout = "e-m:e-p270: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/tmp0vh_kuww.c" target datalayout = "e-m:e-p270: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/tmpybe9h8_t.c' source_filename = "/tmp/tmpybe9h8_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clone_ivector(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @ivector(i64 noundef %6) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 %10 = load i64, ptr %4, align 8 %11 = mul i64 %10, 4 %12 = call i32 @memcpy(ptr noundef %8, ptr noundef %9, i64 noundef %11) %13 = load ptr, ptr %5, align 8 ret ptr %13 } declare ptr @ivector(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpybe9h8_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clone_ivector(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @ivector(i64 noundef %6) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 %10 = load i64, ptr %4, align 8 %11 = mul i64 %10, 4 %12 = call i32 @memcpy(ptr noundef %8, ptr noundef %9, i64 noundef %11) %13 = load ptr, ptr %5, align 8 ret ptr %13 } declare ptr @ivector(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp00iggbzm.c' source_filename = "/tmp/tmp00iggbzm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Sum of Totients between [%ld..%ld] is %ld \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i32 @sscanf(ptr noundef %12, ptr noundef @.str, ptr noundef %6) %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 2 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %7) store i64 0, ptr %9, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp eq i64 %18, 1 br i1 %19, label %20, label %21 20: ; preds = %2 store i64 1, ptr %9, align 8 store i64 2, ptr %6, align 8 br label %21 21: ; preds = %20, %2 %22 = load i64, ptr %6, align 8 %23 = trunc i64 %22 to i32 store i32 %23, ptr %8, align 4 br label %24 24: ; preds = %34, %21 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = load i64, ptr %7, align 8 %28 = icmp sle i64 %26, %27 br i1 %28, label %29, label %37 29: ; preds = %24 %30 = load i64, ptr %9, align 8 %31 = load i32, ptr %8, align 4 %32 = call i64 @getTotient(i32 noundef %31) %33 = add nsw i64 %30, %32 store i64 %33, ptr %9, align 8 br label %34 34: ; preds = %29 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %24, !llvm.loop !6 37: ; preds = %24 %38 = load i64, ptr %6, align 8 %39 = load i64, ptr %7, align 8 %40 = load i64, ptr %9, align 8 %41 = call i32 @printf(ptr noundef @.str.1, i64 noundef %38, i64 noundef %39, i64 noundef %40) ret i32 0 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @getTotient(i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp00iggbzm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Sum of Totients between [%ld..%ld] is %ld \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i32 @sscanf(ptr noundef %12, ptr noundef @.str, ptr noundef %6) %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 2 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %7) store i64 0, ptr %9, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp eq i64 %18, 1 br i1 %19, label %20, label %21 20: ; preds = %2 store i64 1, ptr %9, align 8 store i64 2, ptr %6, align 8 br label %21 21: ; preds = %20, %2 %22 = load i64, ptr %6, align 8 %23 = trunc i64 %22 to i32 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = load i64, ptr %7, align 8 %27 = icmp sle i64 %25, %26 br i1 %27, label %.lr.ph, label %40 .lr.ph: ; preds = %21 br label %28 28: ; preds = %.lr.ph, %33 %29 = load i64, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = call i64 @getTotient(i32 noundef %30) %32 = add nsw i64 %29, %31 store i64 %32, ptr %9, align 8 br label %33 33: ; preds = %28 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = load i64, ptr %7, align 8 %39 = icmp sle i64 %37, %38 br i1 %39, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %40 40: ; preds = %._crit_edge, %21 %41 = load i64, ptr %6, align 8 %42 = load i64, ptr %7, align 8 %43 = load i64, ptr %9, align 8 %44 = call i32 @printf(ptr noundef @.str.1, i64 noundef %41, i64 noundef %42, i64 noundef %43) ret i32 0 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @getTotient(i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgfpe40le.c' source_filename = "/tmp/tmpgfpe40le.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @quicksort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = sub nsw i32 %6, 1 %8 = call i32 @sort_partition(ptr noundef %5, i32 noundef 0, i32 noundef %7) ret void } declare i32 @sort_partition(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/tmpgfpe40le.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @quicksort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = sub nsw i32 %6, 1 %8 = call i32 @sort_partition(ptr noundef %5, i32 noundef 0, i32 noundef %7) ret void } declare i32 @sort_partition(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/tmpgf7eahfc.c' source_filename = "/tmp/tmpgf7eahfc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"RLIMIT_CORE\00", align 1 @RLIMIT_CORE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"RLIMIT_CPU\00", align 1 @RLIMIT_CPU = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"RLIMIT_DATA\00", align 1 @RLIMIT_DATA = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [13 x i8] c"RLIMIT_FSIZE\00", align 1 @RLIMIT_FSIZE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [14 x i8] c"RLIMIT_NOFILE\00", align 1 @RLIMIT_NOFILE = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [13 x i8] c"RLIMIT_STACK\00", align 1 @RLIMIT_STACK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @RLIMIT_CORE, align 4 %7 = call i32 @pr_limits(ptr noundef @.str, i32 noundef %6) %8 = load i32, ptr @RLIMIT_CPU, align 4 %9 = call i32 @pr_limits(ptr noundef @.str.1, i32 noundef %8) %10 = load i32, ptr @RLIMIT_DATA, align 4 %11 = call i32 @pr_limits(ptr noundef @.str.2, i32 noundef %10) %12 = load i32, ptr @RLIMIT_FSIZE, align 4 %13 = call i32 @pr_limits(ptr noundef @.str.3, i32 noundef %12) %14 = load i32, ptr @RLIMIT_NOFILE, align 4 %15 = call i32 @pr_limits(ptr noundef @.str.4, i32 noundef %14) %16 = load i32, ptr @RLIMIT_STACK, align 4 %17 = call i32 @pr_limits(ptr noundef @.str.5, i32 noundef %16) ret i32 0 } declare i32 @pr_limits(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/tmpgf7eahfc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"RLIMIT_CORE\00", align 1 @RLIMIT_CORE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"RLIMIT_CPU\00", align 1 @RLIMIT_CPU = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"RLIMIT_DATA\00", align 1 @RLIMIT_DATA = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [13 x i8] c"RLIMIT_FSIZE\00", align 1 @RLIMIT_FSIZE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [14 x i8] c"RLIMIT_NOFILE\00", align 1 @RLIMIT_NOFILE = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [13 x i8] c"RLIMIT_STACK\00", align 1 @RLIMIT_STACK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr @RLIMIT_CORE, align 4 %7 = call i32 @pr_limits(ptr noundef @.str, i32 noundef %6) %8 = load i32, ptr @RLIMIT_CPU, align 4 %9 = call i32 @pr_limits(ptr noundef @.str.1, i32 noundef %8) %10 = load i32, ptr @RLIMIT_DATA, align 4 %11 = call i32 @pr_limits(ptr noundef @.str.2, i32 noundef %10) %12 = load i32, ptr @RLIMIT_FSIZE, align 4 %13 = call i32 @pr_limits(ptr noundef @.str.3, i32 noundef %12) %14 = load i32, ptr @RLIMIT_NOFILE, align 4 %15 = call i32 @pr_limits(ptr noundef @.str.4, i32 noundef %14) %16 = load i32, ptr @RLIMIT_STACK, align 4 %17 = call i32 @pr_limits(ptr noundef @.str.5, i32 noundef %16) ret i32 0 } declare i32 @pr_limits(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/tmp1d6eon8i.c' source_filename = "/tmp/tmp1d6eon8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PointNormal(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 store double %0, ptr %2, align 8 store double 0xBFD49F74C64EF237, ptr %3, align 8 store double -1.000000e+00, ptr %4, align 8 store double 0xBFD5E74B5C67F146, ptr %5, align 8 store double 0xBF94E9CC7387A830, ptr %6, align 8 store double 0xBF07C8AEC3ED1A62, ptr %7, align 8 store double 0x3FB96EE69DCCF754, ptr %8, align 8 store double 0x3FE2D5A90489BD2F, ptr %9, align 8 store double 0x3FE0FECCB034F054, ptr %10, align 8 store double 0x3FBA81733E645F68, ptr %11, align 8 store double 0x3F6F96C3DA074588, ptr %12, align 8 store double 0.000000e+00, ptr %14, align 8 %17 = load double, ptr %2, align 8 store double %17, ptr %15, align 8 %18 = load double, ptr %15, align 8 %19 = fcmp olt double %18, 5.000000e-01 br i1 %19, label %20, label %22 20: ; preds = %1 %21 = load double, ptr %15, align 8 br label %25 22: ; preds = %1 %23 = load double, ptr %15, align 8 %24 = fsub double 1.000000e+00, %23 br label %25 25: ; preds = %22, %20 %26 = phi double [ %21, %20 ], [ %24, %22 ] store double %26, ptr %16, align 8 %27 = load double, ptr %16, align 8 %28 = fcmp olt double %27, 0x3BC79CA10C924223 br i1 %28, label %29, label %30 29: ; preds = %25 store double 9.990000e+02, ptr %14, align 8 br label %67 30: ; preds = %25 %31 = load double, ptr %16, align 8 %32 = load double, ptr %16, align 8 %33 = fmul double %31, %32 %34 = fdiv double 1.000000e+00, %33 %35 = fptosi double %34 to i32 %36 = call i32 @log(i32 noundef %35) %37 = call double @sqrt(i32 noundef %36) store double %37, ptr %13, align 8 %38 = load double, ptr %13, align 8 %39 = load double, ptr %13, align 8 %40 = load double, ptr %7, align 8 %41 = load double, ptr %6, align 8 %42 = call double @llvm.fmuladd.f64(double %39, double %40, double %41) %43 = load double, ptr %13, align 8 %44 = load double, ptr %5, align 8 %45 = call double @llvm.fmuladd.f64(double %42, double %43, double %44) %46 = load double, ptr %13, align 8 %47 = load double, ptr %4, align 8 %48 = call double @llvm.fmuladd.f64(double %45, double %46, double %47) %49 = load double, ptr %13, align 8 %50 = load double, ptr %3, align 8 %51 = call double @llvm.fmuladd.f64(double %48, double %49, double %50) %52 = load double, ptr %13, align 8 %53 = load double, ptr %12, align 8 %54 = load double, ptr %11, align 8 %55 = call double @llvm.fmuladd.f64(double %52, double %53, double %54) %56 = load double, ptr %13, align 8 %57 = load double, ptr %10, align 8 %58 = call double @llvm.fmuladd.f64(double %55, double %56, double %57) %59 = load double, ptr %13, align 8 %60 = load double, ptr %9, align 8 %61 = call double @llvm.fmuladd.f64(double %58, double %59, double %60) %62 = load double, ptr %13, align 8 %63 = load double, ptr %8, align 8 %64 = call double @llvm.fmuladd.f64(double %61, double %62, double %63) %65 = fdiv double %51, %64 %66 = fadd double %38, %65 store double %66, ptr %14, align 8 br label %67 67: ; preds = %30, %29 %68 = load double, ptr %15, align 8 %69 = fcmp olt double %68, 5.000000e-01 br i1 %69, label %70, label %73 70: ; preds = %67 %71 = load double, ptr %14, align 8 %72 = fneg double %71 br label %75 73: ; preds = %67 %74 = load double, ptr %14, align 8 br label %75 75: ; preds = %73, %70 %76 = phi double [ %72, %70 ], [ %74, %73 ] ret double %76 } declare double @sqrt(i32 noundef) #1 declare i32 @log(i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1d6eon8i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PointNormal(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 store double %0, ptr %2, align 8 store double 0xBFD49F74C64EF237, ptr %3, align 8 store double -1.000000e+00, ptr %4, align 8 store double 0xBFD5E74B5C67F146, ptr %5, align 8 store double 0xBF94E9CC7387A830, ptr %6, align 8 store double 0xBF07C8AEC3ED1A62, ptr %7, align 8 store double 0x3FB96EE69DCCF754, ptr %8, align 8 store double 0x3FE2D5A90489BD2F, ptr %9, align 8 store double 0x3FE0FECCB034F054, ptr %10, align 8 store double 0x3FBA81733E645F68, ptr %11, align 8 store double 0x3F6F96C3DA074588, ptr %12, align 8 store double 0.000000e+00, ptr %14, align 8 %17 = load double, ptr %2, align 8 store double %17, ptr %15, align 8 %18 = load double, ptr %15, align 8 %19 = fcmp olt double %18, 5.000000e-01 br i1 %19, label %20, label %22 20: ; preds = %1 %21 = load double, ptr %15, align 8 br label %25 22: ; preds = %1 %23 = load double, ptr %15, align 8 %24 = fsub double 1.000000e+00, %23 br label %25 25: ; preds = %22, %20 %26 = phi double [ %21, %20 ], [ %24, %22 ] store double %26, ptr %16, align 8 %27 = load double, ptr %16, align 8 %28 = fcmp olt double %27, 0x3BC79CA10C924223 br i1 %28, label %29, label %30 29: ; preds = %25 store double 9.990000e+02, ptr %14, align 8 br label %67 30: ; preds = %25 %31 = load double, ptr %16, align 8 %32 = load double, ptr %16, align 8 %33 = fmul double %31, %32 %34 = fdiv double 1.000000e+00, %33 %35 = fptosi double %34 to i32 %36 = call i32 @log(i32 noundef %35) %37 = call double @sqrt(i32 noundef %36) store double %37, ptr %13, align 8 %38 = load double, ptr %13, align 8 %39 = load double, ptr %13, align 8 %40 = load double, ptr %7, align 8 %41 = load double, ptr %6, align 8 %42 = call double @llvm.fmuladd.f64(double %39, double %40, double %41) %43 = load double, ptr %13, align 8 %44 = load double, ptr %5, align 8 %45 = call double @llvm.fmuladd.f64(double %42, double %43, double %44) %46 = load double, ptr %13, align 8 %47 = load double, ptr %4, align 8 %48 = call double @llvm.fmuladd.f64(double %45, double %46, double %47) %49 = load double, ptr %13, align 8 %50 = load double, ptr %3, align 8 %51 = call double @llvm.fmuladd.f64(double %48, double %49, double %50) %52 = load double, ptr %13, align 8 %53 = load double, ptr %12, align 8 %54 = load double, ptr %11, align 8 %55 = call double @llvm.fmuladd.f64(double %52, double %53, double %54) %56 = load double, ptr %13, align 8 %57 = load double, ptr %10, align 8 %58 = call double @llvm.fmuladd.f64(double %55, double %56, double %57) %59 = load double, ptr %13, align 8 %60 = load double, ptr %9, align 8 %61 = call double @llvm.fmuladd.f64(double %58, double %59, double %60) %62 = load double, ptr %13, align 8 %63 = load double, ptr %8, align 8 %64 = call double @llvm.fmuladd.f64(double %61, double %62, double %63) %65 = fdiv double %51, %64 %66 = fadd double %38, %65 store double %66, ptr %14, align 8 br label %67 67: ; preds = %30, %29 %68 = load double, ptr %15, align 8 %69 = fcmp olt double %68, 5.000000e-01 br i1 %69, label %70, label %73 70: ; preds = %67 %71 = load double, ptr %14, align 8 %72 = fneg double %71 br label %75 73: ; preds = %67 %74 = load double, ptr %14, align 8 br label %75 75: ; preds = %73, %70 %76 = phi double [ %72, %70 ], [ %74, %73 ] ret double %76 } declare double @sqrt(i32 noundef) #1 declare i32 @log(i32 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"}
; ModuleID = '/tmp/tmpqqy7kyq7.c' source_filename = "/tmp/tmpqqy7kyq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"Please enter an integer for analysis; Enter q to quit.\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"%lu is divisible by %lu and %lu.\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"%lu is divisible by %lu.\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"%lu is prime.\0A\00", align 1 @.str.5 = private unnamed_addr constant [61 x i8] c"Please enter another integer for analysis; Enter q to quit.\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"Bye.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %6 6: ; preds = %49, %0 %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %51 9: ; preds = %6 store i64 2, ptr %3, align 8 store i32 1, ptr %4, align 4 br label %10 10: ; preds = %40, %9 %11 = load i64, ptr %3, align 8 %12 = load i64, ptr %3, align 8 %13 = mul i64 %11, %12 %14 = load i64, ptr %2, align 8 %15 = icmp ule i64 %13, %14 br i1 %15, label %16, label %43 16: ; preds = %10 %17 = load i64, ptr %2, align 8 %18 = load i64, ptr %3, align 8 %19 = urem i64 %17, %18 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %39 21: ; preds = %16 %22 = load i64, ptr %3, align 8 %23 = load i64, ptr %3, align 8 %24 = mul i64 %22, %23 %25 = load i64, ptr %2, align 8 %26 = icmp ne i64 %24, %25 br i1 %26, label %27, label %34 27: ; preds = %21 %28 = load i64, ptr %2, align 8 %29 = load i64, ptr %3, align 8 %30 = load i64, ptr %2, align 8 %31 = load i64, ptr %3, align 8 %32 = udiv i64 %30, %31 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %28, i64 noundef %29, i64 noundef %32) br label %38 34: ; preds = %21 %35 = load i64, ptr %2, align 8 %36 = load i64, ptr %3, align 8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %35, i64 noundef %36) br label %38 38: ; preds = %34, %27 store i32 0, ptr %4, align 4 br label %39 39: ; preds = %38, %16 br label %40 40: ; preds = %39 %41 = load i64, ptr %3, align 8 %42 = add i64 %41, 1 store i64 %42, ptr %3, align 8 br label %10, !llvm.loop !6 43: ; preds = %10 %44 = load i32, ptr %4, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %43 %47 = load i64, ptr %2, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %47) br label %49 49: ; preds = %46, %43 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %6, !llvm.loop !8 51: ; preds = %6 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqqy7kyq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"Please enter an integer for analysis; Enter q to quit.\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"%lu is divisible by %lu and %lu.\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"%lu is divisible by %lu.\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"%lu is prime.\0A\00", align 1 @.str.5 = private unnamed_addr constant [61 x i8] c"Please enter another integer for analysis; Enter q to quit.\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"Bye.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = icmp eq i32 %6, 1 br i1 %7, label %.lr.ph2, label %56 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %52 store i64 2, ptr %3, align 8 store i32 1, ptr %4, align 4 %9 = load i64, ptr %3, align 8 %10 = load i64, ptr %3, align 8 %11 = mul i64 %9, %10 %12 = load i64, ptr %2, align 8 %13 = icmp ule i64 %11, %12 br i1 %13, label %.lr.ph, label %46 .lr.ph: ; preds = %8 br label %14 14: ; preds = %.lr.ph, %38 %15 = load i64, ptr %2, align 8 %16 = load i64, ptr %3, align 8 %17 = urem i64 %15, %16 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %37 19: ; preds = %14 %20 = load i64, ptr %3, align 8 %21 = load i64, ptr %3, align 8 %22 = mul i64 %20, %21 %23 = load i64, ptr %2, align 8 %24 = icmp ne i64 %22, %23 br i1 %24, label %25, label %32 25: ; preds = %19 %26 = load i64, ptr %2, align 8 %27 = load i64, ptr %3, align 8 %28 = load i64, ptr %2, align 8 %29 = load i64, ptr %3, align 8 %30 = udiv i64 %28, %29 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %26, i64 noundef %27, i64 noundef %30) br label %36 32: ; preds = %19 %33 = load i64, ptr %2, align 8 %34 = load i64, ptr %3, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %33, i64 noundef %34) br label %36 36: ; preds = %32, %25 store i32 0, ptr %4, align 4 br label %37 37: ; preds = %36, %14 br label %38 38: ; preds = %37 %39 = load i64, ptr %3, align 8 %40 = add i64 %39, 1 store i64 %40, ptr %3, align 8 %41 = load i64, ptr %3, align 8 %42 = load i64, ptr %3, align 8 %43 = mul i64 %41, %42 %44 = load i64, ptr %2, align 8 %45 = icmp ule i64 %43, %44 br i1 %45, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %46 46: ; preds = %._crit_edge, %8 %47 = load i32, ptr %4, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %46 %50 = load i64, ptr %2, align 8 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %50) br label %52 52: ; preds = %49, %46 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %54 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %55 = icmp eq i32 %54, 1 br i1 %55, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %56 56: ; preds = %._crit_edge3, %0 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpcnfhnnwg.c' source_filename = "/tmp/tmpcnfhnnwg.c" target datalayout = "e-m:e-p270: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.option = type { ptr, i32, i8, i32 } @cmdline_parse.long_options = internal global [6 x %struct.option] [%struct.option { ptr @.str, i32 0, i8 0, i32 104 }, %struct.option { ptr @.str.1, i32 0, i8 0, i32 118 }, %struct.option { ptr @.str.2, i32 1, i8 0, i32 99 }, %struct.option { ptr @.str.3, i32 1, i8 0, i32 112 }, %struct.option { ptr @.str.4, i32 0, i8 0, i32 102 }, %struct.option zeroinitializer], align 16 @.str = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"version\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"config\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"pidfile\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"no-fork\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"hvc:p:f\00", align 1 @optarg = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmdline_parse(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 0 %8 = load ptr, ptr %7, align 8 %9 = call i32 @set_prog(ptr noundef %8) br label %10 10: ; preds = %31, %2 %11 = load i32, ptr %3, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @getopt_long(i32 noundef %11, ptr noundef %12, ptr noundef @.str.5, ptr noundef @cmdline_parse.long_options, ptr noundef null) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %17 16: ; preds = %10 br label %32 17: ; preds = %10 %18 = load i32, ptr %5, align 4 switch i32 %18, label %29 [ i32 104, label %19 i32 118, label %19 i32 99, label %21 i32 112, label %24 i32 102, label %27 ] 19: ; preds = %17, %17 %20 = call i32 (...) @usage_and_exit() br label %21 21: ; preds = %17, %19 %22 = load i32, ptr @optarg, align 4 %23 = call i32 @set_configfile(i32 noundef %22) br label %31 24: ; preds = %17 %25 = load i32, ptr @optarg, align 4 %26 = call i32 @set_pidfile(i32 noundef %25) br label %31 27: ; preds = %17 %28 = call i32 @set_nodaemon(i32 noundef 1) br label %31 29: ; preds = %17 %30 = call i32 (...) @usage_and_exit() br label %31 31: ; preds = %29, %27, %24, %21 br label %10 32: ; preds = %16 %33 = load i32, ptr @optind, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = call i32 (...) @usage_and_exit() br label %38 38: ; preds = %36, %32 ret void } declare i32 @set_prog(ptr noundef) #1 declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @usage_and_exit(...) #1 declare i32 @set_configfile(i32 noundef) #1 declare i32 @set_pidfile(i32 noundef) #1 declare i32 @set_nodaemon(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/tmpcnfhnnwg.c" target datalayout = "e-m:e-p270: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.option = type { ptr, i32, i8, i32 } @cmdline_parse.long_options = internal global [6 x %struct.option] [%struct.option { ptr @.str, i32 0, i8 0, i32 104 }, %struct.option { ptr @.str.1, i32 0, i8 0, i32 118 }, %struct.option { ptr @.str.2, i32 1, i8 0, i32 99 }, %struct.option { ptr @.str.3, i32 1, i8 0, i32 112 }, %struct.option { ptr @.str.4, i32 0, i8 0, i32 102 }, %struct.option zeroinitializer], align 16 @.str = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"version\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"config\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"pidfile\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"no-fork\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"hvc:p:f\00", align 1 @optarg = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmdline_parse(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 0 %8 = load ptr, ptr %7, align 8 %9 = call i32 @set_prog(ptr noundef %8) %10 = load i32, ptr %3, align 4 %11 = load ptr, ptr %4, align 8 %12 = call i32 @getopt_long(i32 noundef %10, ptr noundef %11, ptr noundef @.str.5, ptr noundef @cmdline_parse.long_options, ptr noundef null) store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %.lr.ph .lr.ph: ; preds = %2 br label %16 ._crit_edge: ; preds = %30 br label %15 15: ; preds = %._crit_edge, %2 br label %36 16: ; preds = %.lr.ph, %30 %17 = load i32, ptr %5, align 4 switch i32 %17, label %28 [ i32 104, label %18 i32 118, label %18 i32 99, label %20 i32 112, label %23 i32 102, label %26 ] 18: ; preds = %16, %16 %19 = call i32 (...) @usage_and_exit() br label %20 20: ; preds = %18, %16 %21 = load i32, ptr @optarg, align 4 %22 = call i32 @set_configfile(i32 noundef %21) br label %30 23: ; preds = %16 %24 = load i32, ptr @optarg, align 4 %25 = call i32 @set_pidfile(i32 noundef %24) br label %30 26: ; preds = %16 %27 = call i32 @set_nodaemon(i32 noundef 1) br label %30 28: ; preds = %16 %29 = call i32 (...) @usage_and_exit() br label %30 30: ; preds = %28, %26, %23, %20 %31 = load i32, ptr %3, align 4 %32 = load ptr, ptr %4, align 8 %33 = call i32 @getopt_long(i32 noundef %31, ptr noundef %32, ptr noundef @.str.5, ptr noundef @cmdline_parse.long_options, ptr noundef null) store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp eq i32 %34, -1 br i1 %35, label %._crit_edge, label %16 36: ; preds = %15 %37 = load i32, ptr @optind, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %42 40: ; preds = %36 %41 = call i32 (...) @usage_and_exit() br label %42 42: ; preds = %40, %36 ret void } declare i32 @set_prog(ptr noundef) #1 declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @usage_and_exit(...) #1 declare i32 @set_configfile(i32 noundef) #1 declare i32 @set_pidfile(i32 noundef) #1 declare i32 @set_nodaemon(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/tmpwwud3qv_.c' source_filename = "/tmp/tmpwwud3qv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwwud3qv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf51md9dw.c' source_filename = "/tmp/tmpf51md9dw.c" target datalayout = "e-m:e-p270: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/tmpf51md9dw.c" target datalayout = "e-m:e-p270: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/tmpdv9furr7.c' source_filename = "/tmp/tmpdv9furr7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PWMGenFaultConfigure(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %9 = load i64, ptr %5, align 8 %10 = icmp eq i64 %9, 1073905664 br i1 %10, label %14, label %11 11: ; preds = %4 %12 = load i64, ptr %5, align 8 %13 = icmp eq i64 %12, 1073909760 br label %14 14: ; preds = %11, %4 %15 = phi i1 [ true, %4 ], [ %13, %11 ] %16 = zext i1 %15 to i32 %17 = call i32 @DEBUG_ASSERT(i32 noundef %16) %18 = load i64, ptr %6, align 8 %19 = call i32 @PWMGenValid(i64 noundef %18) %20 = call i32 @DEBUG_ASSERT(i32 noundef %19) %21 = load i64, ptr %7, align 8 %22 = icmp ult i64 %21, 65535 %23 = zext i1 %22 to i32 %24 = call i32 @DEBUG_ASSERT(i32 noundef %23) %25 = load i64, ptr %8, align 8 %26 = and i64 %25, -16 %27 = icmp eq i64 %26, 0 %28 = zext i1 %27 to i32 %29 = call i32 @DEBUG_ASSERT(i32 noundef %28) %30 = load i64, ptr %7, align 8 %31 = load i64, ptr %5, align 8 %32 = load i64, ptr %6, align 8 %33 = add i64 %31, %32 %34 = add i64 %33, 60 %35 = inttoptr i64 %34 to ptr store volatile i64 %30, ptr %35, align 8 %36 = load i64, ptr %8, align 8 %37 = load i64, ptr %5, align 8 %38 = add i64 %37, 2048 %39 = load i64, ptr %6, align 8 %40 = sub i64 %39, 64 %41 = mul i64 %40, 2 %42 = add i64 %38, %41 %43 = add i64 %42, 0 %44 = inttoptr i64 %43 to ptr store volatile i64 %36, ptr %44, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 declare i32 @PWMGenValid(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/tmpdv9furr7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PWMGenFaultConfigure(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %9 = load i64, ptr %5, align 8 %10 = icmp eq i64 %9, 1073905664 br i1 %10, label %14, label %11 11: ; preds = %4 %12 = load i64, ptr %5, align 8 %13 = icmp eq i64 %12, 1073909760 br label %14 14: ; preds = %11, %4 %15 = phi i1 [ true, %4 ], [ %13, %11 ] %16 = zext i1 %15 to i32 %17 = call i32 @DEBUG_ASSERT(i32 noundef %16) %18 = load i64, ptr %6, align 8 %19 = call i32 @PWMGenValid(i64 noundef %18) %20 = call i32 @DEBUG_ASSERT(i32 noundef %19) %21 = load i64, ptr %7, align 8 %22 = icmp ult i64 %21, 65535 %23 = zext i1 %22 to i32 %24 = call i32 @DEBUG_ASSERT(i32 noundef %23) %25 = load i64, ptr %8, align 8 %26 = and i64 %25, -16 %27 = icmp eq i64 %26, 0 %28 = zext i1 %27 to i32 %29 = call i32 @DEBUG_ASSERT(i32 noundef %28) %30 = load i64, ptr %7, align 8 %31 = load i64, ptr %5, align 8 %32 = load i64, ptr %6, align 8 %33 = add i64 %31, %32 %34 = add i64 %33, 60 %35 = inttoptr i64 %34 to ptr store volatile i64 %30, ptr %35, align 8 %36 = load i64, ptr %8, align 8 %37 = load i64, ptr %5, align 8 %38 = add i64 %37, 2048 %39 = load i64, ptr %6, align 8 %40 = sub i64 %39, 64 %41 = mul i64 %40, 2 %42 = add i64 %38, %41 %43 = add i64 %42, 0 %44 = inttoptr i64 %43 to ptr store volatile i64 %36, ptr %44, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 declare i32 @PWMGenValid(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/tmpp2xikn9h.c' source_filename = "/tmp/tmpp2xikn9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_scan_nan(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = trunc i64 %12 to i32 %14 = call i32 @bzero(ptr noundef %9, i32 noundef %13) %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 48 br i1 %19, label %20, label %35 20: ; preds = %3 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 120 br i1 %25, label %32, label %26 26: ; preds = %20 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 88 br i1 %31, label %32, label %35 32: ; preds = %26, %20 %33 = load ptr, ptr %6, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 2 store ptr %34, ptr %6, align 8 br label %35 35: ; preds = %32, %26, %3 store i32 0, ptr %7, align 4 br label %36 36: ; preds = %45, %35 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = call i64 @isxdigit(i8 noundef signext %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %36 br label %45 45: ; preds = %44 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 br label %36, !llvm.loop !6 48: ; preds = %36 store i32 0, ptr %8, align 4 br label %49 49: ; preds = %76, %48 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr %5, align 4 %52 = mul nsw i32 32, %51 %53 = icmp slt i32 %50, %52 br i1 %53, label %54, label %79 54: ; preds = %49 %55 = load i32, ptr %7, align 4 %56 = add nsw i32 %55, -1 store i32 %56, ptr %7, align 4 %57 = icmp slt i32 %56, 0 br i1 %57, label %58, label %59 58: ; preds = %54 br label %79 59: ; preds = %54 %60 = load ptr, ptr %6, align 8 %61 = load i32, ptr %7, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 %64 = load i8, ptr %63, align 1 %65 = call i32 @_digittoint(i8 noundef signext %64) %66 = load i32, ptr %8, align 4 %67 = srem i32 %66, 32 %68 = shl i32 %65, %67 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %8, align 4 %71 = sdiv i32 %70, 32 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %69, i64 %72 %74 = load i32, ptr %73, align 4 %75 = or i32 %74, %68 store i32 %75, ptr %73, align 4 br label %76 76: ; preds = %59 %77 = load i32, ptr %8, align 4 %78 = add nsw i32 %77, 4 store i32 %78, ptr %8, align 4 br label %49, !llvm.loop !8 79: ; preds = %58, %49 ret void } declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i64 @isxdigit(i8 noundef signext) #1 declare i32 @_digittoint(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp2xikn9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_scan_nan(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = trunc i64 %12 to i32 %14 = call i32 @bzero(ptr noundef %9, i32 noundef %13) %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 0 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 48 br i1 %19, label %20, label %35 20: ; preds = %3 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 120 br i1 %25, label %32, label %26 26: ; preds = %20 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 1 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 88 br i1 %31, label %32, label %35 32: ; preds = %26, %20 %33 = load ptr, ptr %6, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 2 store ptr %34, ptr %6, align 8 br label %35 35: ; preds = %32, %26, %3 store i32 0, ptr %7, align 4 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = call i64 @isxdigit(i8 noundef signext %40) %42 = icmp ne i64 %41, 0 br i1 %42, label %.lr.ph, label %54 .lr.ph: ; preds = %35 br label %43 43: ; preds = %.lr.ph, %44 br label %44 44: ; preds = %43 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = call i64 @isxdigit(i8 noundef signext %51) %53 = icmp ne i64 %52, 0 br i1 %53, label %43, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %54 54: ; preds = %._crit_edge, %35 store i32 0, ptr %8, align 4 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %5, align 4 %57 = mul nsw i32 32, %56 %58 = icmp slt i32 %55, %57 br i1 %58, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %54 br label %59 59: ; preds = %.lr.ph2, %81 %60 = load i32, ptr %7, align 4 %61 = add nsw i32 %60, -1 store i32 %61, ptr %7, align 4 %62 = icmp slt i32 %61, 0 br i1 %62, label %63, label %64 63: ; preds = %59 br label %88 64: ; preds = %59 %65 = load ptr, ptr %6, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = load i8, ptr %68, align 1 %70 = call i32 @_digittoint(i8 noundef signext %69) %71 = load i32, ptr %8, align 4 %72 = srem i32 %71, 32 %73 = shl i32 %70, %72 %74 = load ptr, ptr %4, align 8 %75 = load i32, ptr %8, align 4 %76 = sdiv i32 %75, 32 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %74, i64 %77 %79 = load i32, ptr %78, align 4 %80 = or i32 %79, %73 store i32 %80, ptr %78, align 4 br label %81 81: ; preds = %64 %82 = load i32, ptr %8, align 4 %83 = add nsw i32 %82, 4 store i32 %83, ptr %8, align 4 %84 = load i32, ptr %8, align 4 %85 = load i32, ptr %5, align 4 %86 = mul nsw i32 32, %85 %87 = icmp slt i32 %84, %86 br i1 %87, label %59, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %81 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %54 br label %88 88: ; preds = %.loopexit, %63 ret void } declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i64 @isxdigit(i8 noundef signext) #1 declare i32 @_digittoint(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5bnkvw3h.c' source_filename = "/tmp/tmp5bnkvw3h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [142 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/gstrauss/lighttpd1.4/refs/heads/master/src/vector.c\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"size <= (~(size_t)0u) / elem_size\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"NULL != data\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @vector_realloc(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %11 = load i64, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = mul i64 %11, %12 store i64 %13, ptr %9, align 8 %14 = load i64, ptr %6, align 8 %15 = load i64, ptr %8, align 8 %16 = mul i64 %14, %15 store i64 %16, ptr %10, align 8 br label %17 17: ; preds = %4 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %6, align 8 %20 = udiv i64 -1, %19 %21 = icmp ule i64 %18, %20 br i1 %21, label %24, label %22 22: ; preds = %17 %23 = call i32 @ck_assert_failed(ptr noundef @.str, i32 noundef 15, ptr noundef @.str.1) br label %24 24: ; preds = %22, %17 br label %25 25: ; preds = %24 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %9, align 8 %28 = call ptr @realloc(ptr noundef %26, i64 noundef %27) #3 store ptr %28, ptr %5, align 8 br label %29 29: ; preds = %25 %30 = load ptr, ptr %5, align 8 %31 = icmp ne ptr null, %30 br i1 %31, label %34, label %32 32: ; preds = %29 %33 = call i32 @ck_assert_failed(ptr noundef @.str, i32 noundef 17, ptr noundef @.str.2) br label %34 34: ; preds = %32, %29 br label %35 35: ; preds = %34 %36 = load ptr, ptr %5, align 8 %37 = load i64, ptr %10, align 8 %38 = getelementptr inbounds i8, ptr %36, i64 %37 %39 = load i64, ptr %9, align 8 %40 = load i64, ptr %10, align 8 %41 = sub i64 %39, %40 %42 = call i32 @memset(ptr noundef %38, i32 noundef 0, i64 noundef %41) %43 = load ptr, ptr %5, align 8 ret ptr %43 } declare i32 @ck_assert_failed(ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5bnkvw3h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [142 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/gstrauss/lighttpd1.4/refs/heads/master/src/vector.c\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"size <= (~(size_t)0u) / elem_size\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"NULL != data\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @vector_realloc(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %11 = load i64, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = mul i64 %11, %12 store i64 %13, ptr %9, align 8 %14 = load i64, ptr %6, align 8 %15 = load i64, ptr %8, align 8 %16 = mul i64 %14, %15 store i64 %16, ptr %10, align 8 br label %17 17: ; preds = %4 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %6, align 8 %20 = udiv i64 -1, %19 %21 = icmp ule i64 %18, %20 br i1 %21, label %24, label %22 22: ; preds = %17 %23 = call i32 @ck_assert_failed(ptr noundef @.str, i32 noundef 15, ptr noundef @.str.1) br label %24 24: ; preds = %22, %17 br label %25 25: ; preds = %24 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %9, align 8 %28 = call ptr @realloc(ptr noundef %26, i64 noundef %27) #3 store ptr %28, ptr %5, align 8 br label %29 29: ; preds = %25 %30 = load ptr, ptr %5, align 8 %31 = icmp ne ptr null, %30 br i1 %31, label %34, label %32 32: ; preds = %29 %33 = call i32 @ck_assert_failed(ptr noundef @.str, i32 noundef 17, ptr noundef @.str.2) br label %34 34: ; preds = %32, %29 br label %35 35: ; preds = %34 %36 = load ptr, ptr %5, align 8 %37 = load i64, ptr %10, align 8 %38 = getelementptr inbounds i8, ptr %36, i64 %37 %39 = load i64, ptr %9, align 8 %40 = load i64, ptr %10, align 8 %41 = sub i64 %39, %40 %42 = call i32 @memset(ptr noundef %38, i32 noundef 0, i64 noundef %41) %43 = load ptr, ptr %5, align 8 ret ptr %43 } declare i32 @ck_assert_failed(ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoj0gwpvi.c' source_filename = "/tmp/tmpoj0gwpvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @addDirectoryName(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = add nsw i32 %7, %9 %11 = add nsw i32 %10, 2 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %3, align 8 %16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15) %17 = load ptr, ptr %3, align 8 %18 = load ptr, ptr %3, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = sub nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %17, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 47 br i1 %25, label %26, label %29 26: ; preds = %2 %27 = load ptr, ptr %5, align 8 %28 = call i32 @strcat(ptr noundef %27, ptr noundef @.str) br label %29 29: ; preds = %26, %2 %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %4, align 8 %32 = call i32 @strcat(ptr noundef %30, ptr noundef %31) %33 = load ptr, ptr %5, align 8 ret ptr %33 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoj0gwpvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @addDirectoryName(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = add nsw i32 %7, %9 %11 = add nsw i32 %10, 2 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %3, align 8 %16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15) %17 = load ptr, ptr %3, align 8 %18 = load ptr, ptr %3, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = sub nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %17, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 47 br i1 %25, label %26, label %29 26: ; preds = %2 %27 = load ptr, ptr %5, align 8 %28 = call i32 @strcat(ptr noundef %27, ptr noundef @.str) br label %29 29: ; preds = %26, %2 %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %4, align 8 %32 = call i32 @strcat(ptr noundef %30, ptr noundef %31) %33 = load ptr, ptr %5, align 8 ret ptr %33 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp13bvz18b.c' source_filename = "/tmp/tmp13bvz18b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @nl_dvector_scan(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 0, ptr %6, align 8 br label %7 7: ; preds = %19, %2 %8 = load i64, ptr %6, align 8 %9 = load i64, ptr %5, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %11, label %22 11: ; preds = %7 %12 = load ptr, ptr %4, align 8 %13 = load i64, ptr %6, align 8 %14 = getelementptr inbounds double, ptr %12, i64 %13 %15 = call i64 @scanf(ptr noundef @.str, ptr noundef %14) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %11 store i32 0, ptr %3, align 4 br label %23 18: ; preds = %11 br label %19 19: ; preds = %18 %20 = load i64, ptr %6, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %6, align 8 br label %7, !llvm.loop !6 22: ; preds = %7 store i32 1, ptr %3, align 4 br label %23 23: ; preds = %22, %17 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i64 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp13bvz18b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @nl_dvector_scan(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 0, ptr %6, align 8 %7 = load i64, ptr %6, align 8 %8 = load i64, ptr %5, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %18 %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %6, align 8 %13 = getelementptr inbounds double, ptr %11, i64 %12 %14 = call i64 @scanf(ptr noundef @.str, ptr noundef %13) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %10 store i32 0, ptr %3, align 4 br label %25 17: ; preds = %10 br label %18 18: ; preds = %17 %19 = load i64, ptr %6, align 8 %20 = add i64 %19, 1 store i64 %20, ptr %6, align 8 %21 = load i64, ptr %6, align 8 %22 = load i64, ptr %5, align 8 %23 = icmp ult i64 %21, %22 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 store i32 1, ptr %3, align 4 br label %25 25: ; preds = %24, %16 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i64 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvs8zrwg0.c' source_filename = "/tmp/tmpvs8zrwg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checksum(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [2 x i8], align 1 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = sub nsw i32 %9, 2 %11 = call i32 @getchecksum(ptr noundef %7, ptr noundef %8, i32 noundef %10) %12 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %13 = load i8, ptr %12, align 1 %14 = zext i8 %13 to i32 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %16, 2 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = icmp eq i32 %14, %21 br i1 %22, label %23, label %36 23: ; preds = %2 %24 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 1 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = sub nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = load i8, ptr %31, align 1 %33 = zext i8 %32 to i32 %34 = icmp eq i32 %26, %33 br i1 %34, label %35, label %36 35: ; preds = %23 store i32 1, ptr %3, align 4 br label %37 36: ; preds = %23, %2 store i32 0, ptr %3, align 4 br label %37 37: ; preds = %36, %35 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i32 @getchecksum(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/tmpvs8zrwg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checksum(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [2 x i8], align 1 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = sub nsw i32 %9, 2 %11 = call i32 @getchecksum(ptr noundef %7, ptr noundef %8, i32 noundef %10) %12 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %13 = load i8, ptr %12, align 1 %14 = zext i8 %13 to i32 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %16, 2 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = icmp eq i32 %14, %21 br i1 %22, label %23, label %36 23: ; preds = %2 %24 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 1 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = sub nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = load i8, ptr %31, align 1 %33 = zext i8 %32 to i32 %34 = icmp eq i32 %26, %33 br i1 %34, label %35, label %36 35: ; preds = %23 store i32 1, ptr %3, align 4 br label %37 36: ; preds = %23, %2 store i32 0, ptr %3, align 4 br label %37 37: ; preds = %36, %35 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i32 @getchecksum(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"}