llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp0_vt9vpk.c' source_filename = "/tmp/tmp0_vt9vpk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [8 x i32], align 16 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %6 = call i32 @memcpy(ptr noundef %4, ptr noundef %5, i32 noundef 0) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0_vt9vpk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [8 x i32], align 16 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds [8 x i32], ptr %3, i64 0, i64 0 %6 = call i32 @memcpy(ptr noundef %4, ptr noundef %5, i32 noundef 0) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc2p99nlq.c' source_filename = "/tmp/tmpc2p99nlq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local i32 @isalpha(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 i64 @islower(i32 noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = call i64 @isupper(i32 noundef %7) %9 = icmp ne i64 %8, 0 br label %10 10: ; preds = %6, %1 %11 = phi i1 [ true, %1 ], [ %9, %6 ] %12 = zext i1 %11 to i32 ret i32 %12 } declare i64 @islower(i32 noundef) #1 declare i64 @isupper(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc2p99nlq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local i32 @isalpha(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 i64 @islower(i32 noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = call i64 @isupper(i32 noundef %7) %9 = icmp ne i64 %8, 0 br label %10 10: ; preds = %6, %1 %11 = phi i1 [ true, %1 ], [ %9, %6 ] %12 = zext i1 %11 to i32 ret i32 %12 } declare i64 @islower(i32 noundef) #1 declare i64 @isupper(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpidljtr5b.c' source_filename = "/tmp/tmpidljtr5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cftmd2(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %30 = load i32, ptr %6, align 4 %31 = shl i32 %30, 2 store i32 %31, ptr %12, align 4 %32 = load i32, ptr %12, align 4 %33 = mul nsw i32 2, %32 store i32 %33, ptr %13, align 4 %34 = load ptr, ptr %8, align 8 %35 = getelementptr inbounds double, ptr %34, i64 1 store ptr %35, ptr %14, align 8 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 store ptr %39, ptr %15, align 8 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %40, i64 %42 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %43, i64 %45 store ptr %46, ptr %16, align 8 %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %47, i64 %49 %51 = load i32, ptr %6, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %50, i64 %52 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %53, i64 %55 store ptr %56, ptr %17, align 8 %57 = load i32, ptr %5, align 4 %58 = load i32, ptr %6, align 4 %59 = load ptr, ptr %7, align 8 %60 = load ptr, ptr %8, align 8 %61 = call i32 @cftmd0(i32 noundef %57, i32 noundef %58, ptr noundef %59, ptr noundef %60) %62 = load i32, ptr %13, align 4 %63 = load i32, ptr %5, align 4 %64 = icmp sge i32 %62, %63 br i1 %64, label %65, label %66 65: ; preds = %4 br label %217 66: ; preds = %4 %67 = load i32, ptr %13, align 4 %68 = load i32, ptr %5, align 4 %69 = sdiv i32 %68, 8 %70 = icmp sge i32 %67, %69 br i1 %70, label %71, label %77 71: ; preds = %66 %72 = load i32, ptr %5, align 4 %73 = load i32, ptr %6, align 4 %74 = load ptr, ptr %7, align 8 %75 = load ptr, ptr %8, align 8 %76 = call i32 @cftmd21(i32 noundef %72, i32 noundef %73, ptr noundef %74, ptr noundef %75) br label %217 77: ; preds = %66 store i32 0, ptr %9, align 4 br label %78 78: ; preds = %214, %77 %79 = load i32, ptr %9, align 4 %80 = load i32, ptr %6, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %217 82: ; preds = %78 %83 = load i32, ptr %13, align 4 store i32 %83, ptr %10, align 4 store i32 2, ptr %11, align 4 br label %84 84: ; preds = %139, %82 %85 = load i32, ptr %10, align 4 %86 = load i32, ptr %5, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %88, label %145 88: ; preds = %84 %89 = load ptr, ptr %8, align 8 %90 = load i32, ptr %11, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %89, i64 %91 %93 = load double, ptr %92, align 8 store double %93, ptr %18, align 8 %94 = load ptr, ptr %14, align 8 %95 = load i32, ptr %11, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %94, i64 %96 %98 = load double, ptr %97, align 8 store double %98, ptr %19, align 8 %99 = load ptr, ptr %8, align 8 %100 = load i32, ptr %11, align 4 %101 = load i32, ptr %11, align 4 %102 = add nsw i32 %100, %101 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %99, i64 %103 %105 = load double, ptr %104, align 8 store double %105, ptr %20, align 8 %106 = load ptr, ptr %14, align 8 %107 = load i32, ptr %11, align 4 %108 = load i32, ptr %11, align 4 %109 = add nsw i32 %107, %108 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %106, i64 %110 %112 = load double, ptr %111, align 8 store double %112, ptr %21, align 8 %113 = load double, ptr %20, align 8 %114 = load double, ptr %19, align 8 %115 = fmul double 2.000000e+00, %114 %116 = load double, ptr %21, align 8 %117 = fneg double %115 %118 = call double @llvm.fmuladd.f64(double %117, double %116, double %113) store double %118, ptr %22, align 8 %119 = load double, ptr %19, align 8 %120 = fmul double 2.000000e+00, %119 %121 = load double, ptr %20, align 8 %122 = load double, ptr %21, align 8 %123 = fneg double %122 %124 = call double @llvm.fmuladd.f64(double %120, double %121, double %123) store double %124, ptr %23, align 8 %125 = load i32, ptr %9, align 4 %126 = load i32, ptr %10, align 4 %127 = add nsw i32 %125, %126 %128 = load double, ptr %20, align 8 %129 = load double, ptr %21, align 8 %130 = load double, ptr %18, align 8 %131 = load double, ptr %19, align 8 %132 = load double, ptr %22, align 8 %133 = load double, ptr %23, align 8 %134 = load ptr, ptr %7, align 8 %135 = load ptr, ptr %15, align 8 %136 = load ptr, ptr %16, align 8 %137 = load ptr, ptr %17, align 8 %138 = call i32 @btrfly(i32 noundef %127, double noundef %128, double noundef %129, double noundef %130, double noundef %131, double noundef %132, double noundef %133, ptr noundef %134, ptr noundef %135, ptr noundef %136, ptr noundef %137) br label %139 139: ; preds = %88 %140 = load i32, ptr %13, align 4 %141 = load i32, ptr %10, align 4 %142 = add nsw i32 %141, %140 store i32 %142, ptr %10, align 4 %143 = load i32, ptr %11, align 4 %144 = add nsw i32 %143, 2 store i32 %144, ptr %11, align 4 br label %84, !llvm.loop !6 145: ; preds = %84 %146 = load i32, ptr %13, align 4 store i32 %146, ptr %10, align 4 store i32 2, ptr %11, align 4 br label %147 147: ; preds = %207, %145 %148 = load i32, ptr %10, align 4 %149 = load i32, ptr %5, align 4 %150 = icmp slt i32 %148, %149 br i1 %150, label %151, label %213 151: ; preds = %147 %152 = load ptr, ptr %8, align 8 %153 = load i32, ptr %11, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds double, ptr %152, i64 %154 %156 = load double, ptr %155, align 8 store double %156, ptr %24, align 8 %157 = load ptr, ptr %14, align 8 %158 = load i32, ptr %11, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds double, ptr %157, i64 %159 %161 = load double, ptr %160, align 8 store double %161, ptr %25, align 8 %162 = load ptr, ptr %8, align 8 %163 = load i32, ptr %11, align 4 %164 = load i32, ptr %11, align 4 %165 = add nsw i32 %163, %164 %166 = add nsw i32 %165, 2 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds double, ptr %162, i64 %167 %169 = load double, ptr %168, align 8 store double %169, ptr %26, align 8 %170 = load ptr, ptr %14, align 8 %171 = load i32, ptr %11, align 4 %172 = load i32, ptr %11, align 4 %173 = add nsw i32 %171, %172 %174 = add nsw i32 %173, 2 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds double, ptr %170, i64 %175 %177 = load double, ptr %176, align 8 store double %177, ptr %27, align 8 %178 = load double, ptr %26, align 8 %179 = load double, ptr %24, align 8 %180 = fmul double 2.000000e+00, %179 %181 = load double, ptr %27, align 8 %182 = fneg double %180 %183 = call double @llvm.fmuladd.f64(double %182, double %181, double %178) store double %183, ptr %28, align 8 %184 = load double, ptr %24, align 8 %185 = fmul double 2.000000e+00, %184 %186 = load double, ptr %26, align 8 %187 = load double, ptr %27, align 8 %188 = fneg double %187 %189 = call double @llvm.fmuladd.f64(double %185, double %186, double %188) store double %189, ptr %29, align 8 %190 = load i32, ptr %9, align 4 %191 = load i32, ptr %10, align 4 %192 = add nsw i32 %190, %191 %193 = load i32, ptr %12, align 4 %194 = add nsw i32 %192, %193 %195 = load double, ptr %26, align 8 %196 = load double, ptr %27, align 8 %197 = load double, ptr %25, align 8 %198 = fneg double %197 %199 = load double, ptr %24, align 8 %200 = load double, ptr %28, align 8 %201 = load double, ptr %29, align 8 %202 = load ptr, ptr %7, align 8 %203 = load ptr, ptr %15, align 8 %204 = load ptr, ptr %16, align 8 %205 = load ptr, ptr %17, align 8 %206 = call i32 @btrfly(i32 noundef %194, double noundef %195, double noundef %196, double noundef %198, double noundef %199, double noundef %200, double noundef %201, ptr noundef %202, ptr noundef %203, ptr noundef %204, ptr noundef %205) br label %207 207: ; preds = %151 %208 = load i32, ptr %13, align 4 %209 = load i32, ptr %10, align 4 %210 = add nsw i32 %209, %208 store i32 %210, ptr %10, align 4 %211 = load i32, ptr %11, align 4 %212 = add nsw i32 %211, 2 store i32 %212, ptr %11, align 4 br label %147, !llvm.loop !8 213: ; preds = %147 br label %214 214: ; preds = %213 %215 = load i32, ptr %9, align 4 %216 = add nsw i32 %215, 2 store i32 %216, ptr %9, align 4 br label %78, !llvm.loop !9 217: ; preds = %65, %71, %78 ret void } declare i32 @cftmd0(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @cftmd21(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @btrfly(i32 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpidljtr5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cftmd2(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %30 = load i32, ptr %6, align 4 %31 = shl i32 %30, 2 store i32 %31, ptr %12, align 4 %32 = load i32, ptr %12, align 4 %33 = mul nsw i32 2, %32 store i32 %33, ptr %13, align 4 %34 = load ptr, ptr %8, align 8 %35 = getelementptr inbounds double, ptr %34, i64 1 store ptr %35, ptr %14, align 8 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 store ptr %39, ptr %15, align 8 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %40, i64 %42 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %43, i64 %45 store ptr %46, ptr %16, align 8 %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %47, i64 %49 %51 = load i32, ptr %6, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %50, i64 %52 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %53, i64 %55 store ptr %56, ptr %17, align 8 %57 = load i32, ptr %5, align 4 %58 = load i32, ptr %6, align 4 %59 = load ptr, ptr %7, align 8 %60 = load ptr, ptr %8, align 8 %61 = call i32 @cftmd0(i32 noundef %57, i32 noundef %58, ptr noundef %59, ptr noundef %60) %62 = load i32, ptr %13, align 4 %63 = load i32, ptr %5, align 4 %64 = icmp sge i32 %62, %63 br i1 %64, label %65, label %66 65: ; preds = %4 br label %223 66: ; preds = %4 %67 = load i32, ptr %13, align 4 %68 = load i32, ptr %5, align 4 %69 = sdiv i32 %68, 8 %70 = icmp sge i32 %67, %69 br i1 %70, label %71, label %77 71: ; preds = %66 %72 = load i32, ptr %5, align 4 %73 = load i32, ptr %6, align 4 %74 = load ptr, ptr %7, align 8 %75 = load ptr, ptr %8, align 8 %76 = call i32 @cftmd21(i32 noundef %72, i32 noundef %73, ptr noundef %74, ptr noundef %75) br label %223 77: ; preds = %66 store i32 0, ptr %9, align 4 %78 = load i32, ptr %9, align 4 %79 = load i32, ptr %6, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %77 br label %81 81: ; preds = %.lr.ph5, %217 %82 = load i32, ptr %13, align 4 store i32 %82, ptr %10, align 4 store i32 2, ptr %11, align 4 %83 = load i32, ptr %10, align 4 %84 = load i32, ptr %5, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %.lr.ph, label %146 .lr.ph: ; preds = %81 br label %86 86: ; preds = %.lr.ph, %137 %87 = load ptr, ptr %8, align 8 %88 = load i32, ptr %11, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds double, ptr %87, i64 %89 %91 = load double, ptr %90, align 8 store double %91, ptr %18, align 8 %92 = load ptr, ptr %14, align 8 %93 = load i32, ptr %11, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %92, i64 %94 %96 = load double, ptr %95, align 8 store double %96, ptr %19, align 8 %97 = load ptr, ptr %8, align 8 %98 = load i32, ptr %11, align 4 %99 = load i32, ptr %11, align 4 %100 = add nsw i32 %98, %99 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds double, ptr %97, i64 %101 %103 = load double, ptr %102, align 8 store double %103, ptr %20, align 8 %104 = load ptr, ptr %14, align 8 %105 = load i32, ptr %11, align 4 %106 = load i32, ptr %11, align 4 %107 = add nsw i32 %105, %106 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds double, ptr %104, i64 %108 %110 = load double, ptr %109, align 8 store double %110, ptr %21, align 8 %111 = load double, ptr %20, align 8 %112 = load double, ptr %19, align 8 %113 = fmul double 2.000000e+00, %112 %114 = load double, ptr %21, align 8 %115 = fneg double %113 %116 = call double @llvm.fmuladd.f64(double %115, double %114, double %111) store double %116, ptr %22, align 8 %117 = load double, ptr %19, align 8 %118 = fmul double 2.000000e+00, %117 %119 = load double, ptr %20, align 8 %120 = load double, ptr %21, align 8 %121 = fneg double %120 %122 = call double @llvm.fmuladd.f64(double %118, double %119, double %121) store double %122, ptr %23, align 8 %123 = load i32, ptr %9, align 4 %124 = load i32, ptr %10, align 4 %125 = add nsw i32 %123, %124 %126 = load double, ptr %20, align 8 %127 = load double, ptr %21, align 8 %128 = load double, ptr %18, align 8 %129 = load double, ptr %19, align 8 %130 = load double, ptr %22, align 8 %131 = load double, ptr %23, align 8 %132 = load ptr, ptr %7, align 8 %133 = load ptr, ptr %15, align 8 %134 = load ptr, ptr %16, align 8 %135 = load ptr, ptr %17, align 8 %136 = call i32 @btrfly(i32 noundef %125, double noundef %126, double noundef %127, double noundef %128, double noundef %129, double noundef %130, double noundef %131, ptr noundef %132, ptr noundef %133, ptr noundef %134, ptr noundef %135) br label %137 137: ; preds = %86 %138 = load i32, ptr %13, align 4 %139 = load i32, ptr %10, align 4 %140 = add nsw i32 %139, %138 store i32 %140, ptr %10, align 4 %141 = load i32, ptr %11, align 4 %142 = add nsw i32 %141, 2 store i32 %142, ptr %11, align 4 %143 = load i32, ptr %10, align 4 %144 = load i32, ptr %5, align 4 %145 = icmp slt i32 %143, %144 br i1 %145, label %86, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %137 br label %146 146: ; preds = %._crit_edge, %81 %147 = load i32, ptr %13, align 4 store i32 %147, ptr %10, align 4 store i32 2, ptr %11, align 4 %148 = load i32, ptr %10, align 4 %149 = load i32, ptr %5, align 4 %150 = icmp slt i32 %148, %149 br i1 %150, label %.lr.ph2, label %216 .lr.ph2: ; preds = %146 br label %151 151: ; preds = %.lr.ph2, %207 %152 = load ptr, ptr %8, align 8 %153 = load i32, ptr %11, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds double, ptr %152, i64 %154 %156 = load double, ptr %155, align 8 store double %156, ptr %24, align 8 %157 = load ptr, ptr %14, align 8 %158 = load i32, ptr %11, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds double, ptr %157, i64 %159 %161 = load double, ptr %160, align 8 store double %161, ptr %25, align 8 %162 = load ptr, ptr %8, align 8 %163 = load i32, ptr %11, align 4 %164 = load i32, ptr %11, align 4 %165 = add nsw i32 %163, %164 %166 = add nsw i32 %165, 2 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds double, ptr %162, i64 %167 %169 = load double, ptr %168, align 8 store double %169, ptr %26, align 8 %170 = load ptr, ptr %14, align 8 %171 = load i32, ptr %11, align 4 %172 = load i32, ptr %11, align 4 %173 = add nsw i32 %171, %172 %174 = add nsw i32 %173, 2 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds double, ptr %170, i64 %175 %177 = load double, ptr %176, align 8 store double %177, ptr %27, align 8 %178 = load double, ptr %26, align 8 %179 = load double, ptr %24, align 8 %180 = fmul double 2.000000e+00, %179 %181 = load double, ptr %27, align 8 %182 = fneg double %180 %183 = call double @llvm.fmuladd.f64(double %182, double %181, double %178) store double %183, ptr %28, align 8 %184 = load double, ptr %24, align 8 %185 = fmul double 2.000000e+00, %184 %186 = load double, ptr %26, align 8 %187 = load double, ptr %27, align 8 %188 = fneg double %187 %189 = call double @llvm.fmuladd.f64(double %185, double %186, double %188) store double %189, ptr %29, align 8 %190 = load i32, ptr %9, align 4 %191 = load i32, ptr %10, align 4 %192 = add nsw i32 %190, %191 %193 = load i32, ptr %12, align 4 %194 = add nsw i32 %192, %193 %195 = load double, ptr %26, align 8 %196 = load double, ptr %27, align 8 %197 = load double, ptr %25, align 8 %198 = fneg double %197 %199 = load double, ptr %24, align 8 %200 = load double, ptr %28, align 8 %201 = load double, ptr %29, align 8 %202 = load ptr, ptr %7, align 8 %203 = load ptr, ptr %15, align 8 %204 = load ptr, ptr %16, align 8 %205 = load ptr, ptr %17, align 8 %206 = call i32 @btrfly(i32 noundef %194, double noundef %195, double noundef %196, double noundef %198, double noundef %199, double noundef %200, double noundef %201, ptr noundef %202, ptr noundef %203, ptr noundef %204, ptr noundef %205) br label %207 207: ; preds = %151 %208 = load i32, ptr %13, align 4 %209 = load i32, ptr %10, align 4 %210 = add nsw i32 %209, %208 store i32 %210, ptr %10, align 4 %211 = load i32, ptr %11, align 4 %212 = add nsw i32 %211, 2 store i32 %212, ptr %11, align 4 %213 = load i32, ptr %10, align 4 %214 = load i32, ptr %5, align 4 %215 = icmp slt i32 %213, %214 br i1 %215, label %151, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %207 br label %216 216: ; preds = %._crit_edge3, %146 br label %217 217: ; preds = %216 %218 = load i32, ptr %9, align 4 %219 = add nsw i32 %218, 2 store i32 %219, ptr %9, align 4 %220 = load i32, ptr %9, align 4 %221 = load i32, ptr %6, align 4 %222 = icmp slt i32 %220, %221 br i1 %222, label %81, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %217 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %77 br label %223 223: ; preds = %.loopexit, %71, %65 ret void } declare i32 @cftmd0(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @cftmd21(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @btrfly(i32 noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpurx6wdoo.c' source_filename = "/tmp/tmpurx6wdoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_futex = dso_local global i32 0, align 4 @FUTEX_WAIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_kernel_gup_write_to_write_disabled_region(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 56026, ptr %5, align 4 store i32 1218, ptr %7, align 4 br label %8 8: ; preds = %2 %9 = call i32 @fflush(ptr noundef null) br label %10 10: ; preds = %8 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %3, align 8 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @pkey_write_deny(i32 noundef %13) %15 = load i32, ptr @SYS_futex, align 4 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr @FUTEX_WAIT, align 4 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %18, 1 %20 = load i32, ptr %5, align 4 %21 = call i32 @syscall(i32 noundef %15, ptr noundef %16, i32 noundef %17, i32 noundef %19, ptr noundef null, ptr noundef %5, i32 noundef %20) store i32 %21, ptr %6, align 4 br label %22 22: ; preds = %10 %23 = call i32 @fflush(ptr noundef null) br label %24 24: ; preds = %22 ret void } declare i32 @fflush(ptr noundef) #1 declare i32 @pkey_write_deny(i32 noundef) #1 declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpurx6wdoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_futex = dso_local global i32 0, align 4 @FUTEX_WAIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_kernel_gup_write_to_write_disabled_region(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 56026, ptr %5, align 4 store i32 1218, ptr %7, align 4 br label %8 8: ; preds = %2 %9 = call i32 @fflush(ptr noundef null) br label %10 10: ; preds = %8 %11 = load i32, ptr %7, align 4 %12 = load ptr, ptr %3, align 8 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @pkey_write_deny(i32 noundef %13) %15 = load i32, ptr @SYS_futex, align 4 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr @FUTEX_WAIT, align 4 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %18, 1 %20 = load i32, ptr %5, align 4 %21 = call i32 @syscall(i32 noundef %15, ptr noundef %16, i32 noundef %17, i32 noundef %19, ptr noundef null, ptr noundef %5, i32 noundef %20) store i32 %21, ptr %6, align 4 br label %22 22: ; preds = %10 %23 = call i32 @fflush(ptr noundef null) br label %24 24: ; preds = %22 ret void } declare i32 @fflush(ptr noundef) #1 declare i32 @pkey_write_deny(i32 noundef) #1 declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmzgs453h.c' source_filename = "/tmp/tmpmzgs453h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cw_randint(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = sub nsw i32 %7, %8 store i32 %9, ptr %6, align 4 %10 = call i32 @cw_rand(ptr noundef %5, i32 noundef 4) %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %5, align 4 %14 = mul nsw i32 %12, %13 %15 = sdiv i32 %14, 65535 %16 = add nsw i32 %11, %15 ret i32 %16 } declare i32 @cw_rand(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/tmpmzgs453h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cw_randint(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = sub nsw i32 %7, %8 store i32 %9, ptr %6, align 4 %10 = call i32 @cw_rand(ptr noundef %5, i32 noundef 4) %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %5, align 4 %14 = mul nsw i32 %12, %13 %15 = sdiv i32 %14, 65535 %16 = add nsw i32 %11, %15 ret i32 %16 } declare i32 @cw_rand(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/tmpqfe91ycu.c' source_filename = "/tmp/tmpqfe91ycu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @INADDR_ANY = 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 ptr, align 8 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca %struct.sockaddr_in, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_DGRAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %5, align 4 %11 = call i32 @bzero(ptr noundef %6, i32 noundef 12) %12 = load i32, ptr @AF_INET, align 4 %13 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %12, ptr %13, align 4 %14 = call i32 @htons(i32 noundef 6000) %15 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %14, ptr %15, align 4 %16 = load i32, ptr @INADDR_ANY, align 4 %17 = call i32 @htonl(i32 noundef %16) %18 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0 store i32 %17, ptr %19, align 4 %20 = load i32, ptr %5, align 4 %21 = call i32 @bind(i32 noundef %20, ptr noundef %6, i32 noundef 12) %22 = load i32, ptr %5, align 4 %23 = call i32 @dg_echo(i32 noundef %22, ptr noundef %7, i32 noundef 12) ret i32 0 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @dg_echo(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/tmpqfe91ycu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @INADDR_ANY = 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 ptr, align 8 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca %struct.sockaddr_in, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_DGRAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %5, align 4 %11 = call i32 @bzero(ptr noundef %6, i32 noundef 12) %12 = load i32, ptr @AF_INET, align 4 %13 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %12, ptr %13, align 4 %14 = call i32 @htons(i32 noundef 6000) %15 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %14, ptr %15, align 4 %16 = load i32, ptr @INADDR_ANY, align 4 %17 = call i32 @htonl(i32 noundef %16) %18 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0 store i32 %17, ptr %19, align 4 %20 = load i32, ptr %5, align 4 %21 = call i32 @bind(i32 noundef %20, ptr noundef %6, i32 noundef 12) %22 = load i32, ptr %5, align 4 %23 = call i32 @dg_echo(i32 noundef %22, ptr noundef %7, i32 noundef 12) ret i32 0 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @dg_echo(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/tmpyaj_ezva.c' source_filename = "/tmp/tmpyaj_ezva.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\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 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call ptr (...) @doit() store ptr %5, ptr %2, align 8 store i32 3, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8) %10 = call ptr @malloc(i32 noundef 20) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @memset(ptr noundef %11, i8 noundef signext 97, i32 noundef 19) %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 19 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %4, align 8 %16 = call i32 @free(ptr noundef %15) %17 = load ptr, ptr %4, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17) %19 = load ptr, ptr %4, align 8 %20 = call i32 @free(ptr noundef %19) ret i32 0 } declare ptr @doit(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyaj_ezva.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\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 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call ptr (...) @doit() store ptr %5, ptr %2, align 8 store i32 3, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8) %10 = call ptr @malloc(i32 noundef 20) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @memset(ptr noundef %11, i8 noundef signext 97, i32 noundef 19) %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 19 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %4, align 8 %16 = call i32 @free(ptr noundef %15) %17 = load ptr, ptr %4, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17) %19 = load ptr, ptr %4, align 8 %20 = call i32 @free(ptr noundef %19) ret i32 0 } declare ptr @doit(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9vdd0bzw.c' source_filename = "/tmp/tmp9vdd0bzw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error in routine polint\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @polint(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 1, ptr %15, align 4 %24 = load double, ptr %10, align 8 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds double, ptr %25, i64 1 %27 = load double, ptr %26, align 8 %28 = fsub double %24, %27 %29 = call double @llvm.fabs.f64(double %28) store double %29, ptr %17, align 8 %30 = load i32, ptr %9, align 4 %31 = call ptr @dvector(i32 noundef 1, i32 noundef %30) store ptr %31, ptr %22, align 8 %32 = load i32, ptr %9, align 4 %33 = call ptr @dvector(i32 noundef 1, i32 noundef %32) store ptr %33, ptr %23, align 8 store i32 1, ptr %13, align 4 br label %34 34: ; preds = %71, %6 %35 = load i32, ptr %13, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp sle i32 %35, %36 br i1 %37, label %38, label %74 38: ; preds = %34 %39 = load double, ptr %10, align 8 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %13, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %40, i64 %42 %44 = load double, ptr %43, align 8 %45 = fsub double %39, %44 %46 = call double @llvm.fabs.f64(double %45) store double %46, ptr %18, align 8 %47 = load double, ptr %17, align 8 %48 = fcmp olt double %46, %47 br i1 %48, label %49, label %52 49: ; preds = %38 %50 = load i32, ptr %13, align 4 store i32 %50, ptr %15, align 4 %51 = load double, ptr %18, align 8 store double %51, ptr %17, align 8 br label %52 52: ; preds = %49, %38 %53 = load ptr, ptr %8, align 8 %54 = load i32, ptr %13, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %53, i64 %55 %57 = load double, ptr %56, align 8 %58 = load ptr, ptr %22, align 8 %59 = load i32, ptr %13, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %58, i64 %60 store double %57, ptr %61, align 8 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %13, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %62, i64 %64 %66 = load double, ptr %65, align 8 %67 = load ptr, ptr %23, align 8 %68 = load i32, ptr %13, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %67, i64 %69 store double %66, ptr %70, align 8 br label %71 71: ; preds = %52 %72 = load i32, ptr %13, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %13, align 4 br label %34, !llvm.loop !6 74: ; preds = %34 %75 = load ptr, ptr %8, align 8 %76 = load i32, ptr %15, align 4 %77 = add nsw i32 %76, -1 store i32 %77, ptr %15, align 4 %78 = sext i32 %76 to i64 %79 = getelementptr inbounds double, ptr %75, i64 %78 %80 = load double, ptr %79, align 8 %81 = load ptr, ptr %11, align 8 store double %80, ptr %81, align 8 store i32 1, ptr %14, align 4 br label %82 82: ; preds = %176, %74 %83 = load i32, ptr %14, align 4 %84 = load i32, ptr %9, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %86, label %179 86: ; preds = %82 store i32 1, ptr %13, align 4 br label %87 87: ; preds = %146, %86 %88 = load i32, ptr %13, align 4 %89 = load i32, ptr %9, align 4 %90 = load i32, ptr %14, align 4 %91 = sub nsw i32 %89, %90 %92 = icmp sle i32 %88, %91 br i1 %92, label %93, label %149 93: ; preds = %87 %94 = load ptr, ptr %7, align 8 %95 = load i32, ptr %13, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %94, i64 %96 %98 = load double, ptr %97, align 8 %99 = load double, ptr %10, align 8 %100 = fsub double %98, %99 store double %100, ptr %19, align 8 %101 = load ptr, ptr %7, align 8 %102 = load i32, ptr %13, align 4 %103 = load i32, ptr %14, align 4 %104 = add nsw i32 %102, %103 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds double, ptr %101, i64 %105 %107 = load double, ptr %106, align 8 %108 = load double, ptr %10, align 8 %109 = fsub double %107, %108 store double %109, ptr %20, align 8 %110 = load ptr, ptr %22, align 8 %111 = load i32, ptr %13, align 4 %112 = add nsw i32 %111, 1 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds double, ptr %110, i64 %113 %115 = load double, ptr %114, align 8 %116 = load ptr, ptr %23, align 8 %117 = load i32, ptr %13, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %116, i64 %118 %120 = load double, ptr %119, align 8 %121 = fsub double %115, %120 store double %121, ptr %21, align 8 %122 = load double, ptr %19, align 8 %123 = load double, ptr %20, align 8 %124 = fsub double %122, %123 store double %124, ptr %16, align 8 %125 = fcmp oeq double %124, 0.000000e+00 br i1 %125, label %126, label %128 126: ; preds = %93 %127 = call i32 @nrerror(ptr noundef @.str) br label %128 128: ; preds = %126, %93 %129 = load double, ptr %21, align 8 %130 = load double, ptr %16, align 8 %131 = fdiv double %129, %130 store double %131, ptr %16, align 8 %132 = load double, ptr %20, align 8 %133 = load double, ptr %16, align 8 %134 = fmul double %132, %133 %135 = load ptr, ptr %23, align 8 %136 = load i32, ptr %13, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds double, ptr %135, i64 %137 store double %134, ptr %138, align 8 %139 = load double, ptr %19, align 8 %140 = load double, ptr %16, align 8 %141 = fmul double %139, %140 %142 = load ptr, ptr %22, align 8 %143 = load i32, ptr %13, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds double, ptr %142, i64 %144 store double %141, ptr %145, align 8 br label %146 146: ; preds = %128 %147 = load i32, ptr %13, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %13, align 4 br label %87, !llvm.loop !8 149: ; preds = %87 %150 = load i32, ptr %15, align 4 %151 = mul nsw i32 2, %150 %152 = load i32, ptr %9, align 4 %153 = load i32, ptr %14, align 4 %154 = sub nsw i32 %152, %153 %155 = icmp slt i32 %151, %154 br i1 %155, label %156, label %163 156: ; preds = %149 %157 = load ptr, ptr %22, align 8 %158 = load i32, ptr %15, align 4 %159 = add nsw i32 %158, 1 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %157, i64 %160 %162 = load double, ptr %161, align 8 br label %170 163: ; preds = %149 %164 = load ptr, ptr %23, align 8 %165 = load i32, ptr %15, align 4 %166 = add nsw i32 %165, -1 store i32 %166, ptr %15, align 4 %167 = sext i32 %165 to i64 %168 = getelementptr inbounds double, ptr %164, i64 %167 %169 = load double, ptr %168, align 8 br label %170 170: ; preds = %163, %156 %171 = phi double [ %162, %156 ], [ %169, %163 ] %172 = load ptr, ptr %12, align 8 store double %171, ptr %172, align 8 %173 = load ptr, ptr %11, align 8 %174 = load double, ptr %173, align 8 %175 = fadd double %174, %171 store double %175, ptr %173, align 8 br label %176 176: ; preds = %170 %177 = load i32, ptr %14, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %14, align 4 br label %82, !llvm.loop !9 179: ; preds = %82 %180 = load ptr, ptr %23, align 8 %181 = load i32, ptr %9, align 4 %182 = call i32 @free_dvector(ptr noundef %180, i32 noundef 1, i32 noundef %181) %183 = load ptr, ptr %22, align 8 %184 = load i32, ptr %9, align 4 %185 = call i32 @free_dvector(ptr noundef %183, i32 noundef 1, i32 noundef %184) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 declare ptr @dvector(i32 noundef, i32 noundef) #2 declare i32 @nrerror(ptr noundef) #2 declare i32 @free_dvector(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9vdd0bzw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error in routine polint\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @polint(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store double %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 1, ptr %15, align 4 %24 = load double, ptr %10, align 8 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds double, ptr %25, i64 1 %27 = load double, ptr %26, align 8 %28 = fsub double %24, %27 %29 = call double @llvm.fabs.f64(double %28) store double %29, ptr %17, align 8 %30 = load i32, ptr %9, align 4 %31 = call ptr @dvector(i32 noundef 1, i32 noundef %30) store ptr %31, ptr %22, align 8 %32 = load i32, ptr %9, align 4 %33 = call ptr @dvector(i32 noundef 1, i32 noundef %32) store ptr %33, ptr %23, align 8 store i32 1, ptr %13, align 4 %34 = load i32, ptr %13, align 4 %35 = load i32, ptr %9, align 4 %36 = icmp sle i32 %34, %35 br i1 %36, label %.lr.ph, label %76 .lr.ph: ; preds = %6 br label %37 37: ; preds = %.lr.ph, %70 %38 = load double, ptr %10, align 8 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %13, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %39, i64 %41 %43 = load double, ptr %42, align 8 %44 = fsub double %38, %43 %45 = call double @llvm.fabs.f64(double %44) store double %45, ptr %18, align 8 %46 = load double, ptr %17, align 8 %47 = fcmp olt double %45, %46 br i1 %47, label %48, label %51 48: ; preds = %37 %49 = load i32, ptr %13, align 4 store i32 %49, ptr %15, align 4 %50 = load double, ptr %18, align 8 store double %50, ptr %17, align 8 br label %51 51: ; preds = %48, %37 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %13, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 %56 = load double, ptr %55, align 8 %57 = load ptr, ptr %22, align 8 %58 = load i32, ptr %13, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %57, i64 %59 store double %56, ptr %60, align 8 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %13, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %61, i64 %63 %65 = load double, ptr %64, align 8 %66 = load ptr, ptr %23, align 8 %67 = load i32, ptr %13, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds double, ptr %66, i64 %68 store double %65, ptr %69, align 8 br label %70 70: ; preds = %51 %71 = load i32, ptr %13, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %13, align 4 %73 = load i32, ptr %13, align 4 %74 = load i32, ptr %9, align 4 %75 = icmp sle i32 %73, %74 br i1 %75, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %70 br label %76 76: ; preds = %._crit_edge, %6 %77 = load ptr, ptr %8, align 8 %78 = load i32, ptr %15, align 4 %79 = add nsw i32 %78, -1 store i32 %79, ptr %15, align 4 %80 = sext i32 %78 to i64 %81 = getelementptr inbounds double, ptr %77, i64 %80 %82 = load double, ptr %81, align 8 %83 = load ptr, ptr %11, align 8 store double %82, ptr %83, align 8 store i32 1, ptr %14, align 4 %84 = load i32, ptr %14, align 4 %85 = load i32, ptr %9, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %.lr.ph5, label %187 .lr.ph5: ; preds = %76 br label %87 87: ; preds = %.lr.ph5, %181 store i32 1, ptr %13, align 4 %88 = load i32, ptr %13, align 4 %89 = load i32, ptr %9, align 4 %90 = load i32, ptr %14, align 4 %91 = sub nsw i32 %89, %90 %92 = icmp sle i32 %88, %91 br i1 %92, label %.lr.ph2, label %154 .lr.ph2: ; preds = %87 br label %93 93: ; preds = %.lr.ph2, %146 %94 = load ptr, ptr %7, align 8 %95 = load i32, ptr %13, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %94, i64 %96 %98 = load double, ptr %97, align 8 %99 = load double, ptr %10, align 8 %100 = fsub double %98, %99 store double %100, ptr %19, align 8 %101 = load ptr, ptr %7, align 8 %102 = load i32, ptr %13, align 4 %103 = load i32, ptr %14, align 4 %104 = add nsw i32 %102, %103 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds double, ptr %101, i64 %105 %107 = load double, ptr %106, align 8 %108 = load double, ptr %10, align 8 %109 = fsub double %107, %108 store double %109, ptr %20, align 8 %110 = load ptr, ptr %22, align 8 %111 = load i32, ptr %13, align 4 %112 = add nsw i32 %111, 1 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds double, ptr %110, i64 %113 %115 = load double, ptr %114, align 8 %116 = load ptr, ptr %23, align 8 %117 = load i32, ptr %13, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %116, i64 %118 %120 = load double, ptr %119, align 8 %121 = fsub double %115, %120 store double %121, ptr %21, align 8 %122 = load double, ptr %19, align 8 %123 = load double, ptr %20, align 8 %124 = fsub double %122, %123 store double %124, ptr %16, align 8 %125 = fcmp oeq double %124, 0.000000e+00 br i1 %125, label %126, label %128 126: ; preds = %93 %127 = call i32 @nrerror(ptr noundef @.str) br label %128 128: ; preds = %126, %93 %129 = load double, ptr %21, align 8 %130 = load double, ptr %16, align 8 %131 = fdiv double %129, %130 store double %131, ptr %16, align 8 %132 = load double, ptr %20, align 8 %133 = load double, ptr %16, align 8 %134 = fmul double %132, %133 %135 = load ptr, ptr %23, align 8 %136 = load i32, ptr %13, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds double, ptr %135, i64 %137 store double %134, ptr %138, align 8 %139 = load double, ptr %19, align 8 %140 = load double, ptr %16, align 8 %141 = fmul double %139, %140 %142 = load ptr, ptr %22, align 8 %143 = load i32, ptr %13, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds double, ptr %142, i64 %144 store double %141, ptr %145, align 8 br label %146 146: ; preds = %128 %147 = load i32, ptr %13, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %13, align 4 %149 = load i32, ptr %13, align 4 %150 = load i32, ptr %9, align 4 %151 = load i32, ptr %14, align 4 %152 = sub nsw i32 %150, %151 %153 = icmp sle i32 %149, %152 br i1 %153, label %93, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %146 br label %154 154: ; preds = %._crit_edge3, %87 %155 = load i32, ptr %15, align 4 %156 = mul nsw i32 2, %155 %157 = load i32, ptr %9, align 4 %158 = load i32, ptr %14, align 4 %159 = sub nsw i32 %157, %158 %160 = icmp slt i32 %156, %159 br i1 %160, label %161, label %168 161: ; preds = %154 %162 = load ptr, ptr %22, align 8 %163 = load i32, ptr %15, align 4 %164 = add nsw i32 %163, 1 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds double, ptr %162, i64 %165 %167 = load double, ptr %166, align 8 br label %175 168: ; preds = %154 %169 = load ptr, ptr %23, align 8 %170 = load i32, ptr %15, align 4 %171 = add nsw i32 %170, -1 store i32 %171, ptr %15, align 4 %172 = sext i32 %170 to i64 %173 = getelementptr inbounds double, ptr %169, i64 %172 %174 = load double, ptr %173, align 8 br label %175 175: ; preds = %168, %161 %176 = phi double [ %167, %161 ], [ %174, %168 ] %177 = load ptr, ptr %12, align 8 store double %176, ptr %177, align 8 %178 = load ptr, ptr %11, align 8 %179 = load double, ptr %178, align 8 %180 = fadd double %179, %176 store double %180, ptr %178, align 8 br label %181 181: ; preds = %175 %182 = load i32, ptr %14, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %14, align 4 %184 = load i32, ptr %14, align 4 %185 = load i32, ptr %9, align 4 %186 = icmp slt i32 %184, %185 br i1 %186, label %87, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %181 br label %187 187: ; preds = %._crit_edge6, %76 %188 = load ptr, ptr %23, align 8 %189 = load i32, ptr %9, align 4 %190 = call i32 @free_dvector(ptr noundef %188, i32 noundef 1, i32 noundef %189) %191 = load ptr, ptr %22, align 8 %192 = load i32, ptr %9, align 4 %193 = call i32 @free_dvector(ptr noundef %191, i32 noundef 1, i32 noundef %192) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 declare ptr @dvector(i32 noundef, i32 noundef) #2 declare i32 @nrerror(ptr noundef) #2 declare i32 @free_dvector(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpawp1ip84.c' source_filename = "/tmp/tmpawp1ip84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lua_opt_number(i32 noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = call i64 @lua_getparam(i32 noundef %7) %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = load i64, ptr %5, align 8 br label %16 12: ; preds = %3 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i64 @lua_check_number(i32 noundef %13, ptr noundef %14) br label %16 16: ; preds = %12, %10 %17 = phi i64 [ %11, %10 ], [ %15, %12 ] ret i64 %17 } declare i64 @lua_getparam(i32 noundef) #1 declare i64 @lua_check_number(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/tmpawp1ip84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lua_opt_number(i32 noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = call i64 @lua_getparam(i32 noundef %7) %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = load i64, ptr %5, align 8 br label %16 12: ; preds = %3 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %6, align 8 %15 = call i64 @lua_check_number(i32 noundef %13, ptr noundef %14) br label %16 16: ; preds = %12, %10 %17 = phi i64 [ %11, %10 ], [ %15, %12 ] ret i64 %17 } declare i64 @lua_getparam(i32 noundef) #1 declare i64 @lua_check_number(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/tmpe6ft7t3p.c' source_filename = "/tmp/tmpe6ft7t3p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xef\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isgraph_0xef() #0 { %1 = call i64 @isgraph(i32 noundef 239) %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 1200, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isgraph(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/tmpe6ft7t3p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isgraph.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isgraph should be 0 for 0xef\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isgraph_0xef() #0 { %1 = call i64 @isgraph(i32 noundef 239) %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 1200, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isgraph(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/tmpv7rw1ia7.c' source_filename = "/tmp/tmpv7rw1ia7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kernel_dgead_1_0_lib4(i32 noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca double, 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 i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %14 = load i32, ptr %5, align 4 %15 = icmp sle i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %4 br label %125 17: ; preds = %4 store i32 4, ptr %9, align 4 %18 = call i32 @_mm_load_sd(ptr noundef %6) store i32 %18, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %19 19: ; preds = %93, %17 %20 = load i32, ptr %13, align 4 %21 = load i32, ptr %5, align 4 %22 = sub nsw i32 %21, 3 %23 = icmp slt i32 %20, %22 br i1 %23, label %24, label %96 24: ; preds = %19 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds double, ptr %25, i64 0 %27 = call i32 @_mm_load_sd(ptr noundef %26) store i32 %27, ptr %10, align 4 %28 = load ptr, ptr %8, align 8 %29 = getelementptr inbounds double, ptr %28, i64 0 %30 = call i32 @_mm_load_sd(ptr noundef %29) store i32 %30, ptr %11, align 4 %31 = load i32, ptr %12, align 4 %32 = load i32, ptr %10, align 4 %33 = call i32 @_mm_mul_sd(i32 noundef %31, i32 noundef %32) store i32 %33, ptr %10, align 4 %34 = load i32, ptr %11, align 4 %35 = load i32, ptr %10, align 4 %36 = call i32 @_mm_add_sd(i32 noundef %34, i32 noundef %35) store i32 %36, ptr %10, align 4 %37 = load ptr, ptr %8, align 8 %38 = getelementptr inbounds double, ptr %37, i64 0 %39 = load i32, ptr %10, align 4 %40 = call i32 @_mm_store_sd(ptr noundef %38, i32 noundef %39) %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds double, ptr %41, i64 4 %43 = call i32 @_mm_load_sd(ptr noundef %42) store i32 %43, ptr %10, align 4 %44 = load ptr, ptr %8, align 8 %45 = getelementptr inbounds double, ptr %44, i64 4 %46 = call i32 @_mm_load_sd(ptr noundef %45) store i32 %46, ptr %11, align 4 %47 = load i32, ptr %12, align 4 %48 = load i32, ptr %10, align 4 %49 = call i32 @_mm_mul_sd(i32 noundef %47, i32 noundef %48) store i32 %49, ptr %10, align 4 %50 = load i32, ptr %11, align 4 %51 = load i32, ptr %10, align 4 %52 = call i32 @_mm_add_sd(i32 noundef %50, i32 noundef %51) store i32 %52, ptr %10, align 4 %53 = load ptr, ptr %8, align 8 %54 = getelementptr inbounds double, ptr %53, i64 4 %55 = load i32, ptr %10, align 4 %56 = call i32 @_mm_store_sd(ptr noundef %54, i32 noundef %55) %57 = load ptr, ptr %7, align 8 %58 = getelementptr inbounds double, ptr %57, i64 8 %59 = call i32 @_mm_load_sd(ptr noundef %58) store i32 %59, ptr %10, align 4 %60 = load ptr, ptr %8, align 8 %61 = getelementptr inbounds double, ptr %60, i64 8 %62 = call i32 @_mm_load_sd(ptr noundef %61) store i32 %62, ptr %11, align 4 %63 = load i32, ptr %12, align 4 %64 = load i32, ptr %10, align 4 %65 = call i32 @_mm_mul_sd(i32 noundef %63, i32 noundef %64) store i32 %65, ptr %10, align 4 %66 = load i32, ptr %11, align 4 %67 = load i32, ptr %10, align 4 %68 = call i32 @_mm_add_sd(i32 noundef %66, i32 noundef %67) store i32 %68, ptr %10, align 4 %69 = load ptr, ptr %8, align 8 %70 = getelementptr inbounds double, ptr %69, i64 8 %71 = load i32, ptr %10, align 4 %72 = call i32 @_mm_store_sd(ptr noundef %70, i32 noundef %71) %73 = load ptr, ptr %7, align 8 %74 = getelementptr inbounds double, ptr %73, i64 12 %75 = call i32 @_mm_load_sd(ptr noundef %74) store i32 %75, ptr %10, align 4 %76 = load ptr, ptr %8, align 8 %77 = getelementptr inbounds double, ptr %76, i64 12 %78 = call i32 @_mm_load_sd(ptr noundef %77) store i32 %78, ptr %11, align 4 %79 = load i32, ptr %12, align 4 %80 = load i32, ptr %10, align 4 %81 = call i32 @_mm_mul_sd(i32 noundef %79, i32 noundef %80) store i32 %81, ptr %10, align 4 %82 = load i32, ptr %11, align 4 %83 = load i32, ptr %10, align 4 %84 = call i32 @_mm_add_sd(i32 noundef %82, i32 noundef %83) store i32 %84, ptr %10, align 4 %85 = load ptr, ptr %8, align 8 %86 = getelementptr inbounds double, ptr %85, i64 12 %87 = load i32, ptr %10, align 4 %88 = call i32 @_mm_store_sd(ptr noundef %86, i32 noundef %87) %89 = load ptr, ptr %7, align 8 %90 = getelementptr inbounds double, ptr %89, i64 16 store ptr %90, ptr %7, align 8 %91 = load ptr, ptr %8, align 8 %92 = getelementptr inbounds double, ptr %91, i64 16 store ptr %92, ptr %8, align 8 br label %93 93: ; preds = %24 %94 = load i32, ptr %13, align 4 %95 = add nsw i32 %94, 4 store i32 %95, ptr %13, align 4 br label %19, !llvm.loop !6 96: ; preds = %19 br label %97 97: ; preds = %122, %96 %98 = load i32, ptr %13, align 4 %99 = load i32, ptr %5, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %101, label %125 101: ; preds = %97 %102 = load ptr, ptr %7, align 8 %103 = getelementptr inbounds double, ptr %102, i64 0 %104 = call i32 @_mm_load_sd(ptr noundef %103) store i32 %104, ptr %10, align 4 %105 = load ptr, ptr %8, align 8 %106 = getelementptr inbounds double, ptr %105, i64 0 %107 = call i32 @_mm_load_sd(ptr noundef %106) store i32 %107, ptr %11, align 4 %108 = load i32, ptr %12, align 4 %109 = load i32, ptr %10, align 4 %110 = call i32 @_mm_mul_sd(i32 noundef %108, i32 noundef %109) store i32 %110, ptr %10, align 4 %111 = load i32, ptr %11, align 4 %112 = load i32, ptr %10, align 4 %113 = call i32 @_mm_add_sd(i32 noundef %111, i32 noundef %112) store i32 %113, ptr %10, align 4 %114 = load ptr, ptr %8, align 8 %115 = getelementptr inbounds double, ptr %114, i64 0 %116 = load i32, ptr %10, align 4 %117 = call i32 @_mm_store_sd(ptr noundef %115, i32 noundef %116) %118 = load ptr, ptr %7, align 8 %119 = getelementptr inbounds double, ptr %118, i64 4 store ptr %119, ptr %7, align 8 %120 = load ptr, ptr %8, align 8 %121 = getelementptr inbounds double, ptr %120, i64 4 store ptr %121, ptr %8, align 8 br label %122 122: ; preds = %101 %123 = load i32, ptr %13, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %13, align 4 br label %97, !llvm.loop !8 125: ; preds = %16, %97 ret void } declare i32 @_mm_load_sd(ptr noundef) #1 declare i32 @_mm_mul_sd(i32 noundef, i32 noundef) #1 declare i32 @_mm_add_sd(i32 noundef, i32 noundef) #1 declare i32 @_mm_store_sd(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv7rw1ia7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kernel_dgead_1_0_lib4(i32 noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca double, 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 i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %14 = load i32, ptr %5, align 4 %15 = icmp sle i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %4 br label %130 17: ; preds = %4 store i32 4, ptr %9, align 4 %18 = call i32 @_mm_load_sd(ptr noundef %6) store i32 %18, ptr %12, align 4 store i32 0, ptr %13, align 4 %19 = load i32, ptr %13, align 4 %20 = load i32, ptr %5, align 4 %21 = sub nsw i32 %20, 3 %22 = icmp slt i32 %19, %21 br i1 %22, label %.lr.ph, label %99 .lr.ph: ; preds = %17 br label %23 23: ; preds = %.lr.ph, %92 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds double, ptr %24, i64 0 %26 = call i32 @_mm_load_sd(ptr noundef %25) store i32 %26, ptr %10, align 4 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds double, ptr %27, i64 0 %29 = call i32 @_mm_load_sd(ptr noundef %28) store i32 %29, ptr %11, align 4 %30 = load i32, ptr %12, align 4 %31 = load i32, ptr %10, align 4 %32 = call i32 @_mm_mul_sd(i32 noundef %30, i32 noundef %31) store i32 %32, ptr %10, align 4 %33 = load i32, ptr %11, align 4 %34 = load i32, ptr %10, align 4 %35 = call i32 @_mm_add_sd(i32 noundef %33, i32 noundef %34) store i32 %35, ptr %10, align 4 %36 = load ptr, ptr %8, align 8 %37 = getelementptr inbounds double, ptr %36, i64 0 %38 = load i32, ptr %10, align 4 %39 = call i32 @_mm_store_sd(ptr noundef %37, i32 noundef %38) %40 = load ptr, ptr %7, align 8 %41 = getelementptr inbounds double, ptr %40, i64 4 %42 = call i32 @_mm_load_sd(ptr noundef %41) store i32 %42, ptr %10, align 4 %43 = load ptr, ptr %8, align 8 %44 = getelementptr inbounds double, ptr %43, i64 4 %45 = call i32 @_mm_load_sd(ptr noundef %44) store i32 %45, ptr %11, align 4 %46 = load i32, ptr %12, align 4 %47 = load i32, ptr %10, align 4 %48 = call i32 @_mm_mul_sd(i32 noundef %46, i32 noundef %47) store i32 %48, ptr %10, align 4 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %10, align 4 %51 = call i32 @_mm_add_sd(i32 noundef %49, i32 noundef %50) store i32 %51, ptr %10, align 4 %52 = load ptr, ptr %8, align 8 %53 = getelementptr inbounds double, ptr %52, i64 4 %54 = load i32, ptr %10, align 4 %55 = call i32 @_mm_store_sd(ptr noundef %53, i32 noundef %54) %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds double, ptr %56, i64 8 %58 = call i32 @_mm_load_sd(ptr noundef %57) store i32 %58, ptr %10, align 4 %59 = load ptr, ptr %8, align 8 %60 = getelementptr inbounds double, ptr %59, i64 8 %61 = call i32 @_mm_load_sd(ptr noundef %60) store i32 %61, ptr %11, align 4 %62 = load i32, ptr %12, align 4 %63 = load i32, ptr %10, align 4 %64 = call i32 @_mm_mul_sd(i32 noundef %62, i32 noundef %63) store i32 %64, ptr %10, align 4 %65 = load i32, ptr %11, align 4 %66 = load i32, ptr %10, align 4 %67 = call i32 @_mm_add_sd(i32 noundef %65, i32 noundef %66) store i32 %67, ptr %10, align 4 %68 = load ptr, ptr %8, align 8 %69 = getelementptr inbounds double, ptr %68, i64 8 %70 = load i32, ptr %10, align 4 %71 = call i32 @_mm_store_sd(ptr noundef %69, i32 noundef %70) %72 = load ptr, ptr %7, align 8 %73 = getelementptr inbounds double, ptr %72, i64 12 %74 = call i32 @_mm_load_sd(ptr noundef %73) store i32 %74, ptr %10, align 4 %75 = load ptr, ptr %8, align 8 %76 = getelementptr inbounds double, ptr %75, i64 12 %77 = call i32 @_mm_load_sd(ptr noundef %76) store i32 %77, ptr %11, align 4 %78 = load i32, ptr %12, align 4 %79 = load i32, ptr %10, align 4 %80 = call i32 @_mm_mul_sd(i32 noundef %78, i32 noundef %79) store i32 %80, ptr %10, align 4 %81 = load i32, ptr %11, align 4 %82 = load i32, ptr %10, align 4 %83 = call i32 @_mm_add_sd(i32 noundef %81, i32 noundef %82) store i32 %83, ptr %10, align 4 %84 = load ptr, ptr %8, align 8 %85 = getelementptr inbounds double, ptr %84, i64 12 %86 = load i32, ptr %10, align 4 %87 = call i32 @_mm_store_sd(ptr noundef %85, i32 noundef %86) %88 = load ptr, ptr %7, align 8 %89 = getelementptr inbounds double, ptr %88, i64 16 store ptr %89, ptr %7, align 8 %90 = load ptr, ptr %8, align 8 %91 = getelementptr inbounds double, ptr %90, i64 16 store ptr %91, ptr %8, align 8 br label %92 92: ; preds = %23 %93 = load i32, ptr %13, align 4 %94 = add nsw i32 %93, 4 store i32 %94, ptr %13, align 4 %95 = load i32, ptr %13, align 4 %96 = load i32, ptr %5, align 4 %97 = sub nsw i32 %96, 3 %98 = icmp slt i32 %95, %97 br i1 %98, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %92 br label %99 99: ; preds = %._crit_edge, %17 %100 = load i32, ptr %13, align 4 %101 = load i32, ptr %5, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %99 br label %103 103: ; preds = %.lr.ph2, %124 %104 = load ptr, ptr %7, align 8 %105 = getelementptr inbounds double, ptr %104, i64 0 %106 = call i32 @_mm_load_sd(ptr noundef %105) store i32 %106, ptr %10, align 4 %107 = load ptr, ptr %8, align 8 %108 = getelementptr inbounds double, ptr %107, i64 0 %109 = call i32 @_mm_load_sd(ptr noundef %108) store i32 %109, ptr %11, align 4 %110 = load i32, ptr %12, align 4 %111 = load i32, ptr %10, align 4 %112 = call i32 @_mm_mul_sd(i32 noundef %110, i32 noundef %111) store i32 %112, ptr %10, align 4 %113 = load i32, ptr %11, align 4 %114 = load i32, ptr %10, align 4 %115 = call i32 @_mm_add_sd(i32 noundef %113, i32 noundef %114) store i32 %115, ptr %10, align 4 %116 = load ptr, ptr %8, align 8 %117 = getelementptr inbounds double, ptr %116, i64 0 %118 = load i32, ptr %10, align 4 %119 = call i32 @_mm_store_sd(ptr noundef %117, i32 noundef %118) %120 = load ptr, ptr %7, align 8 %121 = getelementptr inbounds double, ptr %120, i64 4 store ptr %121, ptr %7, align 8 %122 = load ptr, ptr %8, align 8 %123 = getelementptr inbounds double, ptr %122, i64 4 store ptr %123, ptr %8, align 8 br label %124 124: ; preds = %103 %125 = load i32, ptr %13, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %13, align 4 %127 = load i32, ptr %13, align 4 %128 = load i32, ptr %5, align 4 %129 = icmp slt i32 %127, %128 br i1 %129, label %103, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %124 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %99 br label %130 130: ; preds = %.loopexit, %16 ret void } declare i32 @_mm_load_sd(ptr noundef) #1 declare i32 @_mm_mul_sd(i32 noundef, i32 noundef) #1 declare i32 @_mm_add_sd(i32 noundef, i32 noundef) #1 declare i32 @_mm_store_sd(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpz5ax_rk9.c' source_filename = "/tmp/tmpz5ax_rk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bsdsum(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %3 store i32 1, ptr %4, align 4 br label %43 14: ; preds = %3 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %15 15: ; preds = %22, %14 %16 = load ptr, ptr %5, align 8 %17 = call signext i8 @fgetc(ptr noundef %16) store i8 %17, ptr %10, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr @EOF, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %18, %20 br i1 %21, label %22, label %35 22: ; preds = %15 %23 = load i32, ptr %8, align 4 %24 = ashr i32 %23, 1 %25 = load i32, ptr %8, align 4 %26 = and i32 %25, 1 %27 = shl i32 %26, 15 %28 = or i32 %24, %27 %29 = load i8, ptr %10, align 1 %30 = sext i8 %29 to i32 %31 = add nsw i32 %28, %30 %32 = and i32 %31, 65535 store i32 %32, ptr %8, align 4 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %9, align 4 br label %15, !llvm.loop !6 35: ; preds = %15 %36 = load i32, ptr %9, align 4 %37 = add nsw i32 %36, 1024 %38 = sub nsw i32 %37, 1 %39 = sdiv i32 %38, 1024 %40 = load ptr, ptr %7, align 8 store i32 %39, ptr %40, align 4 %41 = load i32, ptr %8, align 4 %42 = load ptr, ptr %6, align 8 store i32 %41, ptr %42, align 4 store i32 0, ptr %4, align 4 br label %43 43: ; preds = %35, %13 %44 = load i32, ptr %4, align 4 ret i32 %44 } declare signext i8 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpz5ax_rk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bsdsum(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %3 store i32 1, ptr %4, align 4 br label %48 14: ; preds = %3 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %15 = load ptr, ptr %5, align 8 %16 = call signext i8 @fgetc(ptr noundef %15) store i8 %16, ptr %10, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr @EOF, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %17, %19 br i1 %20, label %.lr.ph, label %40 .lr.ph: ; preds = %14 br label %21 21: ; preds = %.lr.ph, %21 %22 = load i32, ptr %8, align 4 %23 = ashr i32 %22, 1 %24 = load i32, ptr %8, align 4 %25 = and i32 %24, 1 %26 = shl i32 %25, 15 %27 = or i32 %23, %26 %28 = load i8, ptr %10, align 1 %29 = sext i8 %28 to i32 %30 = add nsw i32 %27, %29 %31 = and i32 %30, 65535 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %9, align 4 %34 = load ptr, ptr %5, align 8 %35 = call signext i8 @fgetc(ptr noundef %34) store i8 %35, ptr %10, align 1 %36 = sext i8 %35 to i32 %37 = load i8, ptr @EOF, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %36, %38 br i1 %39, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %40 40: ; preds = %._crit_edge, %14 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1024 %43 = sub nsw i32 %42, 1 %44 = sdiv i32 %43, 1024 %45 = load ptr, ptr %7, align 8 store i32 %44, ptr %45, align 4 %46 = load i32, ptr %8, align 4 %47 = load ptr, ptr %6, align 8 store i32 %46, ptr %47, align 4 store i32 0, ptr %4, align 4 br label %48 48: ; preds = %40, %13 %49 = load i32, ptr %4, align 4 ret i32 %49 } declare signext i8 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpnhopszbz.c' source_filename = "/tmp/tmpnhopszbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %10 10: ; preds = %29, %2 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp ult i32 %11, %12 br i1 %13, label %14, label %32 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %6, align 4 %17 = zext 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 = load i32, ptr %5, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %28 23: ; preds = %14 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %6, align 4 %26 = zext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store ptr %27, ptr %3, align 8 br label %33 28: ; preds = %14 br label %29 29: ; preds = %28 %30 = load i32, ptr %6, align 4 %31 = add i32 %30, 1 store i32 %31, ptr %6, align 4 br label %10, !llvm.loop !6 32: ; preds = %10 store ptr null, ptr %3, align 8 br label %33 33: ; preds = %32, %23 %34 = load ptr, ptr %3, align 8 ret ptr %34 } 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/tmpnhopszbz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %7, align 4 store i32 0, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp ult i32 %10, %11 br i1 %12, label %.lr.ph, label %34 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %28 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %6, align 4 %16 = zext 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 = load i32, ptr %5, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %27 22: ; preds = %13 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %6, align 4 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 store ptr %26, ptr %3, align 8 br label %35 27: ; preds = %13 br label %28 28: ; preds = %27 %29 = load i32, ptr %6, align 4 %30 = add i32 %29, 1 store i32 %30, ptr %6, align 4 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp ult i32 %31, %32 br i1 %33, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %2 store ptr null, ptr %3, align 8 br label %35 35: ; preds = %34, %22 %36 = load ptr, ptr %3, align 8 ret ptr %36 } 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/tmp63drvsjk.c' source_filename = "/tmp/tmp63drvsjk.c" target datalayout = "e-m:e-p270: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/tmp63drvsjk.c" target datalayout = "e-m:e-p270: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/tmpn2y4m4b0.c' source_filename = "/tmp/tmpn2y4m4b0.c" target datalayout = "e-m:e-p270: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 } %struct.tm = type { i32, i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @UTNow() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca %struct.timeval, align 8 %9 = alloca ptr, align 8 %10 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null) %11 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1 %12 = load i32, ptr %11, align 8 store i32 %12, ptr %7, align 4 %13 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0 %14 = load i64, ptr %13, align 8 store i64 %14, ptr %5, align 8 %15 = call ptr @gmtime(ptr noundef %7) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 0 %18 = load i32, ptr %17, align 4 store i32 %18, ptr %1, align 4 %19 = load ptr, ptr %9, align 8 %20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 1 %21 = load i32, ptr %20, align 4 store i32 %21, ptr %2, align 4 %22 = load ptr, ptr %9, align 8 %23 = getelementptr inbounds %struct.tm, ptr %22, i32 0, i32 2 %24 = load i32, ptr %23, align 4 store i32 %24, ptr %3, align 4 %25 = load i64, ptr %5, align 8 %26 = sdiv i64 %25, 1000 %27 = trunc i64 %26 to i32 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = sitofp i32 %28 to double %30 = fdiv double %29, 3.600000e+06 %31 = load i32, ptr %3, align 4 %32 = sitofp i32 %31 to double %33 = fdiv double %32, 3.600000e+03 %34 = fadd double %30, %33 %35 = load i32, ptr %2, align 4 %36 = sitofp i32 %35 to double %37 = fdiv double %36, 6.000000e+01 %38 = fadd double %34, %37 %39 = load i32, ptr %1, align 4 %40 = sitofp i32 %39 to double %41 = fadd double %38, %40 store double %41, ptr %6, align 8 %42 = load double, ptr %6, align 8 ret double %42 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare ptr @gmtime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn2y4m4b0.c" target datalayout = "e-m:e-p270: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 } %struct.tm = type { i32, i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @UTNow() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca %struct.timeval, align 8 %9 = alloca ptr, align 8 %10 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null) %11 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1 %12 = load i32, ptr %11, align 8 store i32 %12, ptr %7, align 4 %13 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0 %14 = load i64, ptr %13, align 8 store i64 %14, ptr %5, align 8 %15 = call ptr @gmtime(ptr noundef %7) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 0 %18 = load i32, ptr %17, align 4 store i32 %18, ptr %1, align 4 %19 = load ptr, ptr %9, align 8 %20 = getelementptr inbounds %struct.tm, ptr %19, i32 0, i32 1 %21 = load i32, ptr %20, align 4 store i32 %21, ptr %2, align 4 %22 = load ptr, ptr %9, align 8 %23 = getelementptr inbounds %struct.tm, ptr %22, i32 0, i32 2 %24 = load i32, ptr %23, align 4 store i32 %24, ptr %3, align 4 %25 = load i64, ptr %5, align 8 %26 = sdiv i64 %25, 1000 %27 = trunc i64 %26 to i32 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = sitofp i32 %28 to double %30 = fdiv double %29, 3.600000e+06 %31 = load i32, ptr %3, align 4 %32 = sitofp i32 %31 to double %33 = fdiv double %32, 3.600000e+03 %34 = fadd double %30, %33 %35 = load i32, ptr %2, align 4 %36 = sitofp i32 %35 to double %37 = fdiv double %36, 6.000000e+01 %38 = fadd double %34, %37 %39 = load i32, ptr %1, align 4 %40 = sitofp i32 %39 to double %41 = fadd double %38, %40 store double %41, ptr %6, align 8 %42 = load double, ptr %6, align 8 ret double %42 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare ptr @gmtime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm27hnbq4.c' source_filename = "/tmp/tmpm27hnbq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"%s command not implemented.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @nack(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 @reply(i32 noundef 502, ptr noundef @.str, ptr noundef %3) ret void } declare i32 @reply(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm27hnbq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"%s command not implemented.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @nack(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 @reply(i32 noundef 502, ptr noundef @.str, ptr noundef %3) ret void } declare i32 @reply(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp65slflyy.c' source_filename = "/tmp/tmp65slflyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strip_newline(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = getelementptr inbounds i8, ptr %5, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 10 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %12, i64 %13 store i8 0, ptr %14, align 1 br label %15 15: ; preds = %11, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp65slflyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strip_newline(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = getelementptr inbounds i8, ptr %5, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 10 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %12, i64 %13 store i8 0, ptr %14, align 1 br label %15 15: ; preds = %11, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiu_nxms1.c' source_filename = "/tmp/tmpiu_nxms1.c" target datalayout = "e-m:e-p270: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/tmpiu_nxms1.c" target datalayout = "e-m:e-p270: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/tmpqt9gob0u.c' source_filename = "/tmp/tmpqt9gob0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transfer_mean(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store ptr null, ptr %5, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %39 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %5, align 8 br label %12 12: ; preds = %32, %9 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %37 17: ; preds = %12 %18 = load ptr, ptr %4, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 23644 br i1 %21, label %22, label %24 22: ; preds = %17 %23 = load ptr, ptr %4, align 8 store i8 92, ptr %23, align 1 br label %24 24: ; preds = %22, %17 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %4, align 8 %27 = icmp ult ptr %25, %26 br i1 %27, label %28, label %32 28: ; preds = %24 %29 = load ptr, ptr %4, align 8 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %5, align 8 store i8 %30, ptr %31, align 1 br label %32 32: ; preds = %28, %24 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %5, align 8 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %4, align 8 br label %12, !llvm.loop !6 37: ; preds = %12 %38 = load ptr, ptr %5, align 8 store i8 0, ptr %38, align 1 store i32 1, ptr %2, align 4 br label %39 39: ; preds = %37, %8 %40 = load i32, ptr %2, align 4 ret i32 %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqt9gob0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transfer_mean(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 store ptr null, ptr %5, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %42 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph, label %40 .lr.ph: ; preds = %9 br label %16 16: ; preds = %.lr.ph, %31 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 23644 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = load ptr, ptr %4, align 8 store i8 92, ptr %22, align 1 br label %23 23: ; preds = %21, %16 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %4, align 8 %26 = icmp ult ptr %24, %25 br i1 %26, label %27, label %31 27: ; preds = %23 %28 = load ptr, ptr %4, align 8 %29 = load i8, ptr %28, align 1 %30 = load ptr, ptr %5, align 8 store i8 %29, ptr %30, align 1 br label %31 31: ; preds = %27, %23 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %5, align 8 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %4, align 8 %36 = load ptr, ptr %4, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 0 br i1 %39, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %40 40: ; preds = %._crit_edge, %9 %41 = load ptr, ptr %5, align 8 store i8 0, ptr %41, align 1 store i32 1, ptr %2, align 4 br label %42 42: ; preds = %40, %8 %43 = load i32, ptr %2, align 4 ret i32 %43 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpb_jbtt2c.c' source_filename = "/tmp/tmpb_jbtt2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @writechars(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %43, %2 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %48 13: ; preds = %9 %14 = load i32, ptr %6, align 4 %15 = icmp sgt i32 %14, 23 br i1 %15, label %16, label %17 16: ; preds = %13 store i32 -1, ptr %5, align 4 br label %48 17: ; preds = %13 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr %8, align 8 store i32 0, ptr %7, align 4 br label %20 20: ; preds = %28, %17 %21 = load ptr, ptr %8, align 8 %22 = load i8, ptr %21, align 1 %23 = icmp ne i8 %22, 0 br i1 %23, label %24, label %39 24: ; preds = %20 %25 = load i32, ptr %7, align 4 %26 = icmp sge i32 %25, 80 br i1 %26, label %27, label %28 27: ; preds = %24 store i32 -1, ptr %5, align 4 br label %39 28: ; preds = %24 %29 = load ptr, ptr %8, align 8 %30 = load i8, ptr %29, align 1 %31 = call i32 @putchar(i8 noundef signext %30) %32 = load i32, ptr @stdout, align 4 %33 = call i32 @fflush(i32 noundef %32) %34 = call i32 @usleep(i32 noundef 10000) %35 = load ptr, ptr %8, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %8, align 8 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 br label %20, !llvm.loop !6 39: ; preds = %27, %20 %40 = call i32 @putchar(i8 noundef signext 10) %41 = load i32, ptr @stdout, align 4 %42 = call i32 @fflush(i32 noundef %41) br label %43 43: ; preds = %39 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %6, align 4 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds ptr, ptr %46, i32 1 store ptr %47, ptr %3, align 8 br label %9, !llvm.loop !8 48: ; preds = %16, %9 %49 = load i32, ptr %5, align 4 ret i32 %49 } declare i32 @putchar(i8 noundef signext) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @usleep(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/tmpb_jbtt2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @writechars(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph2, label %.loopexit1 .lr.ph2: ; preds = %2 br label %12 12: ; preds = %.lr.ph2, %44 %13 = load i32, ptr %6, align 4 %14 = icmp sgt i32 %13, 23 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 -1, ptr %5, align 4 br label %52 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %8, align 8 store i32 0, ptr %7, align 4 %19 = load ptr, ptr %8, align 8 %20 = load i8, ptr %19, align 1 %21 = icmp ne i8 %20, 0 br i1 %21, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %16 br label %22 22: ; preds = %.lr.ph, %26 %23 = load i32, ptr %7, align 4 %24 = icmp sge i32 %23, 80 br i1 %24, label %25, label %26 25: ; preds = %22 store i32 -1, ptr %5, align 4 br label %40 26: ; preds = %22 %27 = load ptr, ptr %8, align 8 %28 = load i8, ptr %27, align 1 %29 = call i32 @putchar(i8 noundef signext %28) %30 = load i32, ptr @stdout, align 4 %31 = call i32 @fflush(i32 noundef %30) %32 = call i32 @usleep(i32 noundef 10000) %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %8, align 8 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 %37 = load ptr, ptr %8, align 8 %38 = load i8, ptr %37, align 1 %39 = icmp ne i8 %38, 0 br i1 %39, label %22, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %26 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %16 br label %40 40: ; preds = %.loopexit, %25 %41 = call i32 @putchar(i8 noundef signext 10) %42 = load i32, ptr @stdout, align 4 %43 = call i32 @fflush(i32 noundef %42) br label %44 44: ; preds = %40 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 %47 = load ptr, ptr %3, align 8 %48 = getelementptr inbounds ptr, ptr %47, i32 1 store ptr %48, ptr %3, align 8 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %12, label %..loopexit1_crit_edge, !llvm.loop !8 ..loopexit1_crit_edge: ; preds = %44 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %2 br label %52 52: ; preds = %.loopexit1, %15 %53 = load i32, ptr %5, align 4 ret i32 %53 } declare i32 @putchar(i8 noundef signext) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @usleep(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/tmpjoowuc_s.c' source_filename = "/tmp/tmpjoowuc_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [71 x i8] c" choose the summary statistics to be used (0 - absent; 1 - present):\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"\0A microsatellites data\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c" heterozygosity: \00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c" variance of alleles length: \00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c" number of alleles: \00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c" curtosis of alleles length: \00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c" Shanon's index: \00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c" Nm estimator based on H: \00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"\0A sequence data\0A\00", align 1 @.str.9 = private unnamed_addr constant [35 x i8] c" mean of pairwise differences: \00", align 1 @.str.10 = private unnamed_addr constant [34 x i8] c" number of segregating sites: \00", align 1 @.str.11 = private unnamed_addr constant [27 x i8] c" number of haplotypes: \00", align 1 @.str.12 = private unnamed_addr constant [18 x i8] c" mean of MFS: \00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c" stdev of MFS: \00", align 1 @.str.14 = private unnamed_addr constant [30 x i8] c" Nm estimator based on S: \00", align 1 @.str.15 = private unnamed_addr constant [32 x i8] c" private segregating sites: \00", align 1 @.str.16 = private unnamed_addr constant [11 x i8] c" S(1): \00", align 1 @.str.17 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.18 = private unnamed_addr constant [62 x i8] c"\0A insert name for summary statistics set file (no extension)\00", align 1 @.str.19 = private unnamed_addr constant [24 x i8] c"\0A (max %d character): \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @buildsstats() #0 { %1 = alloca i32, align 4 %2 = alloca [15 x i32], align 16 %3 = alloca [256 x i8], align 16 %4 = alloca [256 x i8], align 16 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %12, %0 %6 = load i32, ptr %1, align 4 %7 = icmp slt i32 %6, 15 br i1 %7, label %8, label %15 8: ; preds = %5 %9 = load i32, ptr %1, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [15 x i32], ptr %2, i64 0, i64 %10 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %8 %13 = load i32, ptr %1, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %1, align 4 br label %5, !llvm.loop !6 15: ; preds = %5 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %17 17: ; preds = %77, %15 %18 = load i32, ptr %1, align 4 %19 = icmp slt i32 %18, 15 br i1 %19, label %20, label %80 20: ; preds = %17 br label %21 21: ; preds = %74, %20 %22 = load i32, ptr %1, align 4 switch i32 %22, label %55 [ i32 0, label %23 i32 1, label %26 i32 2, label %28 i32 3, label %30 i32 4, label %32 i32 5, label %34 i32 6, label %36 i32 7, label %39 i32 8, label %41 i32 9, label %43 i32 10, label %45 i32 11, label %47 i32 12, label %49 i32 13, label %51 i32 14, label %53 ] 23: ; preds = %21 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %55 26: ; preds = %21 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %55 28: ; preds = %21 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %55 30: ; preds = %21 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %55 32: ; preds = %21 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %55 34: ; preds = %21 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %55 36: ; preds = %21 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %55 39: ; preds = %21 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %55 41: ; preds = %21 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %55 43: ; preds = %21 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %55 45: ; preds = %21 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %55 47: ; preds = %21 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %55 49: ; preds = %21 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %55 51: ; preds = %21 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %55 53: ; preds = %21 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) br label %55 55: ; preds = %21, %53, %51, %49, %47, %45, %43, %41, %39, %36, %34, %32, %30, %28, %26, %23 %56 = call i32 (ptr, ...) @scanf(ptr noundef @.str.17, ptr noundef %3) %57 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %58 = call i32 @atoi(ptr noundef %57) %59 = load i32, ptr %1, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [15 x i32], ptr %2, i64 0, i64 %60 store i32 %58, ptr %61, align 4 br label %62 62: ; preds = %55 %63 = load i32, ptr %1, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [15 x i32], ptr %2, i64 0, i64 %64 %66 = load i32, ptr %65, align 4 %67 = icmp ne i32 %66, 1 br i1 %67, label %68, label %74 68: ; preds = %62 %69 = load i32, ptr %1, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [15 x i32], ptr %2, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = icmp ne i32 %72, 0 br label %74 74: ; preds = %68, %62 %75 = phi i1 [ false, %62 ], [ %73, %68 ] br i1 %75, label %21, label %76, !llvm.loop !8 76: ; preds = %74 br label %77 77: ; preds = %76 %78 = load i32, ptr %1, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %1, align 4 br label %17, !llvm.loop !9 80: ; preds = %17 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef 255) %83 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %84 = call i32 (ptr, ...) @scanf(ptr noundef @.str.17, ptr noundef %83) %85 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %86 = getelementptr inbounds [15 x i32], ptr %2, i64 0, i64 0 %87 = call i32 @makestats(ptr noundef %85, ptr noundef %86) ret i32 %87 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @makestats(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjoowuc_s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [71 x i8] c" choose the summary statistics to be used (0 - absent; 1 - present):\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"\0A microsatellites data\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c" heterozygosity: \00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c" variance of alleles length: \00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c" number of alleles: \00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c" curtosis of alleles length: \00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c" Shanon's index: \00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c" Nm estimator based on H: \00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"\0A sequence data\0A\00", align 1 @.str.9 = private unnamed_addr constant [35 x i8] c" mean of pairwise differences: \00", align 1 @.str.10 = private unnamed_addr constant [34 x i8] c" number of segregating sites: \00", align 1 @.str.11 = private unnamed_addr constant [27 x i8] c" number of haplotypes: \00", align 1 @.str.12 = private unnamed_addr constant [18 x i8] c" mean of MFS: \00", align 1 @.str.13 = private unnamed_addr constant [19 x i8] c" stdev of MFS: \00", align 1 @.str.14 = private unnamed_addr constant [30 x i8] c" Nm estimator based on S: \00", align 1 @.str.15 = private unnamed_addr constant [32 x i8] c" private segregating sites: \00", align 1 @.str.16 = private unnamed_addr constant [11 x i8] c" S(1): \00", align 1 @.str.17 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.18 = private unnamed_addr constant [62 x i8] c"\0A insert name for summary statistics set file (no extension)\00", align 1 @.str.19 = private unnamed_addr constant [24 x i8] c"\0A (max %d character): \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @buildsstats() #0 { %1 = alloca i32, align 4 %2 = alloca [15 x i32], align 16 %3 = alloca [256 x i8], align 16 %4 = alloca [256 x i8], align 16 store i32 0, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = icmp slt i32 %5, 15 br i1 %6, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %11 %8 = load i32, ptr %1, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [15 x i32], ptr %2, i64 0, i64 %9 store i32 0, ptr %10, align 4 br label %11 11: ; preds = %7 %12 = load i32, ptr %1, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %1, align 4 %14 = load i32, ptr %1, align 4 %15 = icmp slt i32 %14, 15 br i1 %15, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 %18 = load i32, ptr %1, align 4 %19 = icmp slt i32 %18, 15 br i1 %19, label %.lr.ph2, label %82 .lr.ph2: ; preds = %16 br label %20 20: ; preds = %.lr.ph2, %77 br label %21 21: ; preds = %74, %20 %22 = load i32, ptr %1, align 4 switch i32 %22, label %55 [ i32 0, label %23 i32 1, label %26 i32 2, label %28 i32 3, label %30 i32 4, label %32 i32 5, label %34 i32 6, label %36 i32 7, label %39 i32 8, label %41 i32 9, label %43 i32 10, label %45 i32 11, label %47 i32 12, label %49 i32 13, label %51 i32 14, label %53 ] 23: ; preds = %21 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %55 26: ; preds = %21 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %55 28: ; preds = %21 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %55 30: ; preds = %21 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %55 32: ; preds = %21 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %55 34: ; preds = %21 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %55 36: ; preds = %21 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %55 39: ; preds = %21 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %55 41: ; preds = %21 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %55 43: ; preds = %21 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %55 45: ; preds = %21 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %55 47: ; preds = %21 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %55 49: ; preds = %21 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %55 51: ; preds = %21 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %55 53: ; preds = %21 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) br label %55 55: ; preds = %53, %51, %49, %47, %45, %43, %41, %39, %36, %34, %32, %30, %28, %26, %23, %21 %56 = call i32 (ptr, ...) @scanf(ptr noundef @.str.17, ptr noundef %3) %57 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %58 = call i32 @atoi(ptr noundef %57) %59 = load i32, ptr %1, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [15 x i32], ptr %2, i64 0, i64 %60 store i32 %58, ptr %61, align 4 br label %62 62: ; preds = %55 %63 = load i32, ptr %1, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [15 x i32], ptr %2, i64 0, i64 %64 %66 = load i32, ptr %65, align 4 %67 = icmp ne i32 %66, 1 br i1 %67, label %68, label %74 68: ; preds = %62 %69 = load i32, ptr %1, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [15 x i32], ptr %2, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = icmp ne i32 %72, 0 br label %74 74: ; preds = %68, %62 %75 = phi i1 [ false, %62 ], [ %73, %68 ] br i1 %75, label %21, label %76, !llvm.loop !8 76: ; preds = %74 br label %77 77: ; preds = %76 %78 = load i32, ptr %1, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %1, align 4 %80 = load i32, ptr %1, align 4 %81 = icmp slt i32 %80, 15 br i1 %81, label %20, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %77 br label %82 82: ; preds = %._crit_edge3, %16 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef 255) %85 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %86 = call i32 (ptr, ...) @scanf(ptr noundef @.str.17, ptr noundef %85) %87 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %88 = getelementptr inbounds [15 x i32], ptr %2, i64 0, i64 0 %89 = call i32 @makestats(ptr noundef %87, ptr noundef %88) ret i32 %89 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @makestats(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpt4nvi3c3.c' source_filename = "/tmp/tmpt4nvi3c3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"\0AEncryption failed...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gen_publickey(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 2, ptr %3, align 4 br label %4 4: ; preds = %16, %1 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %8, label %19 8: ; preds = %4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @gcd(i32 noundef %9, i32 noundef %10) %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %15 13: ; preds = %8 %14 = load i32, ptr %3, align 4 ret i32 %14 15: ; preds = %8 br label %16 16: ; preds = %15 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %4, !llvm.loop !6 19: ; preds = %4 %20 = call i32 @printf(ptr noundef @.str) %21 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @gcd(i32 noundef, i32 noundef) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt4nvi3c3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"\0AEncryption failed...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gen_publickey(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 2, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %4, %5 br i1 %6, label %.lr.ph, label %21 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %15 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @gcd(i32 noundef %8, i32 noundef %9) %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %14 12: ; preds = %7 %13 = load i32, ptr %3, align 4 ret i32 %13 14: ; preds = %7 br label %15 15: ; preds = %14 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %21 21: ; preds = %._crit_edge, %1 %22 = call i32 @printf(ptr noundef @.str) %23 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @gcd(i32 noundef, i32 noundef) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_16qqyu8.c' source_filename = "/tmp/tmp_16qqyu8.c" target datalayout = "e-m:e-p270: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/tmp_16qqyu8.c" target datalayout = "e-m:e-p270: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/tmp7fsaakvk.c' source_filename = "/tmp/tmp7fsaakvk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 br label %3 3: ; preds = %6, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 10 br i1 %5, label %6, label %11 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 br label %3, !llvm.loop !6 11: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7fsaakvk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sle i32 %3, 10 br i1 %4, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %5 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp sle i32 %10, 10 br i1 %11, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %5 br label %12 12: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8izu6kwj.c' source_filename = "/tmp/tmp8izu6kwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"str1 == NULL\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"str2 == NULL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strcspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 0, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null %9 = zext i1 %8 to i32 %10 = call i32 @vassert(i32 noundef %9, ptr noundef @.str) %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null %13 = zext i1 %12 to i32 %14 = call i32 @vassert(i32 noundef %13, ptr noundef @.str.1) br label %15 15: ; preds = %29, %2 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %19, label %32 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 %23 = load i8, ptr %21, align 1 %24 = sext i8 %23 to i32 %25 = call ptr @strchr(ptr noundef %20, i32 noundef %24) %26 = icmp ne ptr %25, null br i1 %26, label %27, label %29 27: ; preds = %19 %28 = load i64, ptr %6, align 8 store i64 %28, ptr %3, align 8 br label %34 29: ; preds = %19 %30 = load i64, ptr %6, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %6, align 8 br label %15, !llvm.loop !6 32: ; preds = %15 %33 = load i64, ptr %6, align 8 store i64 %33, ptr %3, align 8 br label %34 34: ; preds = %32, %27 %35 = load i64, ptr %3, align 8 ret i64 %35 } declare i32 @vassert(i32 noundef, ptr noundef) #1 declare ptr @strchr(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/tmp8izu6kwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"str1 == NULL\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"str2 == NULL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strcspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 0, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null %9 = zext i1 %8 to i32 %10 = call i32 @vassert(i32 noundef %9, ptr noundef @.str) %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null %13 = zext i1 %12 to i32 %14 = call i32 @vassert(i32 noundef %13, ptr noundef @.str.1) %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %.lr.ph, label %34 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %28 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %4, align 8 %22 = load i8, ptr %20, align 1 %23 = sext i8 %22 to i32 %24 = call ptr @strchr(ptr noundef %19, i32 noundef %23) %25 = icmp ne ptr %24, null br i1 %25, label %26, label %28 26: ; preds = %18 %27 = load i64, ptr %6, align 8 store i64 %27, ptr %3, align 8 br label %36 28: ; preds = %18 %29 = load i64, ptr %6, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %6, align 8 %31 = load ptr, ptr %4, align 8 %32 = load i8, ptr %31, align 1 %33 = icmp ne i8 %32, 0 br i1 %33, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %2 %35 = load i64, ptr %6, align 8 store i64 %35, ptr %3, align 8 br label %36 36: ; preds = %34, %26 %37 = load i64, ptr %3, align 8 ret i64 %37 } declare i32 @vassert(i32 noundef, ptr noundef) #1 declare ptr @strchr(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/tmp4vrhofsb.c' source_filename = "/tmp/tmp4vrhofsb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4vrhofsb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7r900mb3.c' source_filename = "/tmp/tmp7r900mb3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TwophaseNavierStokes_VOF_SO_2D_Evaluate(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32) #0 { %34 = alloca i32, align 4 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 %38 = alloca double, align 8 %39 = alloca double, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 %63 = alloca ptr, align 8 %64 = alloca ptr, align 8 %65 = alloca ptr, align 8 %66 = alloca ptr, align 8 %67 = alloca i32, align 4 %68 = alloca double, align 8 %69 = alloca double, align 8 %70 = alloca double, align 8 store i32 %0, ptr %34, align 4 store double %1, ptr %35, align 8 store double %2, ptr %36, align 8 store double %3, ptr %37, align 8 store double %4, ptr %38, align 8 store double %5, ptr %39, align 8 store ptr %6, ptr %40, align 8 store ptr %7, ptr %41, align 8 store ptr %8, ptr %42, align 8 store ptr %9, ptr %43, align 8 store ptr %10, ptr %44, align 8 store ptr %11, ptr %45, align 8 store ptr %12, ptr %46, align 8 store ptr %13, ptr %47, align 8 store ptr %14, ptr %48, align 8 store ptr %15, ptr %49, align 8 store ptr %16, ptr %50, align 8 store ptr %17, ptr %51, align 8 store ptr %18, ptr %52, align 8 store ptr %19, ptr %53, align 8 store ptr %20, ptr %54, align 8 store ptr %21, ptr %55, align 8 store ptr %22, ptr %56, align 8 store ptr %23, ptr %57, align 8 store ptr %24, ptr %58, align 8 store ptr %25, ptr %59, align 8 store ptr %26, ptr %60, align 8 store ptr %27, ptr %61, align 8 store ptr %28, ptr %62, align 8 store ptr %29, ptr %63, align 8 store ptr %30, ptr %64, align 8 store ptr %31, ptr %65, align 8 store ptr %32, ptr %66, align 8 store i32 0, ptr %67, align 4 br label %71 71: ; preds = %379, %33 %72 = load i32, ptr %67, align 4 %73 = load i32, ptr %34, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %75, label %382 75: ; preds = %71 %76 = load ptr, ptr %41, align 8 %77 = load i32, ptr %67, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %76, i64 %78 %80 = load double, ptr %79, align 8 %81 = call i32 @fmin(double noundef 1.000000e+00, double noundef %80) %82 = call double @fmax(double noundef 0.000000e+00, i32 noundef %81) store double %82, ptr %70, align 8 %83 = load double, ptr %36, align 8 %84 = load double, ptr %70, align 8 %85 = fsub double 1.000000e+00, %84 %86 = load double, ptr %38, align 8 %87 = load double, ptr %70, align 8 %88 = fmul double %86, %87 %89 = call double @llvm.fmuladd.f64(double %83, double %85, double %88) store double %89, ptr %68, align 8 %90 = load double, ptr %37, align 8 %91 = load double, ptr %70, align 8 %92 = fsub double 1.000000e+00, %91 %93 = load double, ptr %39, align 8 %94 = load double, ptr %70, align 8 %95 = fmul double %93, %94 %96 = call double @llvm.fmuladd.f64(double %90, double %92, double %95) store double %96, ptr %69, align 8 %97 = load ptr, ptr %44, align 8 %98 = load i32, ptr %67, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds double, ptr %97, i64 %99 %101 = load double, ptr %100, align 8 %102 = load ptr, ptr %46, align 8 %103 = load i32, ptr %67, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %102, i64 %104 store double %101, ptr %105, align 8 %106 = load ptr, ptr %47, align 8 %107 = load i32, ptr %67, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds double, ptr %106, i64 %108 store double 1.000000e+00, ptr %109, align 8 %110 = load ptr, ptr %45, align 8 %111 = load i32, ptr %67, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %110, i64 %112 %114 = load double, ptr %113, align 8 %115 = load ptr, ptr %48, align 8 %116 = load i32, ptr %67, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %115, i64 %117 store double %114, ptr %118, align 8 %119 = load ptr, ptr %49, align 8 %120 = load i32, ptr %67, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds double, ptr %119, i64 %121 store double 1.000000e+00, ptr %122, align 8 %123 = load ptr, ptr %44, align 8 %124 = load i32, ptr %67, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds double, ptr %123, i64 %125 %127 = load double, ptr %126, align 8 %128 = load ptr, ptr %50, align 8 %129 = load i32, ptr %67, align 4 %130 = mul nsw i32 %129, 2 %131 = add nsw i32 %130, 0 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds double, ptr %128, i64 %132 store double %127, ptr %133, align 8 %134 = load ptr, ptr %45, align 8 %135 = load i32, ptr %67, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds double, ptr %134, i64 %136 %138 = load double, ptr %137, align 8 %139 = load ptr, ptr %50, align 8 %140 = load i32, ptr %67, align 4 %141 = mul nsw i32 %140, 2 %142 = add nsw i32 %141, 1 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds double, ptr %139, i64 %143 store double %138, ptr %144, align 8 %145 = load ptr, ptr %51, align 8 %146 = load i32, ptr %67, align 4 %147 = mul nsw i32 %146, 2 %148 = add nsw i32 %147, 0 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds double, ptr %145, i64 %149 store double 1.000000e+00, ptr %150, align 8 %151 = load ptr, ptr %52, align 8 %152 = load i32, ptr %67, align 4 %153 = mul nsw i32 %152, 2 %154 = add nsw i32 %153, 1 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds double, ptr %151, i64 %155 store double 1.000000e+00, ptr %156, align 8 %157 = load ptr, ptr %44, align 8 %158 = load i32, ptr %67, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds double, ptr %157, i64 %159 %161 = load double, ptr %160, align 8 %162 = load ptr, ptr %44, align 8 %163 = load i32, ptr %67, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds double, ptr %162, i64 %164 %166 = load double, ptr %165, align 8 %167 = fmul double %161, %166 %168 = load ptr, ptr %53, align 8 %169 = load i32, ptr %67, align 4 %170 = mul nsw i32 %169, 2 %171 = add nsw i32 %170, 0 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds double, ptr %168, i64 %172 store double %167, ptr %173, align 8 %174 = load ptr, ptr %44, align 8 %175 = load i32, ptr %67, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds double, ptr %174, i64 %176 %178 = load double, ptr %177, align 8 %179 = load ptr, ptr %45, align 8 %180 = load i32, ptr %67, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds double, ptr %179, i64 %181 %183 = load double, ptr %182, align 8 %184 = fmul double %178, %183 %185 = load ptr, ptr %53, align 8 %186 = load i32, ptr %67, align 4 %187 = mul nsw i32 %186, 2 %188 = add nsw i32 %187, 1 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %185, i64 %189 store double %184, ptr %190, align 8 %191 = load ptr, ptr %44, align 8 %192 = load i32, ptr %67, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds double, ptr %191, i64 %193 %195 = load double, ptr %194, align 8 %196 = fmul double 2.000000e+00, %195 %197 = load ptr, ptr %54, align 8 %198 = load i32, ptr %67, align 4 %199 = mul nsw i32 %198, 2 %200 = add nsw i32 %199, 0 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds double, ptr %197, i64 %201 store double %196, ptr %202, align 8 %203 = load ptr, ptr %45, align 8 %204 = load i32, ptr %67, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds double, ptr %203, i64 %205 %207 = load double, ptr %206, align 8 %208 = load ptr, ptr %54, align 8 %209 = load i32, ptr %67, align 4 %210 = mul nsw i32 %209, 2 %211 = add nsw i32 %210, 1 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds double, ptr %208, i64 %212 store double %207, ptr %213, align 8 %214 = load ptr, ptr %44, align 8 %215 = load i32, ptr %67, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds double, ptr %214, i64 %216 %218 = load double, ptr %217, align 8 %219 = load ptr, ptr %55, align 8 %220 = load i32, ptr %67, align 4 %221 = mul nsw i32 %220, 2 %222 = add nsw i32 %221, 1 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds double, ptr %219, i64 %223 store double %218, ptr %224, align 8 %225 = load ptr, ptr %45, align 8 %226 = load i32, ptr %67, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds double, ptr %225, i64 %227 %229 = load double, ptr %228, align 8 %230 = load ptr, ptr %44, align 8 %231 = load i32, ptr %67, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds double, ptr %230, i64 %232 %234 = load double, ptr %233, align 8 %235 = fmul double %229, %234 %236 = load ptr, ptr %56, align 8 %237 = load i32, ptr %67, align 4 %238 = mul nsw i32 %237, 2 %239 = add nsw i32 %238, 0 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds double, ptr %236, i64 %240 store double %235, ptr %241, align 8 %242 = load ptr, ptr %45, align 8 %243 = load i32, ptr %67, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds double, ptr %242, i64 %244 %246 = load double, ptr %245, align 8 %247 = load ptr, ptr %45, align 8 %248 = load i32, ptr %67, align 4 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds double, ptr %247, i64 %249 %251 = load double, ptr %250, align 8 %252 = fmul double %246, %251 %253 = load ptr, ptr %56, align 8 %254 = load i32, ptr %67, align 4 %255 = mul nsw i32 %254, 2 %256 = add nsw i32 %255, 1 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds double, ptr %253, i64 %257 store double %252, ptr %258, align 8 %259 = load ptr, ptr %45, align 8 %260 = load i32, ptr %67, align 4 %261 = sext i32 %260 to i64 %262 = getelementptr inbounds double, ptr %259, i64 %261 %263 = load double, ptr %262, align 8 %264 = load ptr, ptr %57, align 8 %265 = load i32, ptr %67, align 4 %266 = mul nsw i32 %265, 2 %267 = add nsw i32 %266, 0 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds double, ptr %264, i64 %268 store double %263, ptr %269, align 8 %270 = load ptr, ptr %44, align 8 %271 = load i32, ptr %67, align 4 %272 = sext i32 %271 to i64 %273 = getelementptr inbounds double, ptr %270, i64 %272 %274 = load double, ptr %273, align 8 %275 = load ptr, ptr %58, align 8 %276 = load i32, ptr %67, align 4 %277 = mul nsw i32 %276, 2 %278 = add nsw i32 %277, 0 %279 = sext i32 %278 to i64 %280 = getelementptr inbounds double, ptr %275, i64 %279 store double %274, ptr %280, align 8 %281 = load ptr, ptr %45, align 8 %282 = load i32, ptr %67, align 4 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds double, ptr %281, i64 %283 %285 = load double, ptr %284, align 8 %286 = fmul double 2.000000e+00, %285 %287 = load ptr, ptr %58, align 8 %288 = load i32, ptr %67, align 4 %289 = mul nsw i32 %288, 2 %290 = add nsw i32 %289, 1 %291 = sext i32 %290 to i64 %292 = getelementptr inbounds double, ptr %287, i64 %291 store double %286, ptr %292, align 8 %293 = load double, ptr %69, align 8 %294 = load ptr, ptr %59, align 8 %295 = load i32, ptr %67, align 4 %296 = mul nsw i32 %295, 4 %297 = add nsw i32 %296, 0 %298 = sext i32 %297 to i64 %299 = getelementptr inbounds double, ptr %294, i64 %298 store double %293, ptr %299, align 8 %300 = load double, ptr %69, align 8 %301 = load ptr, ptr %59, align 8 %302 = load i32, ptr %67, align 4 %303 = mul nsw i32 %302, 4 %304 = add nsw i32 %303, 3 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds double, ptr %301, i64 %305 store double %300, ptr %306, align 8 %307 = load double, ptr %69, align 8 %308 = load ptr, ptr %60, align 8 %309 = load i32, ptr %67, align 4 %310 = mul nsw i32 %309, 4 %311 = add nsw i32 %310, 0 %312 = sext i32 %311 to i64 %313 = getelementptr inbounds double, ptr %308, i64 %312 store double %307, ptr %313, align 8 %314 = load double, ptr %69, align 8 %315 = load ptr, ptr %60, align 8 %316 = load i32, ptr %67, align 4 %317 = mul nsw i32 %316, 4 %318 = add nsw i32 %317, 3 %319 = sext i32 %318 to i64 %320 = getelementptr inbounds double, ptr %315, i64 %319 store double %314, ptr %320, align 8 %321 = load ptr, ptr %40, align 8 %322 = getelementptr inbounds double, ptr %321, i64 0 %323 = load double, ptr %322, align 8 %324 = fneg double %323 %325 = load ptr, ptr %61, align 8 %326 = load i32, ptr %67, align 4 %327 = sext i32 %326 to i64 %328 = getelementptr inbounds double, ptr %325, i64 %327 store double %324, ptr %328, align 8 %329 = load ptr, ptr %40, align 8 %330 = getelementptr inbounds double, ptr %329, i64 1 %331 = load double, ptr %330, align 8 %332 = fneg double %331 %333 = load ptr, ptr %62, align 8 %334 = load i32, ptr %67, align 4 %335 = sext i32 %334 to i64 %336 = getelementptr inbounds double, ptr %333, i64 %335 store double %332, ptr %336, align 8 %337 = load ptr, ptr %43, align 8 %338 = load i32, ptr %67, align 4 %339 = mul nsw i32 %338, 2 %340 = add nsw i32 %339, 0 %341 = sext i32 %340 to i64 %342 = getelementptr inbounds double, ptr %337, i64 %341 %343 = load double, ptr %342, align 8 %344 = load double, ptr %68, align 8 %345 = fdiv double %343, %344 %346 = load ptr, ptr %63, align 8 %347 = load i32, ptr %67, align 4 %348 = sext i32 %347 to i64 %349 = getelementptr inbounds double, ptr %346, i64 %348 store double %345, ptr %349, align 8 %350 = load double, ptr %68, align 8 %351 = fdiv double 1.000000e+00, %350 %352 = load ptr, ptr %64, align 8 %353 = load i32, ptr %67, align 4 %354 = mul nsw i32 %353, 2 %355 = add nsw i32 %354, 0 %356 = sext i32 %355 to i64 %357 = getelementptr inbounds double, ptr %352, i64 %356 store double %351, ptr %357, align 8 %358 = load ptr, ptr %43, align 8 %359 = load i32, ptr %67, align 4 %360 = mul nsw i32 %359, 2 %361 = add nsw i32 %360, 1 %362 = sext i32 %361 to i64 %363 = getelementptr inbounds double, ptr %358, i64 %362 %364 = load double, ptr %363, align 8 %365 = load double, ptr %68, align 8 %366 = fdiv double %364, %365 %367 = load ptr, ptr %65, align 8 %368 = load i32, ptr %67, align 4 %369 = sext i32 %368 to i64 %370 = getelementptr inbounds double, ptr %367, i64 %369 store double %366, ptr %370, align 8 %371 = load double, ptr %68, align 8 %372 = fdiv double 1.000000e+00, %371 %373 = load ptr, ptr %66, align 8 %374 = load i32, ptr %67, align 4 %375 = mul nsw i32 %374, 2 %376 = add nsw i32 %375, 1 %377 = sext i32 %376 to i64 %378 = getelementptr inbounds double, ptr %373, i64 %377 store double %372, ptr %378, align 8 br label %379 379: ; preds = %75 %380 = load i32, ptr %67, align 4 %381 = add nsw i32 %380, 1 store i32 %381, ptr %67, align 4 br label %71, !llvm.loop !6 382: ; preds = %71 ret void } declare double @fmax(double noundef, i32 noundef) #1 declare i32 @fmin(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7r900mb3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TwophaseNavierStokes_VOF_SO_2D_Evaluate(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32) #0 { %34 = alloca i32, align 4 %35 = alloca double, align 8 %36 = alloca double, align 8 %37 = alloca double, align 8 %38 = alloca double, align 8 %39 = alloca double, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca ptr, align 8 %54 = alloca ptr, align 8 %55 = alloca ptr, align 8 %56 = alloca ptr, align 8 %57 = alloca ptr, align 8 %58 = alloca ptr, align 8 %59 = alloca ptr, align 8 %60 = alloca ptr, align 8 %61 = alloca ptr, align 8 %62 = alloca ptr, align 8 %63 = alloca ptr, align 8 %64 = alloca ptr, align 8 %65 = alloca ptr, align 8 %66 = alloca ptr, align 8 %67 = alloca i32, align 4 %68 = alloca double, align 8 %69 = alloca double, align 8 %70 = alloca double, align 8 store i32 %0, ptr %34, align 4 store double %1, ptr %35, align 8 store double %2, ptr %36, align 8 store double %3, ptr %37, align 8 store double %4, ptr %38, align 8 store double %5, ptr %39, align 8 store ptr %6, ptr %40, align 8 store ptr %7, ptr %41, align 8 store ptr %8, ptr %42, align 8 store ptr %9, ptr %43, align 8 store ptr %10, ptr %44, align 8 store ptr %11, ptr %45, align 8 store ptr %12, ptr %46, align 8 store ptr %13, ptr %47, align 8 store ptr %14, ptr %48, align 8 store ptr %15, ptr %49, align 8 store ptr %16, ptr %50, align 8 store ptr %17, ptr %51, align 8 store ptr %18, ptr %52, align 8 store ptr %19, ptr %53, align 8 store ptr %20, ptr %54, align 8 store ptr %21, ptr %55, align 8 store ptr %22, ptr %56, align 8 store ptr %23, ptr %57, align 8 store ptr %24, ptr %58, align 8 store ptr %25, ptr %59, align 8 store ptr %26, ptr %60, align 8 store ptr %27, ptr %61, align 8 store ptr %28, ptr %62, align 8 store ptr %29, ptr %63, align 8 store ptr %30, ptr %64, align 8 store ptr %31, ptr %65, align 8 store ptr %32, ptr %66, align 8 store i32 0, ptr %67, align 4 %71 = load i32, ptr %67, align 4 %72 = load i32, ptr %34, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %.lr.ph, label %384 .lr.ph: ; preds = %33 br label %74 74: ; preds = %.lr.ph, %378 %75 = load ptr, ptr %41, align 8 %76 = load i32, ptr %67, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds double, ptr %75, i64 %77 %79 = load double, ptr %78, align 8 %80 = call i32 @fmin(double noundef 1.000000e+00, double noundef %79) %81 = call double @fmax(double noundef 0.000000e+00, i32 noundef %80) store double %81, ptr %70, align 8 %82 = load double, ptr %36, align 8 %83 = load double, ptr %70, align 8 %84 = fsub double 1.000000e+00, %83 %85 = load double, ptr %38, align 8 %86 = load double, ptr %70, align 8 %87 = fmul double %85, %86 %88 = call double @llvm.fmuladd.f64(double %82, double %84, double %87) store double %88, ptr %68, align 8 %89 = load double, ptr %37, align 8 %90 = load double, ptr %70, align 8 %91 = fsub double 1.000000e+00, %90 %92 = load double, ptr %39, align 8 %93 = load double, ptr %70, align 8 %94 = fmul double %92, %93 %95 = call double @llvm.fmuladd.f64(double %89, double %91, double %94) store double %95, ptr %69, align 8 %96 = load ptr, ptr %44, align 8 %97 = load i32, ptr %67, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds double, ptr %96, i64 %98 %100 = load double, ptr %99, align 8 %101 = load ptr, ptr %46, align 8 %102 = load i32, ptr %67, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %101, i64 %103 store double %100, ptr %104, align 8 %105 = load ptr, ptr %47, align 8 %106 = load i32, ptr %67, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %105, i64 %107 store double 1.000000e+00, ptr %108, align 8 %109 = load ptr, ptr %45, align 8 %110 = load i32, ptr %67, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds double, ptr %109, i64 %111 %113 = load double, ptr %112, align 8 %114 = load ptr, ptr %48, align 8 %115 = load i32, ptr %67, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds double, ptr %114, i64 %116 store double %113, ptr %117, align 8 %118 = load ptr, ptr %49, align 8 %119 = load i32, ptr %67, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds double, ptr %118, i64 %120 store double 1.000000e+00, ptr %121, align 8 %122 = load ptr, ptr %44, align 8 %123 = load i32, ptr %67, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds double, ptr %122, i64 %124 %126 = load double, ptr %125, align 8 %127 = load ptr, ptr %50, align 8 %128 = load i32, ptr %67, align 4 %129 = mul nsw i32 %128, 2 %130 = add nsw i32 %129, 0 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %127, i64 %131 store double %126, ptr %132, align 8 %133 = load ptr, ptr %45, align 8 %134 = load i32, ptr %67, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds double, ptr %133, i64 %135 %137 = load double, ptr %136, align 8 %138 = load ptr, ptr %50, align 8 %139 = load i32, ptr %67, align 4 %140 = mul nsw i32 %139, 2 %141 = add nsw i32 %140, 1 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds double, ptr %138, i64 %142 store double %137, ptr %143, align 8 %144 = load ptr, ptr %51, align 8 %145 = load i32, ptr %67, align 4 %146 = mul nsw i32 %145, 2 %147 = add nsw i32 %146, 0 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds double, ptr %144, i64 %148 store double 1.000000e+00, ptr %149, align 8 %150 = load ptr, ptr %52, align 8 %151 = load i32, ptr %67, align 4 %152 = mul nsw i32 %151, 2 %153 = add nsw i32 %152, 1 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds double, ptr %150, i64 %154 store double 1.000000e+00, ptr %155, align 8 %156 = load ptr, ptr %44, align 8 %157 = load i32, ptr %67, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds double, ptr %156, i64 %158 %160 = load double, ptr %159, align 8 %161 = load ptr, ptr %44, align 8 %162 = load i32, ptr %67, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds double, ptr %161, i64 %163 %165 = load double, ptr %164, align 8 %166 = fmul double %160, %165 %167 = load ptr, ptr %53, align 8 %168 = load i32, ptr %67, align 4 %169 = mul nsw i32 %168, 2 %170 = add nsw i32 %169, 0 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %167, i64 %171 store double %166, ptr %172, align 8 %173 = load ptr, ptr %44, align 8 %174 = load i32, ptr %67, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds double, ptr %173, i64 %175 %177 = load double, ptr %176, align 8 %178 = load ptr, ptr %45, align 8 %179 = load i32, ptr %67, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds double, ptr %178, i64 %180 %182 = load double, ptr %181, align 8 %183 = fmul double %177, %182 %184 = load ptr, ptr %53, align 8 %185 = load i32, ptr %67, align 4 %186 = mul nsw i32 %185, 2 %187 = add nsw i32 %186, 1 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds double, ptr %184, i64 %188 store double %183, ptr %189, align 8 %190 = load ptr, ptr %44, align 8 %191 = load i32, ptr %67, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds double, ptr %190, i64 %192 %194 = load double, ptr %193, align 8 %195 = fmul double 2.000000e+00, %194 %196 = load ptr, ptr %54, align 8 %197 = load i32, ptr %67, align 4 %198 = mul nsw i32 %197, 2 %199 = add nsw i32 %198, 0 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds double, ptr %196, i64 %200 store double %195, ptr %201, align 8 %202 = load ptr, ptr %45, align 8 %203 = load i32, ptr %67, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds double, ptr %202, i64 %204 %206 = load double, ptr %205, align 8 %207 = load ptr, ptr %54, align 8 %208 = load i32, ptr %67, align 4 %209 = mul nsw i32 %208, 2 %210 = add nsw i32 %209, 1 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds double, ptr %207, i64 %211 store double %206, ptr %212, align 8 %213 = load ptr, ptr %44, align 8 %214 = load i32, ptr %67, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds double, ptr %213, i64 %215 %217 = load double, ptr %216, align 8 %218 = load ptr, ptr %55, align 8 %219 = load i32, ptr %67, align 4 %220 = mul nsw i32 %219, 2 %221 = add nsw i32 %220, 1 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds double, ptr %218, i64 %222 store double %217, ptr %223, align 8 %224 = load ptr, ptr %45, align 8 %225 = load i32, ptr %67, align 4 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds double, ptr %224, i64 %226 %228 = load double, ptr %227, align 8 %229 = load ptr, ptr %44, align 8 %230 = load i32, ptr %67, align 4 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds double, ptr %229, i64 %231 %233 = load double, ptr %232, align 8 %234 = fmul double %228, %233 %235 = load ptr, ptr %56, align 8 %236 = load i32, ptr %67, align 4 %237 = mul nsw i32 %236, 2 %238 = add nsw i32 %237, 0 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds double, ptr %235, i64 %239 store double %234, ptr %240, align 8 %241 = load ptr, ptr %45, align 8 %242 = load i32, ptr %67, align 4 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds double, ptr %241, i64 %243 %245 = load double, ptr %244, align 8 %246 = load ptr, ptr %45, align 8 %247 = load i32, ptr %67, align 4 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds double, ptr %246, i64 %248 %250 = load double, ptr %249, align 8 %251 = fmul double %245, %250 %252 = load ptr, ptr %56, align 8 %253 = load i32, ptr %67, align 4 %254 = mul nsw i32 %253, 2 %255 = add nsw i32 %254, 1 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds double, ptr %252, i64 %256 store double %251, ptr %257, align 8 %258 = load ptr, ptr %45, align 8 %259 = load i32, ptr %67, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds double, ptr %258, i64 %260 %262 = load double, ptr %261, align 8 %263 = load ptr, ptr %57, align 8 %264 = load i32, ptr %67, align 4 %265 = mul nsw i32 %264, 2 %266 = add nsw i32 %265, 0 %267 = sext i32 %266 to i64 %268 = getelementptr inbounds double, ptr %263, i64 %267 store double %262, ptr %268, align 8 %269 = load ptr, ptr %44, align 8 %270 = load i32, ptr %67, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds double, ptr %269, i64 %271 %273 = load double, ptr %272, align 8 %274 = load ptr, ptr %58, align 8 %275 = load i32, ptr %67, align 4 %276 = mul nsw i32 %275, 2 %277 = add nsw i32 %276, 0 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds double, ptr %274, i64 %278 store double %273, ptr %279, align 8 %280 = load ptr, ptr %45, align 8 %281 = load i32, ptr %67, align 4 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds double, ptr %280, i64 %282 %284 = load double, ptr %283, align 8 %285 = fmul double 2.000000e+00, %284 %286 = load ptr, ptr %58, align 8 %287 = load i32, ptr %67, align 4 %288 = mul nsw i32 %287, 2 %289 = add nsw i32 %288, 1 %290 = sext i32 %289 to i64 %291 = getelementptr inbounds double, ptr %286, i64 %290 store double %285, ptr %291, align 8 %292 = load double, ptr %69, align 8 %293 = load ptr, ptr %59, align 8 %294 = load i32, ptr %67, align 4 %295 = mul nsw i32 %294, 4 %296 = add nsw i32 %295, 0 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds double, ptr %293, i64 %297 store double %292, ptr %298, align 8 %299 = load double, ptr %69, align 8 %300 = load ptr, ptr %59, align 8 %301 = load i32, ptr %67, align 4 %302 = mul nsw i32 %301, 4 %303 = add nsw i32 %302, 3 %304 = sext i32 %303 to i64 %305 = getelementptr inbounds double, ptr %300, i64 %304 store double %299, ptr %305, align 8 %306 = load double, ptr %69, align 8 %307 = load ptr, ptr %60, align 8 %308 = load i32, ptr %67, align 4 %309 = mul nsw i32 %308, 4 %310 = add nsw i32 %309, 0 %311 = sext i32 %310 to i64 %312 = getelementptr inbounds double, ptr %307, i64 %311 store double %306, ptr %312, align 8 %313 = load double, ptr %69, align 8 %314 = load ptr, ptr %60, align 8 %315 = load i32, ptr %67, align 4 %316 = mul nsw i32 %315, 4 %317 = add nsw i32 %316, 3 %318 = sext i32 %317 to i64 %319 = getelementptr inbounds double, ptr %314, i64 %318 store double %313, ptr %319, align 8 %320 = load ptr, ptr %40, align 8 %321 = getelementptr inbounds double, ptr %320, i64 0 %322 = load double, ptr %321, align 8 %323 = fneg double %322 %324 = load ptr, ptr %61, align 8 %325 = load i32, ptr %67, align 4 %326 = sext i32 %325 to i64 %327 = getelementptr inbounds double, ptr %324, i64 %326 store double %323, ptr %327, align 8 %328 = load ptr, ptr %40, align 8 %329 = getelementptr inbounds double, ptr %328, i64 1 %330 = load double, ptr %329, align 8 %331 = fneg double %330 %332 = load ptr, ptr %62, align 8 %333 = load i32, ptr %67, align 4 %334 = sext i32 %333 to i64 %335 = getelementptr inbounds double, ptr %332, i64 %334 store double %331, ptr %335, align 8 %336 = load ptr, ptr %43, align 8 %337 = load i32, ptr %67, align 4 %338 = mul nsw i32 %337, 2 %339 = add nsw i32 %338, 0 %340 = sext i32 %339 to i64 %341 = getelementptr inbounds double, ptr %336, i64 %340 %342 = load double, ptr %341, align 8 %343 = load double, ptr %68, align 8 %344 = fdiv double %342, %343 %345 = load ptr, ptr %63, align 8 %346 = load i32, ptr %67, align 4 %347 = sext i32 %346 to i64 %348 = getelementptr inbounds double, ptr %345, i64 %347 store double %344, ptr %348, align 8 %349 = load double, ptr %68, align 8 %350 = fdiv double 1.000000e+00, %349 %351 = load ptr, ptr %64, align 8 %352 = load i32, ptr %67, align 4 %353 = mul nsw i32 %352, 2 %354 = add nsw i32 %353, 0 %355 = sext i32 %354 to i64 %356 = getelementptr inbounds double, ptr %351, i64 %355 store double %350, ptr %356, align 8 %357 = load ptr, ptr %43, align 8 %358 = load i32, ptr %67, align 4 %359 = mul nsw i32 %358, 2 %360 = add nsw i32 %359, 1 %361 = sext i32 %360 to i64 %362 = getelementptr inbounds double, ptr %357, i64 %361 %363 = load double, ptr %362, align 8 %364 = load double, ptr %68, align 8 %365 = fdiv double %363, %364 %366 = load ptr, ptr %65, align 8 %367 = load i32, ptr %67, align 4 %368 = sext i32 %367 to i64 %369 = getelementptr inbounds double, ptr %366, i64 %368 store double %365, ptr %369, align 8 %370 = load double, ptr %68, align 8 %371 = fdiv double 1.000000e+00, %370 %372 = load ptr, ptr %66, align 8 %373 = load i32, ptr %67, align 4 %374 = mul nsw i32 %373, 2 %375 = add nsw i32 %374, 1 %376 = sext i32 %375 to i64 %377 = getelementptr inbounds double, ptr %372, i64 %376 store double %371, ptr %377, align 8 br label %378 378: ; preds = %74 %379 = load i32, ptr %67, align 4 %380 = add nsw i32 %379, 1 store i32 %380, ptr %67, align 4 %381 = load i32, ptr %67, align 4 %382 = load i32, ptr %34, align 4 %383 = icmp slt i32 %381, %382 br i1 %383, label %74, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %378 br label %384 384: ; preds = %._crit_edge, %33 ret void } declare double @fmax(double noundef, i32 noundef) #1 declare i32 @fmin(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpv7pj8j8m.c' source_filename = "/tmp/tmpv7pj8j8m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"doing stuff\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"a: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"going to call back\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @call(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = load i32, ptr %3, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 %10, 2 call void %9(i32 noundef %11) 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/tmpv7pj8j8m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"doing stuff\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"a: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"going to call back\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @call(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = load i32, ptr %3, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 %10, 2 call void %9(i32 noundef %11) 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/tmp0wuuab6o.c' source_filename = "/tmp/tmp0wuuab6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_buffer(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %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 i32 0, ptr %8, align 4 store i32 2, ptr %9, align 4 br label %10 10: ; preds = %30, %3 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %8, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %33 18: ; preds = %10 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load ptr, ptr %6, align 8 %25 = call i64 @check_words(i8 noundef signext %23, ptr noundef %24) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %18 %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %9, align 4 br label %30 30: ; preds = %27, %18 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %8, align 4 br label %10, !llvm.loop !6 33: ; preds = %10 %34 = load i32, ptr %9, align 4 %35 = sext i32 %34 to i64 %36 = mul i64 8, %35 %37 = trunc i64 %36 to i32 %38 = call ptr @malloc(i32 noundef %37) %39 = load ptr, ptr %7, align 8 store ptr %38, ptr %39, align 8 %40 = icmp eq ptr %38, null br i1 %40, label %41, label %42 41: ; preds = %33 store i32 84, ptr %4, align 4 br label %44 42: ; preds = %33 %43 = load i32, ptr %9, align 4 store i32 %43, ptr %4, align 4 br label %44 44: ; preds = %42, %41 %45 = load i32, ptr %4, align 4 ret i32 %45 } declare i64 @check_words(i8 noundef signext, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0wuuab6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_buffer(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %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 i32 0, ptr %8, align 4 store i32 2, ptr %9, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %8, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %.lr.ph, label %39 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %29 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = load ptr, ptr %6, align 8 %24 = call i64 @check_words(i8 noundef signext %22, ptr noundef %23) %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %17 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 br label %29 29: ; preds = %26, %17 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %37, 0 br i1 %38, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %39 39: ; preds = %._crit_edge, %3 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = mul i64 8, %41 %43 = trunc i64 %42 to i32 %44 = call ptr @malloc(i32 noundef %43) %45 = load ptr, ptr %7, align 8 store ptr %44, ptr %45, align 8 %46 = icmp eq ptr %44, null br i1 %46, label %47, label %48 47: ; preds = %39 store i32 84, ptr %4, align 4 br label %50 48: ; preds = %39 %49 = load i32, ptr %9, align 4 store i32 %49, ptr %4, align 4 br label %50 50: ; preds = %48, %47 %51 = load i32, ptr %4, align 4 ret i32 %51 } declare i64 @check_words(i8 noundef signext, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp66b9egiw.c' source_filename = "/tmp/tmp66b9egiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ln\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"Usage: ln [-s] <target> <link_name>\0A\00", align 1 @stderr = 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 %4, align 4 %7 = icmp eq i32 %6, 3 br i1 %7, label %8, label %20 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 2 %14 = load ptr, ptr %13, align 8 %15 = call i64 @link(ptr noundef %11, ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %8 %18 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %64 19: ; preds = %8 br label %63 20: ; preds = %2 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, 4 br i1 %22, label %23, label %59 23: ; preds = %20 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 0 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 45 br i1 %30, label %31, label %59 31: ; preds = %23 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 1 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 115 br i1 %38, label %39, label %59 39: ; preds = %31 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 1 %42 = load ptr, ptr %41, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 2 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %59 47: ; preds = %39 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 2 %50 = load ptr, ptr %49, align 8 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 3 %53 = load ptr, ptr %52, align 8 %54 = call i64 @symlink(ptr noundef %50, ptr noundef %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %47 %57 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %64 58: ; preds = %47 br label %62 59: ; preds = %39, %31, %23, %20 %60 = load i32, ptr @stderr, align 4 %61 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %60) store i32 1, ptr %3, align 4 br label %64 62: ; preds = %58 br label %63 63: ; preds = %62, %19 store i32 0, ptr %3, align 4 br label %64 64: ; preds = %63, %59, %56, %17 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare i64 @link(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @symlink(ptr noundef, ptr noundef) #1 declare i32 @fputs(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/tmp66b9egiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ln\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"Usage: ln [-s] <target> <link_name>\0A\00", align 1 @stderr = 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 %4, align 4 %7 = icmp eq i32 %6, 3 br i1 %7, label %8, label %20 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 2 %14 = load ptr, ptr %13, align 8 %15 = call i64 @link(ptr noundef %11, ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %8 %18 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %64 19: ; preds = %8 br label %63 20: ; preds = %2 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %21, 4 br i1 %22, label %23, label %59 23: ; preds = %20 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 0 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 45 br i1 %30, label %31, label %59 31: ; preds = %23 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %33, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 1 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 115 br i1 %38, label %39, label %59 39: ; preds = %31 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 1 %42 = load ptr, ptr %41, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 2 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %59 47: ; preds = %39 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 2 %50 = load ptr, ptr %49, align 8 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 3 %53 = load ptr, ptr %52, align 8 %54 = call i64 @symlink(ptr noundef %50, ptr noundef %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %58 56: ; preds = %47 %57 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %64 58: ; preds = %47 br label %62 59: ; preds = %39, %31, %23, %20 %60 = load i32, ptr @stderr, align 4 %61 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %60) store i32 1, ptr %3, align 4 br label %64 62: ; preds = %58 br label %63 63: ; preds = %62, %19 store i32 0, ptr %3, align 4 br label %64 64: ; preds = %63, %59, %56, %17 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare i64 @link(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @symlink(ptr noundef, ptr noundef) #1 declare i32 @fputs(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/tmpteu73b8y.c' source_filename = "/tmp/tmpteu73b8y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"folder/file\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"folder/file-link\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"folder\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cleanup() #0 { %1 = call i32 @unlink(ptr noundef @.str) %2 = call i32 @unlink(ptr noundef @.str.1) %3 = call i32 @rmdir(ptr noundef @.str.2) ret void } declare i32 @unlink(ptr noundef) #1 declare i32 @rmdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpteu73b8y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"folder/file\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"folder/file-link\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"folder\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cleanup() #0 { %1 = call i32 @unlink(ptr noundef @.str) %2 = call i32 @unlink(ptr noundef @.str.1) %3 = call i32 @rmdir(ptr noundef @.str.2) ret void } declare i32 @unlink(ptr noundef) #1 declare i32 @rmdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpla4huqma.c' source_filename = "/tmp/tmpla4huqma.c" target datalayout = "e-m:e-p270: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.pTen.pTenBox = private unnamed_addr constant [10 x i32] [i32 3, i32 5, i32 2, i32 7, i32 4, i32 10, i32 1, i32 9, i32 8, i32 6], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @pTen(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = alloca [10 x i32], align 16 store i16 %0, ptr %2, align 2 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.pTen.pTenBox, i64 40, i1 false) %5 = load i16, ptr %2, align 2 %6 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %7 = call zeroext i16 @permute(i16 noundef zeroext %5, ptr noundef %6, i32 noundef 10, i32 noundef 10) store i16 %7, ptr %3, align 2 %8 = load i16, ptr %3, align 2 ret i16 %8 } ; 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 zeroext i16 @permute(i16 noundef zeroext, ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpla4huqma.c" target datalayout = "e-m:e-p270: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.pTen.pTenBox = private unnamed_addr constant [10 x i32] [i32 3, i32 5, i32 2, i32 7, i32 4, i32 10, i32 1, i32 9, i32 8, i32 6], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i16 @pTen(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = alloca [10 x i32], align 16 store i16 %0, ptr %2, align 2 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.pTen.pTenBox, i64 40, i1 false) %5 = load i16, ptr %2, align 2 %6 = getelementptr inbounds [10 x i32], ptr %4, i64 0, i64 0 %7 = call zeroext i16 @permute(i16 noundef zeroext %5, ptr noundef %6, i32 noundef 10, i32 noundef 10) store i16 %7, ptr %3, align 2 %8 = load i16, ptr %3, align 2 ret i16 %8 } ; 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 zeroext i16 @permute(i16 noundef zeroext, ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyx0xrq_q.c' source_filename = "/tmp/tmpyx0xrq_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @AfDrvSw(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = call i32 @RegWriteA_LC898122AF(i32 noundef 129, i32 noundef 32) %8 = call i32 @RegWriteA_LC898122AF(i32 noundef 160, i32 noundef 128) br label %11 9: ; preds = %1 %10 = call i32 @RegWriteA_LC898122AF(i32 noundef 160, i32 noundef 0) br label %11 11: ; preds = %9, %6 ret void } declare i32 @RegWriteA_LC898122AF(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/tmpyx0xrq_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @AfDrvSw(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = call i32 @RegWriteA_LC898122AF(i32 noundef 129, i32 noundef 32) %8 = call i32 @RegWriteA_LC898122AF(i32 noundef 160, i32 noundef 128) br label %11 9: ; preds = %1 %10 = call i32 @RegWriteA_LC898122AF(i32 noundef 160, i32 noundef 0) br label %11 11: ; preds = %9, %6 ret void } declare i32 @RegWriteA_LC898122AF(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/tmpepjtykwr.c' source_filename = "/tmp/tmpepjtykwr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter expression: \00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Valid expression\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Invalid expression\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 i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @gets(ptr noundef %5) %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @check(ptr noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.1) br label %15 13: ; preds = %0 %14 = call i32 @printf(ptr noundef @.str.2) br label %15 15: ; preds = %13, %11 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @printf(ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @check(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpepjtykwr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter expression: \00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Valid expression\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Invalid expression\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 i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @gets(ptr noundef %5) %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @check(ptr noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.1) br label %15 13: ; preds = %0 %14 = call i32 @printf(ptr noundef @.str.2) br label %15 15: ; preds = %13, %11 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @printf(ptr noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @check(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcd9eh_y_.c' source_filename = "/tmp/tmpcd9eh_y_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CMasterGlitchFilterConfigSet(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 volatile i32, ptr inttoptr (i64 1074782208 to ptr), align 4 %6 = and i32 %5, 1895759872 %7 = icmp eq i32 %6, 269090816 br i1 %7, label %8, label %16 8: ; preds = %2 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 12 %12 = sext i32 %11 to i64 %13 = inttoptr i64 %12 to ptr %14 = load volatile i32, ptr %13, align 4 %15 = or i32 %14, %9 store volatile i32 %15, ptr %13, align 4 br label %16 16: ; preds = %8, %2 %17 = load volatile i32, ptr inttoptr (i64 1074782208 to ptr), align 4 %18 = and i32 %17, 1895759872 %19 = icmp eq i32 %18, 268763136 br i1 %19, label %20, label %35 20: ; preds = %16 %21 = load i32, ptr %4, align 4 %22 = ashr i32 %21, 12 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 56 %25 = sext i32 %24 to i64 %26 = inttoptr i64 %25 to ptr %27 = load volatile i32, ptr %26, align 4 %28 = or i32 %27, %22 store volatile i32 %28, ptr %26, align 4 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 32 %31 = sext i32 %30 to i64 %32 = inttoptr i64 %31 to ptr %33 = load volatile i32, ptr %32, align 4 %34 = or i32 %33, 64 store volatile i32 %34, ptr %32, align 4 br label %35 35: ; preds = %20, %16 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcd9eh_y_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CMasterGlitchFilterConfigSet(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 volatile i32, ptr inttoptr (i64 1074782208 to ptr), align 4 %6 = and i32 %5, 1895759872 %7 = icmp eq i32 %6, 269090816 br i1 %7, label %8, label %16 8: ; preds = %2 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 12 %12 = sext i32 %11 to i64 %13 = inttoptr i64 %12 to ptr %14 = load volatile i32, ptr %13, align 4 %15 = or i32 %14, %9 store volatile i32 %15, ptr %13, align 4 br label %16 16: ; preds = %8, %2 %17 = load volatile i32, ptr inttoptr (i64 1074782208 to ptr), align 4 %18 = and i32 %17, 1895759872 %19 = icmp eq i32 %18, 268763136 br i1 %19, label %20, label %35 20: ; preds = %16 %21 = load i32, ptr %4, align 4 %22 = ashr i32 %21, 12 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 56 %25 = sext i32 %24 to i64 %26 = inttoptr i64 %25 to ptr %27 = load volatile i32, ptr %26, align 4 %28 = or i32 %27, %22 store volatile i32 %28, ptr %26, align 4 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 32 %31 = sext i32 %30 to i64 %32 = inttoptr i64 %31 to ptr %33 = load volatile i32, ptr %32, align 4 %34 = or i32 %33, 64 store volatile i32 %34, ptr %32, align 4 br label %35 35: ; preds = %20, %16 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppojjw_45.c' source_filename = "/tmp/tmppojjw_45.c" target datalayout = "e-m:e-p270: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/tmppojjw_45.c" target datalayout = "e-m:e-p270: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/tmpk656z251.c' source_filename = "/tmp/tmpk656z251.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @do_it() %7 = icmp eq i32 %6, 1 %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @do_it(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk656z251.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @do_it() %7 = icmp eq i32 %6, 1 %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @do_it(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvao1os7x.c' source_filename = "/tmp/tmpvao1os7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"Unable to open '%s': %s\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Unable to close '%s': %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pdf_save(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %2 %11 = load ptr, ptr @stdout, align 8 store ptr %11, ptr %6, align 8 br label %25 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %24 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr @errno, align 4 %19 = sub nsw i32 0, %18 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr @errno, align 4 %22 = call i32 @strerror(i32 noundef %21) %23 = call i32 @pdf_set_err(ptr noundef %17, i32 noundef %19, ptr noundef @.str.1, ptr noundef %20, i32 noundef %22) store i32 %23, ptr %3, align 4 br label %50 24: ; preds = %12 br label %25 25: ; preds = %24, %10 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %6, align 8 %28 = call i32 @pdf_save_file(ptr noundef %26, ptr noundef %27) store i32 %28, ptr %7, align 4 %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr @stdout, align 8 %31 = icmp ne ptr %29, %30 br i1 %31, label %32, label %48 32: ; preds = %25 %33 = load ptr, ptr %6, align 8 %34 = call i64 @fclose(ptr noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %47 36: ; preds = %32 %37 = load i32, ptr %7, align 4 %38 = icmp sge i32 %37, 0 br i1 %38, label %39, label %47 39: ; preds = %36 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr @errno, align 4 %42 = sub nsw i32 0, %41 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr @errno, align 4 %45 = call i32 @strerror(i32 noundef %44) %46 = call i32 @pdf_set_err(ptr noundef %40, i32 noundef %42, ptr noundef @.str.2, ptr noundef %43, i32 noundef %45) store i32 %46, ptr %3, align 4 br label %50 47: ; preds = %36, %32 br label %48 48: ; preds = %47, %25 %49 = load i32, ptr %7, align 4 store i32 %49, ptr %3, align 4 br label %50 50: ; preds = %48, %39, %16 %51 = load i32, ptr %3, align 4 ret i32 %51 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @pdf_set_err(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 declare i32 @pdf_save_file(ptr noundef, ptr noundef) #1 declare i64 @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/tmpvao1os7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"Unable to open '%s': %s\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Unable to close '%s': %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pdf_save(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %2 %11 = load ptr, ptr @stdout, align 8 store ptr %11, ptr %6, align 8 br label %25 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str) store ptr %14, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %24 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr @errno, align 4 %19 = sub nsw i32 0, %18 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr @errno, align 4 %22 = call i32 @strerror(i32 noundef %21) %23 = call i32 @pdf_set_err(ptr noundef %17, i32 noundef %19, ptr noundef @.str.1, ptr noundef %20, i32 noundef %22) store i32 %23, ptr %3, align 4 br label %50 24: ; preds = %12 br label %25 25: ; preds = %24, %10 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %6, align 8 %28 = call i32 @pdf_save_file(ptr noundef %26, ptr noundef %27) store i32 %28, ptr %7, align 4 %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr @stdout, align 8 %31 = icmp ne ptr %29, %30 br i1 %31, label %32, label %48 32: ; preds = %25 %33 = load ptr, ptr %6, align 8 %34 = call i64 @fclose(ptr noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %47 36: ; preds = %32 %37 = load i32, ptr %7, align 4 %38 = icmp sge i32 %37, 0 br i1 %38, label %39, label %47 39: ; preds = %36 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr @errno, align 4 %42 = sub nsw i32 0, %41 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr @errno, align 4 %45 = call i32 @strerror(i32 noundef %44) %46 = call i32 @pdf_set_err(ptr noundef %40, i32 noundef %42, ptr noundef @.str.2, ptr noundef %43, i32 noundef %45) store i32 %46, ptr %3, align 4 br label %50 47: ; preds = %36, %32 br label %48 48: ; preds = %47, %25 %49 = load i32, ptr %7, align 4 store i32 %49, ptr %3, align 4 br label %50 50: ; preds = %48, %39, %16 %51 = load i32, ptr %3, align 4 ret i32 %51 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @pdf_set_err(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 declare i32 @pdf_save_file(ptr noundef, ptr noundef) #1 declare i64 @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/tmp_uoxyxcu.c' source_filename = "/tmp/tmp_uoxyxcu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_reverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 %10 = call i64 @calloc(i32 noundef %9, i32 noundef 1) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 store i32 0, ptr %4, align 4 br label %12 12: ; preds = %29, %1 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %32 16: ; preds = %12 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %4, align 4 %20 = sub nsw i32 %18, %19 %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %17, i64 %22 %24 = load i8, ptr %23, align 1 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 store i8 %24, ptr %28, align 1 br label %29 29: ; preds = %16 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 br label %12, !llvm.loop !6 32: ; preds = %12 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %3, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %5, align 8 ret ptr %37 } declare i32 @strlen(ptr noundef) #1 declare i64 @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_uoxyxcu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_reverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 %10 = call i64 @calloc(i32 noundef %9, i32 noundef 1) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 store i32 0, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %28 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %4, align 4 %19 = sub nsw i32 %17, %18 %20 = sub nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %16, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %15 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %1 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 0, ptr %38, align 1 %39 = load ptr, ptr %5, align 8 ret ptr %39 } declare i32 @strlen(ptr noundef) #1 declare i64 @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"}
; ModuleID = '/tmp/tmpjgxjep5s.c' source_filename = "/tmp/tmpjgxjep5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__YGLambertNormal(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load double, ptr %5, align 8 %8 = load double, ptr %6, align 8 %9 = load double, ptr %6, align 8 %10 = fmul double %8, %9 %11 = load double, ptr %4, align 8 %12 = call double @sin(double noundef %11) #4 %13 = fmul double %10, %12 %14 = load double, ptr %4, align 8 %15 = call double @sin(double noundef %14) #4 %16 = fneg double %13 %17 = call double @llvm.fmuladd.f64(double %16, double %15, double 1.000000e+00) %18 = fptosi double %17 to i32 %19 = call double @sqrt(i32 noundef %18) %20 = fdiv double %7, %19 ret double %20 } declare double @sqrt(i32 noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjgxjep5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__YGLambertNormal(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load double, ptr %5, align 8 %8 = load double, ptr %6, align 8 %9 = load double, ptr %6, align 8 %10 = fmul double %8, %9 %11 = load double, ptr %4, align 8 %12 = call double @sin(double noundef %11) #4 %13 = fmul double %10, %12 %14 = load double, ptr %4, align 8 %15 = call double @sin(double noundef %14) #4 %16 = fneg double %13 %17 = call double @llvm.fmuladd.f64(double %16, double %15, double 1.000000e+00) %18 = fptosi double %17 to i32 %19 = call double @sqrt(i32 noundef %18) %20 = fdiv double %7, %19 ret double %20 } declare double @sqrt(i32 noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpojcy3kdn.c' source_filename = "/tmp/tmpojcy3kdn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @dso1() %3 = call i32 (...) @dso2() ret i32 0 } declare i32 @dso1(...) #1 declare i32 @dso2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpojcy3kdn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @dso1() %3 = call i32 (...) @dso2() ret i32 0 } declare i32 @dso1(...) #1 declare i32 @dso2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsffgw6lx.c' source_filename = "/tmp/tmpsffgw6lx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.test_mountain.array = private unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 4, i32 3, i32 2, i32 1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mountain() #0 { %1 = alloca [10 x i32], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_mountain.array, i64 40, i1 false) %2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %3 = call i64 @snowflakes_brute(ptr noundef %2, i32 noundef 10) %4 = icmp eq i64 0, %3 br i1 %4, label %5, label %9 5: ; preds = %0 %6 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %7 = call i64 @snowflakes(ptr noundef %6, i32 noundef 10) %8 = icmp eq i64 0, %7 br label %9 9: ; preds = %5, %0 %10 = phi i1 [ false, %0 ], [ %8, %5 ] %11 = zext i1 %10 to i32 ret i32 %11 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @snowflakes_brute(ptr noundef, i32 noundef) #2 declare i64 @snowflakes(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsffgw6lx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.test_mountain.array = private unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 4, i32 3, i32 2, i32 1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mountain() #0 { %1 = alloca [10 x i32], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_mountain.array, i64 40, i1 false) %2 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %3 = call i64 @snowflakes_brute(ptr noundef %2, i32 noundef 10) %4 = icmp eq i64 0, %3 br i1 %4, label %5, label %9 5: ; preds = %0 %6 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %7 = call i64 @snowflakes(ptr noundef %6, i32 noundef 10) %8 = icmp eq i64 0, %7 br label %9 9: ; preds = %5, %0 %10 = phi i1 [ false, %0 ], [ %8, %5 ] %11 = zext i1 %10 to i32 ret i32 %11 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @snowflakes_brute(ptr noundef, i32 noundef) #2 declare i64 @snowflakes(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpibi0jteg.c' source_filename = "/tmp/tmpibi0jteg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fopen_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %3 br label %18 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = call i32 @strlen(ptr noundef %16) br label %18 18: ; preds = %15, %14 %19 = phi i32 [ 0, %14 ], [ %17, %15 ] store i32 %19, ptr %8, align 4 %20 = load ptr, ptr %6, align 8 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %9, align 4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %9, align 4 %24 = add nsw i32 %22, %23 %25 = add nsw i32 %24, 1 %26 = call ptr @malloc(i32 noundef %25) store ptr %26, ptr %10, align 8 %27 = load ptr, ptr %10, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %30 29: ; preds = %18 store ptr null, ptr %4, align 8 br label %49 30: ; preds = %18 %31 = load ptr, ptr %10, align 8 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %8, align 4 %34 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i32 noundef %33) %35 = load ptr, ptr %10, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, 1 %42 = call i32 @memcpy(ptr noundef %38, ptr noundef %39, i32 noundef %41) %43 = load ptr, ptr %10, align 8 %44 = load ptr, ptr %7, align 8 %45 = call ptr @fopen(ptr noundef %43, ptr noundef %44) store ptr %45, ptr %11, align 8 %46 = load ptr, ptr %10, align 8 %47 = call i32 @free(ptr noundef %46) %48 = load ptr, ptr %11, align 8 store ptr %48, ptr %4, align 8 br label %49 49: ; preds = %30, %29 %50 = load ptr, ptr %4, align 8 ret ptr %50 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpibi0jteg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fopen_file(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %3 br label %18 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = call i32 @strlen(ptr noundef %16) br label %18 18: ; preds = %15, %14 %19 = phi i32 [ 0, %14 ], [ %17, %15 ] store i32 %19, ptr %8, align 4 %20 = load ptr, ptr %6, align 8 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %9, align 4 %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %9, align 4 %24 = add nsw i32 %22, %23 %25 = add nsw i32 %24, 1 %26 = call ptr @malloc(i32 noundef %25) store ptr %26, ptr %10, align 8 %27 = load ptr, ptr %10, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %30 29: ; preds = %18 store ptr null, ptr %4, align 8 br label %49 30: ; preds = %18 %31 = load ptr, ptr %10, align 8 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %8, align 4 %34 = call i32 @memcpy(ptr noundef %31, ptr noundef %32, i32 noundef %33) %35 = load ptr, ptr %10, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, 1 %42 = call i32 @memcpy(ptr noundef %38, ptr noundef %39, i32 noundef %41) %43 = load ptr, ptr %10, align 8 %44 = load ptr, ptr %7, align 8 %45 = call ptr @fopen(ptr noundef %43, ptr noundef %44) store ptr %45, ptr %11, align 8 %46 = load ptr, ptr %10, align 8 %47 = call i32 @free(ptr noundef %46) %48 = load ptr, ptr %11, align 8 store ptr %48, ptr %4, align 8 br label %49 49: ; preds = %30, %29 %50 = load ptr, ptr %4, align 8 ret ptr %50 } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp12_z3f1r.c' source_filename = "/tmp/tmp12_z3f1r.c" target datalayout = "e-m:e-p270: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/tmp12_z3f1r.c" target datalayout = "e-m:e-p270: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/tmpwe6oeo6x.c' source_filename = "/tmp/tmpwe6oeo6x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [162 x i8] c"usage:\0A %s <ncores> <nterm> <philosophers> <bites>\0A\0A where:\0A <ncores> is the number of cpu cores to use,\0A <nterm> is the number of terminals to use,\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 1) #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/tmpwe6oeo6x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [162 x i8] c"usage:\0A %s <ncores> <nterm> <philosophers> <bites>\0A\0A where:\0A <ncores> is the number of cpu cores to use,\0A <nterm> is the number of terminals to use,\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 1) #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/tmp95oasxmc.c' source_filename = "/tmp/tmp95oasxmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"send i: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @XFS_FrameInfo(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [50 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 store i8 -3, ptr %10, align 16 %11 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 1 store i8 0, ptr %11, align 1 %12 = load i32, ptr %6, align 4 %13 = add i32 %12, 2 %14 = trunc i32 %13 to i8 %15 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 2 store i8 %14, ptr %15, align 2 %16 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 3 store i8 1, ptr %16, align 1 %17 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 4 store i8 1, ptr %17, align 4 %18 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 5 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %6, align 4 %21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20) %22 = load i32, ptr %4, align 4 %23 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %24 = load i32, ptr %6, align 4 %25 = add i32 5, %24 %26 = call i32 @write(i32 noundef %22, ptr noundef %23, i32 noundef %25) store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = call i32 @printf(ptr noundef @.str, i32 noundef %27) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, 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/tmp95oasxmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"send i: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @XFS_FrameInfo(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [50 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 store i8 -3, ptr %10, align 16 %11 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 1 store i8 0, ptr %11, align 1 %12 = load i32, ptr %6, align 4 %13 = add i32 %12, 2 %14 = trunc i32 %13 to i8 %15 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 2 store i8 %14, ptr %15, align 2 %16 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 3 store i8 1, ptr %16, align 1 %17 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 4 store i8 1, ptr %17, align 4 %18 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 5 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %6, align 4 %21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20) %22 = load i32, ptr %4, align 4 %23 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %24 = load i32, ptr %6, align 4 %25 = add i32 5, %24 %26 = call i32 @write(i32 noundef %22, ptr noundef %23, i32 noundef %25) store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = call i32 @printf(ptr noundef @.str, i32 noundef %27) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, 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/tmp1540v8yy.c' source_filename = "/tmp/tmp1540v8yy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @WNOHANG = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @vfork() #4 store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %17, label %8 8: ; preds = %0 store i32 1048575, ptr %4, align 4 br label %9 9: ; preds = %12, %8 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %4, align 4 br label %9, !llvm.loop !6 15: ; preds = %9 %16 = call i32 @_exit(i32 noundef 0) #5 unreachable 17: ; preds = %0 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr @WNOHANG, align 4 %20 = call i32 @wait4(i32 noundef %18, ptr noundef %3, i32 noundef %19, ptr noundef null) ret i32 0 } ; Function Attrs: returns_twice declare i32 @vfork() #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @wait4(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { returns_twice "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { returns_twice } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1540v8yy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @WNOHANG = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @vfork() #4 store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %18, label %8 8: ; preds = %0 store i32 1048575, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %.lr.ph, label %16 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, -1 store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %8 %17 = call i32 @_exit(i32 noundef 0) #5 unreachable 18: ; preds = %0 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr @WNOHANG, align 4 %21 = call i32 @wait4(i32 noundef %19, ptr noundef %3, i32 noundef %20, ptr noundef null) ret i32 0 } ; Function Attrs: returns_twice declare i32 @vfork() #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 declare i32 @wait4(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { returns_twice "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { returns_twice } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpshqv7zvq.c' source_filename = "/tmp/tmpshqv7zvq.c" target datalayout = "e-m:e-p270: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/tmpshqv7zvq.c" target datalayout = "e-m:e-p270: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/tmpce7hb4ne.c' source_filename = "/tmp/tmpce7hb4ne.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_read_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = call ptr @_read_string_len(ptr noundef %4, ptr noundef %3) ret ptr %5 } declare ptr @_read_string_len(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/tmpce7hb4ne.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_read_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = call ptr @_read_string_len(ptr noundef %4, ptr noundef %3) ret ptr %5 } declare ptr @_read_string_len(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/tmpdd_vhuul.c' source_filename = "/tmp/tmpdd_vhuul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Virtual memory exhausted.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = call i32 @my_str(ptr noundef @.str) %9 = call i32 @exit(i32 noundef 1) #3 unreachable 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @malloc(i32 noundef) #1 declare i32 @my_str(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/tmpdd_vhuul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Virtual memory exhausted.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %1 %8 = call i32 @my_str(ptr noundef @.str) %9 = call i32 @exit(i32 noundef 1) #3 unreachable 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @malloc(i32 noundef) #1 declare i32 @my_str(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/tmpgffbb2ox.c' source_filename = "/tmp/tmpgffbb2ox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Square: %lu \0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"a: %i, b: %i \0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Well, shit. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fermat(i64 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i64 %0, ptr %3, align 8 %9 = load i64, ptr %3, align 8 %10 = call i64 @sqrt(i64 noundef %9) %11 = call i64 @ceil(i64 noundef %10) store i64 %11, ptr %4, align 8 %12 = load i64, ptr %4, align 8 %13 = call i64 @pow(i64 noundef %12, i32 noundef 2) %14 = load i64, ptr %3, align 8 %15 = sub nsw i64 %13, %14 store i64 %15, ptr %5, align 8 br label %16 16: ; preds = %21, %1 %17 = load i64, ptr %5, align 8 %18 = call i32 @isSquare(i64 noundef %17) %19 = icmp ne i32 %18, 0 %20 = xor i1 %19, true br i1 %20, label %21, label %29 21: ; preds = %16 %22 = load i64, ptr %4, align 8 %23 = mul nsw i64 2, %22 %24 = add nsw i64 %23, 1 %25 = load i64, ptr %5, align 8 %26 = add nsw i64 %25, %24 store i64 %26, ptr %5, align 8 %27 = load i64, ptr %4, align 8 %28 = add nsw i64 %27, 1 store i64 %28, ptr %4, align 8 br label %16, !llvm.loop !6 29: ; preds = %16 %30 = load i64, ptr %5, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %30) %32 = load i64, ptr %5, align 8 %33 = call i64 @sqrt(i64 noundef %32) store i64 %33, ptr %6, align 8 %34 = load i64, ptr %4, align 8 %35 = load i64, ptr %6, align 8 %36 = add nsw i64 %34, %35 %37 = trunc i64 %36 to i32 store i32 %37, ptr %7, align 4 %38 = load i64, ptr %4, align 8 %39 = load i64, ptr %6, align 8 %40 = sub nsw i64 %38, %39 %41 = trunc i64 %40 to i32 store i32 %41, ptr %8, align 4 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %8, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %42, i32 noundef %43) %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %8, align 4 %47 = mul nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = load i64, ptr %3, align 8 %50 = icmp ne i64 %48, %49 br i1 %50, label %51, label %53 51: ; preds = %29 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %53 53: ; preds = %51, %29 %54 = load i32, ptr %7, align 4 %55 = load i32, ptr %8, align 4 %56 = icmp sgt i32 %54, %55 br i1 %56, label %57, label %59 57: ; preds = %53 %58 = load i32, ptr %7, align 4 store i32 %58, ptr %2, align 4 br label %61 59: ; preds = %53 %60 = load i32, ptr %8, align 4 store i32 %60, ptr %2, align 4 br label %61 61: ; preds = %59, %57 %62 = load i32, ptr %2, align 4 ret i32 %62 } declare i64 @ceil(i64 noundef) #1 declare i64 @sqrt(i64 noundef) #1 declare i64 @pow(i64 noundef, i32 noundef) #1 declare i32 @isSquare(i64 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgffbb2ox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Square: %lu \0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"a: %i, b: %i \0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Well, shit. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fermat(i64 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i64 %0, ptr %3, align 8 %9 = load i64, ptr %3, align 8 %10 = call i64 @sqrt(i64 noundef %9) %11 = call i64 @ceil(i64 noundef %10) store i64 %11, ptr %4, align 8 %12 = load i64, ptr %4, align 8 %13 = call i64 @pow(i64 noundef %12, i32 noundef 2) %14 = load i64, ptr %3, align 8 %15 = sub nsw i64 %13, %14 store i64 %15, ptr %5, align 8 %16 = load i64, ptr %5, align 8 %17 = call i32 @isSquare(i64 noundef %16) %18 = icmp ne i32 %17, 0 %19 = xor i1 %18, true br i1 %19, label %.lr.ph, label %32 .lr.ph: ; preds = %1 br label %20 20: ; preds = %.lr.ph, %20 %21 = load i64, ptr %4, align 8 %22 = mul nsw i64 2, %21 %23 = add nsw i64 %22, 1 %24 = load i64, ptr %5, align 8 %25 = add nsw i64 %24, %23 store i64 %25, ptr %5, align 8 %26 = load i64, ptr %4, align 8 %27 = add nsw i64 %26, 1 store i64 %27, ptr %4, align 8 %28 = load i64, ptr %5, align 8 %29 = call i32 @isSquare(i64 noundef %28) %30 = icmp ne i32 %29, 0 %31 = xor i1 %30, true br i1 %31, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %32 32: ; preds = %._crit_edge, %1 %33 = load i64, ptr %5, align 8 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %33) %35 = load i64, ptr %5, align 8 %36 = call i64 @sqrt(i64 noundef %35) store i64 %36, ptr %6, align 8 %37 = load i64, ptr %4, align 8 %38 = load i64, ptr %6, align 8 %39 = add nsw i64 %37, %38 %40 = trunc i64 %39 to i32 store i32 %40, ptr %7, align 4 %41 = load i64, ptr %4, align 8 %42 = load i64, ptr %6, align 8 %43 = sub nsw i64 %41, %42 %44 = trunc i64 %43 to i32 store i32 %44, ptr %8, align 4 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %8, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %8, align 4 %50 = mul nsw i32 %48, %49 %51 = sext i32 %50 to i64 %52 = load i64, ptr %3, align 8 %53 = icmp ne i64 %51, %52 br i1 %53, label %54, label %56 54: ; preds = %32 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %56 56: ; preds = %54, %32 %57 = load i32, ptr %7, align 4 %58 = load i32, ptr %8, align 4 %59 = icmp sgt i32 %57, %58 br i1 %59, label %60, label %62 60: ; preds = %56 %61 = load i32, ptr %7, align 4 store i32 %61, ptr %2, align 4 br label %64 62: ; preds = %56 %63 = load i32, ptr %8, align 4 store i32 %63, ptr %2, align 4 br label %64 64: ; preds = %62, %60 %65 = load i32, ptr %2, align 4 ret i32 %65 } declare i64 @ceil(i64 noundef) #1 declare i64 @sqrt(i64 noundef) #1 declare i64 @pow(i64 noundef, i32 noundef) #1 declare i32 @isSquare(i64 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"}
; ModuleID = '/tmp/tmpcprwr9l5.c' source_filename = "/tmp/tmpcprwr9l5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Prime #%d is %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i64 2, ptr %3, align 8 br label %4 4: ; preds = %18, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 10001 br i1 %6, label %7, label %21 7: ; preds = %4 %8 = load i64, ptr %3, align 8 %9 = call i64 @checkPrime(i64 noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = load i64, ptr %3, align 8 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i64 noundef %15) br label %17 17: ; preds = %11, %7 br label %18 18: ; preds = %17 %19 = load i64, ptr %3, align 8 %20 = add i64 %19, 1 store i64 %20, ptr %3, align 8 br label %4, !llvm.loop !6 21: ; preds = %4 %22 = load i32, ptr %1, align 4 ret i32 %22 } declare i64 @checkPrime(i64 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcprwr9l5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Prime #%d is %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i64 2, ptr %3, align 8 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 10001 br i1 %5, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %17 %7 = load i64, ptr %3, align 8 %8 = call i64 @checkPrime(i64 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = load i64, ptr %3, align 8 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i64 noundef %14) br label %16 16: ; preds = %10, %6 br label %17 17: ; preds = %16 %18 = load i64, ptr %3, align 8 %19 = add i64 %18, 1 store i64 %19, ptr %3, align 8 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %20, 10001 br i1 %21, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i64 @checkPrime(i64 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbwdht5oi.c' source_filename = "/tmp/tmpbwdht5oi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test() #0 { %1 = alloca i32, align 4 %2 = call i32 @Func(i32 noundef 0) %3 = call i32 @Func64(i32 noundef 0) %4 = load i32, ptr %1, align 4 ret i32 %4 } declare i32 @Func(i32 noundef) #1 declare i32 @Func64(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/tmpbwdht5oi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test() #0 { %1 = alloca i32, align 4 %2 = call i32 @Func(i32 noundef 0) %3 = call i32 @Func64(i32 noundef 0) %4 = load i32, ptr %1, align 4 ret i32 %4 } declare i32 @Func(i32 noundef) #1 declare i32 @Func64(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/tmpjkl7uhh6.c' source_filename = "/tmp/tmpjkl7uhh6.c" target datalayout = "e-m:e-p270: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/tmpjkl7uhh6.c" target datalayout = "e-m:e-p270: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/tmpxixhg_6j.c' source_filename = "/tmp/tmpxixhg_6j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"Unable to open file '%s'. Exiting...\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c" \09\00", align 1 @.str.3 = private unnamed_addr constant [82 x i8] c"Probs file '%s', line %d: too many probabilities. Got %d, expect %d. Exiting...\0A\00", align 1 @.str.4 = private unnamed_addr constant [46 x i8] c"Probs file '%s': too many lines. Exiting...\0A\00", align 1 @.str.5 = private unnamed_addr constant [62 x i8] c"Probs file '%s', line %d: too few probabilities. Exiting...\0A\00", align 1 @.str.6 = private unnamed_addr constant [77 x i8] c"Probs file '%s', line %d: Probabilities don't sum to 1. Sum=%f. Exiting...\0A\00", align 1 @.str.7 = private unnamed_addr constant [63 x i8] c"Probs file '%s': too few lines. Got %d, expect %d. Exiting...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @load_probs_file(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 ptr, align 8 %8 = alloca [1024 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %7, align 8 %20 = load i32, ptr %5, align 4 %21 = zext i32 %20 to i64 %22 = load ptr, ptr %6, align 8 store ptr %22, ptr %9, align 8 %23 = load ptr, ptr %7, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %30, label %25 25: ; preds = %3 %26 = load i32, ptr @stderr, align 4 %27 = load ptr, ptr %4, align 8 %28 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %27) %29 = call i32 @exit(i32 noundef 1) #5 unreachable 30: ; preds = %3 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %31 31: ; preds = %194, %129, %47, %30 %32 = load ptr, ptr %7, align 8 %33 = call i32 @feof(ptr noundef %32) %34 = icmp ne i32 %33, 0 %35 = xor i1 %34, true br i1 %35, label %36, label %197 36: ; preds = %31 %37 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %38 = load ptr, ptr %7, align 8 %39 = call i32 @fgets(ptr noundef %37, i32 noundef 1024, ptr noundef %38) %40 = icmp ne i32 %39, 0 br i1 %40, label %42, label %41 41: ; preds = %36 br label %197 42: ; preds = %36 %43 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %44 = load i8, ptr %43, align 16 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 35 br i1 %46, label %47, label %50 47: ; preds = %42 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %11, align 4 br label %31, !llvm.loop !6 50: ; preds = %42 %51 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %52 = call i32 @strlen(ptr noundef %51) store i32 %52, ptr %12, align 4 store i32 0, ptr %14, align 4 %53 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %54 = call ptr @strtok(ptr noundef %53, ptr noundef @.str.2) store ptr %54, ptr %13, align 8 br label %55 55: ; preds = %124, %50 %56 = load ptr, ptr %13, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %126 58: ; preds = %55 store i32 1, ptr %16, align 4 store i32 0, ptr %15, align 4 br label %59 59: ; preds = %82, %58 %60 = load ptr, ptr %13, align 8 %61 = load i32, ptr %15, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %70 67: ; preds = %59 %68 = load i32, ptr %16, align 4 %69 = icmp ne i32 %68, 0 br label %70 70: ; preds = %67, %59 %71 = phi i1 [ false, %59 ], [ %69, %67 ] br i1 %71, label %72, label %85 72: ; preds = %70 %73 = load ptr, ptr %13, align 8 %74 = load i32, ptr %15, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = call i32 @isspace(i8 noundef signext %77) %79 = icmp ne i32 %78, 0 br i1 %79, label %81, label %80 80: ; preds = %72 store i32 0, ptr %16, align 4 br label %81 81: ; preds = %80, %72 br label %82 82: ; preds = %81 %83 = load i32, ptr %15, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %15, align 4 br label %59, !llvm.loop !8 85: ; preds = %70 %86 = load i32, ptr %16, align 4 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %89 88: ; preds = %85 br label %124 89: ; preds = %85 %90 = load i32, ptr %14, align 4 %91 = icmp sge i32 %90, 4 br i1 %91, label %92, label %103 92: ; preds = %89 %93 = load i32, ptr @stderr, align 4 %94 = load ptr, ptr %4, align 8 %95 = load i32, ptr %10, align 4 %96 = load i32, ptr %11, align 4 %97 = add nsw i32 %95, %96 %98 = add nsw i32 %97, 1 %99 = load i32, ptr %14, align 4 %100 = add nsw i32 %99, 1 %101 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %93, ptr noundef @.str.3, ptr noundef %94, i32 noundef %98, i32 noundef %100, i32 noundef 4) %102 = call i32 @exit(i32 noundef 1) #5 unreachable 103: ; preds = %89 %104 = load i32, ptr %10, align 4 %105 = load i32, ptr %5, align 4 %106 = icmp sge i32 %104, %105 br i1 %106, label %107, label %112 107: ; preds = %103 %108 = load i32, ptr @stderr, align 4 %109 = load ptr, ptr %4, align 8 %110 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %108, ptr noundef @.str.4, ptr noundef %109) %111 = call i32 @exit(i32 noundef 1) #5 unreachable 112: ; preds = %103 %113 = load ptr, ptr %13, align 8 %114 = call double @atof(ptr noundef %113) %115 = load ptr, ptr %9, align 8 %116 = load i32, ptr %10, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [4 x double], ptr %115, i64 %117 %119 = load i32, ptr %14, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [4 x double], ptr %118, i64 0, i64 %120 store double %114, ptr %121, align 8 %122 = load i32, ptr %14, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %14, align 4 br label %124 124: ; preds = %112, %88 %125 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %125, ptr %13, align 8 br label %55, !llvm.loop !9 126: ; preds = %55 %127 = load i32, ptr %14, align 4 %128 = icmp eq i32 %127, 0 br i1 %128, label %129, label %132 129: ; preds = %126 %130 = load i32, ptr %11, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %11, align 4 br label %31, !llvm.loop !6 132: ; preds = %126 %133 = load i32, ptr %14, align 4 %134 = icmp ne i32 %133, 4 br i1 %134, label %135, label %144 135: ; preds = %132 %136 = load i32, ptr @stderr, align 4 %137 = load ptr, ptr %4, align 8 %138 = load i32, ptr %10, align 4 %139 = load i32, ptr %11, align 4 %140 = add nsw i32 %138, %139 %141 = add nsw i32 %140, 1 %142 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %136, ptr noundef @.str.5, ptr noundef %137, i32 noundef %141) %143 = call i32 @exit(i32 noundef 1) #5 unreachable 144: ; preds = %132 store double 0.000000e+00, ptr %17, align 8 store i32 0, ptr %14, align 4 br label %145 145: ; preds = %176, %144 %146 = load i32, ptr %14, align 4 %147 = icmp slt i32 %146, 4 br i1 %147, label %148, label %179 148: ; preds = %145 %149 = load ptr, ptr %9, align 8 %150 = load i32, ptr %10, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds [4 x double], ptr %149, i64 %151 %153 = load i32, ptr %14, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds [4 x double], ptr %152, i64 0, i64 %154 %156 = load double, ptr %155, align 8 %157 = load double, ptr %17, align 8 %158 = fadd double %157, %156 store double %158, ptr %17, align 8 %159 = load ptr, ptr %9, align 8 %160 = load i32, ptr %10, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [4 x double], ptr %159, i64 %161 %163 = load i32, ptr %14, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds [4 x double], ptr %162, i64 0, i64 %164 %166 = load double, ptr %165, align 8 %167 = call double @log2(double noundef %166) #6 %168 = fneg double %167 %169 = load ptr, ptr %9, align 8 %170 = load i32, ptr %10, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds [4 x double], ptr %169, i64 %171 %173 = load i32, ptr %14, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds [4 x double], ptr %172, i64 0, i64 %174 store double %168, ptr %175, align 8 br label %176 176: ; preds = %148 %177 = load i32, ptr %14, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %14, align 4 br label %145, !llvm.loop !10 179: ; preds = %145 %180 = load double, ptr %17, align 8 %181 = fsub double 1.000000e+00, %180 %182 = call double @llvm.fabs.f64(double %181) %183 = fcmp ogt double %182, 1.000000e-03 br i1 %183, label %184, label %194 184: ; preds = %179 %185 = load i32, ptr @stderr, align 4 %186 = load ptr, ptr %4, align 8 %187 = load i32, ptr %10, align 4 %188 = load i32, ptr %11, align 4 %189 = add nsw i32 %187, %188 %190 = add nsw i32 %189, 1 %191 = load double, ptr %17, align 8 %192 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %185, ptr noundef @.str.6, ptr noundef %186, i32 noundef %190, double noundef %191) %193 = call i32 @exit(i32 noundef 1) #5 unreachable 194: ; preds = %179 %195 = load i32, ptr %10, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %10, align 4 br label %31, !llvm.loop !6 197: ; preds = %41, %31 %198 = load i32, ptr %10, align 4 %199 = load i32, ptr %5, align 4 %200 = icmp ne i32 %198, %199 br i1 %200, label %201, label %208 201: ; preds = %197 %202 = load i32, ptr @stderr, align 4 %203 = load ptr, ptr %4, align 8 %204 = load i32, ptr %10, align 4 %205 = load i32, ptr %5, align 4 %206 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %202, ptr noundef @.str.7, ptr noundef %203, i32 noundef %204, i32 noundef %205) %207 = call i32 @exit(i32 noundef 1) #5 unreachable 208: ; preds = %197 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @feof(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @isspace(i8 noundef signext) #1 declare double @atof(ptr noundef) #1 ; Function Attrs: nounwind declare double @log2(double noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { noreturn } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxixhg_6j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"Unable to open file '%s'. Exiting...\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c" \09\00", align 1 @.str.3 = private unnamed_addr constant [82 x i8] c"Probs file '%s', line %d: too many probabilities. Got %d, expect %d. Exiting...\0A\00", align 1 @.str.4 = private unnamed_addr constant [46 x i8] c"Probs file '%s': too many lines. Exiting...\0A\00", align 1 @.str.5 = private unnamed_addr constant [62 x i8] c"Probs file '%s', line %d: too few probabilities. Exiting...\0A\00", align 1 @.str.6 = private unnamed_addr constant [77 x i8] c"Probs file '%s', line %d: Probabilities don't sum to 1. Sum=%f. Exiting...\0A\00", align 1 @.str.7 = private unnamed_addr constant [63 x i8] c"Probs file '%s': too few lines. Got %d, expect %d. Exiting...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @load_probs_file(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 ptr, align 8 %8 = alloca [1024 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %7, align 8 %20 = load i32, ptr %5, align 4 %21 = zext i32 %20 to i64 %22 = load ptr, ptr %6, align 8 store ptr %22, ptr %9, align 8 %23 = load ptr, ptr %7, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %30, label %25 25: ; preds = %3 %26 = load i32, ptr @stderr, align 4 %27 = load ptr, ptr %4, align 8 %28 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %27) %29 = call i32 @exit(i32 noundef 1) #5 unreachable 30: ; preds = %3 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %31 = load ptr, ptr %7, align 8 %32 = call i32 @feof(ptr noundef %31) %33 = icmp ne i32 %32, 0 %34 = xor i1 %33, true br i1 %34, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %30 br label %35 35: ; preds = %.lr.ph5, %.backedge %36 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %37 = load ptr, ptr %7, align 8 %38 = call i32 @fgets(ptr noundef %36, i32 noundef 1024, ptr noundef %37) %39 = icmp ne i32 %38, 0 br i1 %39, label %41, label %40 40: ; preds = %35 br label %202 41: ; preds = %35 %42 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %43 = load i8, ptr %42, align 16 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 35 br i1 %45, label %46, label %53 46: ; preds = %41 %47 = load i32, ptr %11, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %11, align 4 br label %.backedge .backedge: ; preds = %46, %133, %199 %49 = load ptr, ptr %7, align 8 %50 = call i32 @feof(ptr noundef %49) %51 = icmp ne i32 %50, 0 %52 = xor i1 %51, true br i1 %52, label %35, label %..loopexit_crit_edge, !llvm.loop !6 53: ; preds = %41 %54 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %55 = call i32 @strlen(ptr noundef %54) store i32 %55, ptr %12, align 4 store i32 0, ptr %14, align 4 %56 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %57 = call ptr @strtok(ptr noundef %56, ptr noundef @.str.2) store ptr %57, ptr %13, align 8 %58 = load ptr, ptr %13, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %.lr.ph, label %130 .lr.ph: ; preds = %53 br label %60 60: ; preds = %.lr.ph, %126 store i32 1, ptr %16, align 4 store i32 0, ptr %15, align 4 br label %61 61: ; preds = %84, %60 %62 = load ptr, ptr %13, align 8 %63 = load i32, ptr %15, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp ne i32 %67, 0 br i1 %68, label %69, label %72 69: ; preds = %61 %70 = load i32, ptr %16, align 4 %71 = icmp ne i32 %70, 0 br label %72 72: ; preds = %69, %61 %73 = phi i1 [ false, %61 ], [ %71, %69 ] br i1 %73, label %74, label %87 74: ; preds = %72 %75 = load ptr, ptr %13, align 8 %76 = load i32, ptr %15, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = call i32 @isspace(i8 noundef signext %79) %81 = icmp ne i32 %80, 0 br i1 %81, label %83, label %82 82: ; preds = %74 store i32 0, ptr %16, align 4 br label %83 83: ; preds = %82, %74 br label %84 84: ; preds = %83 %85 = load i32, ptr %15, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %15, align 4 br label %61, !llvm.loop !8 87: ; preds = %72 %88 = load i32, ptr %16, align 4 %89 = icmp ne i32 %88, 0 br i1 %89, label %90, label %91 90: ; preds = %87 br label %126 91: ; preds = %87 %92 = load i32, ptr %14, align 4 %93 = icmp sge i32 %92, 4 br i1 %93, label %94, label %105 94: ; preds = %91 %95 = load i32, ptr @stderr, align 4 %96 = load ptr, ptr %4, align 8 %97 = load i32, ptr %10, align 4 %98 = load i32, ptr %11, align 4 %99 = add nsw i32 %97, %98 %100 = add nsw i32 %99, 1 %101 = load i32, ptr %14, align 4 %102 = add nsw i32 %101, 1 %103 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %95, ptr noundef @.str.3, ptr noundef %96, i32 noundef %100, i32 noundef %102, i32 noundef 4) %104 = call i32 @exit(i32 noundef 1) #5 unreachable 105: ; preds = %91 %106 = load i32, ptr %10, align 4 %107 = load i32, ptr %5, align 4 %108 = icmp sge i32 %106, %107 br i1 %108, label %109, label %114 109: ; preds = %105 %110 = load i32, ptr @stderr, align 4 %111 = load ptr, ptr %4, align 8 %112 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %110, ptr noundef @.str.4, ptr noundef %111) %113 = call i32 @exit(i32 noundef 1) #5 unreachable 114: ; preds = %105 %115 = load ptr, ptr %13, align 8 %116 = call double @atof(ptr noundef %115) %117 = load ptr, ptr %9, align 8 %118 = load i32, ptr %10, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [4 x double], ptr %117, i64 %119 %121 = load i32, ptr %14, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [4 x double], ptr %120, i64 0, i64 %122 store double %116, ptr %123, align 8 %124 = load i32, ptr %14, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %14, align 4 br label %126 126: ; preds = %114, %90 %127 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %127, ptr %13, align 8 %128 = load ptr, ptr %13, align 8 %129 = icmp ne ptr %128, null br i1 %129, label %60, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %126 br label %130 130: ; preds = %._crit_edge, %53 %131 = load i32, ptr %14, align 4 %132 = icmp eq i32 %131, 0 br i1 %132, label %133, label %136 133: ; preds = %130 %134 = load i32, ptr %11, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %11, align 4 br label %.backedge 136: ; preds = %130 %137 = load i32, ptr %14, align 4 %138 = icmp ne i32 %137, 4 br i1 %138, label %139, label %148 139: ; preds = %136 %140 = load i32, ptr @stderr, align 4 %141 = load ptr, ptr %4, align 8 %142 = load i32, ptr %10, align 4 %143 = load i32, ptr %11, align 4 %144 = add nsw i32 %142, %143 %145 = add nsw i32 %144, 1 %146 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %140, ptr noundef @.str.5, ptr noundef %141, i32 noundef %145) %147 = call i32 @exit(i32 noundef 1) #5 unreachable 148: ; preds = %136 store double 0.000000e+00, ptr %17, align 8 store i32 0, ptr %14, align 4 %149 = load i32, ptr %14, align 4 %150 = icmp slt i32 %149, 4 br i1 %150, label %.lr.ph2, label %184 .lr.ph2: ; preds = %148 br label %151 151: ; preds = %.lr.ph2, %179 %152 = load ptr, ptr %9, align 8 %153 = load i32, ptr %10, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds [4 x double], ptr %152, i64 %154 %156 = load i32, ptr %14, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds [4 x double], ptr %155, i64 0, i64 %157 %159 = load double, ptr %158, align 8 %160 = load double, ptr %17, align 8 %161 = fadd double %160, %159 store double %161, ptr %17, align 8 %162 = load ptr, ptr %9, align 8 %163 = load i32, ptr %10, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds [4 x double], ptr %162, i64 %164 %166 = load i32, ptr %14, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds [4 x double], ptr %165, i64 0, i64 %167 %169 = load double, ptr %168, align 8 %170 = call double @log2(double noundef %169) #6 %171 = fneg double %170 %172 = load ptr, ptr %9, align 8 %173 = load i32, ptr %10, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds [4 x double], ptr %172, i64 %174 %176 = load i32, ptr %14, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds [4 x double], ptr %175, i64 0, i64 %177 store double %171, ptr %178, align 8 br label %179 179: ; preds = %151 %180 = load i32, ptr %14, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %14, align 4 %182 = load i32, ptr %14, align 4 %183 = icmp slt i32 %182, 4 br i1 %183, label %151, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %179 br label %184 184: ; preds = %._crit_edge3, %148 %185 = load double, ptr %17, align 8 %186 = fsub double 1.000000e+00, %185 %187 = call double @llvm.fabs.f64(double %186) %188 = fcmp ogt double %187, 1.000000e-03 br i1 %188, label %189, label %199 189: ; preds = %184 %190 = load i32, ptr @stderr, align 4 %191 = load ptr, ptr %4, align 8 %192 = load i32, ptr %10, align 4 %193 = load i32, ptr %11, align 4 %194 = add nsw i32 %192, %193 %195 = add nsw i32 %194, 1 %196 = load double, ptr %17, align 8 %197 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %190, ptr noundef @.str.6, ptr noundef %191, i32 noundef %195, double noundef %196) %198 = call i32 @exit(i32 noundef 1) #5 unreachable 199: ; preds = %184 %200 = load i32, ptr %10, align 4 %201 = add nsw i32 %200, 1 store i32 %201, ptr %10, align 4 br label %.backedge ..loopexit_crit_edge: ; preds = %.backedge br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %30 br label %202 202: ; preds = %.loopexit, %40 %203 = load i32, ptr %10, align 4 %204 = load i32, ptr %5, align 4 %205 = icmp ne i32 %203, %204 br i1 %205, label %206, label %213 206: ; preds = %202 %207 = load i32, ptr @stderr, align 4 %208 = load ptr, ptr %4, align 8 %209 = load i32, ptr %10, align 4 %210 = load i32, ptr %5, align 4 %211 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %207, ptr noundef @.str.7, ptr noundef %208, i32 noundef %209, i32 noundef %210) %212 = call i32 @exit(i32 noundef 1) #5 unreachable 213: ; preds = %202 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @feof(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @isspace(i8 noundef signext) #1 declare double @atof(ptr noundef) #1 ; Function Attrs: nounwind declare double @log2(double noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { noreturn } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpjoen1nsd.c' source_filename = "/tmp/tmpjoen1nsd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.2f\09\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stampa(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 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %33, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %36 11: ; preds = %7 store i32 0, ptr %6, align 4 br label %12 12: ; preds = %28, %11 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %31 16: ; preds = %12 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, 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 i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %21, i64 %23 %25 = load float, ptr %24, align 4 %26 = fpext float %25 to double %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %26) br label %28 28: ; preds = %16 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %12, !llvm.loop !6 31: ; preds = %12 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %33 33: ; preds = %31 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 br label %7, !llvm.loop !8 36: ; preds = %7 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjoen1nsd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.2f\09\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stampa(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 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph2, label %40 .lr.ph2: ; preds = %2 br label %10 10: ; preds = %.lr.ph2, %34 store i32 0, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %32 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %26 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds float, ptr %19, i64 %21 %23 = load float, ptr %22, align 4 %24 = fpext float %23 to double %25 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %24) br label %26 26: ; preds = %14 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %10 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %34 34: ; preds = %32 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %40 40: ; preds = %._crit_edge3, %2 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpnqc8_s2q.c' source_filename = "/tmp/tmpnqc8_s2q.c" target datalayout = "e-m:e-p270: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/tmpnqc8_s2q.c" target datalayout = "e-m:e-p270: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/tmpckik4_zn.c' source_filename = "/tmp/tmpckik4_zn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pi = %u\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"UNSAFE\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"SAFE\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i8 50, ptr %2, align 1 store ptr %2, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %8, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %11, align 4 %13 = trunc i32 %12 to i8 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 50 br i1 %15, label %16, label %18 16: ; preds = %0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %20 18: ; preds = %0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %1, align 4 br label %21 20: ; preds = %16 store i32 -1, ptr %1, align 4 br label %21 21: ; preds = %20, %18 %22 = load i32, ptr %1, align 4 ret i32 %22 } 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/tmpckik4_zn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pi = %u\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"UNSAFE\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"SAFE\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i8 50, ptr %2, align 1 store ptr %2, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %8, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %11, align 4 %13 = trunc i32 %12 to i8 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 50 br i1 %15, label %16, label %18 16: ; preds = %0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %20 18: ; preds = %0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %1, align 4 br label %21 20: ; preds = %16 store i32 -1, ptr %1, align 4 br label %21 21: ; preds = %20, %18 %22 = load i32, ptr %1, align 4 ret i32 %22 } 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/tmprj29vqp3.c' source_filename = "/tmp/tmprj29vqp3.c" target datalayout = "e-m:e-p270: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/tmprj29vqp3.c" target datalayout = "e-m:e-p270: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/tmp6xs8p0zl.c' source_filename = "/tmp/tmp6xs8p0zl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SCR_ShutDownConsoleMedia() #0 { %1 = call i32 (...) @SCR_ShutdownFonts() ret void } declare i32 @SCR_ShutdownFonts(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6xs8p0zl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SCR_ShutDownConsoleMedia() #0 { %1 = call i32 (...) @SCR_ShutdownFonts() ret void } declare i32 @SCR_ShutdownFonts(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpogad56dr.c' source_filename = "/tmp/tmpogad56dr.c" target datalayout = "e-m:e-p270: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/tmpogad56dr.c" target datalayout = "e-m:e-p270: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/tmpucw81n8v.c' source_filename = "/tmp/tmpucw81n8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next_generation(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %7, align 4 br label %8 8: ; preds = %68, %3 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = sub nsw i32 %10, 1 %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %71 13: ; preds = %8 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %7, 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 = icmp eq i32 %19, 48 br i1 %20, label %21, label %62 21: ; preds = %13 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %22, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 49 br i1 %29, label %39, label %30 30: ; preds = %21 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %31, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 49 br i1 %38, label %39, label %62 39: ; preds = %30, %21 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %7, align 4 %42 = sub nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 49 br i1 %47, label %48, label %57 48: ; preds = %39 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %49, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 49 br i1 %56, label %62, label %57 57: ; preds = %48, %39 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 49, ptr %61, align 1 br label %67 62: ; preds = %48, %30, %13 %63 = load ptr, ptr %5, align 8 %64 = load i32, ptr %7, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 store i8 48, ptr %66, align 1 br label %67 67: ; preds = %62, %57 br label %68 68: ; preds = %67 %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %7, align 4 br label %8, !llvm.loop !6 71: ; preds = %8 %72 = load ptr, ptr %5, align 8 %73 = load i32, ptr %7, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 store i8 48, ptr %75, align 1 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds i8, ptr %76, i64 0 store i8 48, ptr %77, align 1 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %7, align 4 %80 = add nsw i32 %79, 1 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %78, i64 %81 store i8 0, ptr %82, align 1 %83 = load ptr, ptr %4, align 8 %84 = load ptr, ptr %5, align 8 %85 = call i32 @strcpy(ptr noundef %83, ptr noundef %84) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpucw81n8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next_generation(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %74 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %67 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %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 %61 20: ; preds = %12 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = sub nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 49 br i1 %28, label %38, label %29 29: ; preds = %20 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 49 br i1 %37, label %38, label %61 38: ; preds = %29, %20 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %7, align 4 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 49 br i1 %46, label %47, label %56 47: ; preds = %38 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 49 br i1 %55, label %61, label %56 56: ; preds = %47, %38 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %7, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 store i8 49, ptr %60, align 1 br label %66 61: ; preds = %47, %29, %12 %62 = load ptr, ptr %5, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 store i8 48, ptr %65, align 1 br label %66 66: ; preds = %61, %56 br label %67 67: ; preds = %66 %68 = load i32, ptr %7, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %7, align 4 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %6, align 4 %72 = sub nsw i32 %71, 1 %73 = icmp slt i32 %70, %72 br i1 %73, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %67 br label %74 74: ; preds = %._crit_edge, %3 %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 store i8 48, ptr %78, align 1 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 0 store i8 48, ptr %80, align 1 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %7, align 4 %83 = add nsw i32 %82, 1 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %81, i64 %84 store i8 0, ptr %85, align 1 %86 = load ptr, ptr %4, align 8 %87 = load ptr, ptr %5, align 8 %88 = call i32 @strcpy(ptr noundef %86, ptr noundef %87) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_w2zf4xi.c' source_filename = "/tmp/tmp_w2zf4xi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"setsid\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"chdir\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [13 x i8] c"fclose stdin\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [14 x i8] c"fclose stdout\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [14 x i8] c"fclose stderr\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @daemonize() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @fork() store i32 %4, ptr %2, align 4 switch i32 %4, label %8 [ i32 -1, label %5 i32 0, label %7 ] 5: ; preds = %0 %6 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %41 7: ; preds = %0 br label %11 8: ; preds = %0 %9 = load i32, ptr @EXIT_SUCCESS, align 4 %10 = call i32 @exit(i32 noundef %9) #3 unreachable 11: ; preds = %7 %12 = call i32 @umask(i32 noundef 0) %13 = call i32 (...) @setsid() store i32 %13, ptr %3, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = call i32 @ecritical(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %41 17: ; preds = %11 %18 = call i64 @chdir(ptr noundef @.str.2) %19 = icmp slt i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @ecritical(ptr noundef @.str.3) store i32 -1, ptr %1, align 4 br label %41 22: ; preds = %17 %23 = load i32, ptr @stdin, align 4 %24 = call i64 @fclose(i32 noundef %23) %25 = icmp slt i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 @eerror(ptr noundef @.str.4) br label %28 28: ; preds = %26, %22 %29 = load i32, ptr @stdout, align 4 %30 = call i64 @fclose(i32 noundef %29) %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 @eerror(ptr noundef @.str.5) br label %34 34: ; preds = %32, %28 %35 = load i32, ptr @stderr, align 4 %36 = call i64 @fclose(i32 noundef %35) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @eerror(ptr noundef @.str.6) br label %40 40: ; preds = %38, %34 store i32 0, ptr %1, align 4 br label %41 41: ; preds = %40, %20, %15, %5 %42 = load i32, ptr %1, align 4 ret i32 %42 } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @umask(i32 noundef) #1 declare i32 @setsid(...) #1 declare i32 @ecritical(ptr noundef) #1 declare i64 @chdir(ptr noundef) #1 declare i64 @fclose(i32 noundef) #1 declare i32 @eerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp_w2zf4xi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"setsid\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"chdir\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [13 x i8] c"fclose stdin\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [14 x i8] c"fclose stdout\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [14 x i8] c"fclose stderr\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @daemonize() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @fork() store i32 %4, ptr %2, align 4 switch i32 %4, label %8 [ i32 -1, label %5 i32 0, label %7 ] 5: ; preds = %0 %6 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %41 7: ; preds = %0 br label %11 8: ; preds = %0 %9 = load i32, ptr @EXIT_SUCCESS, align 4 %10 = call i32 @exit(i32 noundef %9) #3 unreachable 11: ; preds = %7 %12 = call i32 @umask(i32 noundef 0) %13 = call i32 (...) @setsid() store i32 %13, ptr %3, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = call i32 @ecritical(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %41 17: ; preds = %11 %18 = call i64 @chdir(ptr noundef @.str.2) %19 = icmp slt i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @ecritical(ptr noundef @.str.3) store i32 -1, ptr %1, align 4 br label %41 22: ; preds = %17 %23 = load i32, ptr @stdin, align 4 %24 = call i64 @fclose(i32 noundef %23) %25 = icmp slt i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 @eerror(ptr noundef @.str.4) br label %28 28: ; preds = %26, %22 %29 = load i32, ptr @stdout, align 4 %30 = call i64 @fclose(i32 noundef %29) %31 = icmp slt i64 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 @eerror(ptr noundef @.str.5) br label %34 34: ; preds = %32, %28 %35 = load i32, ptr @stderr, align 4 %36 = call i64 @fclose(i32 noundef %35) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @eerror(ptr noundef @.str.6) br label %40 40: ; preds = %38, %34 store i32 0, ptr %1, align 4 br label %41 41: ; preds = %40, %20, %15, %5 %42 = load i32, ptr %1, align 4 ret i32 %42 } declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @umask(i32 noundef) #1 declare i32 @setsid(...) #1 declare i32 @ecritical(ptr noundef) #1 declare i64 @chdir(ptr noundef) #1 declare i64 @fclose(i32 noundef) #1 declare i32 @eerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpiwce69fo.c' source_filename = "/tmp/tmpiwce69fo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 store i32 -1, ptr %17, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %27 20: ; preds = %2 %21 = load i32, ptr %7, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %20 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %23 store i32 1, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 1, ptr %8, align 4 br label %27 27: ; preds = %26, %23, %20, %2 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %37 30: ; preds = %27 %31 = load i32, ptr %10, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %37 33: ; preds = %30 %34 = load i32, ptr %11, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %33 store i32 1, ptr %9, align 4 store i32 1, ptr %10, align 4 store i32 1, ptr %11, align 4 br label %37 37: ; preds = %36, %33, %30, %27 %38 = load i32, ptr %12, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %53 40: ; preds = %37 %41 = load i32, ptr %13, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %53 43: ; preds = %40 %44 = load i32, ptr %15, align 4 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %53 46: ; preds = %43 %47 = load i32, ptr %16, align 4 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %46 %50 = load i32, ptr %14, align 4 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %53 52: ; preds = %49 store i32 1, ptr %12, align 4 store i32 1, ptr %13, align 4 store i32 1, ptr %15, align 4 store i32 1, ptr %16, align 4 store i32 1, ptr %14, align 4 br label %53 53: ; preds = %52, %49, %46, %43, %40, %37 %54 = load i32, ptr %17, align 4 %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %57 56: ; preds = %53 store i32 2, ptr %17, align 4 br label %57 57: ; preds = %56, %53 %58 = call i32 (...) @build_iargs_table() %59 = call i32 (...) @build_fargs_table() %60 = call i32 (...) @build_ii16_table() store i32 1, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 1, ptr %8, align 4 store i32 1, ptr %9, align 4 store i32 1, ptr %10, align 4 store i32 1, ptr %11, align 4 store i32 1, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 %61 = load i32, ptr %6, align 4 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %8, align 4 %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %10, align 4 %66 = load i32, ptr %11, align 4 %67 = load i32, ptr %12, align 4 %68 = load i32, ptr %13, align 4 %69 = load i32, ptr %14, align 4 %70 = load i32, ptr %15, align 4 %71 = load i32, ptr %16, align 4 %72 = load i32, ptr %17, align 4 %73 = load ptr, ptr %5, align 8 %74 = call i32 @do_tests(i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, ptr noundef %73) ret i32 0 } declare i32 @build_iargs_table(...) #1 declare i32 @build_fargs_table(...) #1 declare i32 @build_ii16_table(...) #1 declare i32 @do_tests(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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/tmpiwce69fo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 store i32 -1, ptr %17, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %27 20: ; preds = %2 %21 = load i32, ptr %7, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %20 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %23 store i32 1, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 1, ptr %8, align 4 br label %27 27: ; preds = %26, %23, %20, %2 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %37 30: ; preds = %27 %31 = load i32, ptr %10, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %37 33: ; preds = %30 %34 = load i32, ptr %11, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %33 store i32 1, ptr %9, align 4 store i32 1, ptr %10, align 4 store i32 1, ptr %11, align 4 br label %37 37: ; preds = %36, %33, %30, %27 %38 = load i32, ptr %12, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %53 40: ; preds = %37 %41 = load i32, ptr %13, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %53 43: ; preds = %40 %44 = load i32, ptr %15, align 4 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %53 46: ; preds = %43 %47 = load i32, ptr %16, align 4 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %46 %50 = load i32, ptr %14, align 4 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %53 52: ; preds = %49 store i32 1, ptr %12, align 4 store i32 1, ptr %13, align 4 store i32 1, ptr %15, align 4 store i32 1, ptr %16, align 4 store i32 1, ptr %14, align 4 br label %53 53: ; preds = %52, %49, %46, %43, %40, %37 %54 = load i32, ptr %17, align 4 %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %57 56: ; preds = %53 store i32 2, ptr %17, align 4 br label %57 57: ; preds = %56, %53 %58 = call i32 (...) @build_iargs_table() %59 = call i32 (...) @build_fargs_table() %60 = call i32 (...) @build_ii16_table() store i32 1, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 1, ptr %8, align 4 store i32 1, ptr %9, align 4 store i32 1, ptr %10, align 4 store i32 1, ptr %11, align 4 store i32 1, ptr %12, align 4 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 %61 = load i32, ptr %6, align 4 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %8, align 4 %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %10, align 4 %66 = load i32, ptr %11, align 4 %67 = load i32, ptr %12, align 4 %68 = load i32, ptr %13, align 4 %69 = load i32, ptr %14, align 4 %70 = load i32, ptr %15, align 4 %71 = load i32, ptr %16, align 4 %72 = load i32, ptr %17, align 4 %73 = load ptr, ptr %5, align 8 %74 = call i32 @do_tests(i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, ptr noundef %73) ret i32 0 } declare i32 @build_iargs_table(...) #1 declare i32 @build_fargs_table(...) #1 declare i32 @build_ii16_table(...) #1 declare i32 @do_tests(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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/tmphtfylxqb.c' source_filename = "/tmp/tmphtfylxqb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @assert2() #0 { %1 = call i32 @assert_perror(i32 noundef 0) ret void } declare i32 @assert_perror(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/tmphtfylxqb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @assert2() #0 { %1 = call i32 @assert_perror(i32 noundef 0) ret void } declare i32 @assert_perror(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/tmpamqcobta.c' source_filename = "/tmp/tmpamqcobta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_XSelectionClearEvent(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 eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 (...) @abort() #3 unreachable 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = call i32 @free(ptr noundef %8) ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpamqcobta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_XSelectionClearEvent(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 eq ptr %3, null br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 (...) @abort() #3 unreachable 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = call i32 @free(ptr noundef %8) ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpar1k3j5e.c' source_filename = "/tmp/tmpar1k3j5e.c" target datalayout = "e-m:e-p270: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/tmpar1k3j5e.c" target datalayout = "e-m:e-p270: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/tmpr2g5rdoj.c' source_filename = "/tmp/tmpr2g5rdoj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @my_exit(i32 noundef 42) ret i32 %6 } declare i32 @my_exit(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/tmpr2g5rdoj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @my_exit(i32 noundef 42) ret i32 %6 } declare i32 @my_exit(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/tmpa8gz7tw3.c' source_filename = "/tmp/tmpa8gz7tw3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @runAway(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = sdiv i32 %7, 3 %9 = call i32 @arng(i32 noundef %8) %10 = add nsw i32 %6, %9 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %2 store i32 1, ptr %3, align 4 br label %15 14: ; preds = %2 store i32 0, ptr %3, align 4 br label %15 15: ; preds = %14, %13 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @arng(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/tmpa8gz7tw3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @runAway(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = sdiv i32 %7, 3 %9 = call i32 @arng(i32 noundef %8) %10 = add nsw i32 %6, %9 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %2 store i32 1, ptr %3, align 4 br label %15 14: ; preds = %2 store i32 0, ptr %3, align 4 br label %15 15: ; preds = %14, %13 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @arng(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/tmpqt7uwml0.c' source_filename = "/tmp/tmpqt7uwml0.c" target datalayout = "e-m:e-p270: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/tmpqt7uwml0.c" target datalayout = "e-m:e-p270: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/tmparzoflty.c' source_filename = "/tmp/tmparzoflty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"C version: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintCVersion() #0 { %1 = call i32 @printf(ptr noundef @.str, i64 noundef 201710) ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmparzoflty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"C version: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintCVersion() #0 { %1 = call i32 @printf(ptr noundef @.str, i64 noundef 201710) ret void } 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"}
; ModuleID = '/tmp/tmpn61d20k6.c' source_filename = "/tmp/tmpn61d20k6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHUT_RDWR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @close_connection(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr @SHUT_RDWR, align 4 %5 = call i32 @shutdown(i32 noundef %3, i32 noundef %4) %6 = load i32, ptr %2, align 4 %7 = call i32 @close(i32 noundef %6) ret void } declare i32 @shutdown(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn61d20k6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHUT_RDWR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @close_connection(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr @SHUT_RDWR, align 4 %5 = call i32 @shutdown(i32 noundef %3, i32 noundef %4) %6 = load i32, ptr %2, align 4 %7 = call i32 @close(i32 noundef %6) ret void } declare i32 @shutdown(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsk5bmdlf.c' source_filename = "/tmp/tmpsk5bmdlf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_bar(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 @free_object(i32 noundef 58, ptr noundef %3) %5 = call i64 (...) @error() %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 br label %8 8: ; preds = %7, %1 ret void } declare i32 @free_object(i32 noundef, ptr noundef) #1 declare i64 @error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsk5bmdlf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_bar(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 @free_object(i32 noundef 58, ptr noundef %3) %5 = call i64 (...) @error() %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 br label %8 8: ; preds = %7, %1 ret void } declare i32 @free_object(i32 noundef, ptr noundef) #1 declare i64 @error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy8abme_g.c' source_filename = "/tmp/tmpy8abme_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @errno_non_zero() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @errno, align 4 store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = load i32, ptr %1, align 4 br label %8 7: ; preds = %0 br label %8 8: ; preds = %7, %5 %9 = phi i32 [ %6, %5 ], [ -1, %7 ] ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy8abme_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @errno_non_zero() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @errno, align 4 store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = load i32, ptr %1, align 4 br label %8 7: ; preds = %0 br label %8 8: ; preds = %7, %5 %9 = phi i32 [ %6, %5 ], [ -1, %7 ] ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq1nukydc.c' source_filename = "/tmp/tmpq1nukydc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCSequenceStepConfigure(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %6, align 4 %11 = mul nsw i32 32, %10 %12 = add nsw i32 64, %11 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, %12 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %7, align 4 %16 = mul nsw i32 %15, 4 store i32 %16, ptr %7, align 4 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 0 %19 = sext i32 %18 to i64 %20 = inttoptr i64 %19 to ptr %21 = load volatile i32, ptr %20, align 4 %22 = load i32, ptr %7, align 4 %23 = shl i32 15, %22 %24 = xor i32 %23, -1 %25 = and i32 %21, %24 %26 = load i32, ptr %8, align 4 %27 = and i32 %26, 15 %28 = load i32, ptr %7, align 4 %29 = shl i32 %27, %28 %30 = or i32 %25, %29 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 0 %33 = sext i32 %32 to i64 %34 = inttoptr i64 %33 to ptr store volatile i32 %30, ptr %34, align 4 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 24 %37 = sext i32 %36 to i64 %38 = inttoptr i64 %37 to ptr %39 = load volatile i32, ptr %38, align 4 %40 = load i32, ptr %7, align 4 %41 = shl i32 15, %40 %42 = xor i32 %41, -1 %43 = and i32 %39, %42 %44 = load i32, ptr %8, align 4 %45 = and i32 %44, 3840 %46 = ashr i32 %45, 8 %47 = load i32, ptr %7, align 4 %48 = shl i32 %46, %47 %49 = or i32 %43, %48 %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, 24 %52 = sext i32 %51 to i64 %53 = inttoptr i64 %52 to ptr store volatile i32 %49, ptr %53, align 4 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 4 %56 = sext i32 %55 to i64 %57 = inttoptr i64 %56 to ptr %58 = load volatile i32, ptr %57, align 4 %59 = load i32, ptr %7, align 4 %60 = shl i32 15, %59 %61 = xor i32 %60, -1 %62 = and i32 %58, %61 %63 = load i32, ptr %8, align 4 %64 = and i32 %63, 240 %65 = ashr i32 %64, 4 %66 = load i32, ptr %7, align 4 %67 = shl i32 %65, %66 %68 = or i32 %62, %67 %69 = load i32, ptr %5, align 4 %70 = add nsw i32 %69, 4 %71 = sext i32 %70 to i64 %72 = inttoptr i64 %71 to ptr store volatile i32 %68, ptr %72, align 4 %73 = load i32, ptr %8, align 4 %74 = and i32 %73, 983040 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %107 76: ; preds = %4 %77 = load i32, ptr %5, align 4 %78 = add nsw i32 %77, 20 %79 = sext i32 %78 to i64 %80 = inttoptr i64 %79 to ptr %81 = load volatile i32, ptr %80, align 4 store i32 %81, ptr %9, align 4 %82 = load i32, ptr %7, align 4 %83 = shl i32 15, %82 %84 = xor i32 %83, -1 %85 = load i32, ptr %9, align 4 %86 = and i32 %85, %84 store i32 %86, ptr %9, align 4 %87 = load i32, ptr %8, align 4 %88 = and i32 %87, 458752 %89 = ashr i32 %88, 16 %90 = load i32, ptr %7, align 4 %91 = shl i32 %89, %90 %92 = load i32, ptr %9, align 4 %93 = or i32 %92, %91 store i32 %93, ptr %9, align 4 %94 = load i32, ptr %9, align 4 %95 = load i32, ptr %5, align 4 %96 = add nsw i32 %95, 20 %97 = sext i32 %96 to i64 %98 = inttoptr i64 %97 to ptr store volatile i32 %94, ptr %98, align 4 %99 = load i32, ptr %7, align 4 %100 = shl i32 1, %99 %101 = load i32, ptr %5, align 4 %102 = add nsw i32 %101, 16 %103 = sext i32 %102 to i64 %104 = inttoptr i64 %103 to ptr %105 = load volatile i32, ptr %104, align 4 %106 = or i32 %105, %100 store volatile i32 %106, ptr %104, align 4 br label %117 107: ; preds = %4 %108 = load i32, ptr %7, align 4 %109 = shl i32 1, %108 %110 = xor i32 %109, -1 %111 = load i32, ptr %5, align 4 %112 = add nsw i32 %111, 16 %113 = sext i32 %112 to i64 %114 = inttoptr i64 %113 to ptr %115 = load volatile i32, ptr %114, align 4 %116 = and i32 %115, %110 store volatile i32 %116, ptr %114, align 4 br label %117 117: ; preds = %107, %76 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq1nukydc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCSequenceStepConfigure(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %6, align 4 %11 = mul nsw i32 32, %10 %12 = add nsw i32 64, %11 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, %12 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %7, align 4 %16 = mul nsw i32 %15, 4 store i32 %16, ptr %7, align 4 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 0 %19 = sext i32 %18 to i64 %20 = inttoptr i64 %19 to ptr %21 = load volatile i32, ptr %20, align 4 %22 = load i32, ptr %7, align 4 %23 = shl i32 15, %22 %24 = xor i32 %23, -1 %25 = and i32 %21, %24 %26 = load i32, ptr %8, align 4 %27 = and i32 %26, 15 %28 = load i32, ptr %7, align 4 %29 = shl i32 %27, %28 %30 = or i32 %25, %29 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 0 %33 = sext i32 %32 to i64 %34 = inttoptr i64 %33 to ptr store volatile i32 %30, ptr %34, align 4 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, 24 %37 = sext i32 %36 to i64 %38 = inttoptr i64 %37 to ptr %39 = load volatile i32, ptr %38, align 4 %40 = load i32, ptr %7, align 4 %41 = shl i32 15, %40 %42 = xor i32 %41, -1 %43 = and i32 %39, %42 %44 = load i32, ptr %8, align 4 %45 = and i32 %44, 3840 %46 = ashr i32 %45, 8 %47 = load i32, ptr %7, align 4 %48 = shl i32 %46, %47 %49 = or i32 %43, %48 %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, 24 %52 = sext i32 %51 to i64 %53 = inttoptr i64 %52 to ptr store volatile i32 %49, ptr %53, align 4 %54 = load i32, ptr %5, align 4 %55 = add nsw i32 %54, 4 %56 = sext i32 %55 to i64 %57 = inttoptr i64 %56 to ptr %58 = load volatile i32, ptr %57, align 4 %59 = load i32, ptr %7, align 4 %60 = shl i32 15, %59 %61 = xor i32 %60, -1 %62 = and i32 %58, %61 %63 = load i32, ptr %8, align 4 %64 = and i32 %63, 240 %65 = ashr i32 %64, 4 %66 = load i32, ptr %7, align 4 %67 = shl i32 %65, %66 %68 = or i32 %62, %67 %69 = load i32, ptr %5, align 4 %70 = add nsw i32 %69, 4 %71 = sext i32 %70 to i64 %72 = inttoptr i64 %71 to ptr store volatile i32 %68, ptr %72, align 4 %73 = load i32, ptr %8, align 4 %74 = and i32 %73, 983040 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %107 76: ; preds = %4 %77 = load i32, ptr %5, align 4 %78 = add nsw i32 %77, 20 %79 = sext i32 %78 to i64 %80 = inttoptr i64 %79 to ptr %81 = load volatile i32, ptr %80, align 4 store i32 %81, ptr %9, align 4 %82 = load i32, ptr %7, align 4 %83 = shl i32 15, %82 %84 = xor i32 %83, -1 %85 = load i32, ptr %9, align 4 %86 = and i32 %85, %84 store i32 %86, ptr %9, align 4 %87 = load i32, ptr %8, align 4 %88 = and i32 %87, 458752 %89 = ashr i32 %88, 16 %90 = load i32, ptr %7, align 4 %91 = shl i32 %89, %90 %92 = load i32, ptr %9, align 4 %93 = or i32 %92, %91 store i32 %93, ptr %9, align 4 %94 = load i32, ptr %9, align 4 %95 = load i32, ptr %5, align 4 %96 = add nsw i32 %95, 20 %97 = sext i32 %96 to i64 %98 = inttoptr i64 %97 to ptr store volatile i32 %94, ptr %98, align 4 %99 = load i32, ptr %7, align 4 %100 = shl i32 1, %99 %101 = load i32, ptr %5, align 4 %102 = add nsw i32 %101, 16 %103 = sext i32 %102 to i64 %104 = inttoptr i64 %103 to ptr %105 = load volatile i32, ptr %104, align 4 %106 = or i32 %105, %100 store volatile i32 %106, ptr %104, align 4 br label %117 107: ; preds = %4 %108 = load i32, ptr %7, align 4 %109 = shl i32 1, %108 %110 = xor i32 %109, -1 %111 = load i32, ptr %5, align 4 %112 = add nsw i32 %111, 16 %113 = sext i32 %112 to i64 %114 = inttoptr i64 %113 to ptr %115 = load volatile i32, ptr %114, align 4 %116 = and i32 %115, %110 store volatile i32 %116, ptr %114, align 4 br label %117 117: ; preds = %107, %76 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvrzo7ec7.c' source_filename = "/tmp/tmpvrzo7ec7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [16 x i8] c"XDG_CONFIG_HOME\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"/.config/xautoclick\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"%s/.config/xautoclick\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"/xautoclick\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"%s/xautoclick\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"/config\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"%s/config\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_config_file() #0 { %1 = alloca %struct.stat, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 call void @llvm.memset.p0.i64(ptr align 4 %1, i8 0, i64 4, i1 false) store ptr null, ptr %5, align 8 %6 = call ptr @getenv(ptr noundef @.str) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %14 9: ; preds = %0 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %25 14: ; preds = %9, %0 %15 = call ptr @getenv(ptr noundef @.str.1) store ptr %15, ptr %3, align 8 %16 = load ptr, ptr %3, align 8 %17 = call i64 @strlen(ptr noundef %16) %18 = call i64 @strlen(ptr noundef @.str.2) %19 = add nsw i64 %17, %18 %20 = add nsw i64 %19, 1 %21 = call ptr @calloc(i64 noundef %20, i32 noundef 1) store ptr %21, ptr %4, align 8 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %3, align 8 %24 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.3, ptr noundef %23) br label %35 25: ; preds = %9 %26 = load ptr, ptr %3, align 8 %27 = call i64 @strlen(ptr noundef %26) %28 = call i64 @strlen(ptr noundef @.str.4) %29 = add nsw i64 %27, %28 %30 = add nsw i64 %29, 1 %31 = call ptr @calloc(i64 noundef %30, i32 noundef 1) store ptr %31, ptr %4, align 8 %32 = load ptr, ptr %4, align 8 %33 = load ptr, ptr %3, align 8 %34 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.5, ptr noundef %33) br label %35 35: ; preds = %25, %14 %36 = load ptr, ptr %4, align 8 %37 = call i32 @stat(ptr noundef %36, ptr noundef %1) store i32 %37, ptr %2, align 4 %38 = load i32, ptr %2, align 4 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %43 40: ; preds = %35 %41 = load ptr, ptr %4, align 8 %42 = call i32 @mkdir(ptr noundef %41, i32 noundef 448) br label %43 43: ; preds = %40, %35 %44 = load ptr, ptr %4, align 8 %45 = call i64 @strlen(ptr noundef %44) %46 = call i64 @strlen(ptr noundef @.str.6) %47 = add nsw i64 %45, %46 %48 = add nsw i64 %47, 1 %49 = call ptr @calloc(i64 noundef %48, i32 noundef 1) store ptr %49, ptr %5, align 8 %50 = load ptr, ptr %5, align 8 %51 = load ptr, ptr %4, align 8 %52 = call i32 @sprintf(ptr noundef %50, ptr noundef @.str.7, ptr noundef %51) %53 = load ptr, ptr %4, align 8 %54 = call i32 @free(ptr noundef %53) %55 = load ptr, ptr %5, align 8 ret ptr %55 } ; 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 @getenv(ptr noundef) #2 declare ptr @calloc(i64 noundef, i32 noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @stat(ptr noundef, ptr noundef) #2 declare i32 @mkdir(ptr noundef, i32 noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpvrzo7ec7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [16 x i8] c"XDG_CONFIG_HOME\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"/.config/xautoclick\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"%s/.config/xautoclick\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"/xautoclick\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"%s/xautoclick\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"/config\00", align 1 @.str.7 = private unnamed_addr constant [10 x i8] c"%s/config\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_config_file() #0 { %1 = alloca %struct.stat, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 call void @llvm.memset.p0.i64(ptr align 4 %1, i8 0, i64 4, i1 false) store ptr null, ptr %5, align 8 %6 = call ptr @getenv(ptr noundef @.str) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %14 9: ; preds = %0 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %25 14: ; preds = %9, %0 %15 = call ptr @getenv(ptr noundef @.str.1) store ptr %15, ptr %3, align 8 %16 = load ptr, ptr %3, align 8 %17 = call i64 @strlen(ptr noundef %16) %18 = call i64 @strlen(ptr noundef @.str.2) %19 = add nsw i64 %17, %18 %20 = add nsw i64 %19, 1 %21 = call ptr @calloc(i64 noundef %20, i32 noundef 1) store ptr %21, ptr %4, align 8 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %3, align 8 %24 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.3, ptr noundef %23) br label %35 25: ; preds = %9 %26 = load ptr, ptr %3, align 8 %27 = call i64 @strlen(ptr noundef %26) %28 = call i64 @strlen(ptr noundef @.str.4) %29 = add nsw i64 %27, %28 %30 = add nsw i64 %29, 1 %31 = call ptr @calloc(i64 noundef %30, i32 noundef 1) store ptr %31, ptr %4, align 8 %32 = load ptr, ptr %4, align 8 %33 = load ptr, ptr %3, align 8 %34 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.5, ptr noundef %33) br label %35 35: ; preds = %25, %14 %36 = load ptr, ptr %4, align 8 %37 = call i32 @stat(ptr noundef %36, ptr noundef %1) store i32 %37, ptr %2, align 4 %38 = load i32, ptr %2, align 4 %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %43 40: ; preds = %35 %41 = load ptr, ptr %4, align 8 %42 = call i32 @mkdir(ptr noundef %41, i32 noundef 448) br label %43 43: ; preds = %40, %35 %44 = load ptr, ptr %4, align 8 %45 = call i64 @strlen(ptr noundef %44) %46 = call i64 @strlen(ptr noundef @.str.6) %47 = add nsw i64 %45, %46 %48 = add nsw i64 %47, 1 %49 = call ptr @calloc(i64 noundef %48, i32 noundef 1) store ptr %49, ptr %5, align 8 %50 = load ptr, ptr %5, align 8 %51 = load ptr, ptr %4, align 8 %52 = call i32 @sprintf(ptr noundef %50, ptr noundef @.str.7, ptr noundef %51) %53 = load ptr, ptr %4, align 8 %54 = call i32 @free(ptr noundef %53) %55 = load ptr, ptr %5, align 8 ret ptr %55 } ; 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 @getenv(ptr noundef) #2 declare ptr @calloc(i64 noundef, i32 noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @stat(ptr noundef, ptr noundef) #2 declare i32 @mkdir(ptr noundef, i32 noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpypr9m8ru.c' source_filename = "/tmp/tmpypr9m8ru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TimerADCEventGet(i64 noundef %0) #0 { %2 = alloca i64, align 8 store volatile i64 %0, ptr %2, align 8 %3 = load volatile i64, ptr %2, align 8 %4 = add i64 %3, 112 %5 = inttoptr i64 %4 to ptr %6 = load volatile i64, ptr %5, align 8 ret i64 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpypr9m8ru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TimerADCEventGet(i64 noundef %0) #0 { %2 = alloca i64, align 8 store volatile i64 %0, ptr %2, align 8 %3 = load volatile i64, ptr %2, align 8 %4 = add i64 %3, 112 %5 = inttoptr i64 %4 to ptr %6 = load volatile i64, ptr %5, align 8 ret i64 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc9mlgxzi.c' source_filename = "/tmp/tmpc9mlgxzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pdata() #0 { %1 = call i32 @setloc(i32 noundef 3) ret void } declare i32 @setloc(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/tmpc9mlgxzi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pdata() #0 { %1 = call i32 @setloc(i32 noundef 3) ret void } declare i32 @setloc(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/tmpkh01zujd.c' source_filename = "/tmp/tmpkh01zujd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Partition(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %10, %11 %13 = sdiv i32 %12, 2 store i32 %13, ptr %7, align 4 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %7, 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 %4, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = call i32 @Swap(i32 noundef %18, i32 noundef %23) %25 = load i32, ptr %5, align 4 %26 = sub nsw i32 %25, 1 store i32 %26, ptr %8, align 4 %27 = load i32, ptr %5, align 4 store i32 %27, ptr %9, align 4 br label %28 28: ; preds = %60, %3 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %6, align 4 %31 = sub nsw i32 %30, 1 %32 = icmp sle i32 %29, %31 br i1 %32, label %33, label %63 33: ; preds = %28 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = icmp sle i32 %38, %43 br i1 %44, label %45, label %59 45: ; preds = %33 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %9, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load i32, ptr %56, align 4 %58 = call i32 @Swap(i32 noundef %52, i32 noundef %57) br label %59 59: ; preds = %45, %33 br label %60 60: ; preds = %59 %61 = load i32, ptr %9, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %9, align 4 br label %28, !llvm.loop !6 63: ; preds = %28 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %64, i64 %67 %69 = load i32, ptr %68, align 4 %70 = load ptr, ptr %4, align 8 %71 = load i32, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 %74 = load i32, ptr %73, align 4 %75 = call i32 @Swap(i32 noundef %69, i32 noundef %74) %76 = load i32, ptr %8, align 4 %77 = add nsw i32 %76, 1 ret i32 %77 } declare i32 @Swap(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/tmpkh01zujd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Partition(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = add nsw i32 %10, %11 %13 = sdiv i32 %12, 2 store i32 %13, ptr %7, align 4 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %7, 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 %4, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = call i32 @Swap(i32 noundef %18, i32 noundef %23) %25 = load i32, ptr %5, align 4 %26 = sub nsw i32 %25, 1 store i32 %26, ptr %8, align 4 %27 = load i32, ptr %5, align 4 store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %6, align 4 %30 = sub nsw i32 %29, 1 %31 = icmp sle i32 %28, %30 br i1 %31, label %.lr.ph, label %66 .lr.ph: ; preds = %3 br label %32 32: ; preds = %.lr.ph, %59 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %9, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = icmp sle i32 %37, %42 br i1 %43, label %44, label %58 44: ; preds = %32 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 %51 = load i32, ptr %50, align 4 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = call i32 @Swap(i32 noundef %51, i32 noundef %56) br label %58 58: ; preds = %44, %32 br label %59 59: ; preds = %58 %60 = load i32, ptr %9, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %9, align 4 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %6, align 4 %64 = sub nsw i32 %63, 1 %65 = icmp sle i32 %62, %64 br i1 %65, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %66 66: ; preds = %._crit_edge, %3 %67 = load ptr, ptr %4, align 8 %68 = load i32, ptr %8, align 4 %69 = add nsw i32 %68, 1 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %67, i64 %70 %72 = load i32, ptr %71, align 4 %73 = load ptr, ptr %4, align 8 %74 = load i32, ptr %6, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 %77 = load i32, ptr %76, align 4 %78 = call i32 @Swap(i32 noundef %72, i32 noundef %77) %79 = load i32, ptr %8, align 4 %80 = add nsw i32 %79, 1 ret i32 %80 } declare i32 @Swap(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/tmpu_i669cw.c' source_filename = "/tmp/tmpu_i669cw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [67 x i8] c"Testing aprintf now.\0Aaprintf supports: d, i, u, x, X, o, b, s, c\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Testing %%d:\09\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s=%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"1+2\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Testing %%c:\09\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"%c%c%c\0A\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"Testing <=0:\09\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"1-1=%u, 1-2u=%u, 1-3d=%d\0A\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"1-1=0, 1-2=%d\0A\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"Testing %%dxX:\09\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c" %d+ %d= %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [18 x i8] c"\09\090x%x+0x%x=0x%x\0A\00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c"\09\090x%X+0x%X=0x%X\0A\0A\00", align 1 @.str.13 = private unnamed_addr constant [39 x i8] c"Displaying ritual pointless message:\0A\09\00", align 1 @.str.14 = private unnamed_addr constant [16 x i8] c"Hello, world!\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [29 x i8] c"Counting in multiple bases:\0A\00", align 1 @.str.16 = private unnamed_addr constant [13 x i8] c"%d\09%x\09%o\09%b\0A\00", align 1 @.str.17 = private unnamed_addr constant [21 x i8] c"\0A\0AProgram complete.\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 %5 = call i32 (ptr, ...) @aprintf(ptr noundef @.str) %6 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.1) %7 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 3) %8 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.5, i32 noundef 97, i32 noundef 98, i32 noundef 99) %10 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.6) %11 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.7, i32 noundef 0, i32 noundef -1, i32 noundef -2) %12 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.8, i32 noundef -1) %13 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.9) store i32 511, ptr %3, align 4 store i32 65535, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %16, %17 %19 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.10, i32 noundef %14, i32 noundef %15, i32 noundef %18) %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %22, %23 %25 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.11, i32 noundef %20, i32 noundef %21, i32 noundef %24) %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %28, %29 %31 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.12, i32 noundef %26, i32 noundef %27, i32 noundef %30) %32 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.13) %33 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.14) %34 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.15) store i32 0, ptr %2, align 4 br label %35 35: ; preds = %44, %0 %36 = load i32, ptr %2, align 4 %37 = icmp sle i32 %36, 16 br i1 %37, label %38, label %47 38: ; preds = %35 %39 = load i32, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %2, align 4 %42 = load i32, ptr %2, align 4 %43 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.16, i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42) br label %44 44: ; preds = %38 %45 = load i32, ptr %2, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %2, align 4 br label %35, !llvm.loop !6 47: ; preds = %35 %48 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.17) ret i32 0 } declare i32 @aprintf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpu_i669cw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [67 x i8] c"Testing aprintf now.\0Aaprintf supports: d, i, u, x, X, o, b, s, c\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Testing %%d:\09\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s=%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"1+2\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Testing %%c:\09\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"%c%c%c\0A\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"Testing <=0:\09\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"1-1=%u, 1-2u=%u, 1-3d=%d\0A\00", align 1 @.str.8 = private unnamed_addr constant [15 x i8] c"1-1=0, 1-2=%d\0A\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"Testing %%dxX:\09\00", align 1 @.str.10 = private unnamed_addr constant [15 x i8] c" %d+ %d= %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [18 x i8] c"\09\090x%x+0x%x=0x%x\0A\00", align 1 @.str.12 = private unnamed_addr constant [19 x i8] c"\09\090x%X+0x%X=0x%X\0A\0A\00", align 1 @.str.13 = private unnamed_addr constant [39 x i8] c"Displaying ritual pointless message:\0A\09\00", align 1 @.str.14 = private unnamed_addr constant [16 x i8] c"Hello, world!\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [29 x i8] c"Counting in multiple bases:\0A\00", align 1 @.str.16 = private unnamed_addr constant [13 x i8] c"%d\09%x\09%o\09%b\0A\00", align 1 @.str.17 = private unnamed_addr constant [21 x i8] c"\0A\0AProgram complete.\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 %5 = call i32 (ptr, ...) @aprintf(ptr noundef @.str) %6 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.1) %7 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 3) %8 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.5, i32 noundef 97, i32 noundef 98, i32 noundef 99) %10 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.6) %11 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.7, i32 noundef 0, i32 noundef -1, i32 noundef -2) %12 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.8, i32 noundef -1) %13 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.9) store i32 511, ptr %3, align 4 store i32 65535, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %16, %17 %19 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.10, i32 noundef %14, i32 noundef %15, i32 noundef %18) %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %22, %23 %25 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.11, i32 noundef %20, i32 noundef %21, i32 noundef %24) %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %28, %29 %31 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.12, i32 noundef %26, i32 noundef %27, i32 noundef %30) %32 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.13) %33 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.14) %34 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.15) store i32 0, ptr %2, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp sle i32 %35, 16 br i1 %36, label %.lr.ph, label %48 .lr.ph: ; preds = %0 br label %37 37: ; preds = %.lr.ph, %43 %38 = load i32, ptr %2, align 4 %39 = load i32, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %2, align 4 %42 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.16, i32 noundef %38, i32 noundef %39, i32 noundef %40, i32 noundef %41) br label %43 43: ; preds = %37 %44 = load i32, ptr %2, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %2, align 4 %46 = load i32, ptr %2, align 4 %47 = icmp sle i32 %46, 16 br i1 %47, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %48 48: ; preds = %._crit_edge, %0 %49 = call i32 (ptr, ...) @aprintf(ptr noundef @.str.17) ret i32 0 } declare i32 @aprintf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpuj1fp8kr.c' source_filename = "/tmp/tmpuj1fp8kr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @MAIN__() ret i32 0 } declare i32 @MAIN__(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuj1fp8kr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @MAIN__() ret i32 0 } declare i32 @MAIN__(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp62kr4_gr.c' source_filename = "/tmp/tmp62kr4_gr.c" target datalayout = "e-m:e-p270: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/tmp62kr4_gr.c" target datalayout = "e-m:e-p270: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/tmpyc12ufk5.c' source_filename = "/tmp/tmpyc12ufk5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @setall.T1 = internal global i64 0, align 8 @setall.g = internal global i64 0, align 8 @setall.ocgn = internal global i64 0, align 8 @setall.qrgnin = internal global i64 0, align 8 @Xig1 = external global [0 x i64], align 8 @Xig2 = external global [0 x i64], align 8 @Xa1vw = external global i64, align 8 @Xm1 = external global i64, align 8 @Xa2vw = external global i64, align 8 @Xm2 = external global i64, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setall(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 1, ptr @setall.T1, align 8 call void @gssst(i64 noundef 1, ptr noundef @setall.T1) call void @gscgn(i64 noundef 0, ptr noundef @setall.ocgn) call void @gsrgs(i64 noundef 0, ptr noundef @setall.qrgnin) %5 = load i64, ptr @setall.qrgnin, align 8 %6 = icmp ne i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %2 %8 = call i32 (...) @inrgcm() br label %9 9: ; preds = %7, %2 %10 = load i64, ptr %3, align 8 store i64 %10, ptr @Xig1, align 8 %11 = load i64, ptr %4, align 8 store i64 %11, ptr @Xig2, align 8 %12 = call i32 @initgn(i64 noundef -1) store i64 2, ptr @setall.g, align 8 br label %13 13: ; preds = %38, %9 %14 = load i64, ptr @setall.g, align 8 %15 = icmp sle i64 %14, 32 br i1 %15, label %16, label %41 16: ; preds = %13 %17 = load i64, ptr @Xa1vw, align 8 %18 = load i64, ptr @setall.g, align 8 %19 = getelementptr inbounds i64, ptr @Xig1, i64 %18 %20 = getelementptr inbounds i64, ptr %19, i64 -2 %21 = load i64, ptr %20, align 8 %22 = load i64, ptr @Xm1, align 8 %23 = call i64 @mltmod(i64 noundef %17, i64 noundef %21, i64 noundef %22) %24 = load i64, ptr @setall.g, align 8 %25 = getelementptr inbounds i64, ptr @Xig1, i64 %24 %26 = getelementptr inbounds i64, ptr %25, i64 -1 store i64 %23, ptr %26, align 8 %27 = load i64, ptr @Xa2vw, align 8 %28 = load i64, ptr @setall.g, align 8 %29 = getelementptr inbounds i64, ptr @Xig2, i64 %28 %30 = getelementptr inbounds i64, ptr %29, i64 -2 %31 = load i64, ptr %30, align 8 %32 = load i64, ptr @Xm2, align 8 %33 = call i64 @mltmod(i64 noundef %27, i64 noundef %31, i64 noundef %32) %34 = load i64, ptr @setall.g, align 8 %35 = getelementptr inbounds i64, ptr @Xig2, i64 %34 %36 = getelementptr inbounds i64, ptr %35, i64 -1 store i64 %33, ptr %36, align 8 call void @gscgn(i64 noundef 1, ptr noundef @setall.g) %37 = call i32 @initgn(i64 noundef -1) br label %38 38: ; preds = %16 %39 = load i64, ptr @setall.g, align 8 %40 = add nsw i64 %39, 1 store i64 %40, ptr @setall.g, align 8 br label %13, !llvm.loop !6 41: ; preds = %13 call void @gscgn(i64 noundef 1, ptr noundef @setall.ocgn) ret void } declare void @gssst(i64 noundef, ptr noundef) #1 declare void @gscgn(i64 noundef, ptr noundef) #1 declare void @gsrgs(i64 noundef, ptr noundef) #1 declare i32 @inrgcm(...) #1 declare i32 @initgn(i64 noundef) #1 declare i64 @mltmod(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/tmpyc12ufk5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @setall.T1 = internal global i64 0, align 8 @setall.g = internal global i64 0, align 8 @setall.ocgn = internal global i64 0, align 8 @setall.qrgnin = internal global i64 0, align 8 @Xig1 = external global [0 x i64], align 8 @Xig2 = external global [0 x i64], align 8 @Xa1vw = external global i64, align 8 @Xm1 = external global i64, align 8 @Xa2vw = external global i64, align 8 @Xm2 = external global i64, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setall(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 1, ptr @setall.T1, align 8 call void @gssst(i64 noundef 1, ptr noundef @setall.T1) call void @gscgn(i64 noundef 0, ptr noundef @setall.ocgn) call void @gsrgs(i64 noundef 0, ptr noundef @setall.qrgnin) %5 = load i64, ptr @setall.qrgnin, align 8 %6 = icmp ne i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %2 %8 = call i32 (...) @inrgcm() br label %9 9: ; preds = %7, %2 %10 = load i64, ptr %3, align 8 store i64 %10, ptr @Xig1, align 8 %11 = load i64, ptr %4, align 8 store i64 %11, ptr @Xig2, align 8 %12 = call i32 @initgn(i64 noundef -1) store i64 2, ptr @setall.g, align 8 %13 = load i64, ptr @setall.g, align 8 %14 = icmp sle i64 %13, 32 br i1 %14, label %.lr.ph, label %42 .lr.ph: ; preds = %9 br label %15 15: ; preds = %.lr.ph, %37 %16 = load i64, ptr @Xa1vw, align 8 %17 = load i64, ptr @setall.g, align 8 %18 = getelementptr inbounds i64, ptr @Xig1, i64 %17 %19 = getelementptr inbounds i64, ptr %18, i64 -2 %20 = load i64, ptr %19, align 8 %21 = load i64, ptr @Xm1, align 8 %22 = call i64 @mltmod(i64 noundef %16, i64 noundef %20, i64 noundef %21) %23 = load i64, ptr @setall.g, align 8 %24 = getelementptr inbounds i64, ptr @Xig1, i64 %23 %25 = getelementptr inbounds i64, ptr %24, i64 -1 store i64 %22, ptr %25, align 8 %26 = load i64, ptr @Xa2vw, align 8 %27 = load i64, ptr @setall.g, align 8 %28 = getelementptr inbounds i64, ptr @Xig2, i64 %27 %29 = getelementptr inbounds i64, ptr %28, i64 -2 %30 = load i64, ptr %29, align 8 %31 = load i64, ptr @Xm2, align 8 %32 = call i64 @mltmod(i64 noundef %26, i64 noundef %30, i64 noundef %31) %33 = load i64, ptr @setall.g, align 8 %34 = getelementptr inbounds i64, ptr @Xig2, i64 %33 %35 = getelementptr inbounds i64, ptr %34, i64 -1 store i64 %32, ptr %35, align 8 call void @gscgn(i64 noundef 1, ptr noundef @setall.g) %36 = call i32 @initgn(i64 noundef -1) br label %37 37: ; preds = %15 %38 = load i64, ptr @setall.g, align 8 %39 = add nsw i64 %38, 1 store i64 %39, ptr @setall.g, align 8 %40 = load i64, ptr @setall.g, align 8 %41 = icmp sle i64 %40, 32 br i1 %41, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %42 42: ; preds = %._crit_edge, %9 call void @gscgn(i64 noundef 1, ptr noundef @setall.ocgn) ret void } declare void @gssst(i64 noundef, ptr noundef) #1 declare void @gscgn(i64 noundef, ptr noundef) #1 declare void @gsrgs(i64 noundef, ptr noundef) #1 declare i32 @inrgcm(...) #1 declare i32 @initgn(i64 noundef) #1 declare i64 @mltmod(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/tmpz1ntwbga.c' source_filename = "/tmp/tmpz1ntwbga.c" target datalayout = "e-m:e-p270: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/tmpz1ntwbga.c" target datalayout = "e-m:e-p270: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/tmp262_cyj6.c' source_filename = "/tmp/tmp262_cyj6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_dobldobl_homotopy_with_given_gamma(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [2 x double], align 16 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %9 = load double, ptr %3, align 8 %10 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0 store double %9, ptr %10, align 16 %11 = load double, ptr %4, align 8 %12 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 1 store double %11, ptr %12, align 8 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0 %16 = call i32 @_ada_use_c2phc4c(i32 noundef 173, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 0) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 ret i32 %17 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp262_cyj6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_dobldobl_homotopy_with_given_gamma(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [2 x double], align 16 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %9 = load double, ptr %3, align 8 %10 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0 store double %9, ptr %10, align 16 %11 = load double, ptr %4, align 8 %12 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 1 store double %11, ptr %12, align 8 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds [2 x double], ptr %8, i64 0, i64 0 %16 = call i32 @_ada_use_c2phc4c(i32 noundef 173, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 0) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 ret i32 %17 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0dqed0kp.c' source_filename = "/tmp/tmp0dqed0kp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @.str = private unnamed_addr constant [53 x i8] c"receive the data from siqueue by info->si_int is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [65 x i8] c"receive the data from siqueue by info->si_value.sival_int is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sighandler(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %11, i32 0, i32 1 %13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) 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/tmp0dqed0kp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } @.str = private unnamed_addr constant [53 x i8] c"receive the data from siqueue by info->si_int is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [65 x i8] c"receive the data from siqueue by info->si_value.sival_int is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sighandler(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds %struct.TYPE_5__, ptr %11, i32 0, i32 1 %13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) 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/tmp9epa8ccn.c' source_filename = "/tmp/tmp9epa8ccn.c" target datalayout = "e-m:e-p270: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/tmp9epa8ccn.c" target datalayout = "e-m:e-p270: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/tmp_7ixbwd7.c' source_filename = "/tmp/tmp_7ixbwd7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wolverine() #0 { %1 = call i32 (...) @adjustment() %2 = call i32 (...) @soso() %3 = call i32 (...) @overcoat() %4 = call i32 (...) @tractor() %5 = call i32 (...) @jimp() %6 = call i32 (...) @jomp() ret void } declare i32 @adjustment(...) #1 declare i32 @soso(...) #1 declare i32 @overcoat(...) #1 declare i32 @tractor(...) #1 declare i32 @jimp(...) #1 declare i32 @jomp(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_7ixbwd7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wolverine() #0 { %1 = call i32 (...) @adjustment() %2 = call i32 (...) @soso() %3 = call i32 (...) @overcoat() %4 = call i32 (...) @tractor() %5 = call i32 (...) @jimp() %6 = call i32 (...) @jomp() ret void } declare i32 @adjustment(...) #1 declare i32 @soso(...) #1 declare i32 @overcoat(...) #1 declare i32 @tractor(...) #1 declare i32 @jimp(...) #1 declare i32 @jomp(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqy7z8h13.c' source_filename = "/tmp/tmpqy7z8h13.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @down_interruptible(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 @__down_interruptible(ptr noundef %3) ret i32 %4 } declare i32 @__down_interruptible(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqy7z8h13.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @down_interruptible(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 @__down_interruptible(ptr noundef %3) ret i32 %4 } declare i32 @__down_interruptible(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1nxa1if8.c' source_filename = "/tmp/tmp1nxa1if8.c" target datalayout = "e-m:e-p270: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.tm = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mmp_time_asctime_format(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca %struct.tm, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i64, ptr %6, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %10, %3 br label %28 14: ; preds = %10 %15 = call i32 @gmtime_r(ptr noundef %4, ptr noundef %7) %16 = load ptr, ptr %5, align 8 %17 = call i32 @asctime_r(ptr noundef %7, ptr noundef %16) %18 = load ptr, ptr %5, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %28 21: ; preds = %14 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = sub nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %22, i64 %26 store i8 0, ptr %27, align 1 br label %28 28: ; preds = %13, %21, %14 ret void } declare i32 @gmtime_r(ptr noundef, ptr noundef) #1 declare i32 @asctime_r(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1nxa1if8.c" target datalayout = "e-m:e-p270: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.tm = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mmp_time_asctime_format(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca %struct.tm, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i64, ptr %6, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %10, %3 br label %28 14: ; preds = %10 %15 = call i32 @gmtime_r(ptr noundef %4, ptr noundef %7) %16 = load ptr, ptr %5, align 8 %17 = call i32 @asctime_r(ptr noundef %7, ptr noundef %16) %18 = load ptr, ptr %5, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %28 21: ; preds = %14 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = sub nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %22, i64 %26 store i8 0, ptr %27, align 1 br label %28 28: ; preds = %21, %14, %13 ret void } declare i32 @gmtime_r(ptr noundef, ptr noundef) #1 declare i32 @asctime_r(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_hozdlaj.c' source_filename = "/tmp/tmp_hozdlaj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tcp server\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 @net_callback(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [256 x i8], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @write(i32 noundef %8, ptr noundef @.str, i32 noundef 11) %10 = load i32, ptr %4, align 4 %11 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %12 = call i32 @read(i32 noundef %10, ptr noundef %11, i32 noundef 255) %13 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13) ret i32 0 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_hozdlaj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tcp server\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 @net_callback(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [256 x i8], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @write(i32 noundef %8, ptr noundef @.str, i32 noundef 11) %10 = load i32, ptr %4, align 4 %11 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %12 = call i32 @read(i32 noundef %10, ptr noundef %11, i32 noundef 255) %13 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13) ret i32 0 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpith9_wnz.c' source_filename = "/tmp/tmpith9_wnz.c" target datalayout = "e-m:e-p270: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/tmpith9_wnz.c" target datalayout = "e-m:e-p270: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/tmpxrsi3aek.c' source_filename = "/tmp/tmpxrsi3aek.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FAN_MARK_ADD = dso_local global i32 0, align 4 @FAN_MARK_IGNORED_MASK = dso_local global i32 0, align 4 @FAN_MARK_IGNORED_SURV_MODIFY = dso_local global i32 0, align 4 @FAN_ALL_EVENTS = dso_local global i32 0, align 4 @FAN_ALL_PERM_EVENTS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"/var/log/audit/audit.log\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"/var/log/messages\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"/var/log/wtmp\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"/var/run/utmp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_special_ignored(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %10 = load i32, ptr @FAN_MARK_ADD, align 4 %11 = load i32, ptr @FAN_MARK_IGNORED_MASK, align 4 %12 = or i32 %10, %11 %13 = load i32, ptr @FAN_MARK_IGNORED_SURV_MODIFY, align 4 %14 = or i32 %12, %13 store i32 %14, ptr %8, align 4 %15 = load i32, ptr @FAN_ALL_EVENTS, align 4 %16 = load i32, ptr @FAN_ALL_PERM_EVENTS, align 4 %17 = or i32 %15, %16 store i32 %17, ptr %9, align 4 %18 = load ptr, ptr %7, align 8 %19 = call i64 @strcmp(ptr noundef @.str, ptr noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %3 %22 = load ptr, ptr %7, align 8 %23 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %34 25: ; preds = %21 %26 = load ptr, ptr %7, align 8 %27 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %25 %30 = load ptr, ptr %7, align 8 %31 = call i64 @strcmp(ptr noundef @.str.3, ptr noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %29 store i32 0, ptr %4, align 4 br label %40 34: ; preds = %29, %25, %21, %3 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %8, align 4 %39 = call i32 @mark_object(i32 noundef %35, ptr noundef null, i32 noundef %36, i32 noundef %37, i32 noundef %38) store i32 %39, ptr %4, align 4 br label %40 40: ; preds = %34, %33 %41 = load i32, ptr %4, align 4 ret i32 %41 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @mark_object(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxrsi3aek.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FAN_MARK_ADD = dso_local global i32 0, align 4 @FAN_MARK_IGNORED_MASK = dso_local global i32 0, align 4 @FAN_MARK_IGNORED_SURV_MODIFY = dso_local global i32 0, align 4 @FAN_ALL_EVENTS = dso_local global i32 0, align 4 @FAN_ALL_PERM_EVENTS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"/var/log/audit/audit.log\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"/var/log/messages\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"/var/log/wtmp\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"/var/run/utmp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_special_ignored(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %10 = load i32, ptr @FAN_MARK_ADD, align 4 %11 = load i32, ptr @FAN_MARK_IGNORED_MASK, align 4 %12 = or i32 %10, %11 %13 = load i32, ptr @FAN_MARK_IGNORED_SURV_MODIFY, align 4 %14 = or i32 %12, %13 store i32 %14, ptr %8, align 4 %15 = load i32, ptr @FAN_ALL_EVENTS, align 4 %16 = load i32, ptr @FAN_ALL_PERM_EVENTS, align 4 %17 = or i32 %15, %16 store i32 %17, ptr %9, align 4 %18 = load ptr, ptr %7, align 8 %19 = call i64 @strcmp(ptr noundef @.str, ptr noundef %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %3 %22 = load ptr, ptr %7, align 8 %23 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %34 25: ; preds = %21 %26 = load ptr, ptr %7, align 8 %27 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %34 29: ; preds = %25 %30 = load ptr, ptr %7, align 8 %31 = call i64 @strcmp(ptr noundef @.str.3, ptr noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %29 store i32 0, ptr %4, align 4 br label %40 34: ; preds = %29, %25, %21, %3 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %8, align 4 %39 = call i32 @mark_object(i32 noundef %35, ptr noundef null, i32 noundef %36, i32 noundef %37, i32 noundef %38) store i32 %39, ptr %4, align 4 br label %40 40: ; preds = %34, %33 %41 = load i32, ptr %4, align 4 ret i32 %41 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @mark_object(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaj_neg9h.c' source_filename = "/tmp/tmpaj_neg9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AMCBufferevent_Free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @bufferevent_free(ptr noundef %3) ret i32 0 } declare i32 @bufferevent_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/tmpaj_neg9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AMCBufferevent_Free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @bufferevent_free(ptr noundef %3) ret i32 0 } declare i32 @bufferevent_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/tmprz_ktpy6.c' source_filename = "/tmp/tmprz_ktpy6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removeFromUtmp() #0 { %1 = call i32 (...) @utempter_remove_added_record() ret void } declare i32 @utempter_remove_added_record(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprz_ktpy6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removeFromUtmp() #0 { %1 = call i32 (...) @utempter_remove_added_record() ret void } declare i32 @utempter_remove_added_record(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpojmkk7_q.c' source_filename = "/tmp/tmpojmkk7_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @COLS = dso_local global i32 0, align 4 @LINES = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lives(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %30 11: ; preds = %3 %12 = load i32, ptr %6, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %30 14: ; preds = %11 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %15, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr %6, align 4 %22 = sub nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %20, i64 %23 %25 = load i32, ptr %24, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %14 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 br label %30 30: ; preds = %27, %14, %11, %3 %31 = load i32, ptr %5, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %48 33: ; preds = %30 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %5, align 4 %36 = sub nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %34, i64 %37 %39 = load ptr, ptr %38, align 8 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %33 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 br label %48 48: ; preds = %45, %33, %30 %49 = load i32, ptr %5, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %72 51: ; preds = %48 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr @COLS, align 4 %54 = sub nsw i32 %53, 1 %55 = icmp slt i32 %52, %54 br i1 %55, label %56, label %72 56: ; preds = %51 %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %5, align 4 %59 = sub nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %57, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 1 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %62, i64 %65 %67 = load i32, ptr %66, align 4 %68 = icmp ne i32 %67, 0 br i1 %68, label %69, label %72 69: ; preds = %56 %70 = load i32, ptr %8, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %8, align 4 br label %72 72: ; preds = %69, %56, %51, %48 %73 = load i32, ptr %6, align 4 %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %90 75: ; preds = %72 %76 = load ptr, ptr %7, align 8 %77 = load i32, ptr %5, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds ptr, ptr %76, i64 %78 %80 = load ptr, ptr %79, align 8 %81 = load i32, ptr %6, align 4 %82 = sub nsw i32 %81, 1 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %80, i64 %83 %85 = load i32, ptr %84, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %90 87: ; preds = %75 %88 = load i32, ptr %8, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %8, align 4 br label %90 90: ; preds = %87, %75, %72 %91 = load i32, ptr %6, align 4 %92 = load i32, ptr @COLS, align 4 %93 = sub nsw i32 %92, 1 %94 = icmp slt i32 %91, %93 br i1 %94, label %95, label %110 95: ; preds = %90 %96 = load ptr, ptr %7, align 8 %97 = load i32, ptr %5, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds ptr, ptr %96, i64 %98 %100 = load ptr, ptr %99, align 8 %101 = load i32, ptr %6, align 4 %102 = add nsw i32 %101, 1 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %100, i64 %103 %105 = load i32, ptr %104, align 4 %106 = icmp ne i32 %105, 0 br i1 %106, label %107, label %110 107: ; preds = %95 %108 = load i32, ptr %8, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %8, align 4 br label %110 110: ; preds = %107, %95, %90 %111 = load i32, ptr %5, align 4 %112 = load i32, ptr @LINES, align 4 %113 = sub nsw i32 %112, 1 %114 = icmp slt i32 %111, %113 br i1 %114, label %115, label %134 115: ; preds = %110 %116 = load i32, ptr %6, align 4 %117 = icmp ne i32 %116, 0 br i1 %117, label %118, label %134 118: ; preds = %115 %119 = load ptr, ptr %7, align 8 %120 = load i32, ptr %5, align 4 %121 = add nsw i32 %120, 1 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds ptr, ptr %119, i64 %122 %124 = load ptr, ptr %123, align 8 %125 = load i32, ptr %6, align 4 %126 = sub nsw i32 %125, 1 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i32, ptr %124, i64 %127 %129 = load i32, ptr %128, align 4 %130 = icmp ne i32 %129, 0 br i1 %130, label %131, label %134 131: ; preds = %118 %132 = load i32, ptr %8, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %8, align 4 br label %134 134: ; preds = %131, %118, %115, %110 %135 = load i32, ptr %5, align 4 %136 = load i32, ptr @LINES, align 4 %137 = sub nsw i32 %136, 1 %138 = icmp slt i32 %135, %137 br i1 %138, label %139, label %154 139: ; preds = %134 %140 = load ptr, ptr %7, align 8 %141 = load i32, ptr %5, align 4 %142 = add nsw i32 %141, 1 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds ptr, ptr %140, i64 %143 %145 = load ptr, ptr %144, align 8 %146 = load i32, ptr %6, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i32, ptr %145, i64 %147 %149 = load i32, ptr %148, align 4 %150 = icmp ne i32 %149, 0 br i1 %150, label %151, label %154 151: ; preds = %139 %152 = load i32, ptr %8, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %8, align 4 br label %154 154: ; preds = %151, %139, %134 %155 = load i32, ptr %5, align 4 %156 = load i32, ptr @LINES, align 4 %157 = sub nsw i32 %156, 1 %158 = icmp slt i32 %155, %157 br i1 %158, label %159, label %180 159: ; preds = %154 %160 = load i32, ptr %6, align 4 %161 = load i32, ptr @COLS, align 4 %162 = sub nsw i32 %161, 1 %163 = icmp slt i32 %160, %162 br i1 %163, label %164, label %180 164: ; preds = %159 %165 = load ptr, ptr %7, align 8 %166 = load i32, ptr %5, align 4 %167 = add nsw i32 %166, 1 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds ptr, ptr %165, i64 %168 %170 = load ptr, ptr %169, align 8 %171 = load i32, ptr %6, align 4 %172 = add nsw i32 %171, 1 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i32, ptr %170, i64 %173 %175 = load i32, ptr %174, align 4 %176 = icmp ne i32 %175, 0 br i1 %176, label %177, label %180 177: ; preds = %164 %178 = load i32, ptr %8, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %8, align 4 br label %180 180: ; preds = %177, %164, %159, %154 %181 = load ptr, ptr %7, align 8 %182 = load i32, ptr %5, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds ptr, ptr %181, i64 %183 %185 = load ptr, ptr %184, align 8 %186 = load i32, ptr %6, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i32, ptr %185, i64 %187 %189 = load i32, ptr %188, align 4 %190 = icmp ne i32 %189, 0 br i1 %190, label %191, label %199 191: ; preds = %180 %192 = load i32, ptr %8, align 4 %193 = icmp slt i32 %192, 2 br i1 %193, label %197, label %194 194: ; preds = %191 %195 = load i32, ptr %8, align 4 %196 = icmp sgt i32 %195, 3 br i1 %196, label %197, label %198 197: ; preds = %194, %191 store i32 0, ptr %4, align 4 br label %205 198: ; preds = %194 br label %204 199: ; preds = %180 %200 = load i32, ptr %8, align 4 %201 = icmp eq i32 %200, 3 br i1 %201, label %202, label %203 202: ; preds = %199 store i32 1, ptr %4, align 4 br label %205 203: ; preds = %199 store i32 0, ptr %4, align 4 br label %205 204: ; preds = %198 store i32 1, ptr %4, align 4 br label %205 205: ; preds = %204, %203, %202, %197 %206 = load i32, ptr %4, align 4 ret i32 %206 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpojmkk7_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @COLS = dso_local global i32 0, align 4 @LINES = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lives(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %30 11: ; preds = %3 %12 = load i32, ptr %6, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %30 14: ; preds = %11 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %15, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr %6, align 4 %22 = sub nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %20, i64 %23 %25 = load i32, ptr %24, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %14 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 br label %30 30: ; preds = %27, %14, %11, %3 %31 = load i32, ptr %5, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %48 33: ; preds = %30 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %5, align 4 %36 = sub nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %34, i64 %37 %39 = load ptr, ptr %38, align 8 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %33 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 br label %48 48: ; preds = %45, %33, %30 %49 = load i32, ptr %5, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %72 51: ; preds = %48 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr @COLS, align 4 %54 = sub nsw i32 %53, 1 %55 = icmp slt i32 %52, %54 br i1 %55, label %56, label %72 56: ; preds = %51 %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %5, align 4 %59 = sub nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %57, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 1 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %62, i64 %65 %67 = load i32, ptr %66, align 4 %68 = icmp ne i32 %67, 0 br i1 %68, label %69, label %72 69: ; preds = %56 %70 = load i32, ptr %8, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %8, align 4 br label %72 72: ; preds = %69, %56, %51, %48 %73 = load i32, ptr %6, align 4 %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %90 75: ; preds = %72 %76 = load ptr, ptr %7, align 8 %77 = load i32, ptr %5, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds ptr, ptr %76, i64 %78 %80 = load ptr, ptr %79, align 8 %81 = load i32, ptr %6, align 4 %82 = sub nsw i32 %81, 1 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %80, i64 %83 %85 = load i32, ptr %84, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %90 87: ; preds = %75 %88 = load i32, ptr %8, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %8, align 4 br label %90 90: ; preds = %87, %75, %72 %91 = load i32, ptr %6, align 4 %92 = load i32, ptr @COLS, align 4 %93 = sub nsw i32 %92, 1 %94 = icmp slt i32 %91, %93 br i1 %94, label %95, label %110 95: ; preds = %90 %96 = load ptr, ptr %7, align 8 %97 = load i32, ptr %5, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds ptr, ptr %96, i64 %98 %100 = load ptr, ptr %99, align 8 %101 = load i32, ptr %6, align 4 %102 = add nsw i32 %101, 1 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %100, i64 %103 %105 = load i32, ptr %104, align 4 %106 = icmp ne i32 %105, 0 br i1 %106, label %107, label %110 107: ; preds = %95 %108 = load i32, ptr %8, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %8, align 4 br label %110 110: ; preds = %107, %95, %90 %111 = load i32, ptr %5, align 4 %112 = load i32, ptr @LINES, align 4 %113 = sub nsw i32 %112, 1 %114 = icmp slt i32 %111, %113 br i1 %114, label %115, label %134 115: ; preds = %110 %116 = load i32, ptr %6, align 4 %117 = icmp ne i32 %116, 0 br i1 %117, label %118, label %134 118: ; preds = %115 %119 = load ptr, ptr %7, align 8 %120 = load i32, ptr %5, align 4 %121 = add nsw i32 %120, 1 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds ptr, ptr %119, i64 %122 %124 = load ptr, ptr %123, align 8 %125 = load i32, ptr %6, align 4 %126 = sub nsw i32 %125, 1 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i32, ptr %124, i64 %127 %129 = load i32, ptr %128, align 4 %130 = icmp ne i32 %129, 0 br i1 %130, label %131, label %134 131: ; preds = %118 %132 = load i32, ptr %8, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %8, align 4 br label %134 134: ; preds = %131, %118, %115, %110 %135 = load i32, ptr %5, align 4 %136 = load i32, ptr @LINES, align 4 %137 = sub nsw i32 %136, 1 %138 = icmp slt i32 %135, %137 br i1 %138, label %139, label %154 139: ; preds = %134 %140 = load ptr, ptr %7, align 8 %141 = load i32, ptr %5, align 4 %142 = add nsw i32 %141, 1 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds ptr, ptr %140, i64 %143 %145 = load ptr, ptr %144, align 8 %146 = load i32, ptr %6, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i32, ptr %145, i64 %147 %149 = load i32, ptr %148, align 4 %150 = icmp ne i32 %149, 0 br i1 %150, label %151, label %154 151: ; preds = %139 %152 = load i32, ptr %8, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %8, align 4 br label %154 154: ; preds = %151, %139, %134 %155 = load i32, ptr %5, align 4 %156 = load i32, ptr @LINES, align 4 %157 = sub nsw i32 %156, 1 %158 = icmp slt i32 %155, %157 br i1 %158, label %159, label %180 159: ; preds = %154 %160 = load i32, ptr %6, align 4 %161 = load i32, ptr @COLS, align 4 %162 = sub nsw i32 %161, 1 %163 = icmp slt i32 %160, %162 br i1 %163, label %164, label %180 164: ; preds = %159 %165 = load ptr, ptr %7, align 8 %166 = load i32, ptr %5, align 4 %167 = add nsw i32 %166, 1 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds ptr, ptr %165, i64 %168 %170 = load ptr, ptr %169, align 8 %171 = load i32, ptr %6, align 4 %172 = add nsw i32 %171, 1 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i32, ptr %170, i64 %173 %175 = load i32, ptr %174, align 4 %176 = icmp ne i32 %175, 0 br i1 %176, label %177, label %180 177: ; preds = %164 %178 = load i32, ptr %8, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %8, align 4 br label %180 180: ; preds = %177, %164, %159, %154 %181 = load ptr, ptr %7, align 8 %182 = load i32, ptr %5, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds ptr, ptr %181, i64 %183 %185 = load ptr, ptr %184, align 8 %186 = load i32, ptr %6, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i32, ptr %185, i64 %187 %189 = load i32, ptr %188, align 4 %190 = icmp ne i32 %189, 0 br i1 %190, label %191, label %199 191: ; preds = %180 %192 = load i32, ptr %8, align 4 %193 = icmp slt i32 %192, 2 br i1 %193, label %197, label %194 194: ; preds = %191 %195 = load i32, ptr %8, align 4 %196 = icmp sgt i32 %195, 3 br i1 %196, label %197, label %198 197: ; preds = %194, %191 store i32 0, ptr %4, align 4 br label %205 198: ; preds = %194 br label %204 199: ; preds = %180 %200 = load i32, ptr %8, align 4 %201 = icmp eq i32 %200, 3 br i1 %201, label %202, label %203 202: ; preds = %199 store i32 1, ptr %4, align 4 br label %205 203: ; preds = %199 store i32 0, ptr %4, align 4 br label %205 204: ; preds = %198 store i32 1, ptr %4, align 4 br label %205 205: ; preds = %204, %203, %202, %197 %206 = load i32, ptr %4, align 4 ret i32 %206 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp392aboxu.c' source_filename = "/tmp/tmp392aboxu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [50 x [50 x i32]], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = getelementptr inbounds [50 x [50 x i32]], ptr %1, i64 0, i64 0 %6 = call i32 @ler_matriz(ptr noundef %5) %7 = getelementptr inbounds [50 x [50 x i32]], ptr %1, i64 0, i64 0 %8 = call i32 @maior_elemento(ptr noundef %7) store i32 %8, ptr %4, align 4 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %22, %0 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 50 br i1 %11, label %12, label %25 12: ; preds = %9 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [50 x [50 x i32]], ptr %1, i64 0, i64 %15 %17 = load i32, ptr %2, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [50 x i32], ptr %16, i64 0, i64 %18 %20 = load i32, ptr %19, align 4 %21 = mul nsw i32 %20, %13 store i32 %21, ptr %19, align 4 br label %22 22: ; preds = %12 %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %2, align 4 br label %9, !llvm.loop !6 25: ; preds = %9 store i32 0, ptr %2, align 4 br label %26 26: ; preds = %47, %25 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %27, 50 br i1 %28, label %29, label %50 29: ; preds = %26 store i32 0, ptr %3, align 4 br label %30 30: ; preds = %42, %29 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %31, 50 br i1 %32, label %33, label %45 33: ; preds = %30 %34 = load i32, ptr %2, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [50 x [50 x i32]], ptr %1, i64 0, i64 %35 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [50 x i32], ptr %36, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40) br label %42 42: ; preds = %33 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %3, align 4 br label %30, !llvm.loop !8 45: ; preds = %30 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 47: ; preds = %45 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %2, align 4 br label %26, !llvm.loop !9 50: ; preds = %26 ret void } declare i32 @ler_matriz(ptr noundef) #1 declare i32 @maior_elemento(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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp392aboxu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [50 x [50 x i32]], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = getelementptr inbounds [50 x [50 x i32]], ptr %1, i64 0, i64 0 %6 = call i32 @ler_matriz(ptr noundef %5) %7 = getelementptr inbounds [50 x [50 x i32]], ptr %1, i64 0, i64 0 %8 = call i32 @maior_elemento(ptr noundef %7) store i32 %8, ptr %4, align 4 store i32 0, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 50 br i1 %10, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %21 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [50 x [50 x i32]], ptr %1, i64 0, i64 %14 %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [50 x i32], ptr %15, i64 0, i64 %17 %19 = load i32, ptr %18, align 4 %20 = mul nsw i32 %19, %12 store i32 %20, ptr %18, align 4 br label %21 21: ; preds = %11 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %24, 50 br i1 %25, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %27, 50 br i1 %28, label %.lr.ph5, label %53 .lr.ph5: ; preds = %26 br label %29 29: ; preds = %.lr.ph5, %48 store i32 0, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %30, 50 br i1 %31, label %.lr.ph2, label %46 .lr.ph2: ; preds = %29 br label %32 32: ; preds = %.lr.ph2, %41 %33 = load i32, ptr %2, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [50 x [50 x i32]], ptr %1, i64 0, i64 %34 %36 = load i32, ptr %3, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [50 x i32], ptr %35, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %39) br label %41 41: ; preds = %32 %42 = load i32, ptr %3, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %3, align 4 %44 = load i32, ptr %3, align 4 %45 = icmp slt i32 %44, 50 br i1 %45, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %29 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 48: ; preds = %46 %49 = load i32, ptr %2, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %2, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp slt i32 %51, 50 br i1 %52, label %29, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %48 br label %53 53: ; preds = %._crit_edge6, %26 ret void } declare i32 @ler_matriz(ptr noundef) #1 declare i32 @maior_elemento(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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpn5ri9bnw.c' source_filename = "/tmp/tmpn5ri9bnw.c" target datalayout = "e-m:e-p270: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/tmpn5ri9bnw.c" target datalayout = "e-m:e-p270: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/tmpm90i2qti.c' source_filename = "/tmp/tmpm90i2qti.c" target datalayout = "e-m:e-p270: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/tmpm90i2qti.c" target datalayout = "e-m:e-p270: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/tmpq9x480vw.c' source_filename = "/tmp/tmpq9x480vw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iowait() #0 { %1 = call i32 @outb(i32 noundef 128, i32 noundef 0) ret void } declare i32 @outb(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/tmpq9x480vw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iowait() #0 { %1 = call i32 @outb(i32 noundef 128, i32 noundef 0) ret void } declare i32 @outb(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"}