llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp0ixy_mer.c' source_filename = "/tmp/tmp0ixy_mer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hola grupo!!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ixy_mer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hola grupo!!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk3r8y2w2.c' source_filename = "/tmp/tmpk3r8y2w2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cumchn.eps = internal global double 1.000000e-05, align 8 @cumchn.ntired = internal global i32 1000, align 4 @cumchn.adj = internal global double 0.000000e+00, align 8 @cumchn.centaj = internal global double 0.000000e+00, align 8 @cumchn.centwt = internal global double 0.000000e+00, align 8 @cumchn.chid2 = internal global double 0.000000e+00, align 8 @cumchn.dfd2 = internal global double 0.000000e+00, align 8 @cumchn.lcntaj = internal global double 0.000000e+00, align 8 @cumchn.lcntwt = internal global double 0.000000e+00, align 8 @cumchn.lfact = internal global double 0.000000e+00, align 8 @cumchn.pcent = internal global double 0.000000e+00, align 8 @cumchn.pterm = internal global double 0.000000e+00, align 8 @cumchn.sum = internal global double 0.000000e+00, align 8 @cumchn.sumadj = internal global double 0.000000e+00, align 8 @cumchn.term = internal global double 0.000000e+00, align 8 @cumchn.wt = internal global double 0.000000e+00, align 8 @cumchn.xnonc = internal global double 0.000000e+00, align 8 @cumchn.i = internal global i32 0, align 4 @cumchn.icent = internal global i32 0, align 4 @cumchn.iterb = internal global i32 0, align 4 @cumchn.iterf = internal global i32 0, align 4 @cumchn.T1 = internal global double 0.000000e+00, align 8 @cumchn.T2 = internal global double 0.000000e+00, align 8 @cumchn.T3 = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cumchn(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load double, ptr %11, align 8 %13 = fcmp ole double %12, 0.000000e+00 br i1 %13, label %15, label %14 14: ; preds = %5 br label %18 15: ; preds = %5 %16 = load ptr, ptr %9, align 8 store double 0.000000e+00, ptr %16, align 8 %17 = load ptr, ptr %10, align 8 store double 1.000000e+00, ptr %17, align 8 br label %208 18: ; preds = %14 %19 = load ptr, ptr %8, align 8 %20 = load double, ptr %19, align 8 %21 = fcmp ole double %20, 1.000000e-10 br i1 %21, label %23, label %22 22: ; preds = %18 br label %29 23: ; preds = %18 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %9, align 8 %27 = load ptr, ptr %10, align 8 %28 = call i32 @cumchi(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27) br label %208 29: ; preds = %22 %30 = load ptr, ptr %8, align 8 %31 = load double, ptr %30, align 8 %32 = fdiv double %31, 2.000000e+00 store double %32, ptr @cumchn.xnonc, align 8 %33 = load double, ptr @cumchn.xnonc, align 8 %34 = call i32 @fifidint(double noundef %33) store i32 %34, ptr @cumchn.icent, align 4 %35 = load i32, ptr @cumchn.icent, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %29 store i32 1, ptr @cumchn.icent, align 4 br label %38 38: ; preds = %37, %29 %39 = load ptr, ptr %6, align 8 %40 = load double, ptr %39, align 8 %41 = fdiv double %40, 2.000000e+00 store double %41, ptr @cumchn.chid2, align 8 %42 = load i32, ptr @cumchn.icent, align 4 %43 = add nsw i32 %42, 1 %44 = sitofp i32 %43 to double store double %44, ptr @cumchn.T1, align 8 %45 = call double @alngam(ptr noundef @cumchn.T1) store double %45, ptr @cumchn.lfact, align 8 %46 = load double, ptr @cumchn.xnonc, align 8 %47 = fneg double %46 %48 = load i32, ptr @cumchn.icent, align 4 %49 = sitofp i32 %48 to double %50 = load double, ptr @cumchn.xnonc, align 8 %51 = call double @log(double noundef %50) #4 %52 = call double @llvm.fmuladd.f64(double %49, double %51, double %47) %53 = load double, ptr @cumchn.lfact, align 8 %54 = fsub double %52, %53 store double %54, ptr @cumchn.lcntwt, align 8 %55 = load double, ptr @cumchn.lcntwt, align 8 %56 = call double @exp(double noundef %55) #4 store double %56, ptr @cumchn.centwt, align 8 %57 = load ptr, ptr %7, align 8 %58 = load double, ptr %57, align 8 %59 = load i32, ptr @cumchn.icent, align 4 %60 = sitofp i32 %59 to double %61 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %60, double %58) store double %61, ptr @cumchn.T2, align 8 %62 = load ptr, ptr %6, align 8 %63 = load ptr, ptr %10, align 8 %64 = call i32 @cumchi(ptr noundef %62, ptr noundef @cumchn.T2, ptr noundef @cumchn.pcent, ptr noundef %63) %65 = load ptr, ptr %7, align 8 %66 = load double, ptr %65, align 8 %67 = load i32, ptr @cumchn.icent, align 4 %68 = sitofp i32 %67 to double %69 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %68, double %66) %70 = fdiv double %69, 2.000000e+00 store double %70, ptr @cumchn.dfd2, align 8 %71 = load double, ptr @cumchn.dfd2, align 8 %72 = fadd double 1.000000e+00, %71 store double %72, ptr @cumchn.T3, align 8 %73 = call double @alngam(ptr noundef @cumchn.T3) store double %73, ptr @cumchn.lfact, align 8 %74 = load double, ptr @cumchn.dfd2, align 8 %75 = load double, ptr @cumchn.chid2, align 8 %76 = call double @log(double noundef %75) #4 %77 = load double, ptr @cumchn.chid2, align 8 %78 = fneg double %77 %79 = call double @llvm.fmuladd.f64(double %74, double %76, double %78) %80 = load double, ptr @cumchn.lfact, align 8 %81 = fsub double %79, %80 store double %81, ptr @cumchn.lcntaj, align 8 %82 = load double, ptr @cumchn.lcntaj, align 8 %83 = call double @exp(double noundef %82) #4 store double %83, ptr @cumchn.centaj, align 8 %84 = load double, ptr @cumchn.centwt, align 8 %85 = load double, ptr @cumchn.pcent, align 8 %86 = fmul double %84, %85 store double %86, ptr @cumchn.sum, align 8 store i32 0, ptr @cumchn.iterb, align 4 store double 0.000000e+00, ptr @cumchn.sumadj, align 8 %87 = load double, ptr @cumchn.centaj, align 8 store double %87, ptr @cumchn.adj, align 8 %88 = load double, ptr @cumchn.centwt, align 8 store double %88, ptr @cumchn.wt, align 8 %89 = load i32, ptr @cumchn.icent, align 4 store i32 %89, ptr @cumchn.i, align 4 br label %110 90: ; preds = %110 %91 = load i32, ptr @cumchn.iterb, align 4 %92 = load i32, ptr @cumchn.ntired, align 4 %93 = icmp sgt i32 %91, %92 br i1 %93, label %108, label %94 94: ; preds = %90 %95 = load double, ptr @cumchn.sum, align 8 %96 = fcmp olt double %95, 0x3BC79CA10C924223 br i1 %96, label %103, label %97 97: ; preds = %94 %98 = load double, ptr @cumchn.term, align 8 %99 = load double, ptr @cumchn.eps, align 8 %100 = load double, ptr @cumchn.sum, align 8 %101 = fmul double %99, %100 %102 = fcmp olt double %98, %101 br label %103 103: ; preds = %97, %94 %104 = phi i1 [ true, %94 ], [ %102, %97 ] br i1 %104, label %108, label %105 105: ; preds = %103 %106 = load i32, ptr @cumchn.i, align 4 %107 = icmp eq i32 %106, 0 br i1 %107, label %108, label %109 108: ; preds = %105, %103, %90 br label %144 109: ; preds = %105 br label %110 110: ; preds = %109, %38 %111 = load ptr, ptr %7, align 8 %112 = load double, ptr %111, align 8 %113 = load i32, ptr @cumchn.i, align 4 %114 = sitofp i32 %113 to double %115 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %114, double %112) %116 = fdiv double %115, 2.000000e+00 store double %116, ptr @cumchn.dfd2, align 8 %117 = load double, ptr @cumchn.adj, align 8 %118 = load double, ptr @cumchn.dfd2, align 8 %119 = fmul double %117, %118 %120 = load double, ptr @cumchn.chid2, align 8 %121 = fdiv double %119, %120 store double %121, ptr @cumchn.adj, align 8 %122 = load double, ptr @cumchn.adj, align 8 %123 = load double, ptr @cumchn.sumadj, align 8 %124 = fadd double %123, %122 store double %124, ptr @cumchn.sumadj, align 8 %125 = load double, ptr @cumchn.pcent, align 8 %126 = load double, ptr @cumchn.sumadj, align 8 %127 = fadd double %125, %126 store double %127, ptr @cumchn.pterm, align 8 %128 = load i32, ptr @cumchn.i, align 4 %129 = sitofp i32 %128 to double %130 = load double, ptr @cumchn.xnonc, align 8 %131 = fdiv double %129, %130 %132 = load double, ptr @cumchn.wt, align 8 %133 = fmul double %132, %131 store double %133, ptr @cumchn.wt, align 8 %134 = load double, ptr @cumchn.wt, align 8 %135 = load double, ptr @cumchn.pterm, align 8 %136 = fmul double %134, %135 store double %136, ptr @cumchn.term, align 8 %137 = load double, ptr @cumchn.term, align 8 %138 = load double, ptr @cumchn.sum, align 8 %139 = fadd double %138, %137 store double %139, ptr @cumchn.sum, align 8 %140 = load i32, ptr @cumchn.i, align 4 %141 = sub nsw i32 %140, 1 store i32 %141, ptr @cumchn.i, align 4 %142 = load i32, ptr @cumchn.iterb, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr @cumchn.iterb, align 4 br label %90 144: ; preds = %108 store i32 0, ptr @cumchn.iterf, align 4 %145 = load double, ptr @cumchn.centaj, align 8 store double %145, ptr @cumchn.adj, align 8 store double %145, ptr @cumchn.sumadj, align 8 %146 = load double, ptr @cumchn.centwt, align 8 store double %146, ptr @cumchn.wt, align 8 %147 = load i32, ptr @cumchn.icent, align 4 store i32 %147, ptr @cumchn.i, align 4 br label %165 148: ; preds = %165 %149 = load i32, ptr @cumchn.iterf, align 4 %150 = load i32, ptr @cumchn.ntired, align 4 %151 = icmp sgt i32 %149, %150 br i1 %151, label %163, label %152 152: ; preds = %148 %153 = load double, ptr @cumchn.sum, align 8 %154 = fcmp olt double %153, 0x3BC79CA10C924223 br i1 %154, label %161, label %155 155: ; preds = %152 %156 = load double, ptr @cumchn.term, align 8 %157 = load double, ptr @cumchn.eps, align 8 %158 = load double, ptr @cumchn.sum, align 8 %159 = fmul double %157, %158 %160 = fcmp olt double %156, %159 br label %161 161: ; preds = %155, %152 %162 = phi i1 [ true, %152 ], [ %160, %155 ] br i1 %162, label %163, label %164 163: ; preds = %161, %148 br label %200 164: ; preds = %161 br label %165 165: ; preds = %164, %144 %166 = load double, ptr @cumchn.xnonc, align 8 %167 = load i32, ptr @cumchn.i, align 4 %168 = add nsw i32 %167, 1 %169 = sitofp i32 %168 to double %170 = fdiv double %166, %169 %171 = load double, ptr @cumchn.wt, align 8 %172 = fmul double %171, %170 store double %172, ptr @cumchn.wt, align 8 %173 = load double, ptr @cumchn.pcent, align 8 %174 = load double, ptr @cumchn.sumadj, align 8 %175 = fsub double %173, %174 store double %175, ptr @cumchn.pterm, align 8 %176 = load double, ptr @cumchn.wt, align 8 %177 = load double, ptr @cumchn.pterm, align 8 %178 = fmul double %176, %177 store double %178, ptr @cumchn.term, align 8 %179 = load double, ptr @cumchn.term, align 8 %180 = load double, ptr @cumchn.sum, align 8 %181 = fadd double %180, %179 store double %181, ptr @cumchn.sum, align 8 %182 = load i32, ptr @cumchn.i, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr @cumchn.i, align 4 %184 = load ptr, ptr %7, align 8 %185 = load double, ptr %184, align 8 %186 = load i32, ptr @cumchn.i, align 4 %187 = sitofp i32 %186 to double %188 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %187, double %185) %189 = fdiv double %188, 2.000000e+00 store double %189, ptr @cumchn.dfd2, align 8 %190 = load double, ptr @cumchn.adj, align 8 %191 = load double, ptr @cumchn.chid2, align 8 %192 = fmul double %190, %191 %193 = load double, ptr @cumchn.dfd2, align 8 %194 = fdiv double %192, %193 store double %194, ptr @cumchn.adj, align 8 %195 = load double, ptr @cumchn.adj, align 8 %196 = load double, ptr @cumchn.sumadj, align 8 %197 = fadd double %196, %195 store double %197, ptr @cumchn.sumadj, align 8 %198 = load i32, ptr @cumchn.iterf, align 4 %199 = add nsw i32 %198, 1 store i32 %199, ptr @cumchn.iterf, align 4 br label %148 200: ; preds = %163 %201 = load double, ptr @cumchn.sum, align 8 %202 = load ptr, ptr %9, align 8 store double %201, ptr %202, align 8 %203 = load ptr, ptr %9, align 8 %204 = load double, ptr %203, align 8 %205 = fsub double 5.000000e-01, %204 %206 = fadd double 5.000000e-01, %205 %207 = load ptr, ptr %10, align 8 store double %206, ptr %207, align 8 br label %208 208: ; preds = %200, %23, %15 ret void } declare i32 @cumchi(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fifidint(double noundef) #1 declare double @alngam(ptr noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @exp(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk3r8y2w2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cumchn.eps = internal global double 1.000000e-05, align 8 @cumchn.ntired = internal global i32 1000, align 4 @cumchn.adj = internal global double 0.000000e+00, align 8 @cumchn.centaj = internal global double 0.000000e+00, align 8 @cumchn.centwt = internal global double 0.000000e+00, align 8 @cumchn.chid2 = internal global double 0.000000e+00, align 8 @cumchn.dfd2 = internal global double 0.000000e+00, align 8 @cumchn.lcntaj = internal global double 0.000000e+00, align 8 @cumchn.lcntwt = internal global double 0.000000e+00, align 8 @cumchn.lfact = internal global double 0.000000e+00, align 8 @cumchn.pcent = internal global double 0.000000e+00, align 8 @cumchn.pterm = internal global double 0.000000e+00, align 8 @cumchn.sum = internal global double 0.000000e+00, align 8 @cumchn.sumadj = internal global double 0.000000e+00, align 8 @cumchn.term = internal global double 0.000000e+00, align 8 @cumchn.wt = internal global double 0.000000e+00, align 8 @cumchn.xnonc = internal global double 0.000000e+00, align 8 @cumchn.i = internal global i32 0, align 4 @cumchn.icent = internal global i32 0, align 4 @cumchn.iterb = internal global i32 0, align 4 @cumchn.iterf = internal global i32 0, align 4 @cumchn.T1 = internal global double 0.000000e+00, align 8 @cumchn.T2 = internal global double 0.000000e+00, align 8 @cumchn.T3 = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cumchn(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load double, ptr %11, align 8 %13 = fcmp ole double %12, 0.000000e+00 br i1 %13, label %15, label %14 14: ; preds = %5 br label %18 15: ; preds = %5 %16 = load ptr, ptr %9, align 8 store double 0.000000e+00, ptr %16, align 8 %17 = load ptr, ptr %10, align 8 store double 1.000000e+00, ptr %17, align 8 br label %206 18: ; preds = %14 %19 = load ptr, ptr %8, align 8 %20 = load double, ptr %19, align 8 %21 = fcmp ole double %20, 1.000000e-10 br i1 %21, label %23, label %22 22: ; preds = %18 br label %29 23: ; preds = %18 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %9, align 8 %27 = load ptr, ptr %10, align 8 %28 = call i32 @cumchi(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27) br label %206 29: ; preds = %22 %30 = load ptr, ptr %8, align 8 %31 = load double, ptr %30, align 8 %32 = fdiv double %31, 2.000000e+00 store double %32, ptr @cumchn.xnonc, align 8 %33 = load double, ptr @cumchn.xnonc, align 8 %34 = call i32 @fifidint(double noundef %33) store i32 %34, ptr @cumchn.icent, align 4 %35 = load i32, ptr @cumchn.icent, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %29 store i32 1, ptr @cumchn.icent, align 4 br label %38 38: ; preds = %37, %29 %39 = load ptr, ptr %6, align 8 %40 = load double, ptr %39, align 8 %41 = fdiv double %40, 2.000000e+00 store double %41, ptr @cumchn.chid2, align 8 %42 = load i32, ptr @cumchn.icent, align 4 %43 = add nsw i32 %42, 1 %44 = sitofp i32 %43 to double store double %44, ptr @cumchn.T1, align 8 %45 = call double @alngam(ptr noundef @cumchn.T1) store double %45, ptr @cumchn.lfact, align 8 %46 = load double, ptr @cumchn.xnonc, align 8 %47 = fneg double %46 %48 = load i32, ptr @cumchn.icent, align 4 %49 = sitofp i32 %48 to double %50 = load double, ptr @cumchn.xnonc, align 8 %51 = call double @log(double noundef %50) #4 %52 = call double @llvm.fmuladd.f64(double %49, double %51, double %47) %53 = load double, ptr @cumchn.lfact, align 8 %54 = fsub double %52, %53 store double %54, ptr @cumchn.lcntwt, align 8 %55 = load double, ptr @cumchn.lcntwt, align 8 %56 = call double @exp(double noundef %55) #4 store double %56, ptr @cumchn.centwt, align 8 %57 = load ptr, ptr %7, align 8 %58 = load double, ptr %57, align 8 %59 = load i32, ptr @cumchn.icent, align 4 %60 = sitofp i32 %59 to double %61 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %60, double %58) store double %61, ptr @cumchn.T2, align 8 %62 = load ptr, ptr %6, align 8 %63 = load ptr, ptr %10, align 8 %64 = call i32 @cumchi(ptr noundef %62, ptr noundef @cumchn.T2, ptr noundef @cumchn.pcent, ptr noundef %63) %65 = load ptr, ptr %7, align 8 %66 = load double, ptr %65, align 8 %67 = load i32, ptr @cumchn.icent, align 4 %68 = sitofp i32 %67 to double %69 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %68, double %66) %70 = fdiv double %69, 2.000000e+00 store double %70, ptr @cumchn.dfd2, align 8 %71 = load double, ptr @cumchn.dfd2, align 8 %72 = fadd double 1.000000e+00, %71 store double %72, ptr @cumchn.T3, align 8 %73 = call double @alngam(ptr noundef @cumchn.T3) store double %73, ptr @cumchn.lfact, align 8 %74 = load double, ptr @cumchn.dfd2, align 8 %75 = load double, ptr @cumchn.chid2, align 8 %76 = call double @log(double noundef %75) #4 %77 = load double, ptr @cumchn.chid2, align 8 %78 = fneg double %77 %79 = call double @llvm.fmuladd.f64(double %74, double %76, double %78) %80 = load double, ptr @cumchn.lfact, align 8 %81 = fsub double %79, %80 store double %81, ptr @cumchn.lcntaj, align 8 %82 = load double, ptr @cumchn.lcntaj, align 8 %83 = call double @exp(double noundef %82) #4 store double %83, ptr @cumchn.centaj, align 8 %84 = load double, ptr @cumchn.centwt, align 8 %85 = load double, ptr @cumchn.pcent, align 8 %86 = fmul double %84, %85 store double %86, ptr @cumchn.sum, align 8 store i32 0, ptr @cumchn.iterb, align 4 store double 0.000000e+00, ptr @cumchn.sumadj, align 8 %87 = load double, ptr @cumchn.centaj, align 8 store double %87, ptr @cumchn.adj, align 8 %88 = load double, ptr @cumchn.centwt, align 8 store double %88, ptr @cumchn.wt, align 8 %89 = load i32, ptr @cumchn.icent, align 4 store i32 %89, ptr @cumchn.i, align 4 br label %109 90: ; preds = %109 %91 = load i32, ptr @cumchn.iterb, align 4 %92 = load i32, ptr @cumchn.ntired, align 4 %93 = icmp sgt i32 %91, %92 br i1 %93, label %108, label %94 94: ; preds = %90 %95 = load double, ptr @cumchn.sum, align 8 %96 = fcmp olt double %95, 0x3BC79CA10C924223 br i1 %96, label %103, label %97 97: ; preds = %94 %98 = load double, ptr @cumchn.term, align 8 %99 = load double, ptr @cumchn.eps, align 8 %100 = load double, ptr @cumchn.sum, align 8 %101 = fmul double %99, %100 %102 = fcmp olt double %98, %101 br label %103 103: ; preds = %97, %94 %104 = phi i1 [ true, %94 ], [ %102, %97 ] br i1 %104, label %108, label %105 105: ; preds = %103 %106 = load i32, ptr @cumchn.i, align 4 %107 = icmp eq i32 %106, 0 br i1 %107, label %108, label %109 108: ; preds = %105, %103, %90 br label %143 109: ; preds = %105, %38 %110 = load ptr, ptr %7, align 8 %111 = load double, ptr %110, align 8 %112 = load i32, ptr @cumchn.i, align 4 %113 = sitofp i32 %112 to double %114 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %113, double %111) %115 = fdiv double %114, 2.000000e+00 store double %115, ptr @cumchn.dfd2, align 8 %116 = load double, ptr @cumchn.adj, align 8 %117 = load double, ptr @cumchn.dfd2, align 8 %118 = fmul double %116, %117 %119 = load double, ptr @cumchn.chid2, align 8 %120 = fdiv double %118, %119 store double %120, ptr @cumchn.adj, align 8 %121 = load double, ptr @cumchn.adj, align 8 %122 = load double, ptr @cumchn.sumadj, align 8 %123 = fadd double %122, %121 store double %123, ptr @cumchn.sumadj, align 8 %124 = load double, ptr @cumchn.pcent, align 8 %125 = load double, ptr @cumchn.sumadj, align 8 %126 = fadd double %124, %125 store double %126, ptr @cumchn.pterm, align 8 %127 = load i32, ptr @cumchn.i, align 4 %128 = sitofp i32 %127 to double %129 = load double, ptr @cumchn.xnonc, align 8 %130 = fdiv double %128, %129 %131 = load double, ptr @cumchn.wt, align 8 %132 = fmul double %131, %130 store double %132, ptr @cumchn.wt, align 8 %133 = load double, ptr @cumchn.wt, align 8 %134 = load double, ptr @cumchn.pterm, align 8 %135 = fmul double %133, %134 store double %135, ptr @cumchn.term, align 8 %136 = load double, ptr @cumchn.term, align 8 %137 = load double, ptr @cumchn.sum, align 8 %138 = fadd double %137, %136 store double %138, ptr @cumchn.sum, align 8 %139 = load i32, ptr @cumchn.i, align 4 %140 = sub nsw i32 %139, 1 store i32 %140, ptr @cumchn.i, align 4 %141 = load i32, ptr @cumchn.iterb, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr @cumchn.iterb, align 4 br label %90 143: ; preds = %108 store i32 0, ptr @cumchn.iterf, align 4 %144 = load double, ptr @cumchn.centaj, align 8 store double %144, ptr @cumchn.adj, align 8 store double %144, ptr @cumchn.sumadj, align 8 %145 = load double, ptr @cumchn.centwt, align 8 store double %145, ptr @cumchn.wt, align 8 %146 = load i32, ptr @cumchn.icent, align 4 store i32 %146, ptr @cumchn.i, align 4 br label %163 147: ; preds = %163 %148 = load i32, ptr @cumchn.iterf, align 4 %149 = load i32, ptr @cumchn.ntired, align 4 %150 = icmp sgt i32 %148, %149 br i1 %150, label %162, label %151 151: ; preds = %147 %152 = load double, ptr @cumchn.sum, align 8 %153 = fcmp olt double %152, 0x3BC79CA10C924223 br i1 %153, label %160, label %154 154: ; preds = %151 %155 = load double, ptr @cumchn.term, align 8 %156 = load double, ptr @cumchn.eps, align 8 %157 = load double, ptr @cumchn.sum, align 8 %158 = fmul double %156, %157 %159 = fcmp olt double %155, %158 br label %160 160: ; preds = %154, %151 %161 = phi i1 [ true, %151 ], [ %159, %154 ] br i1 %161, label %162, label %163 162: ; preds = %160, %147 br label %198 163: ; preds = %160, %143 %164 = load double, ptr @cumchn.xnonc, align 8 %165 = load i32, ptr @cumchn.i, align 4 %166 = add nsw i32 %165, 1 %167 = sitofp i32 %166 to double %168 = fdiv double %164, %167 %169 = load double, ptr @cumchn.wt, align 8 %170 = fmul double %169, %168 store double %170, ptr @cumchn.wt, align 8 %171 = load double, ptr @cumchn.pcent, align 8 %172 = load double, ptr @cumchn.sumadj, align 8 %173 = fsub double %171, %172 store double %173, ptr @cumchn.pterm, align 8 %174 = load double, ptr @cumchn.wt, align 8 %175 = load double, ptr @cumchn.pterm, align 8 %176 = fmul double %174, %175 store double %176, ptr @cumchn.term, align 8 %177 = load double, ptr @cumchn.term, align 8 %178 = load double, ptr @cumchn.sum, align 8 %179 = fadd double %178, %177 store double %179, ptr @cumchn.sum, align 8 %180 = load i32, ptr @cumchn.i, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr @cumchn.i, align 4 %182 = load ptr, ptr %7, align 8 %183 = load double, ptr %182, align 8 %184 = load i32, ptr @cumchn.i, align 4 %185 = sitofp i32 %184 to double %186 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %185, double %183) %187 = fdiv double %186, 2.000000e+00 store double %187, ptr @cumchn.dfd2, align 8 %188 = load double, ptr @cumchn.adj, align 8 %189 = load double, ptr @cumchn.chid2, align 8 %190 = fmul double %188, %189 %191 = load double, ptr @cumchn.dfd2, align 8 %192 = fdiv double %190, %191 store double %192, ptr @cumchn.adj, align 8 %193 = load double, ptr @cumchn.adj, align 8 %194 = load double, ptr @cumchn.sumadj, align 8 %195 = fadd double %194, %193 store double %195, ptr @cumchn.sumadj, align 8 %196 = load i32, ptr @cumchn.iterf, align 4 %197 = add nsw i32 %196, 1 store i32 %197, ptr @cumchn.iterf, align 4 br label %147 198: ; preds = %162 %199 = load double, ptr @cumchn.sum, align 8 %200 = load ptr, ptr %9, align 8 store double %199, ptr %200, align 8 %201 = load ptr, ptr %9, align 8 %202 = load double, ptr %201, align 8 %203 = fsub double 5.000000e-01, %202 %204 = fadd double 5.000000e-01, %203 %205 = load ptr, ptr %10, align 8 store double %204, ptr %205, align 8 br label %206 206: ; preds = %198, %23, %15 ret void } declare i32 @cumchi(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fifidint(double noundef) #1 declare double @alngam(ptr noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @exp(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4okd8qp4.c' source_filename = "/tmp/tmp4okd8qp4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 br label %11 11: ; preds = %2, %48 %12 = load i32, ptr %6, align 4 %13 = call i32 @ipow(i32 noundef 10, i32 noundef %12) store i32 %13, ptr %7, align 4 br label %14 14: ; preds = %45, %11 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = call i32 @ipow(i32 noundef 10, i32 noundef %16) %18 = mul nsw i32 2, %17 %19 = icmp slt i32 %15, %18 br i1 %19, label %20, label %48 20: ; preds = %14 store i32 1, ptr %10, align 4 %21 = load i32, ptr %7, align 4 %22 = call i32 @digit_usage(i32 noundef %21, i32 noundef 0) store i32 %22, ptr %8, align 4 store i32 2, ptr %9, align 4 br label %23 23: ; preds = %35, %20 %24 = load i32, ptr %9, align 4 %25 = icmp sle i32 %24, 6 br i1 %25, label %26, label %38 26: ; preds = %23 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %9, align 4 %30 = mul nsw i32 %28, %29 %31 = call i32 @digit_usage(i32 noundef %30, i32 noundef 0) %32 = icmp ne i32 %27, %31 br i1 %32, label %33, label %34 33: ; preds = %26 store i32 0, ptr %10, align 4 br label %38 34: ; preds = %26 br label %35 35: ; preds = %34 %36 = load i32, ptr %9, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %9, align 4 br label %23, !llvm.loop !6 38: ; preds = %33, %23 %39 = load i32, ptr %10, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %38 %42 = load i32, ptr %7, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) ret i32 0 44: ; preds = %38 br label %45 45: ; preds = %44 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 br label %14, !llvm.loop !8 48: ; preds = %14 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 br label %11 } declare i32 @ipow(i32 noundef, i32 noundef) #1 declare i32 @digit_usage(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4okd8qp4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 br label %11 11: ; preds = %53, %2 %12 = load i32, ptr %6, align 4 %13 = call i32 @ipow(i32 noundef 10, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @ipow(i32 noundef 10, i32 noundef %15) %17 = mul nsw i32 2, %16 %18 = icmp slt i32 %14, %17 br i1 %18, label %.lr.ph1, label %53 .lr.ph1: ; preds = %11 br label %19 19: ; preds = %.lr.ph1, %45 store i32 1, ptr %10, align 4 %20 = load i32, ptr %7, align 4 %21 = call i32 @digit_usage(i32 noundef %20, i32 noundef 0) store i32 %21, ptr %8, align 4 store i32 2, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp sle i32 %22, 6 br i1 %23, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %19 br label %24 24: ; preds = %.lr.ph, %33 %25 = load i32, ptr %8, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %9, align 4 %28 = mul nsw i32 %26, %27 %29 = call i32 @digit_usage(i32 noundef %28, i32 noundef 0) %30 = icmp ne i32 %25, %29 br i1 %30, label %31, label %32 31: ; preds = %24 store i32 0, ptr %10, align 4 br label %38 32: ; preds = %24 br label %33 33: ; preds = %32 %34 = load i32, ptr %9, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %9, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp sle i32 %36, 6 br i1 %37, label %24, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %33 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %19 br label %38 38: ; preds = %.loopexit, %31 %39 = load i32, ptr %10, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %38 %42 = load i32, ptr %7, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) ret i32 0 44: ; preds = %38 br label %45 45: ; preds = %44 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 %48 = load i32, ptr %7, align 4 %49 = load i32, ptr %6, align 4 %50 = call i32 @ipow(i32 noundef 10, i32 noundef %49) %51 = mul nsw i32 2, %50 %52 = icmp slt i32 %48, %51 br i1 %52, label %19, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %45 br label %53 53: ; preds = %._crit_edge, %11 %54 = load i32, ptr %6, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %6, align 4 br label %11 } declare i32 @ipow(i32 noundef, i32 noundef) #1 declare i32 @digit_usage(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpu9jgyu8s.c' source_filename = "/tmp/tmpu9jgyu8s.c" target datalayout = "e-m:e-p270: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/tmpu9jgyu8s.c" target datalayout = "e-m:e-p270: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/tmpkbsmpbkf.c' source_filename = "/tmp/tmpkbsmpbkf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_22() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %0 %3 = call i32 @foo(i32 noundef 0) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %2 br label %20 7: ; preds = %2 br label %8 8: ; preds = %7 br label %9 9: ; preds = %8 %10 = call i32 @foo(i32 noundef 1) store i32 %10, ptr %1, align 4 %11 = load i32, ptr %1, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = call i32 @foo(i32 noundef 2) br label %17 15: ; preds = %9 %16 = call i32 @foo(i32 noundef 3) br label %17 17: ; preds = %15, %13 %18 = call i32 @foo(i32 noundef 4) br label %19 19: ; preds = %17 br label %20 20: ; preds = %19, %6 %21 = load i32, ptr %1, align 4 ret i32 %21 } declare i32 @foo(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/tmpkbsmpbkf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_22() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %0 %3 = call i32 @foo(i32 noundef 0) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %2 br label %20 7: ; preds = %2 br label %8 8: ; preds = %7 br label %9 9: ; preds = %8 %10 = call i32 @foo(i32 noundef 1) store i32 %10, ptr %1, align 4 %11 = load i32, ptr %1, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = call i32 @foo(i32 noundef 2) br label %17 15: ; preds = %9 %16 = call i32 @foo(i32 noundef 3) br label %17 17: ; preds = %15, %13 %18 = call i32 @foo(i32 noundef 4) br label %19 19: ; preds = %17 br label %20 20: ; preds = %19, %6 %21 = load i32, ptr %1, align 4 ret i32 %21 } declare i32 @foo(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/tmp9hxbxg4e.c' source_filename = "/tmp/tmp9hxbxg4e.c" target datalayout = "e-m:e-p270: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/tmp9hxbxg4e.c" target datalayout = "e-m:e-p270: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/tmpicuwc2c5.c' source_filename = "/tmp/tmpicuwc2c5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"X\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [100 x [100 x i8]], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %4, align 4 br label %7 7: ; preds = %16, %0 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %19 11: ; preds = %7 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %13 %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %14) br label %16 16: ; preds = %11 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 br label %7, !llvm.loop !6 19: ; preds = %7 store i32 0, ptr %4, align 4 br label %20 20: ; preds = %150, %19 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %153 24: ; preds = %20 store i32 0, ptr %5, align 4 br label %25 25: ; preds = %145, %24 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %148 29: ; preds = %25 %30 = load i32, ptr %4, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %45, label %32 32: ; preds = %29 %33 = load i32, ptr %5, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %45, label %35 35: ; preds = %32 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %2, align 4 %38 = sub nsw i32 %37, 1 %39 = icmp eq i32 %36, %38 br i1 %39, label %45, label %40 40: ; preds = %35 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %2, align 4 %43 = sub nsw i32 %42, 1 %44 = icmp eq i32 %41, %43 br i1 %44, label %45, label %55 45: ; preds = %40, %35, %32, %29 %46 = load i32, ptr %4, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %47 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [100 x i8], ptr %48, i64 0, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %53) br label %144 55: ; preds = %40 %56 = load i32, ptr %4, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %57 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [100 x i8], ptr %58, i64 0, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = load i32, ptr %4, align 4 %65 = sub nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %66 %68 = load i32, ptr %5, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [100 x i8], ptr %67, i64 0, i64 %69 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp sgt i32 %63, %72 br i1 %73, label %74, label %133 74: ; preds = %55 %75 = load i32, ptr %4, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %76 %78 = load i32, ptr %5, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [100 x i8], ptr %77, i64 0, i64 %79 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = load i32, ptr %4, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %84 %86 = load i32, ptr %5, align 4 %87 = sub nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [100 x i8], ptr %85, i64 0, i64 %88 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp sgt i32 %82, %91 br i1 %92, label %93, label %133 93: ; preds = %74 %94 = load i32, ptr %4, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %95 %97 = load i32, ptr %5, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [100 x i8], ptr %96, i64 0, i64 %98 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = load i32, ptr %4, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %103 %105 = load i32, ptr %5, align 4 %106 = add nsw i32 %105, 1 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [100 x i8], ptr %104, i64 0, i64 %107 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = icmp sgt i32 %101, %110 br i1 %111, label %112, label %133 112: ; preds = %93 %113 = load i32, ptr %4, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %114 %116 = load i32, ptr %5, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [100 x i8], ptr %115, i64 0, i64 %117 %119 = load i8, ptr %118, align 1 %120 = sext i8 %119 to i32 %121 = load i32, ptr %4, align 4 %122 = add nsw i32 %121, 1 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %123 %125 = load i32, ptr %5, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [100 x i8], ptr %124, i64 0, i64 %126 %128 = load i8, ptr %127, align 1 %129 = sext i8 %128 to i32 %130 = icmp sgt i32 %120, %129 br i1 %130, label %131, label %133 131: ; preds = %112 %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %143 133: ; preds = %112, %93, %74, %55 %134 = load i32, ptr %4, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %135 %137 = load i32, ptr %5, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [100 x i8], ptr %136, i64 0, i64 %138 %140 = load i8, ptr %139, align 1 %141 = sext i8 %140 to i32 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %141) br label %143 143: ; preds = %133, %131 br label %144 144: ; preds = %143, %45 br label %145 145: ; preds = %144 %146 = load i32, ptr %5, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %5, align 4 br label %25, !llvm.loop !8 148: ; preds = %25 %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %150 150: ; preds = %148 %151 = load i32, ptr %4, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %4, align 4 br label %20, !llvm.loop !9 153: ; preds = %20 ret i32 0 } declare i32 @scanf(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/tmpicuwc2c5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"X\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [100 x [100 x i8]], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %15 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %12 %14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %13) br label %15 15: ; preds = %10 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %21 21: ; preds = %._crit_edge, %0 store i32 0, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph5, label %159 .lr.ph5: ; preds = %21 br label %25 25: ; preds = %.lr.ph5, %153 store i32 0, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph2, label %151 .lr.ph2: ; preds = %25 br label %29 29: ; preds = %.lr.ph2, %145 %30 = load i32, ptr %4, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %45, label %32 32: ; preds = %29 %33 = load i32, ptr %5, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %45, label %35 35: ; preds = %32 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %2, align 4 %38 = sub nsw i32 %37, 1 %39 = icmp eq i32 %36, %38 br i1 %39, label %45, label %40 40: ; preds = %35 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %2, align 4 %43 = sub nsw i32 %42, 1 %44 = icmp eq i32 %41, %43 br i1 %44, label %45, label %55 45: ; preds = %40, %35, %32, %29 %46 = load i32, ptr %4, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %47 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [100 x i8], ptr %48, i64 0, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %53) br label %144 55: ; preds = %40 %56 = load i32, ptr %4, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %57 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [100 x i8], ptr %58, i64 0, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = load i32, ptr %4, align 4 %65 = sub nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %66 %68 = load i32, ptr %5, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [100 x i8], ptr %67, i64 0, i64 %69 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp sgt i32 %63, %72 br i1 %73, label %74, label %133 74: ; preds = %55 %75 = load i32, ptr %4, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %76 %78 = load i32, ptr %5, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [100 x i8], ptr %77, i64 0, i64 %79 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = load i32, ptr %4, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %84 %86 = load i32, ptr %5, align 4 %87 = sub nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [100 x i8], ptr %85, i64 0, i64 %88 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp sgt i32 %82, %91 br i1 %92, label %93, label %133 93: ; preds = %74 %94 = load i32, ptr %4, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %95 %97 = load i32, ptr %5, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [100 x i8], ptr %96, i64 0, i64 %98 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = load i32, ptr %4, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %103 %105 = load i32, ptr %5, align 4 %106 = add nsw i32 %105, 1 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [100 x i8], ptr %104, i64 0, i64 %107 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = icmp sgt i32 %101, %110 br i1 %111, label %112, label %133 112: ; preds = %93 %113 = load i32, ptr %4, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %114 %116 = load i32, ptr %5, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [100 x i8], ptr %115, i64 0, i64 %117 %119 = load i8, ptr %118, align 1 %120 = sext i8 %119 to i32 %121 = load i32, ptr %4, align 4 %122 = add nsw i32 %121, 1 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %123 %125 = load i32, ptr %5, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [100 x i8], ptr %124, i64 0, i64 %126 %128 = load i8, ptr %127, align 1 %129 = sext i8 %128 to i32 %130 = icmp sgt i32 %120, %129 br i1 %130, label %131, label %133 131: ; preds = %112 %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %143 133: ; preds = %112, %93, %74, %55 %134 = load i32, ptr %4, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [100 x [100 x i8]], ptr %3, i64 0, i64 %135 %137 = load i32, ptr %5, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [100 x i8], ptr %136, i64 0, i64 %138 %140 = load i8, ptr %139, align 1 %141 = sext i8 %140 to i32 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %141) br label %143 143: ; preds = %133, %131 br label %144 144: ; preds = %143, %45 br label %145 145: ; preds = %144 %146 = load i32, ptr %5, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %5, align 4 %148 = load i32, ptr %5, align 4 %149 = load i32, ptr %2, align 4 %150 = icmp slt i32 %148, %149 br i1 %150, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %145 br label %151 151: ; preds = %._crit_edge3, %25 %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %153 153: ; preds = %151 %154 = load i32, ptr %4, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %4, align 4 %156 = load i32, ptr %4, align 4 %157 = load i32, ptr %2, align 4 %158 = icmp slt i32 %156, %157 br i1 %158, label %25, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %153 br label %159 159: ; preds = %._crit_edge6, %21 ret i32 0 } declare i32 @scanf(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/tmply5gh30e.c' source_filename = "/tmp/tmply5gh30e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @is_dec(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = getelementptr inbounds i8, ptr %11, i64 -1 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 100 br i1 %15, label %25, label %16 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = getelementptr inbounds i8, ptr %20, i64 -1 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 68 br i1 %24, label %25, label %28 25: ; preds = %16, %1 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %5, align 4 br label %28 28: ; preds = %25, %16 br label %29 29: ; preds = %51, %28 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %54 33: ; preds = %29 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %4, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp slt i32 %39, 48 br i1 %40, label %49, label %41 41: ; preds = %33 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp sgt i32 %47, 57 br i1 %48, label %49, label %50 49: ; preds = %41, %33 store i8 0, ptr %2, align 1 br label %55 50: ; preds = %41 br label %51 51: ; preds = %50 %52 = load i32, ptr %4, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %4, align 4 br label %29, !llvm.loop !6 54: ; preds = %29 store i8 1, ptr %2, align 1 br label %55 55: ; preds = %54, %49 %56 = load i8, ptr %2, align 1 ret i8 %56 } 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/tmply5gh30e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @is_dec(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = getelementptr inbounds i8, ptr %11, i64 -1 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 100 br i1 %15, label %25, label %16 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = getelementptr inbounds i8, ptr %20, i64 -1 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 68 br i1 %24, label %25, label %28 25: ; preds = %16, %1 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %5, align 4 br label %28 28: ; preds = %25, %16 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %56 .lr.ph: ; preds = %28 br label %32 32: ; preds = %.lr.ph, %50 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp slt i32 %38, 48 br i1 %39, label %48, label %40 40: ; preds = %32 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp sgt i32 %46, 57 br i1 %47, label %48, label %49 48: ; preds = %40, %32 store i8 0, ptr %2, align 1 br label %57 49: ; preds = %40 br label %50 50: ; preds = %49 %51 = load i32, ptr %4, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %4, align 4 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %5, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %56 56: ; preds = %._crit_edge, %28 store i8 1, ptr %2, align 1 br label %57 57: ; preds = %56, %48 %58 = load i8, ptr %2, align 1 ret i8 %58 } 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/tmpjadgs5pv.c' source_filename = "/tmp/tmpjadgs5pv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Enter the text\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i8], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) store i32 0, ptr %3, align 4 br label %7 7: ; preds = %46, %0 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %49 14: ; preds = %7 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 32 br i1 %20, label %21, label %28 21: ; preds = %14 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %26) br label %28 28: ; preds = %21, %14 br label %29 29: ; preds = %36, %28 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 32 br i1 %35, label %36, label %39 36: ; preds = %29 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %3, align 4 br label %29, !llvm.loop !6 39: ; preds = %29 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %44) br label %46 46: ; preds = %39 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 br label %7, !llvm.loop !8 49: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjadgs5pv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Enter the text\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x i8], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %.lr.ph2, label %59 .lr.ph2: ; preds = %0 br label %13 13: ; preds = %.lr.ph2, %50 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 32 br i1 %19, label %20, label %27 20: ; preds = %13 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25) br label %27 27: ; preds = %20, %13 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 32 br i1 %33, label %.lr.ph, label %43 .lr.ph: ; preds = %27 br label %34 34: ; preds = %.lr.ph, %34 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 32 br i1 %42, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %43 43: ; preds = %._crit_edge, %27 %44 = load i32, ptr %3, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %48) br label %50 50: ; preds = %43 %51 = load i32, ptr %3, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %3, align 4 %53 = load i32, ptr %3, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp ne i32 %57, 0 br i1 %58, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %59 59: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpz6ytohzu.c' source_filename = "/tmp/tmpz6ytohzu.c" target datalayout = "e-m:e-p270: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.oradisk_detect.label = private unnamed_addr constant [8 x i8] c"ORCLDISK", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @oradisk_detect(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca [8 x i8], align 1 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.oradisk_detect.label, i64 8, i1 false) %9 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = call i64 @find_array(ptr noundef %9, i32 noundef 8, ptr noundef %10, i64 noundef %11, i64 noundef %12) store i64 %13, ptr %7, align 8 %14 = load i64, ptr %7, align 8 ret i64 %14 } ; 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 @find_array(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i64 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/tmpz6ytohzu.c" target datalayout = "e-m:e-p270: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.oradisk_detect.label = private unnamed_addr constant [8 x i8] c"ORCLDISK", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @oradisk_detect(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca [8 x i8], align 1 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.oradisk_detect.label, i64 8, i1 false) %9 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = call i64 @find_array(ptr noundef %9, i32 noundef 8, ptr noundef %10, i64 noundef %11, i64 noundef %12) store i64 %13, ptr %7, align 8 %14 = load i64, ptr %7, align 8 ret i64 %14 } ; 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 @find_array(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i64 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/tmpvlygl49r.c' source_filename = "/tmp/tmpvlygl49r.c" target datalayout = "e-m:e-p270: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/tmpvlygl49r.c" target datalayout = "e-m:e-p270: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/tmp5c1r7_mn.c' source_filename = "/tmp/tmp5c1r7_mn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @desloca(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = sub nsw i32 %10, 1 store i32 %11, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %12 12: ; preds = %47, %3 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %50 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = call i64 @isalpha(i8 noundef signext %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %36 24: ; preds = %16 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = load i32, ptr %6, align 4 %31 = call signext i8 @converte(i8 noundef signext %29, i32 noundef %30) %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 store i8 %31, ptr %35, align 1 br label %46 36: ; preds = %16 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %8, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 store i8 %41, ptr %45, align 1 br label %46 46: ; preds = %36, %24 br label %47 47: ; preds = %46 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %8, align 4 br label %12, !llvm.loop !6 50: ; preds = %12 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %7, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 store i8 0, ptr %54, align 1 ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @isalpha(i8 noundef signext) #1 declare signext i8 @converte(i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5c1r7_mn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @desloca(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = sub nsw i32 %10, 1 store i32 %11, ptr %7, align 4 store i32 0, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %52 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %46 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %8, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = call i64 @isalpha(i8 noundef signext %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %35 23: ; preds = %15 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = load i32, ptr %6, align 4 %30 = call signext i8 @converte(i8 noundef signext %28, i32 noundef %29) %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 %30, ptr %34, align 1 br label %45 35: ; preds = %15 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 store i8 %40, ptr %44, align 1 br label %45 45: ; preds = %35, %23 br label %46 46: ; preds = %45 %47 = load i32, ptr %8, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %7, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %52 52: ; preds = %._crit_edge, %3 %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 store i8 0, ptr %56, align 1 ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @isalpha(i8 noundef signext) #1 declare signext i8 @converte(i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpa0hgw79k.c' source_filename = "/tmp/tmpa0hgw79k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(i64 noundef %0, double noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca double, align 8 store i64 %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %4, align 8 %6 = fcmp olt double %5, 0.000000e+00 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = call i32 @die(i32 noundef 1) br label %9 9: ; preds = %7, %2 %10 = load double, ptr %4, align 8 %11 = call i64 @foo(double noundef %10) ret i64 %11 } declare i32 @die(i32 noundef) #1 declare i64 @foo(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa0hgw79k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(i64 noundef %0, double noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca double, align 8 store i64 %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %4, align 8 %6 = fcmp olt double %5, 0.000000e+00 br i1 %6, label %7, label %9 7: ; preds = %2 %8 = call i32 @die(i32 noundef 1) br label %9 9: ; preds = %7, %2 %10 = load double, ptr %4, align 8 %11 = call i64 @foo(double noundef %10) ret i64 %11 } declare i32 @die(i32 noundef) #1 declare i64 @foo(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9fidkskj.c' source_filename = "/tmp/tmp9fidkskj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Memory allocation failed!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @count_bases(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call i64 @malloc(i32 noundef 16) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %1 %11 = call i32 @perror(ptr noundef @.str) br label %12 12: ; preds = %10, %1 store i32 0, ptr %4, align 4 br label %13 13: ; preds = %21, %12 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 4 br i1 %15, label %16, label %24 16: ; preds = %13 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 store i32 0, ptr %20, align 4 br label %21 21: ; preds = %16 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %13, !llvm.loop !6 24: ; preds = %13 store i32 0, ptr %5, align 4 br label %25 25: ; preds = %57, %24 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %26, 1000 br i1 %27, label %28, label %60 28: ; preds = %25 %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 switch i32 %34, label %55 [ i32 65, label %35 i32 67, label %40 i32 71, label %45 i32 84, label %50 ] 35: ; preds = %28 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i32, ptr %36, i64 0 %38 = load i32, ptr %37, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %37, align 4 br label %56 40: ; preds = %28 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds i32, ptr %41, i64 1 %43 = load i32, ptr %42, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %42, align 4 br label %56 45: ; preds = %28 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 2 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %47, align 4 br label %56 50: ; preds = %28 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds i32, ptr %51, i64 3 %53 = load i32, ptr %52, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %52, align 4 br label %56 55: ; preds = %28 br label %56 56: ; preds = %55, %50, %45, %40, %35 br label %57 57: ; preds = %56 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %5, align 4 br label %25, !llvm.loop !8 60: ; preds = %25 %61 = load ptr, ptr %3, align 8 ret ptr %61 } declare i64 @malloc(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9fidkskj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Memory allocation failed!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @count_bases(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call i64 @malloc(i32 noundef 16) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %1 %11 = call i32 @perror(ptr noundef @.str) br label %12 12: ; preds = %10, %1 store i32 0, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 4 br i1 %14, label %.lr.ph, label %25 .lr.ph: ; preds = %12 br label %15 15: ; preds = %.lr.ph, %20 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 store i32 0, ptr %19, align 4 br label %20 20: ; preds = %15 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %23, 4 br i1 %24, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %12 store i32 0, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %26, 1000 br i1 %27, label %.lr.ph2, label %62 .lr.ph2: ; preds = %25 br label %28 28: ; preds = %.lr.ph2, %57 %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 switch i32 %34, label %55 [ i32 65, label %35 i32 67, label %40 i32 71, label %45 i32 84, label %50 ] 35: ; preds = %28 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i32, ptr %36, i64 0 %38 = load i32, ptr %37, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %37, align 4 br label %56 40: ; preds = %28 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds i32, ptr %41, i64 1 %43 = load i32, ptr %42, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %42, align 4 br label %56 45: ; preds = %28 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 2 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %47, align 4 br label %56 50: ; preds = %28 %51 = load ptr, ptr %3, align 8 %52 = getelementptr inbounds i32, ptr %51, i64 3 %53 = load i32, ptr %52, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %52, align 4 br label %56 55: ; preds = %28 br label %56 56: ; preds = %55, %50, %45, %40, %35 br label %57 57: ; preds = %56 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %5, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp slt i32 %60, 1000 br i1 %61, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %62 62: ; preds = %._crit_edge3, %25 %63 = load ptr, ptr %3, align 8 ret ptr %63 } declare i64 @malloc(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpl6cp3vkf.c' source_filename = "/tmp/tmpl6cp3vkf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d\E5\9B\9E\E7\9B\AE\E3\81\AE\E6\8E\A2\E7\B4\A2\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"\E6\8E\A2\E7\B4\A2\E3\83\87\E3\83\BC\E3\82\BF: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"\E3\83\87\E3\83\BC\E3\82\BF\E7\95\AA\E5\8F\B7: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"\E3\83\87\E3\83\BC\E3\82\BF\E3\81\AF\E8\A6\8B\E3\81\A4\E3\81\8B\E3\82\8A\E3\81\BE\E3\81\9B\E3\82\93\E3\81\A7\E3\81\97\E3\81\9F\E3\80\82\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"\E6\8E\A2\E7\B4\A2\E5\9B\9E\E6\95\B0\E3\81\AE\E5\B9\B3\E5\9D\87: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10000 x i32], align 16 %3 = alloca [5 x i32], align 16 %4 = alloca [15000 x ptr], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 120000, i1 false) store i32 0, ptr %5, align 4 %13 = call i64 @time(ptr noundef null) %14 = trunc i64 %13 to i32 %15 = call i32 @srand(i32 noundef %14) store i32 0, ptr %6, align 4 br label %16 16: ; preds = %25, %0 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 10000 br i1 %18, label %19, label %28 19: ; preds = %16 %20 = call i32 (...) @rand() %21 = srem i32 %20, 20000 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %23 store i32 %21, ptr %24, align 4 br label %25 25: ; preds = %19 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 br label %16, !llvm.loop !6 28: ; preds = %16 store i32 0, ptr %7, align 4 br label %29 29: ; preds = %38, %28 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %30, 5 br i1 %31, label %32, label %41 32: ; preds = %29 %33 = call i32 (...) @rand() %34 = srem i32 %33, 20000 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %36 store i32 %34, ptr %37, align 4 br label %38 38: ; preds = %32 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 br label %29, !llvm.loop !8 41: ; preds = %29 store i32 0, ptr %8, align 4 br label %42 42: ; preds = %70, %41 %43 = load i32, ptr %8, align 4 %44 = icmp slt i32 %43, 10000 br i1 %44, label %45, label %73 45: ; preds = %42 %46 = load i32, ptr %8, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = call i32 @hash_func(i32 noundef %49) store i32 %50, ptr %9, align 4 br label %51 51: ; preds = %60, %45 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [15000 x ptr], ptr %4, i64 0, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = icmp ne ptr %55, null br i1 %56, label %57, label %63 57: ; preds = %51 %58 = load i32, ptr %9, align 4 %59 = call i32 @hash_func(i32 noundef %58) store i32 %59, ptr %9, align 4 br label %60 60: ; preds = %57 %61 = load i32, ptr %9, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %9, align 4 br label %51, !llvm.loop !9 63: ; preds = %51 %64 = load i32, ptr %8, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %65 %67 = load i32, ptr %9, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [15000 x ptr], ptr %4, i64 0, i64 %68 store ptr %66, ptr %69, align 8 br label %70 70: ; preds = %63 %71 = load i32, ptr %8, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %8, align 4 br label %42, !llvm.loop !10 73: ; preds = %42 store i32 0, ptr %10, align 4 br label %74 74: ; preds = %131, %73 %75 = load i32, ptr %10, align 4 %76 = icmp slt i32 %75, 5 br i1 %76, label %77, label %134 77: ; preds = %74 store i32 0, ptr %12, align 4 %78 = load i32, ptr %10, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %79 %81 = load i32, ptr %80, align 4 %82 = call i32 @hash_func(i32 noundef %81) store i32 %82, ptr %11, align 4 br label %83 83: ; preds = %104, %77 %84 = load i32, ptr %11, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [15000 x ptr], ptr %4, i64 0, i64 %85 %87 = load ptr, ptr %86, align 8 %88 = icmp ne ptr %87, null br i1 %88, label %89, label %107 89: ; preds = %83 %90 = load i32, ptr %12, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %12, align 4 %92 = load i32, ptr %10, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %93 %95 = load i32, ptr %94, align 4 %96 = load i32, ptr %11, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [15000 x ptr], ptr %4, i64 0, i64 %97 %99 = load ptr, ptr %98, align 8 %100 = load i32, ptr %99, align 4 %101 = icmp eq i32 %95, %100 br i1 %101, label %102, label %103 102: ; preds = %89 br label %107 103: ; preds = %89 br label %104 104: ; preds = %103 %105 = load i32, ptr %11, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %11, align 4 br label %83, !llvm.loop !11 107: ; preds = %102, %83 %108 = load i32, ptr %10, align 4 %109 = add nsw i32 %108, 1 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %109) %111 = load i32, ptr %10, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %112 %114 = load i32, ptr %113, align 4 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %114) %116 = load i32, ptr %11, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [15000 x ptr], ptr %4, i64 0, i64 %117 %119 = load ptr, ptr %118, align 8 %120 = icmp ne ptr %119, null br i1 %120, label %121, label %124 121: ; preds = %107 %122 = load i32, ptr %11, align 4 %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %122) br label %126 124: ; preds = %107 %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %126 126: ; preds = %124, %121 %127 = call i32 @putchar(i8 noundef signext 10) %128 = load i32, ptr %12, align 4 %129 = load i32, ptr %5, align 4 %130 = add nsw i32 %129, %128 store i32 %130, ptr %5, align 4 br label %131 131: ; preds = %126 %132 = load i32, ptr %10, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %10, align 4 br label %74, !llvm.loop !12 134: ; preds = %74 %135 = load i32, ptr %5, align 4 %136 = sitofp i32 %135 to double %137 = fdiv double %136, 5.000000e+00 %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %137) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @srand(i32 noundef) #2 declare i64 @time(ptr noundef) #2 declare i32 @rand(...) #2 declare i32 @hash_func(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @putchar(i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl6cp3vkf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d\E5\9B\9E\E7\9B\AE\E3\81\AE\E6\8E\A2\E7\B4\A2\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"\E6\8E\A2\E7\B4\A2\E3\83\87\E3\83\BC\E3\82\BF: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"\E3\83\87\E3\83\BC\E3\82\BF\E7\95\AA\E5\8F\B7: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"\E3\83\87\E3\83\BC\E3\82\BF\E3\81\AF\E8\A6\8B\E3\81\A4\E3\81\8B\E3\82\8A\E3\81\BE\E3\81\9B\E3\82\93\E3\81\A7\E3\81\97\E3\81\9F\E3\80\82\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"\E6\8E\A2\E7\B4\A2\E5\9B\9E\E6\95\B0\E3\81\AE\E5\B9\B3\E5\9D\87: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10000 x i32], align 16 %3 = alloca [5 x i32], align 16 %4 = alloca [15000 x ptr], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 120000, i1 false) store i32 0, ptr %5, align 4 %13 = call i64 @time(ptr noundef null) %14 = trunc i64 %13 to i32 %15 = call i32 @srand(i32 noundef %14) store i32 0, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %16, 10000 br i1 %17, label %.lr.ph, label %29 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %24 %19 = call i32 (...) @rand() %20 = srem i32 %19, 20000 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %22 store i32 %20, ptr %23, align 4 br label %24 24: ; preds = %18 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp slt i32 %27, 10000 br i1 %28, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %0 store i32 0, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %30, 5 br i1 %31, label %.lr.ph2, label %43 .lr.ph2: ; preds = %29 br label %32 32: ; preds = %.lr.ph2, %38 %33 = call i32 (...) @rand() %34 = srem i32 %33, 20000 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %36 store i32 %34, ptr %37, align 4 br label %38 38: ; preds = %32 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = icmp slt i32 %41, 5 br i1 %42, label %32, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %43 43: ; preds = %._crit_edge3, %29 store i32 0, ptr %8, align 4 %44 = load i32, ptr %8, align 4 %45 = icmp slt i32 %44, 10000 br i1 %45, label %.lr.ph8, label %80 .lr.ph8: ; preds = %43 br label %46 46: ; preds = %.lr.ph8, %75 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = call i32 @hash_func(i32 noundef %50) store i32 %51, ptr %9, align 4 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [15000 x ptr], ptr %4, i64 0, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = icmp ne ptr %55, null br i1 %56, label %.lr.ph5, label %68 .lr.ph5: ; preds = %46 br label %57 57: ; preds = %.lr.ph5, %60 %58 = load i32, ptr %9, align 4 %59 = call i32 @hash_func(i32 noundef %58) store i32 %59, ptr %9, align 4 br label %60 60: ; preds = %57 %61 = load i32, ptr %9, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %9, align 4 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [15000 x ptr], ptr %4, i64 0, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = icmp ne ptr %66, null br i1 %67, label %57, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %60 br label %68 68: ; preds = %._crit_edge6, %46 %69 = load i32, ptr %8, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %70 %72 = load i32, ptr %9, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [15000 x ptr], ptr %4, i64 0, i64 %73 store ptr %71, ptr %74, align 8 br label %75 75: ; preds = %68 %76 = load i32, ptr %8, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %8, align 4 %78 = load i32, ptr %8, align 4 %79 = icmp slt i32 %78, 10000 br i1 %79, label %46, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %75 br label %80 80: ; preds = %._crit_edge9, %43 store i32 0, ptr %10, align 4 %81 = load i32, ptr %10, align 4 %82 = icmp slt i32 %81, 5 br i1 %82, label %.lr.ph13, label %146 .lr.ph13: ; preds = %80 br label %83 83: ; preds = %.lr.ph13, %141 store i32 0, ptr %12, align 4 %84 = load i32, ptr %10, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %85 %87 = load i32, ptr %86, align 4 %88 = call i32 @hash_func(i32 noundef %87) store i32 %88, ptr %11, align 4 %89 = load i32, ptr %11, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [15000 x ptr], ptr %4, i64 0, i64 %90 %92 = load ptr, ptr %91, align 8 %93 = icmp ne ptr %92, null br i1 %93, label %.lr.ph11, label %.loopexit .lr.ph11: ; preds = %83 br label %94 94: ; preds = %.lr.ph11, %109 %95 = load i32, ptr %12, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %12, align 4 %97 = load i32, ptr %10, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %98 %100 = load i32, ptr %99, align 4 %101 = load i32, ptr %11, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [15000 x ptr], ptr %4, i64 0, i64 %102 %104 = load ptr, ptr %103, align 8 %105 = load i32, ptr %104, align 4 %106 = icmp eq i32 %100, %105 br i1 %106, label %107, label %108 107: ; preds = %94 br label %117 108: ; preds = %94 br label %109 109: ; preds = %108 %110 = load i32, ptr %11, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %11, align 4 %112 = load i32, ptr %11, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [15000 x ptr], ptr %4, i64 0, i64 %113 %115 = load ptr, ptr %114, align 8 %116 = icmp ne ptr %115, null br i1 %116, label %94, label %..loopexit_crit_edge, !llvm.loop !11 ..loopexit_crit_edge: ; preds = %109 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %83 br label %117 117: ; preds = %.loopexit, %107 %118 = load i32, ptr %10, align 4 %119 = add nsw i32 %118, 1 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %119) %121 = load i32, ptr %10, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %122 %124 = load i32, ptr %123, align 4 %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %124) %126 = load i32, ptr %11, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds [15000 x ptr], ptr %4, i64 0, i64 %127 %129 = load ptr, ptr %128, align 8 %130 = icmp ne ptr %129, null br i1 %130, label %131, label %134 131: ; preds = %117 %132 = load i32, ptr %11, align 4 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %132) br label %136 134: ; preds = %117 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %136 136: ; preds = %134, %131 %137 = call i32 @putchar(i8 noundef signext 10) %138 = load i32, ptr %12, align 4 %139 = load i32, ptr %5, align 4 %140 = add nsw i32 %139, %138 store i32 %140, ptr %5, align 4 br label %141 141: ; preds = %136 %142 = load i32, ptr %10, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %10, align 4 %144 = load i32, ptr %10, align 4 %145 = icmp slt i32 %144, 5 br i1 %145, label %83, label %._crit_edge14, !llvm.loop !12 ._crit_edge14: ; preds = %141 br label %146 146: ; preds = %._crit_edge14, %80 %147 = load i32, ptr %5, align 4 %148 = sitofp i32 %147 to double %149 = fdiv double %148, 5.000000e+00 %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %149) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @srand(i32 noundef) #2 declare i64 @time(ptr noundef) #2 declare i32 @rand(...) #2 declare i32 @hash_func(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @putchar(i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpeh55t3j_.c' source_filename = "/tmp/tmpeh55t3j_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global float 0.000000e+00, align 4 @.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"%.1f %.1f %.1f\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%.1f \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x float], align 16 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %3, align 4 %8 = load float, ptr @INT_MAX, align 4 store float %8, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %53, %0 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 5 br i1 %11, label %12, label %56 12: ; preds = %9 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %14 %16 = call i32 @scanf(ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %18 %20 = load float, ptr %19, align 4 %21 = load float, ptr %3, align 4 %22 = fcmp ogt float %20, %21 br i1 %22, label %23, label %28 23: ; preds = %12 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %25 %27 = load float, ptr %26, align 4 br label %30 28: ; preds = %12 %29 = load float, ptr %3, align 4 br label %30 30: ; preds = %28, %23 %31 = phi float [ %27, %23 ], [ %29, %28 ] store float %31, ptr %3, align 4 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %33 %35 = load float, ptr %34, align 4 %36 = load float, ptr %4, align 4 %37 = fcmp olt float %35, %36 br i1 %37, label %38, label %43 38: ; preds = %30 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %40 %42 = load float, ptr %41, align 4 br label %45 43: ; preds = %30 %44 = load float, ptr %4, align 4 br label %45 45: ; preds = %43, %38 %46 = phi float [ %42, %38 ], [ %44, %43 ] store float %46, ptr %4, align 4 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %48 %50 = load float, ptr %49, align 4 %51 = load float, ptr %5, align 4 %52 = fadd float %51, %50 store float %52, ptr %5, align 4 br label %53 53: ; preds = %45 %54 = load i32, ptr %6, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %6, align 4 br label %9, !llvm.loop !6 56: ; preds = %9 %57 = load float, ptr %5, align 4 %58 = fdiv float %57, 5.000000e+00 store float %58, ptr %5, align 4 %59 = load float, ptr %3, align 4 %60 = load float, ptr %4, align 4 %61 = fpext float %60 to double %62 = load float, ptr %5, align 4 %63 = fpext float %62 to double %64 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %59, double noundef %61, double noundef %63) store i32 0, ptr %7, align 4 br label %65 65: ; preds = %74, %56 %66 = load i32, ptr %7, align 4 %67 = icmp slt i32 %66, 5 br i1 %67, label %68, label %77 68: ; preds = %65 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %70 %72 = load float, ptr %71, align 4 %73 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.2, float noundef %72) br label %74 74: ; preds = %68 %75 = load i32, ptr %7, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %7, align 4 br label %65, !llvm.loop !8 77: ; preds = %65 %78 = load i32, ptr %1, align 4 ret i32 %78 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeh55t3j_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global float 0.000000e+00, align 4 @.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"%.1f %.1f %.1f\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%.1f \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x float], align 16 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %3, align 4 %8 = load float, ptr @INT_MAX, align 4 store float %8, ptr %4, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 5 br i1 %10, label %.lr.ph, label %57 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %52 %12 = load i32, ptr %6, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %13 %15 = call i32 @scanf(ptr noundef @.str, ptr noundef %14) %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %17 %19 = load float, ptr %18, align 4 %20 = load float, ptr %3, align 4 %21 = fcmp ogt float %19, %20 br i1 %21, label %22, label %27 22: ; preds = %11 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %24 %26 = load float, ptr %25, align 4 br label %29 27: ; preds = %11 %28 = load float, ptr %3, align 4 br label %29 29: ; preds = %27, %22 %30 = phi float [ %26, %22 ], [ %28, %27 ] store float %30, ptr %3, align 4 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %32 %34 = load float, ptr %33, align 4 %35 = load float, ptr %4, align 4 %36 = fcmp olt float %34, %35 br i1 %36, label %37, label %42 37: ; preds = %29 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %39 %41 = load float, ptr %40, align 4 br label %44 42: ; preds = %29 %43 = load float, ptr %4, align 4 br label %44 44: ; preds = %42, %37 %45 = phi float [ %41, %37 ], [ %43, %42 ] store float %45, ptr %4, align 4 %46 = load i32, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %47 %49 = load float, ptr %48, align 4 %50 = load float, ptr %5, align 4 %51 = fadd float %50, %49 store float %51, ptr %5, align 4 br label %52 52: ; preds = %44 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %6, align 4 %55 = load i32, ptr %6, align 4 %56 = icmp slt i32 %55, 5 br i1 %56, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %57 57: ; preds = %._crit_edge, %0 %58 = load float, ptr %5, align 4 %59 = fdiv float %58, 5.000000e+00 store float %59, ptr %5, align 4 %60 = load float, ptr %3, align 4 %61 = load float, ptr %4, align 4 %62 = fpext float %61 to double %63 = load float, ptr %5, align 4 %64 = fpext float %63 to double %65 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %60, double noundef %62, double noundef %64) store i32 0, ptr %7, align 4 %66 = load i32, ptr %7, align 4 %67 = icmp slt i32 %66, 5 br i1 %67, label %.lr.ph2, label %79 .lr.ph2: ; preds = %57 br label %68 68: ; preds = %.lr.ph2, %74 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %70 %72 = load float, ptr %71, align 4 %73 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.2, float noundef %72) br label %74 74: ; preds = %68 %75 = load i32, ptr %7, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %7, align 4 %77 = load i32, ptr %7, align 4 %78 = icmp slt i32 %77, 5 br i1 %78, label %68, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %74 br label %79 79: ; preds = %._crit_edge3, %57 %80 = load i32, ptr %1, align 4 ret i32 %80 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpi3j08uhk.c' source_filename = "/tmp/tmpi3j08uhk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"lib%s.so\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"%s/lib%s.so\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dbgsysBuildLibName(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %7, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %4 %13 = load ptr, ptr %7, align 8 %14 = call i32 @strlen(ptr noundef %13) br label %16 15: ; preds = %4 br label %16 16: ; preds = %15, %12 %17 = phi i32 [ %14, %12 ], [ 0, %15 ] store i32 %17, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = load ptr, ptr %8, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = add nsw i32 %18, %20 %22 = add nsw i32 %21, 10 %23 = load i32, ptr %6, align 4 %24 = icmp sgt i32 %22, %23 br i1 %24, label %25, label %27 25: ; preds = %16 %26 = load ptr, ptr %5, align 8 store i8 0, ptr %26, align 1 br label %41 27: ; preds = %16 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %27 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %6, align 4 %33 = load ptr, ptr %8, align 8 %34 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %31, i32 noundef %32, ptr noundef @.str, ptr noundef %33) br label %41 35: ; preds = %27 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %6, align 4 %38 = load ptr, ptr %7, align 8 %39 = load ptr, ptr %8, align 8 %40 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %36, i32 noundef %37, ptr noundef @.str.1, ptr noundef %38, ptr noundef %39) br label %41 41: ; preds = %25, %35, %30 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @snprintf(ptr noundef, 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/tmpi3j08uhk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"lib%s.so\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"%s/lib%s.so\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dbgsysBuildLibName(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %7, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %4 %13 = load ptr, ptr %7, align 8 %14 = call i32 @strlen(ptr noundef %13) br label %16 15: ; preds = %4 br label %16 16: ; preds = %15, %12 %17 = phi i32 [ %14, %12 ], [ 0, %15 ] store i32 %17, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = load ptr, ptr %8, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = add nsw i32 %18, %20 %22 = add nsw i32 %21, 10 %23 = load i32, ptr %6, align 4 %24 = icmp sgt i32 %22, %23 br i1 %24, label %25, label %27 25: ; preds = %16 %26 = load ptr, ptr %5, align 8 store i8 0, ptr %26, align 1 br label %41 27: ; preds = %16 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %35 30: ; preds = %27 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %6, align 4 %33 = load ptr, ptr %8, align 8 %34 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %31, i32 noundef %32, ptr noundef @.str, ptr noundef %33) br label %41 35: ; preds = %27 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %6, align 4 %38 = load ptr, ptr %7, align 8 %39 = load ptr, ptr %8, align 8 %40 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %36, i32 noundef %37, ptr noundef @.str.1, ptr noundef %38, ptr noundef %39) br label %41 41: ; preds = %35, %30, %25 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @snprintf(ptr noundef, 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/tmpdc20_8xp.c' source_filename = "/tmp/tmpdc20_8xp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"arch\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generic_get_architecture(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 @get_proc_cpuinfo_data(ptr noundef @.str, ptr noundef %3, i32 noundef 0) ret void } declare i32 @get_proc_cpuinfo_data(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/tmpdc20_8xp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"arch\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @generic_get_architecture(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 @get_proc_cpuinfo_data(ptr noundef @.str, ptr noundef %3, i32 noundef 0) ret void } declare i32 @get_proc_cpuinfo_data(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/tmpa967595v.c' source_filename = "/tmp/tmpa967595v.c" target datalayout = "e-m:e-p270: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/tmpa967595v.c" target datalayout = "e-m:e-p270: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/tmp7dqhy3ay.c' source_filename = "/tmp/tmp7dqhy3ay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__utimes(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @EINVAL, align 4 %10 = call i32 @__set_errno(i32 noundef %9) store i32 -1, ptr %3, align 4 br label %14 11: ; preds = %2 %12 = load i32, ptr @ENOSYS, align 4 %13 = call i32 @__set_errno(i32 noundef %12) store i32 -1, ptr %3, align 4 br label %14 14: ; preds = %11, %8 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7dqhy3ay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__utimes(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr @EINVAL, align 4 %10 = call i32 @__set_errno(i32 noundef %9) store i32 -1, ptr %3, align 4 br label %14 11: ; preds = %2 %12 = load i32, ptr @ENOSYS, align 4 %13 = call i32 @__set_errno(i32 noundef %12) store i32 -1, ptr %3, align 4 br label %14 14: ; preds = %11, %8 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprtha974g.c' source_filename = "/tmp/tmprtha974g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SYNC() #0 { %1 = call i64 (...) @sync() ret i64 %1 } declare i64 @sync(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprtha974g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SYNC() #0 { %1 = call i64 (...) @sync() ret i64 %1 } declare i64 @sync(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaixxpu1k.c' source_filename = "/tmp/tmpaixxpu1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 store i64 0, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 4, %20 %22 = trunc i64 %21 to i32 %23 = call ptr @malloc(i32 noundef %22) store ptr %23, ptr %11, align 8 store i32 0, ptr %12, align 4 br label %24 24: ; preds = %42, %0 %25 = load i32, ptr %12, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %45 28: ; preds = %24 %29 = load ptr, ptr %11, align 8 %30 = load i32, ptr %12, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %32) %34 = load ptr, ptr %11, align 8 %35 = load i32, ptr %12, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = sext i32 %38 to i64 %40 = load i64, ptr %5, align 8 %41 = add nsw i64 %40, %39 store i64 %41, ptr %5, align 8 br label %42 42: ; preds = %28 %43 = load i32, ptr %12, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %12, align 4 br label %24, !llvm.loop !6 45: ; preds = %24 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = mul i64 4, %47 %49 = trunc i64 %48 to i32 %50 = call ptr @malloc(i32 noundef %49) store ptr %50, ptr %13, align 8 store i32 0, ptr %14, align 4 br label %51 51: ; preds = %69, %45 %52 = load i32, ptr %14, align 4 %53 = load i32, ptr %3, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %72 55: ; preds = %51 %56 = load ptr, ptr %13, align 8 %57 = load i32, ptr %14, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %59) %61 = load ptr, ptr %13, align 8 %62 = load i32, ptr %14, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = sext i32 %65 to i64 %67 = load i64, ptr %6, align 8 %68 = add nsw i64 %67, %66 store i64 %68, ptr %6, align 8 br label %69 69: ; preds = %55 %70 = load i32, ptr %14, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %14, align 4 br label %51, !llvm.loop !8 72: ; preds = %51 %73 = load i32, ptr %4, align 4 %74 = sext i32 %73 to i64 %75 = mul i64 4, %74 %76 = trunc i64 %75 to i32 %77 = call ptr @malloc(i32 noundef %76) store ptr %77, ptr %15, align 8 store i32 0, ptr %16, align 4 br label %78 78: ; preds = %96, %72 %79 = load i32, ptr %16, align 4 %80 = load i32, ptr %4, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %99 82: ; preds = %78 %83 = load ptr, ptr %15, align 8 %84 = load i32, ptr %16, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 %87 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %86) %88 = load ptr, ptr %15, align 8 %89 = load i32, ptr %16, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %88, i64 %90 %92 = load i32, ptr %91, align 4 %93 = sext i32 %92 to i64 %94 = load i64, ptr %7, align 8 %95 = add nsw i64 %94, %93 store i64 %95, ptr %7, align 8 br label %96 96: ; preds = %82 %97 = load i32, ptr %16, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %16, align 4 br label %78, !llvm.loop !9 99: ; preds = %78 br label %100 100: ; preds = %177, %99 %101 = load i64, ptr %5, align 8 %102 = load i64, ptr %6, align 8 %103 = icmp ne i64 %101, %102 br i1 %103, label %112, label %104 104: ; preds = %100 %105 = load i64, ptr %6, align 8 %106 = load i64, ptr %7, align 8 %107 = icmp ne i64 %105, %106 br i1 %107, label %112, label %108 108: ; preds = %104 %109 = load i64, ptr %5, align 8 %110 = load i64, ptr %7, align 8 %111 = icmp ne i64 %109, %110 br label %112 112: ; preds = %108, %104, %100 %113 = phi i1 [ true, %104 ], [ true, %100 ], [ %111, %108 ] br i1 %113, label %114, label %178 114: ; preds = %112 %115 = load i32, ptr %8, align 4 %116 = load i32, ptr %2, align 4 %117 = icmp slt i32 %115, %116 br i1 %117, label %118, label %176 118: ; preds = %114 %119 = load i32, ptr %9, align 4 %120 = load i32, ptr %3, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %122, label %176 122: ; preds = %118 %123 = load i32, ptr %10, align 4 %124 = load i32, ptr %4, align 4 %125 = icmp slt i32 %123, %124 br i1 %125, label %126, label %176 126: ; preds = %122 %127 = load i64, ptr %5, align 8 %128 = load i64, ptr %6, align 8 %129 = load i64, ptr %7, align 8 %130 = call i64 @maxValue(i64 noundef %127, i64 noundef %128, i64 noundef %129) store i64 %130, ptr %17, align 8 %131 = load i64, ptr %5, align 8 %132 = load i64, ptr %17, align 8 %133 = icmp eq i64 %131, %132 br i1 %133, label %134, label %145 134: ; preds = %126 %135 = load ptr, ptr %11, align 8 %136 = load i32, ptr %8, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i32, ptr %135, i64 %137 %139 = load i32, ptr %138, align 4 %140 = sext i32 %139 to i64 %141 = load i64, ptr %5, align 8 %142 = sub nsw i64 %141, %140 store i64 %142, ptr %5, align 8 %143 = load i32, ptr %8, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %8, align 4 br label %145 145: ; preds = %134, %126 %146 = load i64, ptr %6, align 8 %147 = load i64, ptr %17, align 8 %148 = icmp eq i64 %146, %147 br i1 %148, label %149, label %160 149: ; preds = %145 %150 = load ptr, ptr %13, align 8 %151 = load i32, ptr %9, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i32, ptr %150, i64 %152 %154 = load i32, ptr %153, align 4 %155 = sext i32 %154 to i64 %156 = load i64, ptr %6, align 8 %157 = sub nsw i64 %156, %155 store i64 %157, ptr %6, align 8 %158 = load i32, ptr %9, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %9, align 4 br label %160 160: ; preds = %149, %145 %161 = load i64, ptr %7, align 8 %162 = load i64, ptr %17, align 8 %163 = icmp eq i64 %161, %162 br i1 %163, label %164, label %175 164: ; preds = %160 %165 = load ptr, ptr %15, align 8 %166 = load i32, ptr %10, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds i32, ptr %165, i64 %167 %169 = load i32, ptr %168, align 4 %170 = sext i32 %169 to i64 %171 = load i64, ptr %7, align 8 %172 = sub nsw i64 %171, %170 store i64 %172, ptr %7, align 8 %173 = load i32, ptr %10, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %10, align 4 br label %175 175: ; preds = %164, %160 br label %177 176: ; preds = %122, %118, %114 store i64 0, ptr %5, align 8 br label %178 177: ; preds = %175 br label %100, !llvm.loop !10 178: ; preds = %176, %112 %179 = load i64, ptr %5, align 8 %180 = call i32 @printf(ptr noundef @.str.2, i64 noundef %179) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i64 @maxValue(i64 noundef, i64 noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaixxpu1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 store i64 0, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 4, %20 %22 = trunc i64 %21 to i32 %23 = call ptr @malloc(i32 noundef %22) store ptr %23, ptr %11, align 8 store i32 0, ptr %12, align 4 %24 = load i32, ptr %12, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %47 .lr.ph: ; preds = %0 br label %27 27: ; preds = %.lr.ph, %41 %28 = load ptr, ptr %11, align 8 %29 = load i32, ptr %12, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %31) %33 = load ptr, ptr %11, align 8 %34 = load i32, ptr %12, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = sext i32 %37 to i64 %39 = load i64, ptr %5, align 8 %40 = add nsw i64 %39, %38 store i64 %40, ptr %5, align 8 br label %41 41: ; preds = %27 %42 = load i32, ptr %12, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %12, align 4 %44 = load i32, ptr %12, align 4 %45 = load i32, ptr %2, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %0 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = mul i64 4, %49 %51 = trunc i64 %50 to i32 %52 = call ptr @malloc(i32 noundef %51) store ptr %52, ptr %13, align 8 store i32 0, ptr %14, align 4 %53 = load i32, ptr %14, align 4 %54 = load i32, ptr %3, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %.lr.ph2, label %76 .lr.ph2: ; preds = %47 br label %56 56: ; preds = %.lr.ph2, %70 %57 = load ptr, ptr %13, align 8 %58 = load i32, ptr %14, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %60) %62 = load ptr, ptr %13, align 8 %63 = load i32, ptr %14, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 %66 = load i32, ptr %65, align 4 %67 = sext i32 %66 to i64 %68 = load i64, ptr %6, align 8 %69 = add nsw i64 %68, %67 store i64 %69, ptr %6, align 8 br label %70 70: ; preds = %56 %71 = load i32, ptr %14, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %14, align 4 %73 = load i32, ptr %14, align 4 %74 = load i32, ptr %3, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %56, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %70 br label %76 76: ; preds = %._crit_edge3, %47 %77 = load i32, ptr %4, align 4 %78 = sext i32 %77 to i64 %79 = mul i64 4, %78 %80 = trunc i64 %79 to i32 %81 = call ptr @malloc(i32 noundef %80) store ptr %81, ptr %15, align 8 store i32 0, ptr %16, align 4 %82 = load i32, ptr %16, align 4 %83 = load i32, ptr %4, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %.lr.ph5, label %105 .lr.ph5: ; preds = %76 br label %85 85: ; preds = %.lr.ph5, %99 %86 = load ptr, ptr %15, align 8 %87 = load i32, ptr %16, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %89) %91 = load ptr, ptr %15, align 8 %92 = load i32, ptr %16, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %91, i64 %93 %95 = load i32, ptr %94, align 4 %96 = sext i32 %95 to i64 %97 = load i64, ptr %7, align 8 %98 = add nsw i64 %97, %96 store i64 %98, ptr %7, align 8 br label %99 99: ; preds = %85 %100 = load i32, ptr %16, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %16, align 4 %102 = load i32, ptr %16, align 4 %103 = load i32, ptr %4, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %85, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %99 br label %105 105: ; preds = %._crit_edge6, %76 br label %106 106: ; preds = %183, %105 %107 = load i64, ptr %5, align 8 %108 = load i64, ptr %6, align 8 %109 = icmp ne i64 %107, %108 br i1 %109, label %118, label %110 110: ; preds = %106 %111 = load i64, ptr %6, align 8 %112 = load i64, ptr %7, align 8 %113 = icmp ne i64 %111, %112 br i1 %113, label %118, label %114 114: ; preds = %110 %115 = load i64, ptr %5, align 8 %116 = load i64, ptr %7, align 8 %117 = icmp ne i64 %115, %116 br label %118 118: ; preds = %114, %110, %106 %119 = phi i1 [ true, %110 ], [ true, %106 ], [ %117, %114 ] br i1 %119, label %120, label %.loopexit 120: ; preds = %118 %121 = load i32, ptr %8, align 4 %122 = load i32, ptr %2, align 4 %123 = icmp slt i32 %121, %122 br i1 %123, label %124, label %182 124: ; preds = %120 %125 = load i32, ptr %9, align 4 %126 = load i32, ptr %3, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %128, label %182 128: ; preds = %124 %129 = load i32, ptr %10, align 4 %130 = load i32, ptr %4, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %132, label %182 132: ; preds = %128 %133 = load i64, ptr %5, align 8 %134 = load i64, ptr %6, align 8 %135 = load i64, ptr %7, align 8 %136 = call i64 @maxValue(i64 noundef %133, i64 noundef %134, i64 noundef %135) store i64 %136, ptr %17, align 8 %137 = load i64, ptr %5, align 8 %138 = load i64, ptr %17, align 8 %139 = icmp eq i64 %137, %138 br i1 %139, label %140, label %151 140: ; preds = %132 %141 = load ptr, ptr %11, align 8 %142 = load i32, ptr %8, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i32, ptr %141, i64 %143 %145 = load i32, ptr %144, align 4 %146 = sext i32 %145 to i64 %147 = load i64, ptr %5, align 8 %148 = sub nsw i64 %147, %146 store i64 %148, ptr %5, align 8 %149 = load i32, ptr %8, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %8, align 4 br label %151 151: ; preds = %140, %132 %152 = load i64, ptr %6, align 8 %153 = load i64, ptr %17, align 8 %154 = icmp eq i64 %152, %153 br i1 %154, label %155, label %166 155: ; preds = %151 %156 = load ptr, ptr %13, align 8 %157 = load i32, ptr %9, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i32, ptr %156, i64 %158 %160 = load i32, ptr %159, align 4 %161 = sext i32 %160 to i64 %162 = load i64, ptr %6, align 8 %163 = sub nsw i64 %162, %161 store i64 %163, ptr %6, align 8 %164 = load i32, ptr %9, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %9, align 4 br label %166 166: ; preds = %155, %151 %167 = load i64, ptr %7, align 8 %168 = load i64, ptr %17, align 8 %169 = icmp eq i64 %167, %168 br i1 %169, label %170, label %181 170: ; preds = %166 %171 = load ptr, ptr %15, align 8 %172 = load i32, ptr %10, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i32, ptr %171, i64 %173 %175 = load i32, ptr %174, align 4 %176 = sext i32 %175 to i64 %177 = load i64, ptr %7, align 8 %178 = sub nsw i64 %177, %176 store i64 %178, ptr %7, align 8 %179 = load i32, ptr %10, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %10, align 4 br label %181 181: ; preds = %170, %166 br label %183 182: ; preds = %128, %124, %120 store i64 0, ptr %5, align 8 br label %184 183: ; preds = %181 br label %106, !llvm.loop !10 .loopexit: ; preds = %118 br label %184 184: ; preds = %.loopexit, %182 %185 = load i64, ptr %5, align 8 %186 = call i32 @printf(ptr noundef @.str.2, i64 noundef %185) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i64 @maxValue(i64 noundef, i64 noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpo410hijb.c' source_filename = "/tmp/tmpo410hijb.c" target datalayout = "e-m:e-p270: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/tmpo410hijb.c" target datalayout = "e-m:e-p270: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/tmp738px6ze.c' source_filename = "/tmp/tmp738px6ze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_mutex_num_efs() #0 { %1 = call i32 (...) @initialize_vals_tables() %2 = call i32 (...) @set_lvals_and_rvals() ret void } declare i32 @initialize_vals_tables(...) #1 declare i32 @set_lvals_and_rvals(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp738px6ze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_mutex_num_efs() #0 { %1 = call i32 (...) @initialize_vals_tables() %2 = call i32 (...) @set_lvals_and_rvals() ret void } declare i32 @initialize_vals_tables(...) #1 declare i32 @set_lvals_and_rvals(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc54rb2l5.c' source_filename = "/tmp/tmpc54rb2l5.c" target datalayout = "e-m:e-p270: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/tmpc54rb2l5.c" target datalayout = "e-m:e-p270: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/tmp3h8v9kl9.c' source_filename = "/tmp/tmp3h8v9kl9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x11_extras_IsFunctionKey(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @IsFunctionKey(i32 noundef %3) ret i32 %4 } declare i32 @IsFunctionKey(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/tmp3h8v9kl9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x11_extras_IsFunctionKey(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @IsFunctionKey(i32 noundef %3) ret i32 %4 } declare i32 @IsFunctionKey(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/tmpj8mysp0e.c' source_filename = "/tmp/tmpj8mysp0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Please enter a string > \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"The number of syllables is %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 19, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr @stdin, align 4 %9 = call i32 @fgets(ptr noundef %6, i32 noundef %7, i32 noundef %8) store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %62, %0 %11 = load i32, ptr %3, align 4 %12 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %13 = call i32 @strlen(ptr noundef %12) %14 = sub nsw i32 %13, 1 %15 = icmp sle i32 %11, %14 br i1 %15, label %16, label %65 16: ; preds = %10 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 97 br i1 %22, label %58, label %23 23: ; preds = %16 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 101 br i1 %29, label %58, label %30 30: ; preds = %23 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 105 br i1 %36, label %58, label %37 37: ; preds = %30 %38 = load i32, ptr %3, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 111 br i1 %43, label %58, label %44 44: ; preds = %37 %45 = load i32, ptr %3, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 117 br i1 %50, label %58, label %51 51: ; preds = %44 %52 = load i32, ptr %3, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 121 br i1 %57, label %58, label %61 58: ; preds = %51, %44, %37, %30, %23, %16 %59 = load i32, ptr %4, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %4, align 4 br label %61 61: ; preds = %58, %51 br label %62 62: ; preds = %61 %63 = load i32, ptr %3, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %3, align 4 br label %10, !llvm.loop !6 65: ; preds = %10 %66 = load i32, ptr %4, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %66) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj8mysp0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Please enter a string > \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"The number of syllables is %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 19, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr @stdin, align 4 %9 = call i32 @fgets(ptr noundef %6, i32 noundef %7, i32 noundef %8) store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @strlen(ptr noundef %11) %13 = sub nsw i32 %12, 1 %14 = icmp sle i32 %10, %13 br i1 %14, label %.lr.ph, label %68 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %61 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 97 br i1 %21, label %57, label %22 22: ; preds = %15 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 101 br i1 %28, label %57, label %29 29: ; preds = %22 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 105 br i1 %35, label %57, label %36 36: ; preds = %29 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 111 br i1 %42, label %57, label %43 43: ; preds = %36 %44 = load i32, ptr %3, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 117 br i1 %49, label %57, label %50 50: ; preds = %43 %51 = load i32, ptr %3, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 121 br i1 %56, label %57, label %60 57: ; preds = %50, %43, %36, %29, %22, %15 %58 = load i32, ptr %4, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %4, align 4 br label %60 60: ; preds = %57, %50 br label %61 61: ; preds = %60 %62 = load i32, ptr %3, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %3, align 4 %64 = load i32, ptr %3, align 4 %65 = call i32 @strlen(ptr noundef %11) %66 = sub nsw i32 %65, 1 %67 = icmp sle i32 %64, %66 br i1 %67, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %68 68: ; preds = %._crit_edge, %0 %69 = load i32, ptr %4, align 4 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %69) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcner0wlb.c' source_filename = "/tmp/tmpcner0wlb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"unsignedtosigned: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"unsignedtounsigned: %u\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"signedtosigned: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"signedtounsigned: %u\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"UNSAFE \0A\00", align 1 @.str.5 = 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 i16, align 2 %3 = alloca i16, align 2 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i16 -1, ptr %2, align 2 %8 = load i16, ptr %2, align 2 store i16 %8, ptr %3, align 2 %9 = load i16, ptr %2, align 2 %10 = zext i16 %9 to i32 store i32 %10, ptr %4, align 4 %11 = load i16, ptr %2, align 2 %12 = zext i16 %11 to i32 store i32 %12, ptr %5, align 4 %13 = load i16, ptr %3, align 2 %14 = sext i16 %13 to i32 store i32 %14, ptr %6, align 4 %15 = load i16, ptr %3, align 2 %16 = sext i16 %15 to i32 store i32 %16, ptr %7, align 4 %17 = load i32, ptr %4, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17) %19 = load i32, ptr %5, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19) %21 = load i32, ptr %6, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21) %23 = load i32, ptr %7, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %23) %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %25, 65535 br i1 %26, label %27, label %39 27: ; preds = %0 %28 = load i32, ptr %5, align 4 %29 = icmp eq i32 %28, 65535 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = load i32, ptr %6, align 4 %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %39 33: ; preds = %30 %34 = load i32, ptr %7, align 4 %35 = zext i32 %34 to i64 %36 = icmp eq i64 %35, 4294967295 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %41 39: ; preds = %33, %30, %27, %0 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %1, align 4 br label %42 41: ; preds = %37 store i32 -1, ptr %1, align 4 br label %42 42: ; preds = %41, %39 %43 = load i32, ptr %1, align 4 ret i32 %43 } 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/tmpcner0wlb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"unsignedtosigned: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"unsignedtounsigned: %u\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"signedtosigned: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"signedtounsigned: %u\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"UNSAFE \0A\00", align 1 @.str.5 = 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 i16, align 2 %3 = alloca i16, align 2 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i16 -1, ptr %2, align 2 %8 = load i16, ptr %2, align 2 store i16 %8, ptr %3, align 2 %9 = load i16, ptr %2, align 2 %10 = zext i16 %9 to i32 store i32 %10, ptr %4, align 4 %11 = load i16, ptr %2, align 2 %12 = zext i16 %11 to i32 store i32 %12, ptr %5, align 4 %13 = load i16, ptr %3, align 2 %14 = sext i16 %13 to i32 store i32 %14, ptr %6, align 4 %15 = load i16, ptr %3, align 2 %16 = sext i16 %15 to i32 store i32 %16, ptr %7, align 4 %17 = load i32, ptr %4, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17) %19 = load i32, ptr %5, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19) %21 = load i32, ptr %6, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21) %23 = load i32, ptr %7, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %23) %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %25, 65535 br i1 %26, label %27, label %39 27: ; preds = %0 %28 = load i32, ptr %5, align 4 %29 = icmp eq i32 %28, 65535 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = load i32, ptr %6, align 4 %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %39 33: ; preds = %30 %34 = load i32, ptr %7, align 4 %35 = zext i32 %34 to i64 %36 = icmp eq i64 %35, 4294967295 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %41 39: ; preds = %33, %30, %27, %0 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %1, align 4 br label %42 41: ; preds = %37 store i32 -1, ptr %1, align 4 br label %42 42: ; preds = %41, %39 %43 = load i32, ptr %1, align 4 ret i32 %43 } 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/tmpe5541mgb.c' source_filename = "/tmp/tmpe5541mgb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @raw_to_b64(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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %12 = call i32 (...) @BIO_s_mem() %13 = call ptr @BIO_new(i32 noundef %12) store ptr %13, ptr %9, align 8 %14 = call i32 (...) @BIO_f_base64() %15 = call ptr @BIO_new(i32 noundef %14) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %9, align 8 %18 = call ptr @BIO_push(ptr noundef %16, ptr noundef %17) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %5, align 4 %22 = call i32 @BIO_write(ptr noundef %19, ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %8, align 8 %24 = call i32 @BIO_flush(ptr noundef %23) %25 = load ptr, ptr %9, align 8 %26 = call i32 @BIO_get_mem_data(ptr noundef %25, ptr noundef %10) store i32 %26, ptr %11, align 4 %27 = load ptr, ptr %10, align 8 %28 = load i32, ptr %11, align 4 %29 = call ptr @strndup(ptr noundef %27, i32 noundef %28) %30 = load ptr, ptr %6, align 8 store ptr %29, ptr %30, align 8 %31 = load ptr, ptr %8, align 8 %32 = call i32 @BIO_free_all(ptr noundef %31) %33 = load i32, ptr %11, align 4 ret i32 %33 } declare ptr @BIO_new(i32 noundef) #1 declare i32 @BIO_s_mem(...) #1 declare i32 @BIO_f_base64(...) #1 declare ptr @BIO_push(ptr noundef, ptr noundef) #1 declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @BIO_flush(ptr noundef) #1 declare i32 @BIO_get_mem_data(ptr noundef, ptr noundef) #1 declare ptr @strndup(ptr noundef, i32 noundef) #1 declare i32 @BIO_free_all(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe5541mgb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @raw_to_b64(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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %12 = call i32 (...) @BIO_s_mem() %13 = call ptr @BIO_new(i32 noundef %12) store ptr %13, ptr %9, align 8 %14 = call i32 (...) @BIO_f_base64() %15 = call ptr @BIO_new(i32 noundef %14) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %9, align 8 %18 = call ptr @BIO_push(ptr noundef %16, ptr noundef %17) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %5, align 4 %22 = call i32 @BIO_write(ptr noundef %19, ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %8, align 8 %24 = call i32 @BIO_flush(ptr noundef %23) %25 = load ptr, ptr %9, align 8 %26 = call i32 @BIO_get_mem_data(ptr noundef %25, ptr noundef %10) store i32 %26, ptr %11, align 4 %27 = load ptr, ptr %10, align 8 %28 = load i32, ptr %11, align 4 %29 = call ptr @strndup(ptr noundef %27, i32 noundef %28) %30 = load ptr, ptr %6, align 8 store ptr %29, ptr %30, align 8 %31 = load ptr, ptr %8, align 8 %32 = call i32 @BIO_free_all(ptr noundef %31) %33 = load i32, ptr %11, align 4 ret i32 %33 } declare ptr @BIO_new(i32 noundef) #1 declare i32 @BIO_s_mem(...) #1 declare i32 @BIO_f_base64(...) #1 declare ptr @BIO_push(ptr noundef, ptr noundef) #1 declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @BIO_flush(ptr noundef) #1 declare i32 @BIO_get_mem_data(ptr noundef, ptr noundef) #1 declare ptr @strndup(ptr noundef, i32 noundef) #1 declare i32 @BIO_free_all(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcqg_61u2.c' source_filename = "/tmp/tmpcqg_61u2.c" target datalayout = "e-m:e-p270: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/tmpcqg_61u2.c" target datalayout = "e-m:e-p270: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/tmp66cazpyf.c' source_filename = "/tmp/tmp66cazpyf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup_printable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, 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 ptr null, ptr %2, align 8 br label %86 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = mul nsw i32 2, %11 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %15 15: ; preds = %77, %9 %16 = load ptr, ptr %3, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %19, label %80 19: ; preds = %15 %20 = load ptr, ptr %3, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 13 br i1 %23, label %24, label %35 24: ; preds = %19 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds i8, ptr %25, i64 %28 store i8 92, ptr %29, align 1 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 %33 = sext i32 %31 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 store i8 114, ptr %34, align 1 br label %77 35: ; preds = %19 %36 = load ptr, ptr %3, align 8 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 10 br i1 %39, label %40, label %51 40: ; preds = %35 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %5, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %5, align 4 %44 = sext i32 %42 to i64 %45 = getelementptr inbounds i8, ptr %41, i64 %44 store i8 92, ptr %45, align 1 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %5, align 4 %49 = sext i32 %47 to i64 %50 = getelementptr inbounds i8, ptr %46, i64 %49 store i8 110, ptr %50, align 1 br label %76 51: ; preds = %35 %52 = load ptr, ptr %3, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 9 br i1 %55, label %56, label %67 56: ; preds = %51 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %5, align 4 %60 = sext i32 %58 to i64 %61 = getelementptr inbounds i8, ptr %57, i64 %60 store i8 92, ptr %61, align 1 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %5, align 4 %65 = sext i32 %63 to i64 %66 = getelementptr inbounds i8, ptr %62, i64 %65 store i8 116, ptr %66, align 1 br label %75 67: ; preds = %51 %68 = load ptr, ptr %3, align 8 %69 = load i8, ptr %68, align 1 %70 = load ptr, ptr %4, align 8 %71 = load i32, ptr %5, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %5, align 4 %73 = sext i32 %71 to i64 %74 = getelementptr inbounds i8, ptr %70, i64 %73 store i8 %69, ptr %74, align 1 br label %75 75: ; preds = %67, %56 br label %76 76: ; preds = %75, %40 br label %77 77: ; preds = %76, %24 %78 = load ptr, ptr %3, align 8 %79 = getelementptr inbounds i8, ptr %78, i32 1 store ptr %79, ptr %3, align 8 br label %15, !llvm.loop !6 80: ; preds = %15 %81 = load ptr, ptr %4, align 8 %82 = load i32, ptr %5, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 store i8 0, ptr %84, align 1 %85 = load ptr, ptr %4, align 8 store ptr %85, ptr %2, align 8 br label %86 86: ; preds = %80, %8 %87 = load ptr, ptr %2, align 8 ret ptr %87 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp66cazpyf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup_printable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, 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 ptr null, ptr %2, align 8 br label %88 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = mul nsw i32 2, %11 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %4, align 8 store i32 0, ptr %5, align 4 %15 = load ptr, ptr %3, align 8 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %.lr.ph, label %82 .lr.ph: ; preds = %9 br label %18 18: ; preds = %.lr.ph, %76 %19 = load ptr, ptr %3, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 13 br i1 %22, label %23, label %34 23: ; preds = %18 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds i8, ptr %24, i64 %27 store i8 92, ptr %28, align 1 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 store i8 114, ptr %33, align 1 br label %76 34: ; preds = %18 %35 = load ptr, ptr %3, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 10 br i1 %38, label %39, label %50 39: ; preds = %34 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 store i8 92, ptr %44, align 1 %45 = load ptr, ptr %4, align 8 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %5, align 4 %48 = sext i32 %46 to i64 %49 = getelementptr inbounds i8, ptr %45, i64 %48 store i8 110, ptr %49, align 1 br label %75 50: ; preds = %34 %51 = load ptr, ptr %3, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 9 br i1 %54, label %55, label %66 55: ; preds = %50 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %5, align 4 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 store i8 92, ptr %60, align 1 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %5, align 4 %64 = sext i32 %62 to i64 %65 = getelementptr inbounds i8, ptr %61, i64 %64 store i8 116, ptr %65, align 1 br label %74 66: ; preds = %50 %67 = load ptr, ptr %3, align 8 %68 = load i8, ptr %67, align 1 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %5, align 4 %72 = sext i32 %70 to i64 %73 = getelementptr inbounds i8, ptr %69, i64 %72 store i8 %68, ptr %73, align 1 br label %74 74: ; preds = %66, %55 br label %75 75: ; preds = %74, %39 br label %76 76: ; preds = %75, %23 %77 = load ptr, ptr %3, align 8 %78 = getelementptr inbounds i8, ptr %77, i32 1 store ptr %78, ptr %3, align 8 %79 = load ptr, ptr %3, align 8 %80 = load i8, ptr %79, align 1 %81 = icmp ne i8 %80, 0 br i1 %81, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %76 br label %82 82: ; preds = %._crit_edge, %9 %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %5, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 store i8 0, ptr %86, align 1 %87 = load ptr, ptr %4, align 8 store ptr %87, ptr %2, align 8 br label %88 88: ; preds = %82, %8 %89 = load ptr, ptr %2, align 8 ret ptr %89 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpm_mw8pva.c' source_filename = "/tmp/tmpm_mw8pva.c" target datalayout = "e-m:e-p270: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/tmpm_mw8pva.c" target datalayout = "e-m:e-p270: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/tmp24yxadwd.c' source_filename = "/tmp/tmp24yxadwd.c" target datalayout = "e-m:e-p270: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/tmp24yxadwd.c" target datalayout = "e-m:e-p270: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/tmp8vy5tx3z.c' source_filename = "/tmp/tmp8vy5tx3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bruiteNB(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 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 ptr null, ptr %13, align 8 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %9, align 4 %18 = mul nsw i32 %16, %17 %19 = call ptr @calloc(i32 noundef %18, i32 noundef 1) store ptr %19, ptr %13, align 8 store i32 0, ptr %14, align 4 br label %20 20: ; preds = %54, %6 %21 = load i32, ptr %14, align 4 %22 = sitofp i32 %21 to double %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %9, align 4 %25 = mul nsw i32 %23, %24 %26 = sitofp i32 %25 to double %27 = load double, ptr %10, align 8 %28 = fmul double %26, %27 %29 = fcmp olt double %22, %28 br i1 %29, label %30, label %57 30: ; preds = %20 %31 = call i32 (...) @random() %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %9, align 4 %34 = mul nsw i32 %32, %33 %35 = srem i32 %31, %34 store i32 %35, ptr %15, align 4 %36 = load ptr, ptr %13, align 8 %37 = load i32, ptr %15, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = zext i8 %40 to i32 %42 = icmp slt i32 %41, 128 br i1 %42, label %43, label %48 43: ; preds = %30 %44 = load ptr, ptr %13, align 8 %45 = load i32, ptr %15, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 -1, ptr %47, align 1 br label %53 48: ; preds = %30 %49 = load ptr, ptr %13, align 8 %50 = load i32, ptr %15, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 0, ptr %52, align 1 br label %53 53: ; preds = %48, %43 br label %54 54: ; preds = %53 %55 = load i32, ptr %14, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %14, align 4 br label %20, !llvm.loop !6 57: ; preds = %20 %58 = load i32, ptr %8, align 4 %59 = load ptr, ptr %11, align 8 store i32 %58, ptr %59, align 4 %60 = load i32, ptr %9, align 4 %61 = load ptr, ptr %12, align 8 store i32 %60, ptr %61, align 4 %62 = load ptr, ptr %13, align 8 ret ptr %62 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8vy5tx3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bruiteNB(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 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 ptr null, ptr %13, align 8 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %9, align 4 %18 = mul nsw i32 %16, %17 %19 = call ptr @calloc(i32 noundef %18, i32 noundef 1) store ptr %19, ptr %13, align 8 store i32 0, ptr %14, align 4 %20 = load i32, ptr %14, align 4 %21 = sitofp i32 %20 to double %22 = load i32, ptr %8, align 4 %23 = load i32, ptr %9, align 4 %24 = mul nsw i32 %22, %23 %25 = sitofp i32 %24 to double %26 = load double, ptr %10, align 8 %27 = fmul double %25, %26 %28 = fcmp olt double %21, %27 br i1 %28, label %.lr.ph, label %65 .lr.ph: ; preds = %6 br label %29 29: ; preds = %.lr.ph, %53 %30 = call i32 (...) @random() %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %9, align 4 %33 = mul nsw i32 %31, %32 %34 = srem i32 %30, %33 store i32 %34, ptr %15, align 4 %35 = load ptr, ptr %13, align 8 %36 = load i32, ptr %15, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = zext i8 %39 to i32 %41 = icmp slt i32 %40, 128 br i1 %41, label %42, label %47 42: ; preds = %29 %43 = load ptr, ptr %13, align 8 %44 = load i32, ptr %15, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store i8 -1, ptr %46, align 1 br label %52 47: ; preds = %29 %48 = load ptr, ptr %13, align 8 %49 = load i32, ptr %15, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 0, ptr %51, align 1 br label %52 52: ; preds = %47, %42 br label %53 53: ; preds = %52 %54 = load i32, ptr %14, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %14, align 4 %56 = load i32, ptr %14, align 4 %57 = sitofp i32 %56 to double %58 = load i32, ptr %8, align 4 %59 = load i32, ptr %9, align 4 %60 = mul nsw i32 %58, %59 %61 = sitofp i32 %60 to double %62 = load double, ptr %10, align 8 %63 = fmul double %61, %62 %64 = fcmp olt double %57, %63 br i1 %64, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %65 65: ; preds = %._crit_edge, %6 %66 = load i32, ptr %8, align 4 %67 = load ptr, ptr %11, align 8 store i32 %66, ptr %67, align 4 %68 = load i32, ptr %9, align 4 %69 = load ptr, ptr %12, align 8 store i32 %68, ptr %69, align 4 %70 = load ptr, ptr %13, align 8 ret ptr %70 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp1gsfz5yo.c' source_filename = "/tmp/tmp1gsfz5yo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"%s.%d: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @log_failed_assert(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr @stderr, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %9, ptr noundef %10) %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fflush(i32 noundef %12) %14 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmp1gsfz5yo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"%s.%d: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @log_failed_assert(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr @stderr, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %9, ptr noundef %10) %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fflush(i32 noundef %12) %14 = call i32 (...) @abort() #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmp8p3crkgo.c' source_filename = "/tmp/tmp8p3crkgo.c" target datalayout = "e-m:e-p270: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/tmp8p3crkgo.c" target datalayout = "e-m:e-p270: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/tmpgr9zwd08.c' source_filename = "/tmp/tmpgr9zwd08.c" target datalayout = "e-m:e-p270: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/tmpgr9zwd08.c" target datalayout = "e-m:e-p270: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/tmpmahpntdf.c' source_filename = "/tmp/tmpmahpntdf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ramdisk_ioctl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 ret i32 -25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmahpntdf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ramdisk_ioctl(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 ret i32 -25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1i6dh6mb.c' source_filename = "/tmp/tmp1i6dh6mb.c" target datalayout = "e-m:e-p270: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/tmp1i6dh6mb.c" target datalayout = "e-m:e-p270: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/tmpos63kfo8.c' source_filename = "/tmp/tmpos63kfo8.c" target datalayout = "e-m:e-p270: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/tmpos63kfo8.c" target datalayout = "e-m:e-p270: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/tmpmoynj5oc.c' source_filename = "/tmp/tmpmoynj5oc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EEXIST = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmoynj5oc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EEXIST = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp60pqpsre.c' source_filename = "/tmp/tmp60pqpsre.c" target datalayout = "e-m:e-p270: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 @__sulong_posix_dup(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr @errno, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @dup(i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %15 10: ; preds = %1 %11 = load i32, ptr @errno, align 4 %12 = sub nsw i32 0, %11 %13 = sext i32 %12 to i64 %14 = trunc i64 %13 to i32 store i32 %14, ptr %4, align 4 br label %15 15: ; preds = %10, %1 %16 = load i32, ptr %3, align 4 store i32 %16, ptr @errno, align 4 %17 = load i32, ptr %4, align 4 ret i32 %17 } declare i32 @dup(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/tmp60pqpsre.c" target datalayout = "e-m:e-p270: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 @__sulong_posix_dup(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr @errno, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @dup(i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %15 10: ; preds = %1 %11 = load i32, ptr @errno, align 4 %12 = sub nsw i32 0, %11 %13 = sext i32 %12 to i64 %14 = trunc i64 %13 to i32 store i32 %14, ptr %4, align 4 br label %15 15: ; preds = %10, %1 %16 = load i32, ptr %3, align 4 store i32 %16, ptr @errno, align 4 %17 = load i32, ptr %4, align 4 ret i32 %17 } declare i32 @dup(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/tmppk4y46j7.c' source_filename = "/tmp/tmppk4y46j7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [74 x i8] c"Usage: ./flow <ip address> [<port>] [--rate <rate>] [--type (good | bad)]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @puts(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @puts(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/tmppk4y46j7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [74 x i8] c"Usage: ./flow <ip address> [<port>] [--rate <rate>] [--type (good | bad)]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @puts(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @puts(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/tmp16vvho5a.c' source_filename = "/tmp/tmp16vvho5a.c" target datalayout = "e-m:e-p270: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/tmp16vvho5a.c" target datalayout = "e-m:e-p270: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/tmpu8874u88.c' source_filename = "/tmp/tmpu8874u88.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"malloc\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %15, label %8 8: ; preds = %1 br label %9 9: ; preds = %8 %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str) %12 = call i32 @perror(ptr noundef @.str.1) %13 = call i32 @exit(i32 noundef 1) #5 unreachable 14: ; No predecessors! br label %15 15: ; preds = %14, %1 %16 = load ptr, ptr %3, align 8 ret ptr %16 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu8874u88.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"malloc\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %15, label %8 8: ; preds = %1 br label %9 9: ; preds = %8 %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str) %12 = call i32 @perror(ptr noundef @.str.1) %13 = call i32 @exit(i32 noundef 1) #5 unreachable 14: ; No predecessors! br label %15 15: ; preds = %14, %1 %16 = load ptr, ptr %3, align 8 ret ptr %16 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps2kdu_jb.c' source_filename = "/tmp/tmps2kdu_jb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @datetime_ymd_is_valid(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %5, align 4 %11 = call i32 @datetime_month_days(i32 noundef %9, i32 noundef %10) store i32 %11, ptr %8, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sge i32 %12, 1900 br i1 %13, label %14, label %25 14: ; preds = %3 %15 = load i32, ptr %8, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %25 17: ; preds = %14 %18 = load i32, ptr %6, align 4 %19 = icmp sge i32 %18, 1 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 1, ptr %7, align 4 br label %25 25: ; preds = %24, %20, %17, %14, %3 %26 = load i32, ptr %7, align 4 ret i32 %26 } declare i32 @datetime_month_days(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/tmps2kdu_jb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @datetime_ymd_is_valid(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %5, align 4 %11 = call i32 @datetime_month_days(i32 noundef %9, i32 noundef %10) store i32 %11, ptr %8, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sge i32 %12, 1900 br i1 %13, label %14, label %25 14: ; preds = %3 %15 = load i32, ptr %8, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %25 17: ; preds = %14 %18 = load i32, ptr %6, align 4 %19 = icmp sge i32 %18, 1 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 1, ptr %7, align 4 br label %25 25: ; preds = %24, %20, %17, %14, %3 %26 = load i32, ptr %7, align 4 ret i32 %26 } declare i32 @datetime_month_days(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/tmpca11jnx_.c' source_filename = "/tmp/tmpca11jnx_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Please enter only up to 1 argument.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpca11jnx_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Please enter only up to 1 argument.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpadhnoret.c' source_filename = "/tmp/tmpadhnoret.c" target datalayout = "e-m:e-p270: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/tmpadhnoret.c" target datalayout = "e-m:e-p270: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/tmps8ma5mts.c' source_filename = "/tmp/tmps8ma5mts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sh\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @system(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [4 x ptr], align 16 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 0 store ptr @.str, ptr %5, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 1 store ptr @.str.1, ptr %6, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %2, align 8 store ptr %8, ptr %7, align 8 %9 = getelementptr inbounds ptr, ptr %7, i64 1 store ptr null, ptr %9, align 8 %10 = load ptr, ptr %2, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %31 12: ; preds = %1 %13 = call i32 (...) @fork() store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 0 %18 = call i32 @execve(ptr noundef @.str.2, ptr noundef %17, ptr noundef null) br label %30 19: ; preds = %12 %20 = load i32, ptr %4, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %29 22: ; preds = %19 br label %23 23: ; preds = %27, %22 %24 = call i32 @wait(ptr noundef null) %25 = load i32, ptr %4, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %27, label %28 27: ; preds = %23 br label %23, !llvm.loop !6 28: ; preds = %23 br label %29 29: ; preds = %28, %19 br label %30 30: ; preds = %29, %16 br label %31 31: ; preds = %30, %1 ret i32 -1 } declare i32 @fork(...) #1 declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmps8ma5mts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sh\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @system(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [4 x ptr], align 16 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 0 store ptr @.str, ptr %5, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 1 store ptr @.str.1, ptr %6, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %2, align 8 store ptr %8, ptr %7, align 8 %9 = getelementptr inbounds ptr, ptr %7, i64 1 store ptr null, ptr %9, align 8 %10 = load ptr, ptr %2, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %30 12: ; preds = %1 %13 = call i32 (...) @fork() store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 0 %18 = call i32 @execve(ptr noundef @.str.2, ptr noundef %17, ptr noundef null) br label %29 19: ; preds = %12 %20 = load i32, ptr %4, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %19 br label %23 23: ; preds = %23, %22 %24 = call i32 @wait(ptr noundef null) %25 = load i32, ptr %4, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %23, label %27, !llvm.loop !6 27: ; preds = %23 br label %28 28: ; preds = %27, %19 br label %29 29: ; preds = %28, %16 br label %30 30: ; preds = %29, %1 ret i32 -1 } declare i32 @fork(...) #1 declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3ydx89e3.c' source_filename = "/tmp/tmp3ydx89e3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LINES = dso_local global i32 0, align 4 @COLS = dso_local global i32 0, align 4 @EXIT_SUCCESS = 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 store i32 1, ptr %4, align 4 %5 = call i32 (...) @initscr() br label %6 6: ; preds = %0, %38 store i32 0, ptr %2, align 4 br label %7 7: ; preds = %35, %6 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr @LINES, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %38 11: ; preds = %7 store i32 0, ptr %3, align 4 br label %12 12: ; preds = %31, %11 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr @COLS, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %34 16: ; preds = %12 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %17, %18 %20 = and i32 %19, 1 %21 = load i32, ptr %4, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %16 %24 = call i32 (...) @standout() br label %25 25: ; preds = %23, %16 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %3, align 4 %28 = call i32 @move(i32 noundef %26, i32 noundef %27) %29 = call i32 @addch(i8 noundef signext 32) %30 = call i32 (...) @standend() br label %31 31: ; preds = %25 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 br label %12, !llvm.loop !6 34: ; preds = %12 br label %35 35: ; preds = %34 %36 = load i32, ptr %2, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %2, align 4 br label %7, !llvm.loop !8 38: ; preds = %7 %39 = call i32 (...) @refresh() %40 = load i32, ptr %4, align 4 %41 = icmp ne i32 %40, 0 %42 = xor i1 %41, true %43 = zext i1 %42 to i32 store i32 %43, ptr %4, align 4 br label %6 } declare i32 @initscr(...) #1 declare i32 @standout(...) #1 declare i32 @move(i32 noundef, i32 noundef) #1 declare i32 @addch(i8 noundef signext) #1 declare i32 @standend(...) #1 declare i32 @refresh(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3ydx89e3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LINES = dso_local global i32 0, align 4 @COLS = dso_local global i32 0, align 4 @EXIT_SUCCESS = 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 store i32 1, ptr %4, align 4 %5 = call i32 (...) @initscr() br label %6 6: ; preds = %42, %0 store i32 0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr @LINES, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph2, label %42 .lr.ph2: ; preds = %6 br label %10 10: ; preds = %.lr.ph2, %36 store i32 0, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr @COLS, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %35 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %29 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %15, %16 %18 = and i32 %17, 1 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %21, label %23 21: ; preds = %14 %22 = call i32 (...) @standout() br label %23 23: ; preds = %21, %14 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = call i32 @move(i32 noundef %24, i32 noundef %25) %27 = call i32 @addch(i8 noundef signext 32) %28 = call i32 (...) @standend() br label %29 29: ; preds = %23 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr @COLS, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %10 br label %36 36: ; preds = %35 %37 = load i32, ptr %2, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %2, align 4 %39 = load i32, ptr %2, align 4 %40 = load i32, ptr @LINES, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %42 42: ; preds = %._crit_edge3, %6 %43 = call i32 (...) @refresh() %44 = load i32, ptr %4, align 4 %45 = icmp ne i32 %44, 0 %46 = xor i1 %45, true %47 = zext i1 %46 to i32 store i32 %47, ptr %4, align 4 br label %6 } declare i32 @initscr(...) #1 declare i32 @standout(...) #1 declare i32 @move(i32 noundef, i32 noundef) #1 declare i32 @addch(i8 noundef signext) #1 declare i32 @standend(...) #1 declare i32 @refresh(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmphk01juqu.c' source_filename = "/tmp/tmphk01juqu.c" target datalayout = "e-m:e-p270: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/tmphk01juqu.c" target datalayout = "e-m:e-p270: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/tmppuj0qjos.c' source_filename = "/tmp/tmppuj0qjos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = add nsw i64 %6, 1 %8 = call ptr @malloc(i64 noundef %7) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %1 store ptr null, ptr %2, align 8 br label %17 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %4, align 8 store ptr %16, ptr %2, align 8 br label %17 17: ; preds = %12, %11 %18 = load ptr, ptr %2, align 8 ret ptr %18 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppuj0qjos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = add nsw i64 %6, 1 %8 = call ptr @malloc(i64 noundef %7) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %1 store ptr null, ptr %2, align 8 br label %17 12: ; preds = %1 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14) %16 = load ptr, ptr %4, align 8 store ptr %16, ptr %2, align 8 br label %17 17: ; preds = %12, %11 %18 = load ptr, ptr %2, align 8 ret ptr %18 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcy1ncpn8.c' source_filename = "/tmp/tmpcy1ncpn8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @casesp() #0 { %1 = call i32 @casesp1(i32 noundef 0) ret void } declare i32 @casesp1(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/tmpcy1ncpn8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @casesp() #0 { %1 = call i32 @casesp1(i32 noundef 0) ret void } declare i32 @casesp1(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/tmpqm0ijp4o.c' source_filename = "/tmp/tmpqm0ijp4o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } %struct.timespec = type { i64, i64 } %struct.tms = type { i32, i32 } @CLOCK_REALTIME = dso_local global i32 0, align 4 @CLOCK_MONOTONIC = dso_local global i32 0, align 4 @CLOCK_MONOTONIC_RAW = dso_local global i32 0, align 4 @CLOCK_MONOTONIC_COARSE = dso_local global i32 0, align 4 @CLOCK_PROCESS_CPUTIME_ID = dso_local global i32 0, align 4 @CLOCK_THREAD_CPUTIME_ID = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"gettimeofday fail \00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"clock gettime fail \00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"clk per sec %ld\0A\00", align 1 @_SC_CLK_TCK = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [12 x i8] c"times fail \00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"current time %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"tv sec %ld usec %ld\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"tp sec %ld nsec %ld\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"tms sec %ld usec %ld\0A\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"clock_getres\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"%d clock=%d sec=%ld nsec=%ld\0A\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"gettime fail\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"%d | %d | %ld %ld \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @time2_test() #0 { %1 = alloca %struct.timeval, align 4 %2 = alloca %struct.timespec, align 8 %3 = alloca %struct.tms, align 4 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [10 x %struct.timespec], align 16 %8 = alloca [10 x %struct.timespec], align 16 %9 = alloca [7 x i32], align 16 %10 = alloca %struct.timespec, align 8 %11 = alloca i32, align 4 %12 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 0 %13 = load i32, ptr @CLOCK_REALTIME, align 4 store i32 %13, ptr %12, align 4 %14 = getelementptr inbounds i32, ptr %12, i64 1 %15 = load i32, ptr @CLOCK_MONOTONIC, align 4 store i32 %15, ptr %14, align 4 %16 = getelementptr inbounds i32, ptr %14, i64 1 %17 = load i32, ptr @CLOCK_MONOTONIC_RAW, align 4 store i32 %17, ptr %16, align 4 %18 = getelementptr inbounds i32, ptr %16, i64 1 %19 = load i32, ptr @CLOCK_MONOTONIC_COARSE, align 4 store i32 %19, ptr %18, align 4 %20 = getelementptr inbounds i32, ptr %18, i64 1 %21 = load i32, ptr @CLOCK_PROCESS_CPUTIME_ID, align 4 store i32 %21, ptr %20, align 4 %22 = getelementptr inbounds i32, ptr %20, i64 1 %23 = load i32, ptr @CLOCK_THREAD_CPUTIME_ID, align 4 store i32 %23, ptr %22, align 4 %24 = getelementptr inbounds i32, ptr %22, i64 1 store i32 -1, ptr %24, align 4 %25 = call i64 @time(ptr noundef null) store i64 %25, ptr %4, align 8 %26 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %0 %30 = call i32 @perror(ptr noundef @.str) br label %31 31: ; preds = %29, %0 %32 = load i32, ptr @CLOCK_REALTIME, align 4 %33 = call i32 @clock_gettime(i32 noundef %32, ptr noundef %2) store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %31 %37 = call i32 @perror(ptr noundef @.str.1) br label %38 38: ; preds = %36, %31 %39 = load i32, ptr @_SC_CLK_TCK, align 4 %40 = call i32 @sysconf(i32 noundef %39) %41 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %40) %42 = call i32 @times(ptr noundef %3) store i32 %42, ptr %5, align 4 %43 = load i32, ptr %5, align 4 %44 = icmp slt i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = call i32 @perror(ptr noundef @.str.3) br label %47 47: ; preds = %45, %38 %48 = load i64, ptr %4, align 8 %49 = trunc i64 %48 to i32 %50 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %49) %51 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %52 = load i32, ptr %51, align 4 %53 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %52, i32 noundef %54) %56 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 1 %57 = load i64, ptr %56, align 8 %58 = trunc i64 %57 to i32 %59 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 %60 = load i64, ptr %59, align 8 %61 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %58, i64 noundef %60) %62 = getelementptr inbounds %struct.tms, ptr %3, i32 0, i32 1 %63 = load i32, ptr %62, align 4 %64 = getelementptr inbounds %struct.tms, ptr %3, i32 0, i32 0 %65 = load i32, ptr %64, align 4 %66 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef %63, i32 noundef %65) store i32 0, ptr %6, align 4 br label %67 67: ; preds = %95, %47 %68 = load i32, ptr %6, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %69 %71 = load i32, ptr %70, align 4 %72 = icmp ne i32 %71, -1 br i1 %72, label %73, label %98 73: ; preds = %67 %74 = load i32, ptr %6, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %75 %77 = load i32, ptr %76, align 4 %78 = call i32 @clock_getres(i32 noundef %77, ptr noundef %10) store i32 %78, ptr %11, align 4 %79 = load i32, ptr %11, align 4 %80 = icmp ne i32 %79, 0 br i1 %80, label %81, label %83 81: ; preds = %73 %82 = call i32 @perror(ptr noundef @.str.8) br label %94 83: ; preds = %73 %84 = load i32, ptr %6, align 4 %85 = load i32, ptr %6, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = getelementptr inbounds %struct.timespec, ptr %10, i32 0, i32 1 %90 = load i64, ptr %89, align 8 %91 = getelementptr inbounds %struct.timespec, ptr %10, i32 0, i32 0 %92 = load i64, ptr %91, align 8 %93 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.9, i32 noundef %84, i32 noundef %88, i64 noundef %90, i64 noundef %92) br label %94 94: ; preds = %83, %81 br label %95 95: ; preds = %94 %96 = load i32, ptr %6, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %6, align 4 br label %67, !llvm.loop !6 98: ; preds = %67 store i32 0, ptr %6, align 4 br label %99 99: ; preds = %122, %98 %100 = load i32, ptr %6, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %101 %103 = load i32, ptr %102, align 4 %104 = icmp ne i32 %103, -1 br i1 %104, label %105, label %125 105: ; preds = %99 %106 = load i32, ptr %6, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %107 %109 = load i32, ptr %108, align 4 %110 = load i32, ptr %6, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [10 x %struct.timespec], ptr %7, i64 0, i64 %111 %113 = call i32 @clock_gettime(i32 noundef %109, ptr noundef %112) store i32 %113, ptr %5, align 4 %114 = load i32, ptr %5, align 4 %115 = icmp eq i32 %114, -1 br i1 %115, label %116, label %121 116: ; preds = %105 %117 = call i32 @perror(ptr noundef @.str.10) %118 = load i32, ptr %6, align 4 %119 = load i32, ptr %5, align 4 %120 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.11, i32 noundef %118, i32 noundef %119) br label %121 121: ; preds = %116, %105 br label %122 122: ; preds = %121 %123 = load i32, ptr %6, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %6, align 4 br label %99, !llvm.loop !8 125: ; preds = %99 %126 = call i32 @sleep(i32 noundef 5) store i32 0, ptr %6, align 4 br label %127 127: ; preds = %150, %125 %128 = load i32, ptr %6, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %129 %131 = load i32, ptr %130, align 4 %132 = icmp ne i32 %131, -1 br i1 %132, label %133, label %153 133: ; preds = %127 %134 = load i32, ptr %6, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %135 %137 = load i32, ptr %136, align 4 %138 = load i32, ptr %6, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [10 x %struct.timespec], ptr %8, i64 0, i64 %139 %141 = call i32 @clock_gettime(i32 noundef %137, ptr noundef %140) store i32 %141, ptr %5, align 4 %142 = load i32, ptr %5, align 4 %143 = icmp eq i32 %142, -1 br i1 %143, label %144, label %149 144: ; preds = %133 %145 = call i32 @perror(ptr noundef @.str.10) %146 = load i32, ptr %6, align 4 %147 = load i32, ptr %5, align 4 %148 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.11, i32 noundef %146, i32 noundef %147) br label %149 149: ; preds = %144, %133 br label %150 150: ; preds = %149 %151 = load i32, ptr %6, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %6, align 4 br label %127, !llvm.loop !9 153: ; preds = %127 store i32 0, ptr %6, align 4 br label %154 154: ; preds = %189, %153 %155 = load i32, ptr %6, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %156 %158 = load i32, ptr %157, align 4 %159 = icmp ne i32 %158, -1 br i1 %159, label %160, label %192 160: ; preds = %154 %161 = load i32, ptr %6, align 4 %162 = load i32, ptr %6, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %163 %165 = load i32, ptr %164, align 4 %166 = load i32, ptr %6, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds [10 x %struct.timespec], ptr %8, i64 0, i64 %167 %169 = getelementptr inbounds %struct.timespec, ptr %168, i32 0, i32 1 %170 = load i64, ptr %169, align 8 %171 = load i32, ptr %6, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds [10 x %struct.timespec], ptr %7, i64 0, i64 %172 %174 = getelementptr inbounds %struct.timespec, ptr %173, i32 0, i32 1 %175 = load i64, ptr %174, align 8 %176 = sub nsw i64 %170, %175 %177 = load i32, ptr %6, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds [10 x %struct.timespec], ptr %8, i64 0, i64 %178 %180 = getelementptr inbounds %struct.timespec, ptr %179, i32 0, i32 0 %181 = load i64, ptr %180, align 16 %182 = load i32, ptr %6, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [10 x %struct.timespec], ptr %7, i64 0, i64 %183 %185 = getelementptr inbounds %struct.timespec, ptr %184, i32 0, i32 0 %186 = load i64, ptr %185, align 16 %187 = sub nsw i64 %181, %186 %188 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.12, i32 noundef %161, i32 noundef %165, i64 noundef %176, i64 noundef %187) br label %189 189: ; preds = %160 %190 = load i32, ptr %6, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %6, align 4 br label %154, !llvm.loop !10 192: ; preds = %154 ret i32 0 } declare i64 @time(ptr noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @sysconf(i32 noundef) #1 declare i32 @times(ptr noundef) #1 declare i32 @clock_getres(i32 noundef, ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqm0ijp4o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } %struct.timespec = type { i64, i64 } %struct.tms = type { i32, i32 } @CLOCK_REALTIME = dso_local global i32 0, align 4 @CLOCK_MONOTONIC = dso_local global i32 0, align 4 @CLOCK_MONOTONIC_RAW = dso_local global i32 0, align 4 @CLOCK_MONOTONIC_COARSE = dso_local global i32 0, align 4 @CLOCK_PROCESS_CPUTIME_ID = dso_local global i32 0, align 4 @CLOCK_THREAD_CPUTIME_ID = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"gettimeofday fail \00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"clock gettime fail \00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"clk per sec %ld\0A\00", align 1 @_SC_CLK_TCK = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [12 x i8] c"times fail \00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"current time %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"tv sec %ld usec %ld\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"tp sec %ld nsec %ld\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"tms sec %ld usec %ld\0A\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"clock_getres\00", align 1 @.str.9 = private unnamed_addr constant [30 x i8] c"%d clock=%d sec=%ld nsec=%ld\0A\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"gettime fail\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [20 x i8] c"%d | %d | %ld %ld \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @time2_test() #0 { %1 = alloca %struct.timeval, align 4 %2 = alloca %struct.timespec, align 8 %3 = alloca %struct.tms, align 4 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [10 x %struct.timespec], align 16 %8 = alloca [10 x %struct.timespec], align 16 %9 = alloca [7 x i32], align 16 %10 = alloca %struct.timespec, align 8 %11 = alloca i32, align 4 %12 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 0 %13 = load i32, ptr @CLOCK_REALTIME, align 4 store i32 %13, ptr %12, align 4 %14 = getelementptr inbounds i32, ptr %12, i64 1 %15 = load i32, ptr @CLOCK_MONOTONIC, align 4 store i32 %15, ptr %14, align 4 %16 = getelementptr inbounds i32, ptr %14, i64 1 %17 = load i32, ptr @CLOCK_MONOTONIC_RAW, align 4 store i32 %17, ptr %16, align 4 %18 = getelementptr inbounds i32, ptr %16, i64 1 %19 = load i32, ptr @CLOCK_MONOTONIC_COARSE, align 4 store i32 %19, ptr %18, align 4 %20 = getelementptr inbounds i32, ptr %18, i64 1 %21 = load i32, ptr @CLOCK_PROCESS_CPUTIME_ID, align 4 store i32 %21, ptr %20, align 4 %22 = getelementptr inbounds i32, ptr %20, i64 1 %23 = load i32, ptr @CLOCK_THREAD_CPUTIME_ID, align 4 store i32 %23, ptr %22, align 4 %24 = getelementptr inbounds i32, ptr %22, i64 1 store i32 -1, ptr %24, align 4 %25 = call i64 @time(ptr noundef null) store i64 %25, ptr %4, align 8 %26 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %0 %30 = call i32 @perror(ptr noundef @.str) br label %31 31: ; preds = %29, %0 %32 = load i32, ptr @CLOCK_REALTIME, align 4 %33 = call i32 @clock_gettime(i32 noundef %32, ptr noundef %2) store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %31 %37 = call i32 @perror(ptr noundef @.str.1) br label %38 38: ; preds = %36, %31 %39 = load i32, ptr @_SC_CLK_TCK, align 4 %40 = call i32 @sysconf(i32 noundef %39) %41 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %40) %42 = call i32 @times(ptr noundef %3) store i32 %42, ptr %5, align 4 %43 = load i32, ptr %5, align 4 %44 = icmp slt i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = call i32 @perror(ptr noundef @.str.3) br label %47 47: ; preds = %45, %38 %48 = load i64, ptr %4, align 8 %49 = trunc i64 %48 to i32 %50 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %49) %51 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %52 = load i32, ptr %51, align 4 %53 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %52, i32 noundef %54) %56 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 1 %57 = load i64, ptr %56, align 8 %58 = trunc i64 %57 to i32 %59 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 %60 = load i64, ptr %59, align 8 %61 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %58, i64 noundef %60) %62 = getelementptr inbounds %struct.tms, ptr %3, i32 0, i32 1 %63 = load i32, ptr %62, align 4 %64 = getelementptr inbounds %struct.tms, ptr %3, i32 0, i32 0 %65 = load i32, ptr %64, align 4 %66 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef %63, i32 noundef %65) store i32 0, ptr %6, align 4 %67 = load i32, ptr %6, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = icmp ne i32 %70, -1 br i1 %71, label %.lr.ph, label %102 .lr.ph: ; preds = %47 br label %72 72: ; preds = %.lr.ph, %94 %73 = load i32, ptr %6, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %74 %76 = load i32, ptr %75, align 4 %77 = call i32 @clock_getres(i32 noundef %76, ptr noundef %10) store i32 %77, ptr %11, align 4 %78 = load i32, ptr %11, align 4 %79 = icmp ne i32 %78, 0 br i1 %79, label %80, label %82 80: ; preds = %72 %81 = call i32 @perror(ptr noundef @.str.8) br label %93 82: ; preds = %72 %83 = load i32, ptr %6, align 4 %84 = load i32, ptr %6, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %85 %87 = load i32, ptr %86, align 4 %88 = getelementptr inbounds %struct.timespec, ptr %10, i32 0, i32 1 %89 = load i64, ptr %88, align 8 %90 = getelementptr inbounds %struct.timespec, ptr %10, i32 0, i32 0 %91 = load i64, ptr %90, align 8 %92 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.9, i32 noundef %83, i32 noundef %87, i64 noundef %89, i64 noundef %91) br label %93 93: ; preds = %82, %80 br label %94 94: ; preds = %93 %95 = load i32, ptr %6, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %6, align 4 %97 = load i32, ptr %6, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %98 %100 = load i32, ptr %99, align 4 %101 = icmp ne i32 %100, -1 br i1 %101, label %72, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %94 br label %102 102: ; preds = %._crit_edge, %47 store i32 0, ptr %6, align 4 %103 = load i32, ptr %6, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %104 %106 = load i32, ptr %105, align 4 %107 = icmp ne i32 %106, -1 br i1 %107, label %.lr.ph2, label %133 .lr.ph2: ; preds = %102 br label %108 108: ; preds = %.lr.ph2, %125 %109 = load i32, ptr %6, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %110 %112 = load i32, ptr %111, align 4 %113 = load i32, ptr %6, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [10 x %struct.timespec], ptr %7, i64 0, i64 %114 %116 = call i32 @clock_gettime(i32 noundef %112, ptr noundef %115) store i32 %116, ptr %5, align 4 %117 = load i32, ptr %5, align 4 %118 = icmp eq i32 %117, -1 br i1 %118, label %119, label %124 119: ; preds = %108 %120 = call i32 @perror(ptr noundef @.str.10) %121 = load i32, ptr %6, align 4 %122 = load i32, ptr %5, align 4 %123 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.11, i32 noundef %121, i32 noundef %122) br label %124 124: ; preds = %119, %108 br label %125 125: ; preds = %124 %126 = load i32, ptr %6, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %6, align 4 %128 = load i32, ptr %6, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %129 %131 = load i32, ptr %130, align 4 %132 = icmp ne i32 %131, -1 br i1 %132, label %108, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %125 br label %133 133: ; preds = %._crit_edge3, %102 %134 = call i32 @sleep(i32 noundef 5) store i32 0, ptr %6, align 4 %135 = load i32, ptr %6, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %136 %138 = load i32, ptr %137, align 4 %139 = icmp ne i32 %138, -1 br i1 %139, label %.lr.ph5, label %165 .lr.ph5: ; preds = %133 br label %140 140: ; preds = %.lr.ph5, %157 %141 = load i32, ptr %6, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %142 %144 = load i32, ptr %143, align 4 %145 = load i32, ptr %6, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [10 x %struct.timespec], ptr %8, i64 0, i64 %146 %148 = call i32 @clock_gettime(i32 noundef %144, ptr noundef %147) store i32 %148, ptr %5, align 4 %149 = load i32, ptr %5, align 4 %150 = icmp eq i32 %149, -1 br i1 %150, label %151, label %156 151: ; preds = %140 %152 = call i32 @perror(ptr noundef @.str.10) %153 = load i32, ptr %6, align 4 %154 = load i32, ptr %5, align 4 %155 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.11, i32 noundef %153, i32 noundef %154) br label %156 156: ; preds = %151, %140 br label %157 157: ; preds = %156 %158 = load i32, ptr %6, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %6, align 4 %160 = load i32, ptr %6, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %161 %163 = load i32, ptr %162, align 4 %164 = icmp ne i32 %163, -1 br i1 %164, label %140, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %157 br label %165 165: ; preds = %._crit_edge6, %133 store i32 0, ptr %6, align 4 %166 = load i32, ptr %6, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %167 %169 = load i32, ptr %168, align 4 %170 = icmp ne i32 %169, -1 br i1 %170, label %.lr.ph8, label %208 .lr.ph8: ; preds = %165 br label %171 171: ; preds = %.lr.ph8, %200 %172 = load i32, ptr %6, align 4 %173 = load i32, ptr %6, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %174 %176 = load i32, ptr %175, align 4 %177 = load i32, ptr %6, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds [10 x %struct.timespec], ptr %8, i64 0, i64 %178 %180 = getelementptr inbounds %struct.timespec, ptr %179, i32 0, i32 1 %181 = load i64, ptr %180, align 8 %182 = load i32, ptr %6, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [10 x %struct.timespec], ptr %7, i64 0, i64 %183 %185 = getelementptr inbounds %struct.timespec, ptr %184, i32 0, i32 1 %186 = load i64, ptr %185, align 8 %187 = sub nsw i64 %181, %186 %188 = load i32, ptr %6, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds [10 x %struct.timespec], ptr %8, i64 0, i64 %189 %191 = getelementptr inbounds %struct.timespec, ptr %190, i32 0, i32 0 %192 = load i64, ptr %191, align 16 %193 = load i32, ptr %6, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds [10 x %struct.timespec], ptr %7, i64 0, i64 %194 %196 = getelementptr inbounds %struct.timespec, ptr %195, i32 0, i32 0 %197 = load i64, ptr %196, align 16 %198 = sub nsw i64 %192, %197 %199 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.12, i32 noundef %172, i32 noundef %176, i64 noundef %187, i64 noundef %198) br label %200 200: ; preds = %171 %201 = load i32, ptr %6, align 4 %202 = add nsw i32 %201, 1 store i32 %202, ptr %6, align 4 %203 = load i32, ptr %6, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds [7 x i32], ptr %9, i64 0, i64 %204 %206 = load i32, ptr %205, align 4 %207 = icmp ne i32 %206, -1 br i1 %207, label %171, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %200 br label %208 208: ; preds = %._crit_edge9, %165 ret i32 0 } declare i64 @time(ptr noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @sysconf(i32 noundef) #1 declare i32 @times(ptr noundef) #1 declare i32 @clock_getres(i32 noundef, ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpwgqqyynh.c' source_filename = "/tmp/tmpwgqqyynh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"CURRENT ASSIGNMENTS\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c" Course\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"Assignment\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"Points\09Due\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_assignment_hdr() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @repeat(i8 noundef signext 45, i32 noundef 80) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 @printf(ptr noundef @.str.2) %5 = call i32 @hskip(i32 noundef 23) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @hskip(i32 noundef 19) %8 = call i32 @printf(ptr noundef @.str.4) %9 = call i32 @repeat(i8 noundef signext 45, i32 noundef 80) %10 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @repeat(i8 noundef signext, i32 noundef) #1 declare i32 @hskip(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/tmpwgqqyynh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"CURRENT ASSIGNMENTS\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c" Course\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"Assignment\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"Points\09Due\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_assignment_hdr() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @repeat(i8 noundef signext 45, i32 noundef 80) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 @printf(ptr noundef @.str.2) %5 = call i32 @hskip(i32 noundef 23) %6 = call i32 @printf(ptr noundef @.str.3) %7 = call i32 @hskip(i32 noundef 19) %8 = call i32 @printf(ptr noundef @.str.4) %9 = call i32 @repeat(i8 noundef signext 45, i32 noundef 80) %10 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @repeat(i8 noundef signext, i32 noundef) #1 declare i32 @hskip(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/tmpb8v057x4.c' source_filename = "/tmp/tmpb8v057x4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EMACTxDMAPollDemand(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = add nsw i64 %3, 3076 %5 = inttoptr i64 %4 to ptr store volatile i64 0, ptr %5, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb8v057x4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EMACTxDMAPollDemand(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = add nsw i64 %3, 3076 %5 = inttoptr i64 %4 to ptr store volatile i64 0, ptr %5, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpecf55z82.c' source_filename = "/tmp/tmpecf55z82.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %11 = load i64, ptr %2, align 8 %12 = call i64 @calloc(i64 noundef %11, i32 noundef 8) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %6, align 8 store i64 0, ptr %5, align 8 br label %14 14: ; preds = %18, %0 %15 = load i64, ptr %5, align 8 %16 = load i64, ptr %2, align 8 %17 = icmp ult i64 %15, %16 br i1 %17, label %18, label %24 18: ; preds = %14 %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %5, align 8 %21 = add nsw i64 %20, 1 store i64 %21, ptr %5, align 8 %22 = getelementptr inbounds i64, ptr %19, i64 %20 %23 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %22) br label %14, !llvm.loop !6 24: ; preds = %14 %25 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) %26 = load i64, ptr %3, align 8 %27 = call i64 @calloc(i64 noundef %26, i32 noundef 8) %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %7, align 8 store i64 0, ptr %5, align 8 br label %29 29: ; preds = %33, %24 %30 = load i64, ptr %5, align 8 %31 = load i64, ptr %3, align 8 %32 = icmp ult i64 %30, %31 br i1 %32, label %33, label %39 33: ; preds = %29 %34 = load ptr, ptr %7, align 8 %35 = load i64, ptr %5, align 8 %36 = add nsw i64 %35, 1 store i64 %36, ptr %5, align 8 %37 = getelementptr inbounds i64, ptr %34, i64 %35 %38 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %37) br label %29, !llvm.loop !8 39: ; preds = %29 %40 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4) %41 = load i64, ptr %4, align 8 %42 = call i64 @calloc(i64 noundef %41, i32 noundef 8) %43 = inttoptr i64 %42 to ptr store ptr %43, ptr %8, align 8 store i64 0, ptr %5, align 8 br label %44 44: ; preds = %48, %39 %45 = load i64, ptr %5, align 8 %46 = load i64, ptr %4, align 8 %47 = icmp ult i64 %45, %46 br i1 %47, label %48, label %54 48: ; preds = %44 %49 = load ptr, ptr %8, align 8 %50 = load i64, ptr %5, align 8 %51 = add nsw i64 %50, 1 store i64 %51, ptr %5, align 8 %52 = getelementptr inbounds i64, ptr %49, i64 %50 %53 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %52) br label %44, !llvm.loop !9 54: ; preds = %44 %55 = load ptr, ptr %6, align 8 %56 = load i64, ptr %2, align 8 %57 = load ptr, ptr %7, align 8 %58 = load i64, ptr %3, align 8 %59 = load ptr, ptr %8, align 8 %60 = load i64, ptr %4, align 8 %61 = call i64 @lcs3(ptr noundef %55, i64 noundef %56, ptr noundef %57, i64 noundef %58, ptr noundef %59, i64 noundef %60) store i64 %61, ptr %9, align 8 %62 = load i64, ptr %9, align 8 %63 = call i32 @printf(ptr noundef @.str.1, i64 noundef %62) %64 = load i32, ptr %1, align 4 ret i32 %64 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @calloc(i64 noundef, i32 noundef) #1 declare i64 @lcs3(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpecf55z82.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store i32 0, ptr %1, align 4 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %11 = load i64, ptr %2, align 8 %12 = call i64 @calloc(i64 noundef %11, i32 noundef 8) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %6, align 8 store i64 0, ptr %5, align 8 %14 = load i64, ptr %5, align 8 %15 = load i64, ptr %2, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %17 %18 = load ptr, ptr %6, align 8 %19 = load i64, ptr %5, align 8 %20 = add nsw i64 %19, 1 store i64 %20, ptr %5, align 8 %21 = getelementptr inbounds i64, ptr %18, i64 %19 %22 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %21) %23 = load i64, ptr %5, align 8 %24 = load i64, ptr %2, align 8 %25 = icmp ult i64 %23, %24 br i1 %25, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %26 26: ; preds = %._crit_edge, %0 %27 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) %28 = load i64, ptr %3, align 8 %29 = call i64 @calloc(i64 noundef %28, i32 noundef 8) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %7, align 8 store i64 0, ptr %5, align 8 %31 = load i64, ptr %5, align 8 %32 = load i64, ptr %3, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %.lr.ph2, label %43 .lr.ph2: ; preds = %26 br label %34 34: ; preds = %.lr.ph2, %34 %35 = load ptr, ptr %7, align 8 %36 = load i64, ptr %5, align 8 %37 = add nsw i64 %36, 1 store i64 %37, ptr %5, align 8 %38 = getelementptr inbounds i64, ptr %35, i64 %36 %39 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %38) %40 = load i64, ptr %5, align 8 %41 = load i64, ptr %3, align 8 %42 = icmp ult i64 %40, %41 br i1 %42, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %43 43: ; preds = %._crit_edge3, %26 %44 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4) %45 = load i64, ptr %4, align 8 %46 = call i64 @calloc(i64 noundef %45, i32 noundef 8) %47 = inttoptr i64 %46 to ptr store ptr %47, ptr %8, align 8 store i64 0, ptr %5, align 8 %48 = load i64, ptr %5, align 8 %49 = load i64, ptr %4, align 8 %50 = icmp ult i64 %48, %49 br i1 %50, label %.lr.ph5, label %60 .lr.ph5: ; preds = %43 br label %51 51: ; preds = %.lr.ph5, %51 %52 = load ptr, ptr %8, align 8 %53 = load i64, ptr %5, align 8 %54 = add nsw i64 %53, 1 store i64 %54, ptr %5, align 8 %55 = getelementptr inbounds i64, ptr %52, i64 %53 %56 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %55) %57 = load i64, ptr %5, align 8 %58 = load i64, ptr %4, align 8 %59 = icmp ult i64 %57, %58 br i1 %59, label %51, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %51 br label %60 60: ; preds = %._crit_edge6, %43 %61 = load ptr, ptr %6, align 8 %62 = load i64, ptr %2, align 8 %63 = load ptr, ptr %7, align 8 %64 = load i64, ptr %3, align 8 %65 = load ptr, ptr %8, align 8 %66 = load i64, ptr %4, align 8 %67 = call i64 @lcs3(ptr noundef %61, i64 noundef %62, ptr noundef %63, i64 noundef %64, ptr noundef %65, i64 noundef %66) store i64 %67, ptr %9, align 8 %68 = load i64, ptr %9, align 8 %69 = call i32 @printf(ptr noundef @.str.1, i64 noundef %68) %70 = load i32, ptr %1, align 4 ret i32 %70 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @calloc(i64 noundef, i32 noundef) #1 declare i64 @lcs3(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp9h7dxsnb.c' source_filename = "/tmp/tmp9h7dxsnb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Expected:\0A'%s'\0Abut was\0A'%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stringShouldEqual(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strcmp(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %2 br label %18 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %14, ptr noundef %15) %17 = call i32 @assert(i32 noundef 0) br label %18 18: ; preds = %12, %11 ret void } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9h7dxsnb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Expected:\0A'%s'\0Abut was\0A'%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stringShouldEqual(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strcmp(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %2 br label %18 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %14, ptr noundef %15) %17 = call i32 @assert(i32 noundef 0) br label %18 18: ; preds = %12, %11 ret void } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplx0h3oyv.c' source_filename = "/tmp/tmplx0h3oyv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x_left(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = fneg double %3 %6 = call double @llvm.fmuladd.f64(double %5, double %4, double 1.000000e+00) %7 = call double @sqrt(double noundef %6) #3 %8 = fneg double %7 ret double %8 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplx0h3oyv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x_left(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = fneg double %3 %6 = call double @llvm.fmuladd.f64(double %5, double %4, double 1.000000e+00) %7 = call double @sqrt(double noundef %6) #3 %8 = fneg double %7 ret double %8 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpks0xe791.c' source_filename = "/tmp/tmpks0xe791.c" target datalayout = "e-m:e-p270: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/tmpks0xe791.c" target datalayout = "e-m:e-p270: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/tmp4vs8y5zj.c' source_filename = "/tmp/tmp4vs8y5zj.c" target datalayout = "e-m:e-p270: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.servent = type { ptr } @IPPROTO_TCP = dso_local global i16 0, align 2 @.str = private unnamed_addr constant [4 x i8] c"tcp\00", align 1 @IPPROTO_UDP = dso_local global i16 0, align 2 @.str.1 = private unnamed_addr constant [4 x i8] c"udp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @port_to_service(i32 noundef %0, i16 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i16 %1, ptr %5, align 2 %7 = load i16, ptr %5, align 2 %8 = zext i16 %7 to i32 %9 = load i16, ptr @IPPROTO_TCP, align 2 %10 = zext i16 %9 to i32 %11 = icmp eq i32 %8, %10 br i1 %11, label %12, label %21 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = call i32 @htons(i32 noundef %13) %15 = call ptr @getservbyport(i32 noundef %14, ptr noundef @.str) store ptr %15, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %21 17: ; preds = %12 %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds %struct.servent, ptr %18, i32 0, i32 0 %20 = load ptr, ptr %19, align 8 store ptr %20, ptr %3, align 8 br label %37 21: ; preds = %12, %2 %22 = load i16, ptr %5, align 2 %23 = zext i16 %22 to i32 %24 = load i16, ptr @IPPROTO_UDP, align 2 %25 = zext i16 %24 to i32 %26 = icmp eq i32 %23, %25 br i1 %26, label %27, label %36 27: ; preds = %21 %28 = load i32, ptr %4, align 4 %29 = call i32 @htons(i32 noundef %28) %30 = call ptr @getservbyport(i32 noundef %29, ptr noundef @.str.1) store ptr %30, ptr %6, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %36 32: ; preds = %27 %33 = load ptr, ptr %6, align 8 %34 = getelementptr inbounds %struct.servent, ptr %33, i32 0, i32 0 %35 = load ptr, ptr %34, align 8 store ptr %35, ptr %3, align 8 br label %37 36: ; preds = %27, %21 store ptr null, ptr %3, align 8 br label %37 37: ; preds = %36, %32, %17 %38 = load ptr, ptr %3, align 8 ret ptr %38 } declare ptr @getservbyport(i32 noundef, ptr noundef) #1 declare i32 @htons(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/tmp4vs8y5zj.c" target datalayout = "e-m:e-p270: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.servent = type { ptr } @IPPROTO_TCP = dso_local global i16 0, align 2 @.str = private unnamed_addr constant [4 x i8] c"tcp\00", align 1 @IPPROTO_UDP = dso_local global i16 0, align 2 @.str.1 = private unnamed_addr constant [4 x i8] c"udp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @port_to_service(i32 noundef %0, i16 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i16 %1, ptr %5, align 2 %7 = load i16, ptr %5, align 2 %8 = zext i16 %7 to i32 %9 = load i16, ptr @IPPROTO_TCP, align 2 %10 = zext i16 %9 to i32 %11 = icmp eq i32 %8, %10 br i1 %11, label %12, label %21 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = call i32 @htons(i32 noundef %13) %15 = call ptr @getservbyport(i32 noundef %14, ptr noundef @.str) store ptr %15, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %21 17: ; preds = %12 %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds %struct.servent, ptr %18, i32 0, i32 0 %20 = load ptr, ptr %19, align 8 store ptr %20, ptr %3, align 8 br label %37 21: ; preds = %12, %2 %22 = load i16, ptr %5, align 2 %23 = zext i16 %22 to i32 %24 = load i16, ptr @IPPROTO_UDP, align 2 %25 = zext i16 %24 to i32 %26 = icmp eq i32 %23, %25 br i1 %26, label %27, label %36 27: ; preds = %21 %28 = load i32, ptr %4, align 4 %29 = call i32 @htons(i32 noundef %28) %30 = call ptr @getservbyport(i32 noundef %29, ptr noundef @.str.1) store ptr %30, ptr %6, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %36 32: ; preds = %27 %33 = load ptr, ptr %6, align 8 %34 = getelementptr inbounds %struct.servent, ptr %33, i32 0, i32 0 %35 = load ptr, ptr %34, align 8 store ptr %35, ptr %3, align 8 br label %37 36: ; preds = %27, %21 store ptr null, ptr %3, align 8 br label %37 37: ; preds = %36, %32, %17 %38 = load ptr, ptr %3, align 8 ret ptr %38 } declare ptr @getservbyport(i32 noundef, ptr noundef) #1 declare i32 @htons(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/tmpeiwtbc5w.c' source_filename = "/tmp/tmpeiwtbc5w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inversion_videoNB(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store ptr null, ptr %11, align 8 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = mul nsw i32 %13, %14 %16 = call ptr @calloc(i32 noundef %15, i32 noundef 1) store ptr %16, ptr %11, align 8 store i32 0, ptr %12, align 4 br label %17 17: ; preds = %36, %5 %18 = load i32, ptr %12, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = mul nsw i32 %19, %20 %22 = icmp slt i32 %18, %21 br i1 %22, label %23, label %39 23: ; preds = %17 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %12, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = sub nsw i32 255, %29 %31 = trunc i32 %30 to i8 %32 = load ptr, ptr %11, align 8 %33 = load i32, ptr %12, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 store i8 %31, ptr %35, align 1 br label %36 36: ; preds = %23 %37 = load i32, ptr %12, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %12, align 4 br label %17, !llvm.loop !6 39: ; preds = %17 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %9, align 8 store i32 %40, ptr %41, align 4 %42 = load i32, ptr %8, align 4 %43 = load ptr, ptr %10, align 8 store i32 %42, ptr %43, align 4 %44 = load ptr, ptr %11, align 8 ret ptr %44 } declare ptr @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeiwtbc5w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inversion_videoNB(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store ptr null, ptr %11, align 8 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = mul nsw i32 %13, %14 %16 = call ptr @calloc(i32 noundef %15, i32 noundef 1) store ptr %16, ptr %11, align 8 store i32 0, ptr %12, align 4 %17 = load i32, ptr %12, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = mul nsw i32 %18, %19 %21 = icmp slt i32 %17, %20 br i1 %21, label %.lr.ph, label %43 .lr.ph: ; preds = %5 br label %22 22: ; preds = %.lr.ph, %35 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %12, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = sub nsw i32 255, %28 %30 = trunc i32 %29 to i8 %31 = load ptr, ptr %11, align 8 %32 = load i32, ptr %12, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 %30, ptr %34, align 1 br label %35 35: ; preds = %22 %36 = load i32, ptr %12, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %12, align 4 %38 = load i32, ptr %12, align 4 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %8, align 4 %41 = mul nsw i32 %39, %40 %42 = icmp slt i32 %38, %41 br i1 %42, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %43 43: ; preds = %._crit_edge, %5 %44 = load i32, ptr %7, align 4 %45 = load ptr, ptr %9, align 8 store i32 %44, ptr %45, align 4 %46 = load i32, ptr %8, align 4 %47 = load ptr, ptr %10, align 8 store i32 %46, ptr %47, align 4 %48 = load ptr, ptr %11, align 8 ret ptr %48 } declare ptr @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvi3a6epw.c' source_filename = "/tmp/tmpvi3a6epw.c" target datalayout = "e-m:e-p270: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/tmpvi3a6epw.c" target datalayout = "e-m:e-p270: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/tmpyzstknj3.c' source_filename = "/tmp/tmpyzstknj3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caller_flat_u_na(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @callee_flat_u_abs(i32 noundef %3) ret i32 %4 } declare i32 @callee_flat_u_abs(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/tmpyzstknj3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caller_flat_u_na(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @callee_flat_u_abs(i32 noundef %3) ret i32 %4 } declare i32 @callee_flat_u_abs(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/tmp3ux9akw0.c' source_filename = "/tmp/tmp3ux9akw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memcpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 call void asm sideeffect "cld\0A\09rep\0A\09movsb", "{cx},{si},{di},~{dirflag},~{fpsr},~{flags}"(i32 %7, ptr %8, ptr %9) #1, !srcloc !6 %10 = load ptr, ptr %4, align 8 ret ptr %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 78, i64 84, i64 95}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3ux9akw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memcpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 call void asm sideeffect "cld\0A\09rep\0A\09movsb", "{cx},{si},{di},~{dirflag},~{fpsr},~{flags}"(i32 %7, ptr %8, ptr %9) #1, !srcloc !6 %10 = load ptr, ptr %4, align 8 ret ptr %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 78, i64 84, i64 95}
; ModuleID = '/tmp/tmpr36f_834.c' source_filename = "/tmp/tmpr36f_834.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIZE_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @reralloc_array_size(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = zext i32 %10 to i64 %12 = load i64, ptr @SIZE_MAX, align 8 %13 = load i64, ptr %8, align 8 %14 = udiv i64 %12, %13 %15 = icmp ugt i64 %11, %14 br i1 %15, label %16, label %17 16: ; preds = %4 store ptr null, ptr %5, align 8 br label %25 17: ; preds = %4 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i64, ptr %8, align 8 %21 = load i32, ptr %9, align 4 %22 = zext i32 %21 to i64 %23 = mul i64 %20, %22 %24 = call ptr @reralloc_size(ptr noundef %18, ptr noundef %19, i64 noundef %23) store ptr %24, ptr %5, align 8 br label %25 25: ; preds = %17, %16 %26 = load ptr, ptr %5, align 8 ret ptr %26 } declare ptr @reralloc_size(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr36f_834.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIZE_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @reralloc_array_size(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = zext i32 %10 to i64 %12 = load i64, ptr @SIZE_MAX, align 8 %13 = load i64, ptr %8, align 8 %14 = udiv i64 %12, %13 %15 = icmp ugt i64 %11, %14 br i1 %15, label %16, label %17 16: ; preds = %4 store ptr null, ptr %5, align 8 br label %25 17: ; preds = %4 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %7, align 8 %20 = load i64, ptr %8, align 8 %21 = load i32, ptr %9, align 4 %22 = zext i32 %21 to i64 %23 = mul i64 %20, %22 %24 = call ptr @reralloc_size(ptr noundef %18, ptr noundef %19, i64 noundef %23) store ptr %24, ptr %5, align 8 br label %25 25: ; preds = %17, %16 %26 = load ptr, ptr %5, align 8 ret ptr %26 } declare ptr @reralloc_size(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkvyz4pgi.c' source_filename = "/tmp/tmpkvyz4pgi.c" target datalayout = "e-m:e-p270: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/tmpkvyz4pgi.c" target datalayout = "e-m:e-p270: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/tmpq8kj7fft.c' source_filename = "/tmp/tmpq8kj7fft.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.gpio_number = private unnamed_addr constant [3 x i8] c"60\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"out\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.gpio_number, i64 3, i1 false) %3 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @export_gpio(ptr noundef %3) %5 = call i32 @set_direction(ptr noundef @.str) br label %6 6: ; preds = %0, %6 %7 = call i32 @sleep(i32 noundef 1) %8 = call i32 @set_value(ptr noundef @.str.1) %9 = call i32 @sleep(i32 noundef 1) %10 = call i32 @set_value(ptr noundef @.str.2) br label %6 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @export_gpio(ptr noundef) #2 declare i32 @set_direction(ptr noundef) #2 declare i32 @sleep(i32 noundef) #2 declare i32 @set_value(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq8kj7fft.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.gpio_number = private unnamed_addr constant [3 x i8] c"60\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"out\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.gpio_number, i64 3, i1 false) %3 = getelementptr inbounds [3 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @export_gpio(ptr noundef %3) %5 = call i32 @set_direction(ptr noundef @.str) br label %6 6: ; preds = %6, %0 %7 = call i32 @sleep(i32 noundef 1) %8 = call i32 @set_value(ptr noundef @.str.1) %9 = call i32 @sleep(i32 noundef 1) %10 = call i32 @set_value(ptr noundef @.str.2) br label %6 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @export_gpio(ptr noundef) #2 declare i32 @set_direction(ptr noundef) #2 declare i32 @sleep(i32 noundef) #2 declare i32 @set_value(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9vb1zopz.c' source_filename = "/tmp/tmp9vb1zopz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"cannot change directory to %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @xchdir(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 i64 @chdir(ptr noundef %3) %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @fail(ptr noundef @.str, ptr noundef %7) br label %9 9: ; preds = %6, %1 ret void } declare i64 @chdir(ptr noundef) #1 declare i32 @fail(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/tmp9vb1zopz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"cannot change directory to %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @xchdir(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 i64 @chdir(ptr noundef %3) %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @fail(ptr noundef @.str, ptr noundef %7) br label %9 9: ; preds = %6, %1 ret void } declare i64 @chdir(ptr noundef) #1 declare i32 @fail(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/tmpzuogbvds.c' source_filename = "/tmp/tmpzuogbvds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mat4f_viewmat_to_lookatVec(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [9 x float], align 16 %10 = alloca [16 x float], align 16 %11 = alloca [16 x float], align 16 %12 = alloca [4 x float], align 16 %13 = alloca [4 x float], align 16 %14 = alloca [4 x float], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %15 = getelementptr inbounds [9 x float], ptr %9, i64 0, i64 0 %16 = load ptr, ptr %5, align 8 %17 = call i32 @mat3f_from_mat4f(ptr noundef %15, ptr noundef %16) %18 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0 %19 = getelementptr inbounds [9 x float], ptr %9, i64 0, i64 0 %20 = call i32 @mat4f_from_mat3f(ptr noundef %18, ptr noundef %19) %21 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0 %22 = call i32 @mat4f_invert(ptr noundef %21) %23 = getelementptr inbounds [16 x float], ptr %11, i64 0, i64 0 %24 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0 %25 = load ptr, ptr %5, align 8 %26 = call i32 @mat4f_mult_mat4f_new(ptr noundef %23, ptr noundef %24, ptr noundef %25) %27 = getelementptr inbounds [4 x float], ptr %12, i64 0, i64 0 %28 = getelementptr inbounds [16 x float], ptr %11, i64 0, i64 0 %29 = call i32 @mat4f_getColumn(ptr noundef %27, ptr noundef %28, i32 noundef 3) %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds [4 x float], ptr %12, i64 0, i64 0 %32 = call i32 @vec3f_scalarMult_new(ptr noundef %30, ptr noundef %31, i32 noundef -1) %33 = getelementptr inbounds [4 x float], ptr %13, i64 0, i64 0 %34 = load ptr, ptr %5, align 8 %35 = call i32 @mat4f_getRow(ptr noundef %33, ptr noundef %34, i32 noundef 1) %36 = load ptr, ptr %8, align 8 %37 = getelementptr inbounds [4 x float], ptr %13, i64 0, i64 0 %38 = call i32 @vec3f_copy(ptr noundef %36, ptr noundef %37) %39 = getelementptr inbounds [4 x float], ptr %14, i64 0, i64 0 %40 = load ptr, ptr %5, align 8 %41 = call i32 @mat4f_getRow(ptr noundef %39, ptr noundef %40, i32 noundef 2) %42 = load ptr, ptr %7, align 8 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds [4 x float], ptr %14, i64 0, i64 0 %45 = call i32 @vec3f_sub_new(ptr noundef %42, ptr noundef %43, ptr noundef %44) ret void } declare i32 @mat3f_from_mat4f(ptr noundef, ptr noundef) #1 declare i32 @mat4f_from_mat3f(ptr noundef, ptr noundef) #1 declare i32 @mat4f_invert(ptr noundef) #1 declare i32 @mat4f_mult_mat4f_new(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @mat4f_getColumn(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @vec3f_scalarMult_new(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @mat4f_getRow(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @vec3f_copy(ptr noundef, ptr noundef) #1 declare i32 @vec3f_sub_new(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzuogbvds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mat4f_viewmat_to_lookatVec(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [9 x float], align 16 %10 = alloca [16 x float], align 16 %11 = alloca [16 x float], align 16 %12 = alloca [4 x float], align 16 %13 = alloca [4 x float], align 16 %14 = alloca [4 x float], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %15 = getelementptr inbounds [9 x float], ptr %9, i64 0, i64 0 %16 = load ptr, ptr %5, align 8 %17 = call i32 @mat3f_from_mat4f(ptr noundef %15, ptr noundef %16) %18 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0 %19 = getelementptr inbounds [9 x float], ptr %9, i64 0, i64 0 %20 = call i32 @mat4f_from_mat3f(ptr noundef %18, ptr noundef %19) %21 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0 %22 = call i32 @mat4f_invert(ptr noundef %21) %23 = getelementptr inbounds [16 x float], ptr %11, i64 0, i64 0 %24 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 0 %25 = load ptr, ptr %5, align 8 %26 = call i32 @mat4f_mult_mat4f_new(ptr noundef %23, ptr noundef %24, ptr noundef %25) %27 = getelementptr inbounds [4 x float], ptr %12, i64 0, i64 0 %28 = getelementptr inbounds [16 x float], ptr %11, i64 0, i64 0 %29 = call i32 @mat4f_getColumn(ptr noundef %27, ptr noundef %28, i32 noundef 3) %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds [4 x float], ptr %12, i64 0, i64 0 %32 = call i32 @vec3f_scalarMult_new(ptr noundef %30, ptr noundef %31, i32 noundef -1) %33 = getelementptr inbounds [4 x float], ptr %13, i64 0, i64 0 %34 = load ptr, ptr %5, align 8 %35 = call i32 @mat4f_getRow(ptr noundef %33, ptr noundef %34, i32 noundef 1) %36 = load ptr, ptr %8, align 8 %37 = getelementptr inbounds [4 x float], ptr %13, i64 0, i64 0 %38 = call i32 @vec3f_copy(ptr noundef %36, ptr noundef %37) %39 = getelementptr inbounds [4 x float], ptr %14, i64 0, i64 0 %40 = load ptr, ptr %5, align 8 %41 = call i32 @mat4f_getRow(ptr noundef %39, ptr noundef %40, i32 noundef 2) %42 = load ptr, ptr %7, align 8 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds [4 x float], ptr %14, i64 0, i64 0 %45 = call i32 @vec3f_sub_new(ptr noundef %42, ptr noundef %43, ptr noundef %44) ret void } declare i32 @mat3f_from_mat4f(ptr noundef, ptr noundef) #1 declare i32 @mat4f_from_mat3f(ptr noundef, ptr noundef) #1 declare i32 @mat4f_invert(ptr noundef) #1 declare i32 @mat4f_mult_mat4f_new(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @mat4f_getColumn(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @vec3f_scalarMult_new(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @mat4f_getRow(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @vec3f_copy(ptr noundef, ptr noundef) #1 declare i32 @vec3f_sub_new(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9csnk4dl.c' source_filename = "/tmp/tmp9csnk4dl.c" target datalayout = "e-m:e-p270: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/tmp9csnk4dl.c" target datalayout = "e-m:e-p270: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/tmpqjqg85ru.c' source_filename = "/tmp/tmpqjqg85ru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expand(ptr noundef %0, ptr 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 i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 %10 = load i8, ptr %9, align 1 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 store i8 %10, ptr %12, align 1 store i32 1, ptr %5, align 4 store i32 1, ptr %6, align 4 br label %13 13: ; preds = %79, %2 %14 = load i32, ptr %5, align 4 %15 = load ptr, ptr %3, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = icmp slt i32 %14, %16 br i1 %17, label %18, label %82 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 45 br i1 %25, label %26, label %67 26: ; preds = %18 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sub nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = load i8, ptr %31, align 1 %33 = call i32 @isspace(i8 noundef signext %32) %34 = icmp ne i32 %33, 0 br i1 %34, label %67, label %35 35: ; preds = %26 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %5, align 4 %38 = sub nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %36, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = add nsw i32 %42, 1 %44 = trunc i32 %43 to i8 store i8 %44, ptr %7, align 1 br label %45 45: ; preds = %63, %35 %46 = load i8, ptr %7, align 1 %47 = sext i8 %46 to i32 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %5, 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 slt i32 %47, %54 br i1 %55, label %56, label %66 56: ; preds = %45 %57 = load i8, ptr %7, align 1 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %6, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %6, align 4 %61 = sext i32 %59 to i64 %62 = getelementptr inbounds i8, ptr %58, i64 %61 store i8 %57, ptr %62, align 1 br label %63 63: ; preds = %56 %64 = load i8, ptr %7, align 1 %65 = add i8 %64, 1 store i8 %65, ptr %7, align 1 br label %45, !llvm.loop !6 66: ; preds = %45 br label %78 67: ; preds = %26, %18 %68 = load ptr, ptr %3, align 8 %69 = load i32, ptr %5, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 %72 = load i8, ptr %71, align 1 %73 = load ptr, ptr %4, align 8 %74 = load i32, ptr %6, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %6, align 4 %76 = sext i32 %74 to i64 %77 = getelementptr inbounds i8, ptr %73, i64 %76 store i8 %72, ptr %77, align 1 br label %78 78: ; preds = %67, %66 br label %79 79: ; preds = %78 %80 = load i32, ptr %5, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %5, align 4 br label %13, !llvm.loop !8 82: ; preds = %13 %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %6, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 store i8 0, ptr %86, align 1 %87 = load i32, ptr %6, align 4 ret i32 %87 } declare i32 @strlen(ptr noundef) #1 declare i32 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqjqg85ru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expand(ptr noundef %0, ptr 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 i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 %10 = load i8, ptr %9, align 1 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 store i8 %10, ptr %12, align 1 store i32 1, ptr %5, align 4 store i32 1, ptr %6, align 4 %13 = load i32, ptr %5, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = icmp slt i32 %13, %15 br i1 %16, label %.lr.ph2, label %94 .lr.ph2: ; preds = %2 br label %17 17: ; preds = %.lr.ph2, %87 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 45 br i1 %24, label %25, label %75 25: ; preds = %17 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %5, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 %32 = call i32 @isspace(i8 noundef signext %31) %33 = icmp ne i32 %32, 0 br i1 %33, label %75, label %34 34: ; preds = %25 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %5, align 4 %37 = sub nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %35, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = add nsw i32 %41, 1 %43 = trunc i32 %42 to i8 store i8 %43, ptr %7, align 1 %44 = load i8, ptr %7, align 1 %45 = sext i8 %44 to i32 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %46, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp slt i32 %45, %52 br i1 %53, label %.lr.ph, label %74 .lr.ph: ; preds = %34 br label %54 54: ; preds = %.lr.ph, %61 %55 = load i8, ptr %7, align 1 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %6, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %6, align 4 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 store i8 %55, ptr %60, align 1 br label %61 61: ; preds = %54 %62 = load i8, ptr %7, align 1 %63 = add i8 %62, 1 store i8 %63, ptr %7, align 1 %64 = load i8, ptr %7, align 1 %65 = sext i8 %64 to i32 %66 = load ptr, ptr %3, align 8 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 %67, 1 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %66, i64 %69 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp slt i32 %65, %72 br i1 %73, label %54, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %74 74: ; preds = %._crit_edge, %34 br label %86 75: ; preds = %25, %17 %76 = load ptr, ptr %3, align 8 %77 = load i32, ptr %5, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 %80 = load i8, ptr %79, align 1 %81 = load ptr, ptr %4, align 8 %82 = load i32, ptr %6, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %6, align 4 %84 = sext i32 %82 to i64 %85 = getelementptr inbounds i8, ptr %81, i64 %84 store i8 %80, ptr %85, align 1 br label %86 86: ; preds = %75, %74 br label %87 87: ; preds = %86 %88 = load i32, ptr %5, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %5, align 4 %90 = load i32, ptr %5, align 4 %91 = load ptr, ptr %3, align 8 %92 = call i32 @strlen(ptr noundef %91) %93 = icmp slt i32 %90, %92 br i1 %93, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %87 br label %94 94: ; preds = %._crit_edge3, %2 %95 = load ptr, ptr %4, align 8 %96 = load i32, ptr %6, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %95, i64 %97 store i8 0, ptr %98, align 1 %99 = load i32, ptr %6, align 4 ret i32 %99 } declare i32 @strlen(ptr noundef) #1 declare i32 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmlmi8oat.c' source_filename = "/tmp/tmpmlmi8oat.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" -%-14s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @describe_option(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %7, ptr noundef %8) ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmlmi8oat.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" -%-14s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @describe_option(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %7, ptr noundef %8) ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyjb6gdun.c' source_filename = "/tmp/tmpyjb6gdun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @max_heapify(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 %10 = 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 %11 = load i32, ptr %5, align 4 %12 = call i32 @left(i32 noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %5, align 4 %14 = call i32 @right(i32 noundef %13) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 %18 = icmp sle i32 %15, %17 br i1 %18, label %19, label %33 19: ; preds = %3 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp sgt i32 %24, %29 br i1 %30, label %31, label %33 31: ; preds = %19 %32 = load i32, ptr %7, align 4 store i32 %32, ptr %9, align 4 br label %35 33: ; preds = %19, %3 %34 = load i32, ptr %5, align 4 store i32 %34, ptr %9, align 4 br label %35 35: ; preds = %33, %31 %36 = load i32, ptr %8, align 4 %37 = load i32, ptr %6, align 4 %38 = sub nsw i32 %37, 1 %39 = icmp sle i32 %36, %38 br i1 %39, label %40, label %54 40: ; preds = %35 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %9, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = icmp sgt i32 %45, %50 br i1 %51, label %52, label %54 52: ; preds = %40 %53 = load i32, ptr %8, align 4 store i32 %53, ptr %9, align 4 br label %54 54: ; preds = %52, %40, %35 %55 = load i32, ptr %9, align 4 %56 = load i32, ptr %5, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %58, label %81 58: ; preds = %54 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 store i32 %63, ptr %10, align 4 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %5, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 store i32 %68, ptr %72, align 4 %73 = load i32, ptr %10, align 4 %74 = load ptr, ptr %4, align 8 %75 = load i32, ptr %9, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 store i32 %73, ptr %77, align 4 %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %9, align 4 %80 = load i32, ptr %6, align 4 call void @max_heapify(ptr noundef %78, i32 noundef %79, i32 noundef %80) br label %81 81: ; preds = %58, %54 ret void } declare i32 @left(i32 noundef) #1 declare i32 @right(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/tmpyjb6gdun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @max_heapify(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 %10 = 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 %11 = load i32, ptr %5, align 4 %12 = call i32 @left(i32 noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %5, align 4 %14 = call i32 @right(i32 noundef %13) store i32 %14, ptr %8, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 %18 = icmp sle i32 %15, %17 br i1 %18, label %19, label %33 19: ; preds = %3 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp sgt i32 %24, %29 br i1 %30, label %31, label %33 31: ; preds = %19 %32 = load i32, ptr %7, align 4 store i32 %32, ptr %9, align 4 br label %35 33: ; preds = %19, %3 %34 = load i32, ptr %5, align 4 store i32 %34, ptr %9, align 4 br label %35 35: ; preds = %33, %31 %36 = load i32, ptr %8, align 4 %37 = load i32, ptr %6, align 4 %38 = sub nsw i32 %37, 1 %39 = icmp sle i32 %36, %38 br i1 %39, label %40, label %54 40: ; preds = %35 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %9, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = icmp sgt i32 %45, %50 br i1 %51, label %52, label %54 52: ; preds = %40 %53 = load i32, ptr %8, align 4 store i32 %53, ptr %9, align 4 br label %54 54: ; preds = %52, %40, %35 %55 = load i32, ptr %9, align 4 %56 = load i32, ptr %5, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %58, label %81 58: ; preds = %54 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 store i32 %63, ptr %10, align 4 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %5, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 store i32 %68, ptr %72, align 4 %73 = load i32, ptr %10, align 4 %74 = load ptr, ptr %4, align 8 %75 = load i32, ptr %9, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 store i32 %73, ptr %77, align 4 %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %9, align 4 %80 = load i32, ptr %6, align 4 call void @max_heapify(ptr noundef %78, i32 noundef %79, i32 noundef %80) br label %81 81: ; preds = %58, %54 ret void } declare i32 @left(i32 noundef) #1 declare i32 @right(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/tmpsm087jko.c' source_filename = "/tmp/tmpsm087jko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 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_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isodigit should be 0 for k\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0x6b() #0 { %1 = call i64 @isodigit(i32 noundef 107) %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 540, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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/tmpsm087jko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 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_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isodigit should be 0 for k\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0x6b() #0 { %1 = call i64 @isodigit(i32 noundef 107) %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 540, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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/tmpj3jz2r0u.c' source_filename = "/tmp/tmpj3jz2r0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.array1 = private unnamed_addr constant [4 x i32] [i32 2, i32 4, i32 6, i32 8], align 16 @__const.main.array2 = private unnamed_addr constant [4 x i32] [i32 1, i32 0, i32 3, i32 6], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca [4 x i32], align 16 %4 = alloca [4 x i32], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array1, i64 16, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.array2, i64 16, i1 false) %6 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %8 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %9 = call i32 @sumary(ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 4) store i32 0, ptr %5, align 4 br label %10 10: ; preds = %19, %0 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 4 br i1 %12, label %13, label %22 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %15 %17 = load i32, ptr %16, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %10, !llvm.loop !6 22: ; preds = %10 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @sumary(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj3jz2r0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.array1 = private unnamed_addr constant [4 x i32] [i32 2, i32 4, i32 6, i32 8], align 16 @__const.main.array2 = private unnamed_addr constant [4 x i32] [i32 1, i32 0, i32 3, i32 6], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca [4 x i32], align 16 %4 = alloca [4 x i32], align 16 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.array1, i64 16, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.array2, i64 16, i1 false) %6 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %8 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %9 = call i32 @sumary(ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 4) store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 4 br i1 %11, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %18 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %12 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %21, 4 br i1 %22, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %0 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @sumary(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdrw4n9xr.c' source_filename = "/tmp/tmpdrw4n9xr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32, i32, i32, ptr, i32 } @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @O_NDELAY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"Serial open fail\0A\00", align 1 @B115200 = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ECHOE = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @IXON = dso_local global i32 0, align 4 @IXOFF = dso_local global i32 0, align 4 @IXANY = dso_local global i32 0, align 4 @OPOST = dso_local global i32 0, align 4 @VTIME = dso_local global i64 0, align 8 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_devfd(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.termios, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr @O_RDWR, align 4 %7 = load i32, ptr @O_NOCTTY, align 4 %8 = or i32 %6, %7 %9 = load i32, ptr @O_NDELAY, align 4 %10 = or i32 %8, %9 %11 = call i32 @open(ptr noundef %5, i32 noundef %10) store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %17 14: ; preds = %1 %15 = call i32 @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 2) #3 unreachable 17: ; preds = %1 %18 = load i32, ptr %4, align 4 %19 = call i32 @tcgetattr(i32 noundef %18, ptr noundef %3) %20 = load i32, ptr @B115200, align 4 %21 = call i32 @cfsetispeed(ptr noundef %3, i32 noundef %20) %22 = load i32, ptr @B115200, align 4 %23 = call i32 @cfsetospeed(ptr noundef %3, i32 noundef %22) %24 = load i32, ptr @CLOCAL, align 4 %25 = load i32, ptr @CREAD, align 4 %26 = or i32 %24, %25 %27 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %28 = load i32, ptr %27, align 8 %29 = or i32 %28, %26 store i32 %29, ptr %27, align 8 %30 = load i32, ptr @PARENB, align 4 %31 = xor i32 %30, -1 %32 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %33 = load i32, ptr %32, align 8 %34 = and i32 %33, %31 store i32 %34, ptr %32, align 8 %35 = load i32, ptr @CSTOPB, align 4 %36 = xor i32 %35, -1 %37 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %38 = load i32, ptr %37, align 8 %39 = and i32 %38, %36 store i32 %39, ptr %37, align 8 %40 = load i32, ptr @CSIZE, align 4 %41 = xor i32 %40, -1 %42 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %43 = load i32, ptr %42, align 8 %44 = and i32 %43, %41 store i32 %44, ptr %42, align 8 %45 = load i32, ptr @CRTSCTS, align 4 %46 = xor i32 %45, -1 %47 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %48 = load i32, ptr %47, align 8 %49 = and i32 %48, %46 store i32 %49, ptr %47, align 8 %50 = load i32, ptr @CS8, align 4 %51 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %52 = load i32, ptr %51, align 8 %53 = or i32 %52, %50 store i32 %53, ptr %51, align 8 %54 = load i32, ptr @ICANON, align 4 %55 = load i32, ptr @ECHO, align 4 %56 = or i32 %54, %55 %57 = load i32, ptr @ECHOE, align 4 %58 = or i32 %56, %57 %59 = load i32, ptr @ISIG, align 4 %60 = or i32 %58, %59 %61 = xor i32 %60, -1 %62 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 1 %63 = load i32, ptr %62, align 4 %64 = and i32 %63, %61 store i32 %64, ptr %62, align 4 %65 = load i32, ptr @IXON, align 4 %66 = load i32, ptr @IXOFF, align 4 %67 = or i32 %65, %66 %68 = load i32, ptr @IXANY, align 4 %69 = or i32 %67, %68 %70 = xor i32 %69, -1 %71 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 2 %72 = load i32, ptr %71, align 8 %73 = and i32 %72, %70 store i32 %73, ptr %71, align 8 %74 = load i32, ptr @OPOST, align 4 %75 = xor i32 %74, -1 %76 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 4 %77 = load i32, ptr %76, align 8 %78 = and i32 %77, %75 store i32 %78, ptr %76, align 8 %79 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 3 %80 = load ptr, ptr %79, align 8 %81 = load i64, ptr @VTIME, align 8 %82 = getelementptr inbounds i64, ptr %80, i64 %81 store i64 0, ptr %82, align 8 %83 = load i32, ptr %4, align 4 %84 = load i32, ptr @TCSANOW, align 4 %85 = call i32 @tcsetattr(i32 noundef %83, i32 noundef %84, ptr noundef %3) %86 = load i32, ptr %4, align 4 ret i32 %86 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpdrw4n9xr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32, i32, i32, ptr, i32 } @O_RDWR = dso_local global i32 0, align 4 @O_NOCTTY = dso_local global i32 0, align 4 @O_NDELAY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"Serial open fail\0A\00", align 1 @B115200 = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ECHOE = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @IXON = dso_local global i32 0, align 4 @IXOFF = dso_local global i32 0, align 4 @IXANY = dso_local global i32 0, align 4 @OPOST = dso_local global i32 0, align 4 @VTIME = dso_local global i64 0, align 8 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_devfd(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.termios, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr @O_RDWR, align 4 %7 = load i32, ptr @O_NOCTTY, align 4 %8 = or i32 %6, %7 %9 = load i32, ptr @O_NDELAY, align 4 %10 = or i32 %8, %9 %11 = call i32 @open(ptr noundef %5, i32 noundef %10) store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %17 14: ; preds = %1 %15 = call i32 @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 2) #3 unreachable 17: ; preds = %1 %18 = load i32, ptr %4, align 4 %19 = call i32 @tcgetattr(i32 noundef %18, ptr noundef %3) %20 = load i32, ptr @B115200, align 4 %21 = call i32 @cfsetispeed(ptr noundef %3, i32 noundef %20) %22 = load i32, ptr @B115200, align 4 %23 = call i32 @cfsetospeed(ptr noundef %3, i32 noundef %22) %24 = load i32, ptr @CLOCAL, align 4 %25 = load i32, ptr @CREAD, align 4 %26 = or i32 %24, %25 %27 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %28 = load i32, ptr %27, align 8 %29 = or i32 %28, %26 store i32 %29, ptr %27, align 8 %30 = load i32, ptr @PARENB, align 4 %31 = xor i32 %30, -1 %32 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %33 = load i32, ptr %32, align 8 %34 = and i32 %33, %31 store i32 %34, ptr %32, align 8 %35 = load i32, ptr @CSTOPB, align 4 %36 = xor i32 %35, -1 %37 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %38 = load i32, ptr %37, align 8 %39 = and i32 %38, %36 store i32 %39, ptr %37, align 8 %40 = load i32, ptr @CSIZE, align 4 %41 = xor i32 %40, -1 %42 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %43 = load i32, ptr %42, align 8 %44 = and i32 %43, %41 store i32 %44, ptr %42, align 8 %45 = load i32, ptr @CRTSCTS, align 4 %46 = xor i32 %45, -1 %47 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %48 = load i32, ptr %47, align 8 %49 = and i32 %48, %46 store i32 %49, ptr %47, align 8 %50 = load i32, ptr @CS8, align 4 %51 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %52 = load i32, ptr %51, align 8 %53 = or i32 %52, %50 store i32 %53, ptr %51, align 8 %54 = load i32, ptr @ICANON, align 4 %55 = load i32, ptr @ECHO, align 4 %56 = or i32 %54, %55 %57 = load i32, ptr @ECHOE, align 4 %58 = or i32 %56, %57 %59 = load i32, ptr @ISIG, align 4 %60 = or i32 %58, %59 %61 = xor i32 %60, -1 %62 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 1 %63 = load i32, ptr %62, align 4 %64 = and i32 %63, %61 store i32 %64, ptr %62, align 4 %65 = load i32, ptr @IXON, align 4 %66 = load i32, ptr @IXOFF, align 4 %67 = or i32 %65, %66 %68 = load i32, ptr @IXANY, align 4 %69 = or i32 %67, %68 %70 = xor i32 %69, -1 %71 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 2 %72 = load i32, ptr %71, align 8 %73 = and i32 %72, %70 store i32 %73, ptr %71, align 8 %74 = load i32, ptr @OPOST, align 4 %75 = xor i32 %74, -1 %76 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 4 %77 = load i32, ptr %76, align 8 %78 = and i32 %77, %75 store i32 %78, ptr %76, align 8 %79 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 3 %80 = load ptr, ptr %79, align 8 %81 = load i64, ptr @VTIME, align 8 %82 = getelementptr inbounds i64, ptr %80, i64 %81 store i64 0, ptr %82, align 8 %83 = load i32, ptr %4, align 4 %84 = load i32, ptr @TCSANOW, align 4 %85 = call i32 @tcsetattr(i32 noundef %83, i32 noundef %84, ptr noundef %3) %86 = load i32, ptr %4, align 4 ret i32 %86 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpdlsh9j1h.c' source_filename = "/tmp/tmpdlsh9j1h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strip_extension(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 46) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 store i8 0, ptr %9, align 1 br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %2, align 8 ret ptr %11 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdlsh9j1h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strip_extension(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @strchr(ptr noundef %4, i8 noundef signext 46) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 store i8 0, ptr %9, align 1 br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %2, align 8 ret ptr %11 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfvwbns93.c' source_filename = "/tmp/tmpfvwbns93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @ENOENT = dso_local global i32 0, align 4 @EIO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sysfs_write_attr_str(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %12 = load i64, ptr %7, align 8 %13 = icmp ult i64 %12, 4096 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr @O_WRONLY, align 4 %18 = call i32 @open(ptr noundef %16, i32 noundef %17) store i32 %18, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %4 %22 = load i32, ptr @ENOENT, align 4 store i32 %22, ptr %10, align 4 br label %35 23: ; preds = %4 %24 = load i32, ptr %9, align 4 %25 = load ptr, ptr %6, align 8 %26 = load i64, ptr %7, align 8 %27 = call i64 @write(i32 noundef %24, ptr noundef %25, i64 noundef %26) store i64 %27, ptr %11, align 8 %28 = load i64, ptr %11, align 8 %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %23 %31 = load i32, ptr @EIO, align 4 store i32 %31, ptr %10, align 4 br label %35 32: ; preds = %23 %33 = load i64, ptr %11, align 8 %34 = load ptr, ptr %8, align 8 store i64 %33, ptr %34, align 8 store i32 0, ptr %10, align 4 br label %35 35: ; preds = %32, %30, %21 %36 = load i32, ptr %9, align 4 %37 = icmp sge i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load i32, ptr %9, align 4 %40 = call i32 @close(i32 noundef %39) br label %41 41: ; preds = %38, %35 %42 = load i32, ptr %10, align 4 ret i32 %42 } declare i32 @assert(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 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/tmpfvwbns93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @ENOENT = dso_local global i32 0, align 4 @EIO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sysfs_write_attr_str(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %12 = load i64, ptr %7, align 8 %13 = icmp ult i64 %12, 4096 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr @O_WRONLY, align 4 %18 = call i32 @open(ptr noundef %16, i32 noundef %17) store i32 %18, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %4 %22 = load i32, ptr @ENOENT, align 4 store i32 %22, ptr %10, align 4 br label %35 23: ; preds = %4 %24 = load i32, ptr %9, align 4 %25 = load ptr, ptr %6, align 8 %26 = load i64, ptr %7, align 8 %27 = call i64 @write(i32 noundef %24, ptr noundef %25, i64 noundef %26) store i64 %27, ptr %11, align 8 %28 = load i64, ptr %11, align 8 %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %23 %31 = load i32, ptr @EIO, align 4 store i32 %31, ptr %10, align 4 br label %35 32: ; preds = %23 %33 = load i64, ptr %11, align 8 %34 = load ptr, ptr %8, align 8 store i64 %33, ptr %34, align 8 store i32 0, ptr %10, align 4 br label %35 35: ; preds = %32, %30, %21 %36 = load i32, ptr %9, align 4 %37 = icmp sge i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load i32, ptr %9, align 4 %40 = call i32 @close(i32 noundef %39) br label %41 41: ; preds = %38, %35 %42 = load i32, ptr %10, align 4 ret i32 %42 } declare i32 @assert(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 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/tmpugddt2u6.c' source_filename = "/tmp/tmpugddt2u6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_nonblock(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @F_GETFL, align 4 %7 = call i32 @fcntl(i32 noundef %5, i32 noundef %6, i32 noundef 0) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %1 store i32 -1, ptr %2, align 4 br label %21 11: ; preds = %1 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr @F_SETFL, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr @O_NONBLOCK, align 4 %16 = or i32 %14, %15 %17 = call i32 @fcntl(i32 noundef %12, i32 noundef %13, i32 noundef %16) %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %11 store i32 -1, ptr %2, align 4 br label %21 20: ; preds = %11 store i32 0, ptr %2, align 4 br label %21 21: ; preds = %20, %19, %10 %22 = load i32, ptr %2, align 4 ret i32 %22 } declare i32 @fcntl(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/tmpugddt2u6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_nonblock(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @F_GETFL, align 4 %7 = call i32 @fcntl(i32 noundef %5, i32 noundef %6, i32 noundef 0) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %1 store i32 -1, ptr %2, align 4 br label %21 11: ; preds = %1 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr @F_SETFL, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr @O_NONBLOCK, align 4 %16 = or i32 %14, %15 %17 = call i32 @fcntl(i32 noundef %12, i32 noundef %13, i32 noundef %16) %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %11 store i32 -1, ptr %2, align 4 br label %21 20: ; preds = %11 store i32 0, ptr %2, align 4 br label %21 21: ; preds = %20, %19, %10 %22 = load i32, ptr %2, align 4 ret i32 %22 } declare i32 @fcntl(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/tmpfvg7ank_.c' source_filename = "/tmp/tmpfvg7ank_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_parameters(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %13, align 4 br label %17 17: ; preds = %68, %4 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %13, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %69 21: ; preds = %17 br label %22 22: ; preds = %37, %21 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %13, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %35 26: ; preds = %22 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = call i64 @is_delimeter(ptr noundef %27, i8 noundef signext %32) %34 = icmp ne i64 %33, 0 br label %35 35: ; preds = %26, %22 %36 = phi i1 [ false, %22 ], [ %34, %26 ] br i1 %36, label %37, label %40 37: ; preds = %35 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 br label %22, !llvm.loop !6 40: ; preds = %35 %41 = load i32, ptr %9, align 4 store i32 %41, ptr %11, align 4 br label %42 42: ; preds = %58, %40 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %13, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %46, label %56 46: ; preds = %42 %47 = load ptr, ptr %8, align 8 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = call i64 @is_delimeter(ptr noundef %47, i8 noundef signext %52) %54 = icmp ne i64 %53, 0 %55 = xor i1 %54, true br label %56 56: ; preds = %46, %42 %57 = phi i1 [ false, %42 ], [ %55, %46 ] br i1 %57, label %58, label %61 58: ; preds = %56 %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %9, align 4 br label %42, !llvm.loop !8 61: ; preds = %56 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %11, align 4 %64 = icmp ne i32 %62, %63 br i1 %64, label %65, label %68 65: ; preds = %61 %66 = load i32, ptr %12, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %12, align 4 br label %68 68: ; preds = %65, %61 br label %17, !llvm.loop !9 69: ; preds = %17 %70 = load i32, ptr %12, align 4 %71 = sext i32 %70 to i64 %72 = mul i64 %71, 8 %73 = trunc i64 %72 to i32 %74 = call i64 @malloc(i32 noundef %73) %75 = inttoptr i64 %74 to ptr %76 = load ptr, ptr %7, align 8 store ptr %75, ptr %76, align 8 store i32 0, ptr %9, align 4 br label %77 77: ; preds = %168, %69 %78 = load i32, ptr %9, align 4 %79 = load i32, ptr %13, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %81, label %169 81: ; preds = %77 br label %82 82: ; preds = %97, %81 %83 = load i32, ptr %9, align 4 %84 = load i32, ptr %13, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %86, label %95 86: ; preds = %82 %87 = load ptr, ptr %8, align 8 %88 = load ptr, ptr %5, align 8 %89 = load i32, ptr %9, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %88, i64 %90 %92 = load i8, ptr %91, align 1 %93 = call i64 @is_delimeter(ptr noundef %87, i8 noundef signext %92) %94 = icmp ne i64 %93, 0 br label %95 95: ; preds = %86, %82 %96 = phi i1 [ false, %82 ], [ %94, %86 ] br i1 %96, label %97, label %100 97: ; preds = %95 %98 = load i32, ptr %9, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %9, align 4 br label %82, !llvm.loop !10 100: ; preds = %95 %101 = load i32, ptr %9, align 4 store i32 %101, ptr %11, align 4 br label %102 102: ; preds = %118, %100 %103 = load i32, ptr %9, align 4 %104 = load i32, ptr %13, align 4 %105 = icmp slt i32 %103, %104 br i1 %105, label %106, label %116 106: ; preds = %102 %107 = load ptr, ptr %8, align 8 %108 = load ptr, ptr %5, align 8 %109 = load i32, ptr %9, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %108, i64 %110 %112 = load i8, ptr %111, align 1 %113 = call i64 @is_delimeter(ptr noundef %107, i8 noundef signext %112) %114 = icmp ne i64 %113, 0 %115 = xor i1 %114, true br label %116 116: ; preds = %106, %102 %117 = phi i1 [ false, %102 ], [ %115, %106 ] br i1 %117, label %118, label %121 118: ; preds = %116 %119 = load i32, ptr %9, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %9, align 4 br label %102, !llvm.loop !11 121: ; preds = %116 %122 = load i32, ptr %9, align 4 %123 = load i32, ptr %11, align 4 %124 = icmp ne i32 %122, %123 br i1 %124, label %125, label %168 125: ; preds = %121 %126 = load i32, ptr %9, align 4 %127 = load i32, ptr %11, align 4 %128 = sub nsw i32 %126, %127 %129 = add nsw i32 %128, 1 %130 = sext i32 %129 to i64 %131 = mul i64 %130, 1 %132 = trunc i64 %131 to i32 %133 = call i64 @malloc(i32 noundef %132) %134 = inttoptr i64 %133 to ptr %135 = load ptr, ptr %7, align 8 %136 = load ptr, ptr %135, align 8 %137 = load i32, ptr %10, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds ptr, ptr %136, i64 %138 store ptr %134, ptr %139, align 8 %140 = load ptr, ptr %5, align 8 %141 = load i32, ptr %11, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i8, ptr %140, i64 %142 store ptr %143, ptr %14, align 8 %144 = load ptr, ptr %7, align 8 %145 = load ptr, ptr %144, align 8 %146 = load i32, ptr %10, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds ptr, ptr %145, i64 %147 %149 = load ptr, ptr %148, align 8 %150 = load ptr, ptr %14, align 8 %151 = load i32, ptr %9, align 4 %152 = load i32, ptr %11, align 4 %153 = sub nsw i32 %151, %152 %154 = call i32 @strncpy(ptr noundef %149, ptr noundef %150, i32 noundef %153) %155 = load ptr, ptr %7, align 8 %156 = load ptr, ptr %155, align 8 %157 = load i32, ptr %10, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds ptr, ptr %156, i64 %158 %160 = load ptr, ptr %159, align 8 %161 = load i32, ptr %9, align 4 %162 = load i32, ptr %11, align 4 %163 = sub nsw i32 %161, %162 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds i8, ptr %160, i64 %164 store i8 0, ptr %165, align 1 %166 = load i32, ptr %10, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %10, align 4 br label %168 168: ; preds = %125, %121 br label %77, !llvm.loop !12 169: ; preds = %77 %170 = load i32, ptr %12, align 4 %171 = load ptr, ptr %6, align 8 store i32 %170, ptr %171, align 4 ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @is_delimeter(ptr noundef, i8 noundef signext) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfvg7ank_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_parameters(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %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 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %13, align 4 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %13, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %71 .lr.ph: ; preds = %4 br label %20 20: ; preds = %.lr.ph, %67 br label %21 21: ; preds = %36, %20 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %13, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %34 25: ; preds = %21 %26 = load ptr, ptr %8, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = call i64 @is_delimeter(ptr noundef %26, i8 noundef signext %31) %33 = icmp ne i64 %32, 0 br label %34 34: ; preds = %25, %21 %35 = phi i1 [ false, %21 ], [ %33, %25 ] br i1 %35, label %36, label %39 36: ; preds = %34 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 br label %21, !llvm.loop !6 39: ; preds = %34 %40 = load i32, ptr %9, align 4 store i32 %40, ptr %11, align 4 br label %41 41: ; preds = %57, %39 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %13, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %55 45: ; preds = %41 %46 = load ptr, ptr %8, align 8 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %9, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = call i64 @is_delimeter(ptr noundef %46, i8 noundef signext %51) %53 = icmp ne i64 %52, 0 %54 = xor i1 %53, true br label %55 55: ; preds = %45, %41 %56 = phi i1 [ false, %41 ], [ %54, %45 ] br i1 %56, label %57, label %60 57: ; preds = %55 %58 = load i32, ptr %9, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %9, align 4 br label %41, !llvm.loop !8 60: ; preds = %55 %61 = load i32, ptr %9, align 4 %62 = load i32, ptr %11, align 4 %63 = icmp ne i32 %61, %62 br i1 %63, label %64, label %67 64: ; preds = %60 %65 = load i32, ptr %12, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %12, align 4 br label %67 67: ; preds = %64, %60 %68 = load i32, ptr %9, align 4 %69 = load i32, ptr %13, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %20, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %67 br label %71 71: ; preds = %._crit_edge, %4 %72 = load i32, ptr %12, align 4 %73 = sext i32 %72 to i64 %74 = mul i64 %73, 8 %75 = trunc i64 %74 to i32 %76 = call i64 @malloc(i32 noundef %75) %77 = inttoptr i64 %76 to ptr %78 = load ptr, ptr %7, align 8 store ptr %77, ptr %78, align 8 store i32 0, ptr %9, align 4 %79 = load i32, ptr %9, align 4 %80 = load i32, ptr %13, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %.lr.ph2, label %173 .lr.ph2: ; preds = %71 br label %82 82: ; preds = %.lr.ph2, %169 br label %83 83: ; preds = %98, %82 %84 = load i32, ptr %9, align 4 %85 = load i32, ptr %13, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %87, label %96 87: ; preds = %83 %88 = load ptr, ptr %8, align 8 %89 = load ptr, ptr %5, align 8 %90 = load i32, ptr %9, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i8, ptr %89, i64 %91 %93 = load i8, ptr %92, align 1 %94 = call i64 @is_delimeter(ptr noundef %88, i8 noundef signext %93) %95 = icmp ne i64 %94, 0 br label %96 96: ; preds = %87, %83 %97 = phi i1 [ false, %83 ], [ %95, %87 ] br i1 %97, label %98, label %101 98: ; preds = %96 %99 = load i32, ptr %9, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %9, align 4 br label %83, !llvm.loop !10 101: ; preds = %96 %102 = load i32, ptr %9, align 4 store i32 %102, ptr %11, align 4 br label %103 103: ; preds = %119, %101 %104 = load i32, ptr %9, align 4 %105 = load i32, ptr %13, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %107, label %117 107: ; preds = %103 %108 = load ptr, ptr %8, align 8 %109 = load ptr, ptr %5, align 8 %110 = load i32, ptr %9, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i8, ptr %109, i64 %111 %113 = load i8, ptr %112, align 1 %114 = call i64 @is_delimeter(ptr noundef %108, i8 noundef signext %113) %115 = icmp ne i64 %114, 0 %116 = xor i1 %115, true br label %117 117: ; preds = %107, %103 %118 = phi i1 [ false, %103 ], [ %116, %107 ] br i1 %118, label %119, label %122 119: ; preds = %117 %120 = load i32, ptr %9, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %9, align 4 br label %103, !llvm.loop !11 122: ; preds = %117 %123 = load i32, ptr %9, align 4 %124 = load i32, ptr %11, align 4 %125 = icmp ne i32 %123, %124 br i1 %125, label %126, label %169 126: ; preds = %122 %127 = load i32, ptr %9, align 4 %128 = load i32, ptr %11, align 4 %129 = sub nsw i32 %127, %128 %130 = add nsw i32 %129, 1 %131 = sext i32 %130 to i64 %132 = mul i64 %131, 1 %133 = trunc i64 %132 to i32 %134 = call i64 @malloc(i32 noundef %133) %135 = inttoptr i64 %134 to ptr %136 = load ptr, ptr %7, align 8 %137 = load ptr, ptr %136, align 8 %138 = load i32, ptr %10, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds ptr, ptr %137, i64 %139 store ptr %135, ptr %140, align 8 %141 = load ptr, ptr %5, align 8 %142 = load i32, ptr %11, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i8, ptr %141, i64 %143 store ptr %144, ptr %14, align 8 %145 = load ptr, ptr %7, align 8 %146 = load ptr, ptr %145, align 8 %147 = load i32, ptr %10, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds ptr, ptr %146, i64 %148 %150 = load ptr, ptr %149, align 8 %151 = load ptr, ptr %14, align 8 %152 = load i32, ptr %9, align 4 %153 = load i32, ptr %11, align 4 %154 = sub nsw i32 %152, %153 %155 = call i32 @strncpy(ptr noundef %150, ptr noundef %151, i32 noundef %154) %156 = load ptr, ptr %7, align 8 %157 = load ptr, ptr %156, align 8 %158 = load i32, ptr %10, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds ptr, ptr %157, i64 %159 %161 = load ptr, ptr %160, align 8 %162 = load i32, ptr %9, align 4 %163 = load i32, ptr %11, align 4 %164 = sub nsw i32 %162, %163 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds i8, ptr %161, i64 %165 store i8 0, ptr %166, align 1 %167 = load i32, ptr %10, align 4 %168 = add nsw i32 %167, 1 store i32 %168, ptr %10, align 4 br label %169 169: ; preds = %126, %122 %170 = load i32, ptr %9, align 4 %171 = load i32, ptr %13, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %82, label %._crit_edge3, !llvm.loop !12 ._crit_edge3: ; preds = %169 br label %173 173: ; preds = %._crit_edge3, %71 %174 = load i32, ptr %12, align 4 %175 = load ptr, ptr %6, align 8 store i32 %174, ptr %175, align 4 ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @is_delimeter(ptr noundef, i8 noundef signext) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpi8pobbsl.c' source_filename = "/tmp/tmpi8pobbsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testSwitches1() #0 { %1 = call i64 @mp_hal_getButtonState(i32 noundef 0) %2 = trunc i64 %1 to i32 %3 = call i32 @utest_assertEqualsInt(i32 noundef 0, i32 noundef %2) %4 = call i64 @mp_hal_getButtonState(i32 noundef 1) %5 = trunc i64 %4 to i32 %6 = call i32 @utest_assertEqualsInt(i32 noundef 0, i32 noundef %5) %7 = call i64 @mp_hal_getButtonState(i32 noundef 2) %8 = trunc i64 %7 to i32 %9 = call i32 @utest_assertEqualsInt(i32 noundef 0, i32 noundef %8) %10 = call i64 @mp_hal_getButtonState(i32 noundef 3) %11 = trunc i64 %10 to i32 %12 = call i32 @utest_assertEqualsInt(i32 noundef 0, i32 noundef %11) %13 = call i64 @mp_hal_getButtonState(i32 noundef 999) %14 = trunc i64 %13 to i32 %15 = call i32 @utest_assertEqualsInt(i32 noundef -1, i32 noundef %14) ret void } declare i32 @utest_assertEqualsInt(i32 noundef, i32 noundef) #1 declare i64 @mp_hal_getButtonState(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/tmpi8pobbsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testSwitches1() #0 { %1 = call i64 @mp_hal_getButtonState(i32 noundef 0) %2 = trunc i64 %1 to i32 %3 = call i32 @utest_assertEqualsInt(i32 noundef 0, i32 noundef %2) %4 = call i64 @mp_hal_getButtonState(i32 noundef 1) %5 = trunc i64 %4 to i32 %6 = call i32 @utest_assertEqualsInt(i32 noundef 0, i32 noundef %5) %7 = call i64 @mp_hal_getButtonState(i32 noundef 2) %8 = trunc i64 %7 to i32 %9 = call i32 @utest_assertEqualsInt(i32 noundef 0, i32 noundef %8) %10 = call i64 @mp_hal_getButtonState(i32 noundef 3) %11 = trunc i64 %10 to i32 %12 = call i32 @utest_assertEqualsInt(i32 noundef 0, i32 noundef %11) %13 = call i64 @mp_hal_getButtonState(i32 noundef 999) %14 = trunc i64 %13 to i32 %15 = call i32 @utest_assertEqualsInt(i32 noundef -1, i32 noundef %14) ret void } declare i32 @utest_assertEqualsInt(i32 noundef, i32 noundef) #1 declare i64 @mp_hal_getButtonState(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/tmps7ut7nof.c' source_filename = "/tmp/tmps7ut7nof.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\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 i8, align 1 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i8, ptr %2, align 1 %6 = sext i8 %5 to i32 %7 = sub nsw i32 %6, 97 %8 = sub nsw i32 122, %7 %9 = trunc i32 %8 to i8 store i8 %9, ptr %3, align 1 %10 = load i8, ptr %3, align 1 %11 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps7ut7nof.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\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 i8, align 1 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i8, ptr %2, align 1 %6 = sext i8 %5 to i32 %7 = sub nsw i32 %6, 97 %8 = sub nsw i32 122, %7 %9 = trunc i32 %8 to i8 store i8 %9, ptr %3, align 1 %10 = load i8, ptr %3, align 1 %11 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp93vm9jhd.c' source_filename = "/tmp/tmp93vm9jhd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_binary____tests_opencl_test_kernel_cl_start = external global i8, align 1 @__const.load_program.strings = private unnamed_addr constant [1 x ptr] [ptr @_binary____tests_opencl_test_kernel_cl_start], align 8 @_binary____tests_opencl_test_kernel_cl_size = external global i8, align 1 @__const.load_program.lengths = private unnamed_addr constant [1 x i64] [i64 ptrtoint (ptr @_binary____tests_opencl_test_kernel_cl_size to i64)], align 8 @CL_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"-Werror\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"\0A\0A--Build Log:\0A%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @load_program(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [1 x ptr], align 8 %9 = alloca [1 x i64], align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 @__const.load_program.strings, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 @__const.load_program.lengths, i64 8, i1 false) %15 = load i32, ptr %5, align 4 %16 = getelementptr inbounds [1 x ptr], ptr %8, i64 0, i64 0 %17 = getelementptr inbounds [1 x i64], ptr %9, i64 0, i64 0 %18 = load ptr, ptr %7, align 8 %19 = call ptr @clCreateProgramWithSource(i32 noundef %15, i32 noundef 1, ptr noundef %16, ptr noundef %17, ptr noundef %18) store ptr %19, ptr %10, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr @CL_SUCCESS, align 4 %23 = icmp ne i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %3 store ptr null, ptr %4, align 8 br label %69 25: ; preds = %3 %26 = load ptr, ptr %10, align 8 %27 = call i32 @clBuildProgram(ptr noundef %26, i32 noundef 1, ptr noundef %6, ptr noundef @.str, ptr noundef null, ptr noundef null) %28 = load ptr, ptr %7, align 8 store i32 %27, ptr %28, align 4 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr @CL_SUCCESS, align 4 %32 = icmp ne i32 %30, %31 br i1 %32, label %33, label %67 33: ; preds = %25 %34 = load ptr, ptr %10, align 8 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %37 = call i32 @clGetProgramBuildInfo(ptr noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef 0, ptr noundef null, ptr noundef %11) %38 = load ptr, ptr %7, align 8 store i32 %37, ptr %38, align 4 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %39, align 4 %41 = load i32, ptr @CL_SUCCESS, align 4 %42 = icmp ne i32 %40, %41 br i1 %42, label %43, label %44 43: ; preds = %33 store ptr null, ptr %4, align 8 br label %69 44: ; preds = %33 %45 = load i64, ptr %11, align 8 %46 = add i64 %45, 1 %47 = call ptr @llvm.stacksave() store ptr %47, ptr %12, align 8 %48 = alloca i8, i64 %46, align 16 store i64 %46, ptr %13, align 8 %49 = load ptr, ptr %10, align 8 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %52 = trunc i64 %46 to i32 %53 = call i32 @clGetProgramBuildInfo(ptr noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef %52, ptr noundef %48, ptr noundef %11) %54 = load ptr, ptr %7, align 8 store i32 %53, ptr %54, align 4 %55 = load ptr, ptr %7, align 8 %56 = load i32, ptr %55, align 4 %57 = load i32, ptr @CL_SUCCESS, align 4 %58 = icmp ne i32 %56, %57 br i1 %58, label %59, label %60 59: ; preds = %44 store ptr null, ptr %4, align 8 store i32 1, ptr %14, align 4 br label %63 60: ; preds = %44 %61 = load i32, ptr @stderr, align 4 %62 = call i32 @fprintf(i32 noundef %61, ptr noundef @.str.1, ptr noundef %48) store i32 0, ptr %14, align 4 br label %63 63: ; preds = %60, %59 %64 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %64) %65 = load i32, ptr %14, align 4 switch i32 %65, label %71 [ i32 0, label %66 i32 1, label %69 ] 66: ; preds = %63 br label %67 67: ; preds = %66, %25 %68 = load ptr, ptr %10, align 8 store ptr %68, ptr %4, align 8 br label %69 69: ; preds = %67, %63, %43, %24 %70 = load ptr, ptr %4, align 8 ret ptr %70 71: ; preds = %63 unreachable } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @clBuildProgram(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @clGetProgramBuildInfo(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp93vm9jhd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_binary____tests_opencl_test_kernel_cl_start = external global i8, align 1 @__const.load_program.strings = private unnamed_addr constant [1 x ptr] [ptr @_binary____tests_opencl_test_kernel_cl_start], align 8 @_binary____tests_opencl_test_kernel_cl_size = external global i8, align 1 @__const.load_program.lengths = private unnamed_addr constant [1 x i64] [i64 ptrtoint (ptr @_binary____tests_opencl_test_kernel_cl_size to i64)], align 8 @CL_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"-Werror\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"\0A\0A--Build Log:\0A%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @load_program(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [1 x ptr], align 8 %9 = alloca [1 x i64], align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 @__const.load_program.strings, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 @__const.load_program.lengths, i64 8, i1 false) %15 = load i32, ptr %5, align 4 %16 = getelementptr inbounds [1 x ptr], ptr %8, i64 0, i64 0 %17 = getelementptr inbounds [1 x i64], ptr %9, i64 0, i64 0 %18 = load ptr, ptr %7, align 8 %19 = call ptr @clCreateProgramWithSource(i32 noundef %15, i32 noundef 1, ptr noundef %16, ptr noundef %17, ptr noundef %18) store ptr %19, ptr %10, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr @CL_SUCCESS, align 4 %23 = icmp ne i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %3 store ptr null, ptr %4, align 8 br label %69 25: ; preds = %3 %26 = load ptr, ptr %10, align 8 %27 = call i32 @clBuildProgram(ptr noundef %26, i32 noundef 1, ptr noundef %6, ptr noundef @.str, ptr noundef null, ptr noundef null) %28 = load ptr, ptr %7, align 8 store i32 %27, ptr %28, align 4 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr @CL_SUCCESS, align 4 %32 = icmp ne i32 %30, %31 br i1 %32, label %33, label %67 33: ; preds = %25 %34 = load ptr, ptr %10, align 8 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %37 = call i32 @clGetProgramBuildInfo(ptr noundef %34, i32 noundef %35, i32 noundef %36, i32 noundef 0, ptr noundef null, ptr noundef %11) %38 = load ptr, ptr %7, align 8 store i32 %37, ptr %38, align 4 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %39, align 4 %41 = load i32, ptr @CL_SUCCESS, align 4 %42 = icmp ne i32 %40, %41 br i1 %42, label %43, label %44 43: ; preds = %33 store ptr null, ptr %4, align 8 br label %69 44: ; preds = %33 %45 = load i64, ptr %11, align 8 %46 = add i64 %45, 1 %47 = call ptr @llvm.stacksave() store ptr %47, ptr %12, align 8 %48 = alloca i8, i64 %46, align 16 store i64 %46, ptr %13, align 8 %49 = load ptr, ptr %10, align 8 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %52 = trunc i64 %46 to i32 %53 = call i32 @clGetProgramBuildInfo(ptr noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef %52, ptr noundef %48, ptr noundef %11) %54 = load ptr, ptr %7, align 8 store i32 %53, ptr %54, align 4 %55 = load ptr, ptr %7, align 8 %56 = load i32, ptr %55, align 4 %57 = load i32, ptr @CL_SUCCESS, align 4 %58 = icmp ne i32 %56, %57 br i1 %58, label %59, label %60 59: ; preds = %44 store ptr null, ptr %4, align 8 store i32 1, ptr %14, align 4 br label %63 60: ; preds = %44 %61 = load i32, ptr @stderr, align 4 %62 = call i32 @fprintf(i32 noundef %61, ptr noundef @.str.1, ptr noundef %48) store i32 0, ptr %14, align 4 br label %63 63: ; preds = %60, %59 %64 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %64) %65 = load i32, ptr %14, align 4 switch i32 %65, label %71 [ i32 0, label %66 i32 1, label %69 ] 66: ; preds = %63 br label %67 67: ; preds = %66, %25 %68 = load ptr, ptr %10, align 8 store ptr %68, ptr %4, align 8 br label %69 69: ; preds = %67, %63, %43, %24 %70 = load ptr, ptr %4, align 8 ret ptr %70 71: ; preds = %63 unreachable } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @clBuildProgram(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @clGetProgramBuildInfo(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgltykxn6.c' source_filename = "/tmp/tmpgltykxn6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @output(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgltykxn6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @output(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzsq0mfmu.c' source_filename = "/tmp/tmpzsq0mfmu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mus_samples_to_bytes(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @mus_data_format_to_bytes_per_sample(i32 noundef %6) %8 = mul nsw i32 %5, %7 ret i32 %8 } declare i32 @mus_data_format_to_bytes_per_sample(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/tmpzsq0mfmu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mus_samples_to_bytes(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @mus_data_format_to_bytes_per_sample(i32 noundef %6) %8 = mul nsw i32 %5, %7 ret i32 %8 } declare i32 @mus_data_format_to_bytes_per_sample(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/tmp199debzn.c' source_filename = "/tmp/tmp199debzn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @get_input() #0 { %1 = alloca double, align 8 %2 = alloca i32, align 4 %3 = call i32 (...) @print_instructions() %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %1) %5 = load double, ptr %1, align 8 %6 = load i32, ptr %2, align 4 %7 = sitofp i32 %6 to double %8 = call double @llvm.fmuladd.f64(double %7, double 6.000000e+01, double %5) store double %8, ptr %1, align 8 %9 = load double, ptr %1, align 8 ret double %9 } declare i32 @print_instructions(...) #1 declare i32 @scanf(ptr 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp199debzn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 %lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @get_input() #0 { %1 = alloca double, align 8 %2 = alloca i32, align 4 %3 = call i32 (...) @print_instructions() %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %1) %5 = load double, ptr %1, align 8 %6 = load i32, ptr %2, align 4 %7 = sitofp i32 %6 to double %8 = call double @llvm.fmuladd.f64(double %7, double 6.000000e+01, double %5) store double %8, ptr %1, align 8 %9 = load double, ptr %1, align 8 ret double %9 } declare i32 @print_instructions(...) #1 declare i32 @scanf(ptr 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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppxpz5jwz.c' source_filename = "/tmp/tmppxpz5jwz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"allocation failure in vector()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cvector(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = sub nsw i64 %6, %7 %9 = add nsw i64 %8, 1 %10 = add nsw i64 %9, 1 %11 = mul i64 %10, 1 %12 = call i64 @malloc(i64 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %18, label %16 16: ; preds = %2 %17 = call i32 @nrerror(ptr noundef @.str) br label %18 18: ; preds = %16, %2 %19 = load ptr, ptr %5, align 8 %20 = load i64, ptr %3, align 8 %21 = sub i64 0, %20 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = getelementptr inbounds i8, ptr %22, i64 1 ret ptr %23 } declare i64 @malloc(i64 noundef) #1 declare i32 @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppxpz5jwz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"allocation failure in vector()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cvector(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %4, align 8 %7 = load i64, ptr %3, align 8 %8 = sub nsw i64 %6, %7 %9 = add nsw i64 %8, 1 %10 = add nsw i64 %9, 1 %11 = mul i64 %10, 1 %12 = call i64 @malloc(i64 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %18, label %16 16: ; preds = %2 %17 = call i32 @nrerror(ptr noundef @.str) br label %18 18: ; preds = %16, %2 %19 = load ptr, ptr %5, align 8 %20 = load i64, ptr %3, align 8 %21 = sub i64 0, %20 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = getelementptr inbounds i8, ptr %22, i64 1 ret ptr %23 } declare i64 @malloc(i64 noundef) #1 declare i32 @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpevixdmmy.c' source_filename = "/tmp/tmpevixdmmy.c" target datalayout = "e-m:e-p270: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/tmpevixdmmy.c" target datalayout = "e-m:e-p270: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/tmpo1lvsg5v.c' source_filename = "/tmp/tmpo1lvsg5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test3char64() %3 = call i32 (...) @test3char32() %4 = call i32 (...) @test3char16() %5 = call i32 (...) @test3char8() %6 = call i32 (...) @test3char4() %7 = call i32 (...) @test3char2() %8 = call i32 (...) @test3char1() %9 = call i32 (...) @test3short32() %10 = call i32 (...) @test3short16() %11 = call i32 (...) @test3short8() %12 = call i32 (...) @test3short4() %13 = call i32 (...) @test3short2() %14 = call i32 (...) @test3short1() %15 = call i32 (...) @test3int16() %16 = call i32 (...) @test3int8() %17 = call i32 (...) @test3int4() %18 = call i32 (...) @test3int2() %19 = call i32 (...) @test3int1() %20 = call i32 (...) @test3float16() %21 = call i32 (...) @test3float8() %22 = call i32 (...) @test3float4() %23 = call i32 (...) @test3float2() %24 = call i32 (...) @test3float1() %25 = call i32 (...) @test3llong8() %26 = call i32 (...) @test3llong4() %27 = call i32 (...) @test3llong2() %28 = call i32 (...) @test3llong1() %29 = call i32 (...) @test3double8() %30 = call i32 (...) @test3double4() %31 = call i32 (...) @test3double2() %32 = call i32 (...) @test3double1() ret i32 0 } declare i32 @test3char64(...) #1 declare i32 @test3char32(...) #1 declare i32 @test3char16(...) #1 declare i32 @test3char8(...) #1 declare i32 @test3char4(...) #1 declare i32 @test3char2(...) #1 declare i32 @test3char1(...) #1 declare i32 @test3short32(...) #1 declare i32 @test3short16(...) #1 declare i32 @test3short8(...) #1 declare i32 @test3short4(...) #1 declare i32 @test3short2(...) #1 declare i32 @test3short1(...) #1 declare i32 @test3int16(...) #1 declare i32 @test3int8(...) #1 declare i32 @test3int4(...) #1 declare i32 @test3int2(...) #1 declare i32 @test3int1(...) #1 declare i32 @test3float16(...) #1 declare i32 @test3float8(...) #1 declare i32 @test3float4(...) #1 declare i32 @test3float2(...) #1 declare i32 @test3float1(...) #1 declare i32 @test3llong8(...) #1 declare i32 @test3llong4(...) #1 declare i32 @test3llong2(...) #1 declare i32 @test3llong1(...) #1 declare i32 @test3double8(...) #1 declare i32 @test3double4(...) #1 declare i32 @test3double2(...) #1 declare i32 @test3double1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo1lvsg5v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @test3char64() %3 = call i32 (...) @test3char32() %4 = call i32 (...) @test3char16() %5 = call i32 (...) @test3char8() %6 = call i32 (...) @test3char4() %7 = call i32 (...) @test3char2() %8 = call i32 (...) @test3char1() %9 = call i32 (...) @test3short32() %10 = call i32 (...) @test3short16() %11 = call i32 (...) @test3short8() %12 = call i32 (...) @test3short4() %13 = call i32 (...) @test3short2() %14 = call i32 (...) @test3short1() %15 = call i32 (...) @test3int16() %16 = call i32 (...) @test3int8() %17 = call i32 (...) @test3int4() %18 = call i32 (...) @test3int2() %19 = call i32 (...) @test3int1() %20 = call i32 (...) @test3float16() %21 = call i32 (...) @test3float8() %22 = call i32 (...) @test3float4() %23 = call i32 (...) @test3float2() %24 = call i32 (...) @test3float1() %25 = call i32 (...) @test3llong8() %26 = call i32 (...) @test3llong4() %27 = call i32 (...) @test3llong2() %28 = call i32 (...) @test3llong1() %29 = call i32 (...) @test3double8() %30 = call i32 (...) @test3double4() %31 = call i32 (...) @test3double2() %32 = call i32 (...) @test3double1() ret i32 0 } declare i32 @test3char64(...) #1 declare i32 @test3char32(...) #1 declare i32 @test3char16(...) #1 declare i32 @test3char8(...) #1 declare i32 @test3char4(...) #1 declare i32 @test3char2(...) #1 declare i32 @test3char1(...) #1 declare i32 @test3short32(...) #1 declare i32 @test3short16(...) #1 declare i32 @test3short8(...) #1 declare i32 @test3short4(...) #1 declare i32 @test3short2(...) #1 declare i32 @test3short1(...) #1 declare i32 @test3int16(...) #1 declare i32 @test3int8(...) #1 declare i32 @test3int4(...) #1 declare i32 @test3int2(...) #1 declare i32 @test3int1(...) #1 declare i32 @test3float16(...) #1 declare i32 @test3float8(...) #1 declare i32 @test3float4(...) #1 declare i32 @test3float2(...) #1 declare i32 @test3float1(...) #1 declare i32 @test3llong8(...) #1 declare i32 @test3llong4(...) #1 declare i32 @test3llong2(...) #1 declare i32 @test3llong1(...) #1 declare i32 @test3double8(...) #1 declare i32 @test3double4(...) #1 declare i32 @test3double2(...) #1 declare i32 @test3double1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbvfon4i3.c' source_filename = "/tmp/tmpbvfon4i3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateRTCMatchSet(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 store volatile i32 %5, ptr inttoptr (i64 1074774020 to ptr), align 4 %6 = call i32 (...) @_HibernateWriteComplete() ret void } declare i32 @_HibernateWriteComplete(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbvfon4i3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HibernateRTCMatchSet(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 store volatile i32 %5, ptr inttoptr (i64 1074774020 to ptr), align 4 %6 = call i32 (...) @_HibernateWriteComplete() ret void } declare i32 @_HibernateWriteComplete(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl7boughg.c' source_filename = "/tmp/tmpl7boughg.c" target datalayout = "e-m:e-p270: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/tmpl7boughg.c" target datalayout = "e-m:e-p270: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/tmphu3qq8yd.c' source_filename = "/tmp/tmphu3qq8yd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rf_speed(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 %7 = load ptr, ptr %3, align 8 %8 = call i32 @rf_reg_read(ptr noundef %7, i32 noundef 6) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %2 br label %30 12: ; preds = %2 %13 = load i32, ptr %5, align 4 store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = and i32 %14, -41 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %4, align 4 switch i32 %16, label %21 [ i32 32, label %17 i32 0, label %17 i32 8, label %17 ] 17: ; preds = %12, %12, %12 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %6, align 4 %20 = or i32 %19, %18 store i32 %20, ptr %6, align 4 br label %22 21: ; preds = %12 store i32 -1, ptr %5, align 4 br label %30 22: ; preds = %17 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %6, align 4 %25 = call i32 @rf_reg_write(ptr noundef %23, i32 noundef 6, i32 noundef %24) store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %22 br label %30 29: ; preds = %22 br label %30 30: ; preds = %29, %28, %21, %11 %31 = load i32, ptr %5, align 4 ret i32 %31 } declare i32 @rf_reg_read(ptr noundef, i32 noundef) #1 declare i32 @rf_reg_write(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphu3qq8yd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rf_speed(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 %7 = load ptr, ptr %3, align 8 %8 = call i32 @rf_reg_read(ptr noundef %7, i32 noundef 6) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %2 br label %30 12: ; preds = %2 %13 = load i32, ptr %5, align 4 store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = and i32 %14, -41 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %4, align 4 switch i32 %16, label %21 [ i32 32, label %17 i32 0, label %17 i32 8, label %17 ] 17: ; preds = %12, %12, %12 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %6, align 4 %20 = or i32 %19, %18 store i32 %20, ptr %6, align 4 br label %22 21: ; preds = %12 store i32 -1, ptr %5, align 4 br label %30 22: ; preds = %17 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %6, align 4 %25 = call i32 @rf_reg_write(ptr noundef %23, i32 noundef 6, i32 noundef %24) store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %22 br label %30 29: ; preds = %22 br label %30 30: ; preds = %29, %28, %21, %11 %31 = load i32, ptr %5, align 4 ret i32 %31 } declare i32 @rf_reg_read(ptr noundef, i32 noundef) #1 declare i32 @rf_reg_write(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprujthw9f.c' source_filename = "/tmp/tmprujthw9f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"Pas d'argument !\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"Trop d'argument !\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Test\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp sle i32 %7, 1 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str) %12 = load i32, ptr @EXIT_FAILURE, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = icmp sge i32 %15, 3 br i1 %16, label %17, label %22 17: ; preds = %14 %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.1) %20 = load i32, ptr @EXIT_FAILURE, align 4 %21 = call i32 @exit(i32 noundef %20) #3 unreachable 22: ; preds = %14 %23 = call i32 (...) @fork() store i32 %23, ptr %6, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = call i32 @perror(ptr noundef @.str.2) %27 = load i32, ptr @EXIT_FAILURE, align 4 %28 = call i32 @exit(i32 noundef %27) #3 unreachable 29: ; preds = %22 %30 = load i32, ptr %6, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %38 32: ; preds = %29 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 2 %35 = load ptr, ptr %34, align 8 %36 = load i8, ptr %35, align 1 %37 = call i32 @execlp(ptr noundef @.str.3, ptr noundef @.str.3, i8 noundef signext %36, ptr noundef null) store i32 -1, ptr %3, align 4 br label %42 38: ; preds = %29 %39 = call i32 @wait(ptr noundef null) %40 = call i32 @printf(ptr noundef @.str.4) br label %41 41: ; preds = %38 store i32 0, ptr %3, align 4 br label %42 42: ; preds = %41, %32 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, i8 noundef signext, ptr noundef) #1 declare i32 @wait(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" } 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/tmprujthw9f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"Pas d'argument !\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"Trop d'argument !\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Test\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp sle i32 %7, 1 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load i32, ptr @stderr, align 4 %11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str) %12 = load i32, ptr @EXIT_FAILURE, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = icmp sge i32 %15, 3 br i1 %16, label %17, label %22 17: ; preds = %14 %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.1) %20 = load i32, ptr @EXIT_FAILURE, align 4 %21 = call i32 @exit(i32 noundef %20) #3 unreachable 22: ; preds = %14 %23 = call i32 (...) @fork() store i32 %23, ptr %6, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = call i32 @perror(ptr noundef @.str.2) %27 = load i32, ptr @EXIT_FAILURE, align 4 %28 = call i32 @exit(i32 noundef %27) #3 unreachable 29: ; preds = %22 %30 = load i32, ptr %6, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %38 32: ; preds = %29 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 2 %35 = load ptr, ptr %34, align 8 %36 = load i8, ptr %35, align 1 %37 = call i32 @execlp(ptr noundef @.str.3, ptr noundef @.str.3, i8 noundef signext %36, ptr noundef null) store i32 -1, ptr %3, align 4 br label %42 38: ; preds = %29 %39 = call i32 @wait(ptr noundef null) %40 = call i32 @printf(ptr noundef @.str.4) br label %41 41: ; preds = %38 store i32 0, ptr %3, align 4 br label %42 42: ; preds = %41, %32 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, i8 noundef signext, ptr noundef) #1 declare i32 @wait(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" } 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/tmps2lnnaoo.c' source_filename = "/tmp/tmps2lnnaoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vstd_err(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = ashr i32 %10, 2 store i32 %11, ptr %8, align 4 %12 = load i32, ptr %4, align 4 %13 = and i32 %12, 3 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %26 16: ; preds = %3 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %5, align 8 %19 = call ptr @create_buffer(i32 noundef %17, ptr noundef %18) store ptr %19, ptr %9, align 8 %20 = load i32, ptr @stderr, align 4 %21 = load ptr, ptr %9, align 8 %22 = load i32, ptr %6, align 4 %23 = call i32 @vfprintf(i32 noundef %20, ptr noundef %21, i32 noundef %22) %24 = load ptr, ptr %9, align 8 %25 = call i32 @free(ptr noundef %24) br label %31 26: ; preds = %3 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %6, align 4 %30 = call i32 @vfprintf(i32 noundef %27, ptr noundef %28, i32 noundef %29) br label %31 31: ; preds = %26, %16 %32 = load i32, ptr @stderr, align 4 %33 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str) %34 = load i32, ptr %8, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable } declare ptr @create_buffer(i32 noundef, ptr noundef) #1 declare i32 @vfprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps2lnnaoo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vstd_err(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = ashr i32 %10, 2 store i32 %11, ptr %8, align 4 %12 = load i32, ptr %4, align 4 %13 = and i32 %12, 3 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %26 16: ; preds = %3 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %5, align 8 %19 = call ptr @create_buffer(i32 noundef %17, ptr noundef %18) store ptr %19, ptr %9, align 8 %20 = load i32, ptr @stderr, align 4 %21 = load ptr, ptr %9, align 8 %22 = load i32, ptr %6, align 4 %23 = call i32 @vfprintf(i32 noundef %20, ptr noundef %21, i32 noundef %22) %24 = load ptr, ptr %9, align 8 %25 = call i32 @free(ptr noundef %24) br label %31 26: ; preds = %3 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %6, align 4 %30 = call i32 @vfprintf(i32 noundef %27, ptr noundef %28, i32 noundef %29) br label %31 31: ; preds = %26, %16 %32 = load i32, ptr @stderr, align 4 %33 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str) %34 = load i32, ptr %8, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable } declare ptr @create_buffer(i32 noundef, ptr noundef) #1 declare i32 @vfprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_atbwx8d.c' source_filename = "/tmp/tmp_atbwx8d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clear\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Sayi giriniz: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @.str.3 = private unnamed_addr constant [53 x i8] c"%u century %u year %u month %u week %u day %u:%u:%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 %11 = call i32 @system(ptr noundef @.str) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %14 = load i32, ptr %2, align 4 %15 = call i32 @time_format(ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %14) %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %10, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23) ret i32 0 } declare i32 @system(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @time_format(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmp_atbwx8d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clear\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Sayi giriniz: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @.str.3 = private unnamed_addr constant [53 x i8] c"%u century %u year %u month %u week %u day %u:%u:%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 %11 = call i32 @system(ptr noundef @.str) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %14 = load i32, ptr %2, align 4 %15 = call i32 @time_format(ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, i32 noundef %14) %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %10, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23) ret i32 0 } declare i32 @system(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @time_format(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmpqc9tlgl8.c' source_filename = "/tmp/tmpqc9tlgl8.c" target datalayout = "e-m:e-p270: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_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XIMStatusDrawCallbackStruct_type(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %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/tmpqc9tlgl8.c" target datalayout = "e-m:e-p270: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_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XIMStatusDrawCallbackStruct_type(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 ret i32 %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/tmp8kpyhykf.c' source_filename = "/tmp/tmp8kpyhykf.c" target datalayout = "e-m:e-p270: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/tmp8kpyhykf.c" target datalayout = "e-m:e-p270: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/tmp23achxup.c' source_filename = "/tmp/tmp23achxup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @printvet(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp23achxup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @printvet(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpk6s8c92q.c' source_filename = "/tmp/tmpk6s8c92q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inotify_init1(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @syscall(i32 noundef 332, i32 noundef %3) ret i32 %4 } declare i32 @syscall(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk6s8c92q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inotify_init1(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @syscall(i32 noundef 332, i32 noundef %3) ret i32 %4 } declare i32 @syscall(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}