llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp9mcxzret.c' source_filename = "/tmp/tmp9mcxzret.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c" %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [8 x i8], align 1 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0 store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @gets(ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = sub nsw i32 %10, 48 store i32 %11, ptr %4, align 4 br label %12 12: ; preds = %18, %0 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %2, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %26 18: ; preds = %12 %19 = load i32, ptr %4, align 4 %20 = mul nsw i32 %19, 8 %21 = load ptr, ptr %2, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = add nsw i32 %20, %23 %25 = sub nsw i32 %24, 48 store i32 %25, ptr %4, align 4 br label %12, !llvm.loop !6 26: ; preds = %12 %27 = load i32, ptr %4, align 4 %28 = call i32 @printf(ptr noundef @.str, i32 noundef %27) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9mcxzret.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c" %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [8 x i8], align 1 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0 store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @gets(ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = sub nsw i32 %10, 48 store i32 %11, ptr %4, align 4 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %2, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %.lr.ph, label %30 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %17 %18 = load i32, ptr %4, align 4 %19 = mul nsw i32 %18, 8 %20 = load ptr, ptr %2, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = add nsw i32 %19, %22 %24 = sub nsw i32 %23, 48 store i32 %24, ptr %4, align 4 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %2, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %30 30: ; preds = %._crit_edge, %0 %31 = load i32, ptr %4, align 4 %32 = call i32 @printf(ptr noundef @.str, i32 noundef %31) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjepf2kya.c' source_filename = "/tmp/tmpjepf2kya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @genrand_int32_omp.mag01 = internal global [2 x i64] [i64 0, i64 2567483615], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @genrand_int32_omp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %7, align 4 %9 = icmp sge i32 %8, 624 br i1 %9, label %10, label %120 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp eq i32 %12, 625 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = call i32 @init_genrand(i64 noundef 5489) br label %16 16: ; preds = %14, %10 store i32 0, ptr %6, align 4 br label %17 17: ; preds = %53, %16 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %18, 227 br i1 %19, label %20, label %56 20: ; preds = %17 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i64, ptr %21, i64 %23 %25 = load i64, ptr %24, align 8 %26 = and i64 %25, 2147483648 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i64, ptr %27, i64 %30 %32 = load i64, ptr %31, align 8 %33 = and i64 %32, 2147483647 %34 = or i64 %26, %33 store i64 %34, ptr %5, align 8 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 397 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i64, ptr %35, i64 %38 %40 = load i64, ptr %39, align 8 %41 = load i64, ptr %5, align 8 %42 = lshr i64 %41, 1 %43 = xor i64 %40, %42 %44 = load i64, ptr %5, align 8 %45 = and i64 %44, 1 %46 = getelementptr inbounds [2 x i64], ptr @genrand_int32_omp.mag01, i64 0, i64 %45 %47 = load i64, ptr %46, align 8 %48 = xor i64 %43, %47 %49 = load ptr, ptr %3, align 8 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i64, ptr %49, i64 %51 store i64 %48, ptr %52, align 8 br label %53 53: ; preds = %20 %54 = load i32, ptr %6, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %6, align 4 br label %17, !llvm.loop !6 56: ; preds = %17 br label %57 57: ; preds = %93, %56 %58 = load i32, ptr %6, align 4 %59 = icmp slt i32 %58, 623 br i1 %59, label %60, label %96 60: ; preds = %57 %61 = load ptr, ptr %3, align 8 %62 = load i32, ptr %6, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i64, ptr %61, i64 %63 %65 = load i64, ptr %64, align 8 %66 = and i64 %65, 2147483648 %67 = load ptr, ptr %3, align 8 %68 = load i32, ptr %6, align 4 %69 = add nsw i32 %68, 1 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i64, ptr %67, i64 %70 %72 = load i64, ptr %71, align 8 %73 = and i64 %72, 2147483647 %74 = or i64 %66, %73 store i64 %74, ptr %5, align 8 %75 = load ptr, ptr %3, align 8 %76 = load i32, ptr %6, align 4 %77 = add nsw i32 %76, -227 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i64, ptr %75, i64 %78 %80 = load i64, ptr %79, align 8 %81 = load i64, ptr %5, align 8 %82 = lshr i64 %81, 1 %83 = xor i64 %80, %82 %84 = load i64, ptr %5, align 8 %85 = and i64 %84, 1 %86 = getelementptr inbounds [2 x i64], ptr @genrand_int32_omp.mag01, i64 0, i64 %85 %87 = load i64, ptr %86, align 8 %88 = xor i64 %83, %87 %89 = load ptr, ptr %3, align 8 %90 = load i32, ptr %6, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i64, ptr %89, i64 %91 store i64 %88, ptr %92, align 8 br label %93 93: ; preds = %60 %94 = load i32, ptr %6, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %6, align 4 br label %57, !llvm.loop !8 96: ; preds = %57 %97 = load ptr, ptr %3, align 8 %98 = getelementptr inbounds i64, ptr %97, i64 623 %99 = load i64, ptr %98, align 8 %100 = and i64 %99, 2147483648 %101 = load ptr, ptr %3, align 8 %102 = getelementptr inbounds i64, ptr %101, i64 0 %103 = load i64, ptr %102, align 8 %104 = and i64 %103, 2147483647 %105 = or i64 %100, %104 store i64 %105, ptr %5, align 8 %106 = load ptr, ptr %3, align 8 %107 = getelementptr inbounds i64, ptr %106, i64 396 %108 = load i64, ptr %107, align 8 %109 = load i64, ptr %5, align 8 %110 = lshr i64 %109, 1 %111 = xor i64 %108, %110 %112 = load i64, ptr %5, align 8 %113 = and i64 %112, 1 %114 = getelementptr inbounds [2 x i64], ptr @genrand_int32_omp.mag01, i64 0, i64 %113 %115 = load i64, ptr %114, align 8 %116 = xor i64 %111, %115 %117 = load ptr, ptr %3, align 8 %118 = getelementptr inbounds i64, ptr %117, i64 623 store i64 %116, ptr %118, align 8 %119 = load ptr, ptr %4, align 8 store i32 0, ptr %119, align 4 br label %120 120: ; preds = %96, %2 %121 = load ptr, ptr %3, align 8 %122 = load ptr, ptr %4, align 8 %123 = load i32, ptr %122, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i64, ptr %121, i64 %124 %126 = load i64, ptr %125, align 8 store i64 %126, ptr %5, align 8 %127 = load ptr, ptr %4, align 8 %128 = load i32, ptr %127, align 4 %129 = add nsw i32 %128, 1 %130 = load ptr, ptr %4, align 8 store i32 %129, ptr %130, align 4 %131 = load i64, ptr %5, align 8 %132 = lshr i64 %131, 11 %133 = load i64, ptr %5, align 8 %134 = xor i64 %133, %132 store i64 %134, ptr %5, align 8 %135 = load i64, ptr %5, align 8 %136 = shl i64 %135, 7 %137 = and i64 %136, 2636928640 %138 = load i64, ptr %5, align 8 %139 = xor i64 %138, %137 store i64 %139, ptr %5, align 8 %140 = load i64, ptr %5, align 8 %141 = shl i64 %140, 15 %142 = and i64 %141, 4022730752 %143 = load i64, ptr %5, align 8 %144 = xor i64 %143, %142 store i64 %144, ptr %5, align 8 %145 = load i64, ptr %5, align 8 %146 = lshr i64 %145, 18 %147 = load i64, ptr %5, align 8 %148 = xor i64 %147, %146 store i64 %148, ptr %5, align 8 %149 = load i64, ptr %5, align 8 ret i64 %149 } declare i32 @init_genrand(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjepf2kya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @genrand_int32_omp.mag01 = internal global [2 x i64] [i64 0, i64 2567483615], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @genrand_int32_omp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %7, align 4 %9 = icmp sge i32 %8, 624 br i1 %9, label %10, label %122 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp eq i32 %12, 625 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = call i32 @init_genrand(i64 noundef 5489) br label %16 16: ; preds = %14, %10 store i32 0, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 227 br i1 %18, label %.lr.ph, label %57 .lr.ph: ; preds = %16 br label %19 19: ; preds = %.lr.ph, %52 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i64, ptr %20, i64 %22 %24 = load i64, ptr %23, align 8 %25 = and i64 %24, 2147483648 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i64, ptr %26, i64 %29 %31 = load i64, ptr %30, align 8 %32 = and i64 %31, 2147483647 %33 = or i64 %25, %32 store i64 %33, ptr %5, align 8 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 397 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i64, ptr %34, i64 %37 %39 = load i64, ptr %38, align 8 %40 = load i64, ptr %5, align 8 %41 = lshr i64 %40, 1 %42 = xor i64 %39, %41 %43 = load i64, ptr %5, align 8 %44 = and i64 %43, 1 %45 = getelementptr inbounds [2 x i64], ptr @genrand_int32_omp.mag01, i64 0, i64 %44 %46 = load i64, ptr %45, align 8 %47 = xor i64 %42, %46 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i64, ptr %48, i64 %50 store i64 %47, ptr %51, align 8 br label %52 52: ; preds = %19 %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, 227 br i1 %56, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %57 57: ; preds = %._crit_edge, %16 %58 = load i32, ptr %6, align 4 %59 = icmp slt i32 %58, 623 br i1 %59, label %.lr.ph2, label %98 .lr.ph2: ; preds = %57 br label %60 60: ; preds = %.lr.ph2, %93 %61 = load ptr, ptr %3, align 8 %62 = load i32, ptr %6, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i64, ptr %61, i64 %63 %65 = load i64, ptr %64, align 8 %66 = and i64 %65, 2147483648 %67 = load ptr, ptr %3, align 8 %68 = load i32, ptr %6, align 4 %69 = add nsw i32 %68, 1 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i64, ptr %67, i64 %70 %72 = load i64, ptr %71, align 8 %73 = and i64 %72, 2147483647 %74 = or i64 %66, %73 store i64 %74, ptr %5, align 8 %75 = load ptr, ptr %3, align 8 %76 = load i32, ptr %6, align 4 %77 = add nsw i32 %76, -227 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i64, ptr %75, i64 %78 %80 = load i64, ptr %79, align 8 %81 = load i64, ptr %5, align 8 %82 = lshr i64 %81, 1 %83 = xor i64 %80, %82 %84 = load i64, ptr %5, align 8 %85 = and i64 %84, 1 %86 = getelementptr inbounds [2 x i64], ptr @genrand_int32_omp.mag01, i64 0, i64 %85 %87 = load i64, ptr %86, align 8 %88 = xor i64 %83, %87 %89 = load ptr, ptr %3, align 8 %90 = load i32, ptr %6, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i64, ptr %89, i64 %91 store i64 %88, ptr %92, align 8 br label %93 93: ; preds = %60 %94 = load i32, ptr %6, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %6, align 4 %96 = load i32, ptr %6, align 4 %97 = icmp slt i32 %96, 623 br i1 %97, label %60, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %93 br label %98 98: ; preds = %._crit_edge3, %57 %99 = load ptr, ptr %3, align 8 %100 = getelementptr inbounds i64, ptr %99, i64 623 %101 = load i64, ptr %100, align 8 %102 = and i64 %101, 2147483648 %103 = load ptr, ptr %3, align 8 %104 = getelementptr inbounds i64, ptr %103, i64 0 %105 = load i64, ptr %104, align 8 %106 = and i64 %105, 2147483647 %107 = or i64 %102, %106 store i64 %107, ptr %5, align 8 %108 = load ptr, ptr %3, align 8 %109 = getelementptr inbounds i64, ptr %108, i64 396 %110 = load i64, ptr %109, align 8 %111 = load i64, ptr %5, align 8 %112 = lshr i64 %111, 1 %113 = xor i64 %110, %112 %114 = load i64, ptr %5, align 8 %115 = and i64 %114, 1 %116 = getelementptr inbounds [2 x i64], ptr @genrand_int32_omp.mag01, i64 0, i64 %115 %117 = load i64, ptr %116, align 8 %118 = xor i64 %113, %117 %119 = load ptr, ptr %3, align 8 %120 = getelementptr inbounds i64, ptr %119, i64 623 store i64 %118, ptr %120, align 8 %121 = load ptr, ptr %4, align 8 store i32 0, ptr %121, align 4 br label %122 122: ; preds = %98, %2 %123 = load ptr, ptr %3, align 8 %124 = load ptr, ptr %4, align 8 %125 = load i32, ptr %124, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds i64, ptr %123, i64 %126 %128 = load i64, ptr %127, align 8 store i64 %128, ptr %5, align 8 %129 = load ptr, ptr %4, align 8 %130 = load i32, ptr %129, align 4 %131 = add nsw i32 %130, 1 %132 = load ptr, ptr %4, align 8 store i32 %131, ptr %132, align 4 %133 = load i64, ptr %5, align 8 %134 = lshr i64 %133, 11 %135 = load i64, ptr %5, align 8 %136 = xor i64 %135, %134 store i64 %136, ptr %5, align 8 %137 = load i64, ptr %5, align 8 %138 = shl i64 %137, 7 %139 = and i64 %138, 2636928640 %140 = load i64, ptr %5, align 8 %141 = xor i64 %140, %139 store i64 %141, ptr %5, align 8 %142 = load i64, ptr %5, align 8 %143 = shl i64 %142, 15 %144 = and i64 %143, 4022730752 %145 = load i64, ptr %5, align 8 %146 = xor i64 %145, %144 store i64 %146, ptr %5, align 8 %147 = load i64, ptr %5, align 8 %148 = lshr i64 %147, 18 %149 = load i64, ptr %5, align 8 %150 = xor i64 %149, %148 store i64 %150, ptr %5, align 8 %151 = load i64, ptr %5, align 8 ret i64 %151 } declare i32 @init_genrand(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_tofibri.c' source_filename = "/tmp/tmp_tofibri.c" target datalayout = "e-m:e-p270: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_XButtonPressedEvent_y(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/tmp_tofibri.c" target datalayout = "e-m:e-p270: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_XButtonPressedEvent_y(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/tmpihp9n8vs.c' source_filename = "/tmp/tmpihp9n8vs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @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/tmpihp9n8vs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @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/tmp7hmqund9.c' source_filename = "/tmp/tmp7hmqund9.c" target datalayout = "e-m:e-p270: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/tmp7hmqund9.c" target datalayout = "e-m:e-p270: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/tmp09yqdvji.c' source_filename = "/tmp/tmp09yqdvji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Is hello a palindrome (iterative): %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"hello\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"Is racecar a palindrome (iterative): %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"racecar\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"Is aba a palindrome (iterative): %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"aba\00", align 1 @.str.6 = private unnamed_addr constant [39 x i8] c"Is hello a palindrome (recursive): %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c"Is racecar a palindrome (recursive): %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"Is aba a palindrome (recursive): %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @isPalindromeIterative(ptr noundef @.str.1, i32 noundef 5) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @isPalindromeIterative(ptr noundef @.str.3, i32 noundef 7) %5 = call i32 @printf(ptr noundef @.str.2, i32 noundef %4) %6 = call i32 @isPalindromeIterative(ptr noundef @.str.5, i32 noundef 3) %7 = call i32 @printf(ptr noundef @.str.4, i32 noundef %6) %8 = call i32 @isPalindromeRecursive(ptr noundef @.str.1, i32 noundef 5) %9 = call i32 @printf(ptr noundef @.str.6, i32 noundef %8) %10 = call i32 @isPalindromeRecursive(ptr noundef @.str.3, i32 noundef 7) %11 = call i32 @printf(ptr noundef @.str.7, i32 noundef %10) %12 = call i32 @isPalindromeRecursive(ptr noundef @.str.5, i32 noundef 3) %13 = call i32 @printf(ptr noundef @.str.8, i32 noundef %12) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @isPalindromeIterative(ptr noundef, i32 noundef) #1 declare i32 @isPalindromeRecursive(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/tmp09yqdvji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Is hello a palindrome (iterative): %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"hello\00", align 1 @.str.2 = private unnamed_addr constant [41 x i8] c"Is racecar a palindrome (iterative): %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"racecar\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"Is aba a palindrome (iterative): %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"aba\00", align 1 @.str.6 = private unnamed_addr constant [39 x i8] c"Is hello a palindrome (recursive): %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c"Is racecar a palindrome (recursive): %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"Is aba a palindrome (recursive): %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @isPalindromeIterative(ptr noundef @.str.1, i32 noundef 5) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @isPalindromeIterative(ptr noundef @.str.3, i32 noundef 7) %5 = call i32 @printf(ptr noundef @.str.2, i32 noundef %4) %6 = call i32 @isPalindromeIterative(ptr noundef @.str.5, i32 noundef 3) %7 = call i32 @printf(ptr noundef @.str.4, i32 noundef %6) %8 = call i32 @isPalindromeRecursive(ptr noundef @.str.1, i32 noundef 5) %9 = call i32 @printf(ptr noundef @.str.6, i32 noundef %8) %10 = call i32 @isPalindromeRecursive(ptr noundef @.str.3, i32 noundef 7) %11 = call i32 @printf(ptr noundef @.str.7, i32 noundef %10) %12 = call i32 @isPalindromeRecursive(ptr noundef @.str.5, i32 noundef 3) %13 = call i32 @printf(ptr noundef @.str.8, i32 noundef %12) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @isPalindromeIterative(ptr noundef, i32 noundef) #1 declare i32 @isPalindromeRecursive(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/tmp8z1mfpdi.c' source_filename = "/tmp/tmp8z1mfpdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getwchar() #0 { %1 = load i32, ptr @stdin, align 4 %2 = call i32 @fgetwc(i32 noundef %1) ret i32 %2 } declare i32 @fgetwc(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/tmp8z1mfpdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getwchar() #0 { %1 = load i32, ptr @stdin, align 4 %2 = call i32 @fgetwc(i32 noundef %1) ret i32 %2 } declare i32 @fgetwc(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/tmp3apax27f.c' source_filename = "/tmp/tmp3apax27f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/kernel/debug/my_rc_file0\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"opening %s, fd=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"rc=%d %s::\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 [64 x i8], align 16 %10 = 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 store ptr @.str, ptr %10, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %10, align 8 br label %17 17: ; preds = %13, %2 %18 = load ptr, ptr %10, align 8 %19 = load i32, ptr @O_RDONLY, align 4 %20 = call i32 @open(ptr noundef %18, i32 noundef %19) store i32 %20, ptr %6, align 4 %21 = load ptr, ptr %10, align 8 %22 = load i32, ptr %6, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21, i32 noundef %22) store i32 1, ptr %7, align 4 br label %24 24: ; preds = %34, %17 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 20 br i1 %26, label %27, label %37 27: ; preds = %24 %28 = load i32, ptr %6, align 4 %29 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %30 = call i32 @read(i32 noundef %28, ptr noundef %29, i32 noundef 64) store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31, ptr noundef %32) br label %34 34: ; preds = %27 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %24, !llvm.loop !6 37: ; preds = %24 %38 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3apax27f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/kernel/debug/my_rc_file0\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"opening %s, fd=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"rc=%d %s::\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 [64 x i8], align 16 %10 = 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 store ptr @.str, ptr %10, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 1 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %10, align 8 br label %17 17: ; preds = %13, %2 %18 = load ptr, ptr %10, align 8 %19 = load i32, ptr @O_RDONLY, align 4 %20 = call i32 @open(ptr noundef %18, i32 noundef %19) store i32 %20, ptr %6, align 4 %21 = load ptr, ptr %10, align 8 %22 = load i32, ptr %6, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21, i32 noundef %22) store i32 1, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %24, 20 br i1 %25, label %.lr.ph, label %38 .lr.ph: ; preds = %17 br label %26 26: ; preds = %.lr.ph, %33 %27 = load i32, ptr %6, align 4 %28 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %29 = call i32 @read(i32 noundef %27, ptr noundef %28, i32 noundef 64) store i32 %29, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30, ptr noundef %31) br label %33 33: ; preds = %26 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 %36 = load i32, ptr %7, align 4 %37 = icmp slt i32 %36, 20 br i1 %37, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %17 %39 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8ml1xbbf.c' source_filename = "/tmp/tmp8ml1xbbf.c" target datalayout = "e-m:e-p270: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/tmp8ml1xbbf.c" target datalayout = "e-m:e-p270: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/tmpy5xbn7k2.c' source_filename = "/tmp/tmpy5xbn7k2.c" target datalayout = "e-m:e-p270: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/tmpy5xbn7k2.c" target datalayout = "e-m:e-p270: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/tmpjffphih9.c' source_filename = "/tmp/tmpjffphih9.c" target datalayout = "e-m:e-p270: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/tmpjffphih9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_d5l16u7.c' source_filename = "/tmp/tmp_d5l16u7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_d5l16u7.c" target datalayout = "e-m:e-p270: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/tmpdjw8yslo.c' source_filename = "/tmp/tmpdjw8yslo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define hidden i32 @get_element(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %13 = load ptr, ptr %8, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 store i8 0, ptr %14, align 1 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 br label %15 15: ; preds = %45, %5 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %11, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 60 br i1 %22, label %23, label %32 23: ; preds = %15 %24 = load i32, ptr %12, align 4 %25 = load i32, ptr %9, align 4 %26 = sub nsw i32 %25, 1 %27 = icmp slt i32 %24, %26 br i1 %27, label %28, label %32 28: ; preds = %23 %29 = load i32, ptr %11, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %29, %30 br label %32 32: ; preds = %28, %23, %15 %33 = phi i1 [ false, %23 ], [ false, %15 ], [ %31, %28 ] br i1 %33, label %34, label %48 34: ; preds = %32 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %11, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %12, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %12, align 4 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 store i8 %39, ptr %44, align 1 br label %45 45: ; preds = %34 %46 = load i32, ptr %11, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %11, align 4 br label %15, !llvm.loop !6 48: ; preds = %32 %49 = load ptr, ptr %8, align 8 %50 = load i32, ptr %12, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 0, ptr %52, align 1 %53 = load ptr, ptr %10, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %55, label %61 55: ; preds = %48 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %11, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load ptr, ptr %10, align 8 store ptr %59, ptr %60, align 8 br label %61 61: ; preds = %55, %48 %62 = load i32, ptr %12, align 4 ret i32 %62 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpdjw8yslo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define hidden i32 @get_element(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %13 = load ptr, ptr %8, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 store i8 0, ptr %14, align 1 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 br label %15 15: ; preds = %45, %5 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %11, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 60 br i1 %22, label %23, label %32 23: ; preds = %15 %24 = load i32, ptr %12, align 4 %25 = load i32, ptr %9, align 4 %26 = sub nsw i32 %25, 1 %27 = icmp slt i32 %24, %26 br i1 %27, label %28, label %32 28: ; preds = %23 %29 = load i32, ptr %11, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %29, %30 br label %32 32: ; preds = %28, %23, %15 %33 = phi i1 [ false, %23 ], [ false, %15 ], [ %31, %28 ] br i1 %33, label %34, label %48 34: ; preds = %32 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %11, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %12, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %12, align 4 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 store i8 %39, ptr %44, align 1 br label %45 45: ; preds = %34 %46 = load i32, ptr %11, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %11, align 4 br label %15, !llvm.loop !6 48: ; preds = %32 %49 = load ptr, ptr %8, align 8 %50 = load i32, ptr %12, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 0, ptr %52, align 1 %53 = load ptr, ptr %10, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %55, label %61 55: ; preds = %48 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %11, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = load ptr, ptr %10, align 8 store ptr %59, ptr %60, align 8 br label %61 61: ; preds = %55, %48 %62 = load i32, ptr %12, align 4 ret i32 %62 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp5x4hgs4h.c' source_filename = "/tmp/tmp5x4hgs4h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_getcwd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %2 store ptr null, ptr %3, align 8 br label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = call ptr @getcwd(ptr noundef %10, i32 noundef %11) store ptr %12, ptr %3, align 8 br label %13 13: ; preds = %9, %8 %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare ptr @getcwd(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/tmp5x4hgs4h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_getcwd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %2 store ptr null, ptr %3, align 8 br label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = call ptr @getcwd(ptr noundef %10, i32 noundef %11) store ptr %12, ptr %3, align 8 br label %13 13: ; preds = %9, %8 %14 = load ptr, ptr %3, align 8 ret ptr %14 } declare ptr @getcwd(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/tmps5nnf1g2.c' source_filename = "/tmp/tmps5nnf1g2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_base_convolve_complex(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %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 i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 store i32 0, ptr %17, align 4 br label %18 18: ; preds = %41, %8 %19 = load i32, ptr %17, align 4 %20 = load i32, ptr %16, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %44 22: ; preds = %18 %23 = load ptr, ptr %9, align 8 %24 = load i32, ptr %17, align 4 %25 = load i32, ptr %12, align 4 %26 = sub nsw i32 %25, 1 %27 = sub nsw i32 %24, %26 %28 = load i32, ptr %15, align 4 %29 = add nsw i32 %27, %28 %30 = mul nsw i32 2, %29 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds float, ptr %23, i64 %31 %33 = load ptr, ptr %11, align 8 %34 = load ptr, ptr %13, align 8 %35 = load i32, ptr %17, align 4 %36 = mul nsw i32 2, %35 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds float, ptr %34, i64 %37 %39 = load i32, ptr %12, align 4 %40 = call i32 @mac_cmplx_vec_n(ptr noundef %32, ptr noundef %33, ptr noundef %38, i32 noundef %39) br label %41 41: ; preds = %22 %42 = load i32, ptr %17, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %17, align 4 br label %18, !llvm.loop !6 44: ; preds = %18 %45 = load i32, ptr %16, align 4 ret i32 %45 } declare i32 @mac_cmplx_vec_n(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps5nnf1g2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_base_convolve_complex(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %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 i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 store i32 0, ptr %17, align 4 %18 = load i32, ptr %17, align 4 %19 = load i32, ptr %16, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %46 .lr.ph: ; preds = %8 br label %21 21: ; preds = %.lr.ph, %40 %22 = load ptr, ptr %9, align 8 %23 = load i32, ptr %17, align 4 %24 = load i32, ptr %12, align 4 %25 = sub nsw i32 %24, 1 %26 = sub nsw i32 %23, %25 %27 = load i32, ptr %15, align 4 %28 = add nsw i32 %26, %27 %29 = mul nsw i32 2, %28 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds float, ptr %22, i64 %30 %32 = load ptr, ptr %11, align 8 %33 = load ptr, ptr %13, align 8 %34 = load i32, ptr %17, align 4 %35 = mul nsw i32 2, %34 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds float, ptr %33, i64 %36 %38 = load i32, ptr %12, align 4 %39 = call i32 @mac_cmplx_vec_n(ptr noundef %31, ptr noundef %32, ptr noundef %37, i32 noundef %38) br label %40 40: ; preds = %21 %41 = load i32, ptr %17, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %17, align 4 %43 = load i32, ptr %17, align 4 %44 = load i32, ptr %16, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %8 %47 = load i32, ptr %16, align 4 ret i32 %47 } declare i32 @mac_cmplx_vec_n(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4t6wnl6y.c' source_filename = "/tmp/tmp4t6wnl6y.c" target datalayout = "e-m:e-p270: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/tmp4t6wnl6y.c" target datalayout = "e-m:e-p270: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/tmp48gnoxqk.c' source_filename = "/tmp/tmp48gnoxqk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"x+y = \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @LCD_sum_reset() #0 { %1 = call i32 @Lcd_Out(i32 noundef 2, i32 noundef 1, ptr noundef @.str) ret void } declare i32 @Lcd_Out(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp48gnoxqk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"x+y = \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @LCD_sum_reset() #0 { %1 = call i32 @Lcd_Out(i32 noundef 2, i32 noundef 1, ptr noundef @.str) ret void } declare i32 @Lcd_Out(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc2bgiswf.c' source_filename = "/tmp/tmpc2bgiswf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"allocation failure 1 in lmatrix()\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in lmatrix()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @lmatrix(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %13 = load i64, ptr %6, align 8 %14 = load i64, ptr %5, align 8 %15 = sub nsw i64 %13, %14 %16 = add nsw i64 %15, 1 store i64 %16, ptr %10, align 8 %17 = load i64, ptr %8, align 8 %18 = load i64, ptr %7, align 8 %19 = sub nsw i64 %17, %18 %20 = add nsw i64 %19, 1 store i64 %20, ptr %11, align 8 %21 = load i64, ptr %10, align 8 %22 = add nsw i64 %21, 0 %23 = mul i64 %22, 8 %24 = call i64 @malloc(i64 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %12, align 8 %26 = load ptr, ptr %12, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %30, label %28 28: ; preds = %4 %29 = call i32 @nrerror(ptr noundef @.str) br label %30 30: ; preds = %28, %4 %31 = load ptr, ptr %12, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 0 store ptr %32, ptr %12, align 8 %33 = load i64, ptr %5, align 8 %34 = load ptr, ptr %12, align 8 %35 = sub i64 0, %33 %36 = getelementptr inbounds ptr, ptr %34, i64 %35 store ptr %36, ptr %12, align 8 %37 = load i64, ptr %10, align 8 %38 = load i64, ptr %11, align 8 %39 = mul nsw i64 %37, %38 %40 = add nsw i64 %39, 0 %41 = mul i64 %40, 8 %42 = call i64 @malloc(i64 noundef %41) %43 = inttoptr i64 %42 to ptr %44 = load ptr, ptr %12, align 8 %45 = load i64, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %44, i64 %45 store ptr %43, ptr %46, align 8 %47 = load ptr, ptr %12, align 8 %48 = load i64, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %47, i64 %48 %50 = load ptr, ptr %49, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %54, label %52 52: ; preds = %30 %53 = call i32 @nrerror(ptr noundef @.str.1) br label %54 54: ; preds = %52, %30 %55 = load ptr, ptr %12, align 8 %56 = load i64, ptr %5, align 8 %57 = getelementptr inbounds ptr, ptr %55, i64 %56 %58 = load ptr, ptr %57, align 8 %59 = getelementptr inbounds i64, ptr %58, i64 0 store ptr %59, ptr %57, align 8 %60 = load i64, ptr %7, align 8 %61 = load ptr, ptr %12, align 8 %62 = load i64, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %61, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = sub i64 0, %60 %66 = getelementptr inbounds i64, ptr %64, i64 %65 store ptr %66, ptr %63, align 8 %67 = load i64, ptr %5, align 8 %68 = add nsw i64 %67, 1 store i64 %68, ptr %9, align 8 br label %69 69: ; preds = %84, %54 %70 = load i64, ptr %9, align 8 %71 = load i64, ptr %6, align 8 %72 = icmp sle i64 %70, %71 br i1 %72, label %73, label %87 73: ; preds = %69 %74 = load ptr, ptr %12, align 8 %75 = load i64, ptr %9, align 8 %76 = sub nsw i64 %75, 1 %77 = getelementptr inbounds ptr, ptr %74, i64 %76 %78 = load ptr, ptr %77, align 8 %79 = load i64, ptr %11, align 8 %80 = getelementptr inbounds i64, ptr %78, i64 %79 %81 = load ptr, ptr %12, align 8 %82 = load i64, ptr %9, align 8 %83 = getelementptr inbounds ptr, ptr %81, i64 %82 store ptr %80, ptr %83, align 8 br label %84 84: ; preds = %73 %85 = load i64, ptr %9, align 8 %86 = add nsw i64 %85, 1 store i64 %86, ptr %9, align 8 br label %69, !llvm.loop !6 87: ; preds = %69 %88 = load ptr, ptr %12, align 8 ret ptr %88 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc2bgiswf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"allocation failure 1 in lmatrix()\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in lmatrix()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @lmatrix(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %13 = load i64, ptr %6, align 8 %14 = load i64, ptr %5, align 8 %15 = sub nsw i64 %13, %14 %16 = add nsw i64 %15, 1 store i64 %16, ptr %10, align 8 %17 = load i64, ptr %8, align 8 %18 = load i64, ptr %7, align 8 %19 = sub nsw i64 %17, %18 %20 = add nsw i64 %19, 1 store i64 %20, ptr %11, align 8 %21 = load i64, ptr %10, align 8 %22 = add nsw i64 %21, 0 %23 = mul i64 %22, 8 %24 = call i64 @malloc(i64 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %12, align 8 %26 = load ptr, ptr %12, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %30, label %28 28: ; preds = %4 %29 = call i32 @nrerror(ptr noundef @.str) br label %30 30: ; preds = %28, %4 %31 = load ptr, ptr %12, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 0 store ptr %32, ptr %12, align 8 %33 = load i64, ptr %5, align 8 %34 = load ptr, ptr %12, align 8 %35 = sub i64 0, %33 %36 = getelementptr inbounds ptr, ptr %34, i64 %35 store ptr %36, ptr %12, align 8 %37 = load i64, ptr %10, align 8 %38 = load i64, ptr %11, align 8 %39 = mul nsw i64 %37, %38 %40 = add nsw i64 %39, 0 %41 = mul i64 %40, 8 %42 = call i64 @malloc(i64 noundef %41) %43 = inttoptr i64 %42 to ptr %44 = load ptr, ptr %12, align 8 %45 = load i64, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %44, i64 %45 store ptr %43, ptr %46, align 8 %47 = load ptr, ptr %12, align 8 %48 = load i64, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %47, i64 %48 %50 = load ptr, ptr %49, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %54, label %52 52: ; preds = %30 %53 = call i32 @nrerror(ptr noundef @.str.1) br label %54 54: ; preds = %52, %30 %55 = load ptr, ptr %12, align 8 %56 = load i64, ptr %5, align 8 %57 = getelementptr inbounds ptr, ptr %55, i64 %56 %58 = load ptr, ptr %57, align 8 %59 = getelementptr inbounds i64, ptr %58, i64 0 store ptr %59, ptr %57, align 8 %60 = load i64, ptr %7, align 8 %61 = load ptr, ptr %12, align 8 %62 = load i64, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %61, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = sub i64 0, %60 %66 = getelementptr inbounds i64, ptr %64, i64 %65 store ptr %66, ptr %63, align 8 %67 = load i64, ptr %5, align 8 %68 = add nsw i64 %67, 1 store i64 %68, ptr %9, align 8 %69 = load i64, ptr %9, align 8 %70 = load i64, ptr %6, align 8 %71 = icmp sle i64 %69, %70 br i1 %71, label %.lr.ph, label %89 .lr.ph: ; preds = %54 br label %72 72: ; preds = %.lr.ph, %83 %73 = load ptr, ptr %12, align 8 %74 = load i64, ptr %9, align 8 %75 = sub nsw i64 %74, 1 %76 = getelementptr inbounds ptr, ptr %73, i64 %75 %77 = load ptr, ptr %76, align 8 %78 = load i64, ptr %11, align 8 %79 = getelementptr inbounds i64, ptr %77, i64 %78 %80 = load ptr, ptr %12, align 8 %81 = load i64, ptr %9, align 8 %82 = getelementptr inbounds ptr, ptr %80, i64 %81 store ptr %79, ptr %82, align 8 br label %83 83: ; preds = %72 %84 = load i64, ptr %9, align 8 %85 = add nsw i64 %84, 1 store i64 %85, ptr %9, align 8 %86 = load i64, ptr %9, align 8 %87 = load i64, ptr %6, align 8 %88 = icmp sle i64 %86, %87 br i1 %88, label %72, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %83 br label %89 89: ; preds = %._crit_edge, %54 %90 = load ptr, ptr %12, align 8 ret ptr %90 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj85c6iik.c' source_filename = "/tmp/tmpj85c6iik.c" target datalayout = "e-m:e-p270: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"Need args\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Could not fork\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Process %d died of signal %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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 6, ptr %8, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str) %14 = load i32, ptr %8, align 4 store i32 %14, ptr %3, align 4 br label %59 15: ; preds = %2 %16 = call i32 (...) @fork() store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %23 19: ; preds = %15 %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.1) %22 = load i32, ptr %8, align 4 store i32 %22, ptr %3, align 4 br label %59 23: ; preds = %15 %24 = load i32, ptr %6, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %34 26: ; preds = %23 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = call i32 @execvp(ptr noundef %29, ptr noundef %31) %33 = load i32, ptr %8, align 4 store i32 %33, ptr %3, align 4 br label %59 34: ; preds = %23 %35 = load i32, ptr %6, align 4 %36 = call i32 @waitpid(i32 noundef %35, ptr noundef %7, i32 noundef 0) %37 = load i32, ptr %7, align 4 %38 = call i32 @WIFEXITED(i32 noundef %37) %39 = icmp ne i32 %38, 0 br i1 %39, label %52, label %40 40: ; preds = %34 %41 = load i32, ptr %7, align 4 %42 = call i64 @WIFSIGNALED(i32 noundef %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %50 44: ; preds = %40 %45 = load i32, ptr @stderr, align 4 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %7, align 4 %48 = call i32 @WTERMSIG(i32 noundef %47) %49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.2, i32 noundef %46, i32 noundef %48) br label %50 50: ; preds = %44, %40 %51 = load i32, ptr %8, align 4 store i32 %51, ptr %3, align 4 br label %59 52: ; preds = %34 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 0 %55 = load ptr, ptr %54, align 8 %56 = load i32, ptr %7, align 4 %57 = call i32 @WEXITSTATUS(i32 noundef %56) %58 = call i32 @finished(ptr noundef %55, i32 noundef %57) store i32 %58, ptr %3, align 4 br label %59 59: ; preds = %52, %50, %26, %19, %11 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @fork(...) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i32 @WTERMSIG(i32 noundef) #1 declare i32 @finished(ptr noundef, i32 noundef) #1 declare i32 @WEXITSTATUS(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/tmpj85c6iik.c" target datalayout = "e-m:e-p270: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"Need args\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Could not fork\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Process %d died of signal %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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 6, ptr %8, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str) %14 = load i32, ptr %8, align 4 store i32 %14, ptr %3, align 4 br label %59 15: ; preds = %2 %16 = call i32 (...) @fork() store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %23 19: ; preds = %15 %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.1) %22 = load i32, ptr %8, align 4 store i32 %22, ptr %3, align 4 br label %59 23: ; preds = %15 %24 = load i32, ptr %6, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %34 26: ; preds = %23 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 1 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = call i32 @execvp(ptr noundef %29, ptr noundef %31) %33 = load i32, ptr %8, align 4 store i32 %33, ptr %3, align 4 br label %59 34: ; preds = %23 %35 = load i32, ptr %6, align 4 %36 = call i32 @waitpid(i32 noundef %35, ptr noundef %7, i32 noundef 0) %37 = load i32, ptr %7, align 4 %38 = call i32 @WIFEXITED(i32 noundef %37) %39 = icmp ne i32 %38, 0 br i1 %39, label %52, label %40 40: ; preds = %34 %41 = load i32, ptr %7, align 4 %42 = call i64 @WIFSIGNALED(i32 noundef %41) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %50 44: ; preds = %40 %45 = load i32, ptr @stderr, align 4 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %7, align 4 %48 = call i32 @WTERMSIG(i32 noundef %47) %49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.2, i32 noundef %46, i32 noundef %48) br label %50 50: ; preds = %44, %40 %51 = load i32, ptr %8, align 4 store i32 %51, ptr %3, align 4 br label %59 52: ; preds = %34 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 0 %55 = load ptr, ptr %54, align 8 %56 = load i32, ptr %7, align 4 %57 = call i32 @WEXITSTATUS(i32 noundef %56) %58 = call i32 @finished(ptr noundef %55, i32 noundef %57) store i32 %58, ptr %3, align 4 br label %59 59: ; preds = %52, %50, %26, %19, %11 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @fork(...) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(i32 noundef) #1 declare i32 @WTERMSIG(i32 noundef) #1 declare i32 @finished(ptr noundef, i32 noundef) #1 declare i32 @WEXITSTATUS(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/tmps02ps806.c' source_filename = "/tmp/tmps02ps806.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @__const.main.s = private unnamed_addr constant [13 x i8] c"system_calls\00", align 1 @.str = private unnamed_addr constant [17 x i8] c"system_calls.tmp\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Can not create system_calls.tmp\0A\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"system_calls.link\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"system_calls.tmp1\00", align 1 @R_OK = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [18 x i8] c"system_call_mkdir\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [13 x i8], align 1 %4 = alloca [100 x i8], align 16 %5 = alloca %struct.stat, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.s, i64 13, i1 false) %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @printf(ptr noundef @.str.2) %11 = call i32 @exit(i32 noundef 0) #4 unreachable 12: ; preds = %0 %13 = getelementptr inbounds [13 x i8], ptr %3, i64 0, i64 0 %14 = load ptr, ptr %2, align 8 %15 = call i32 @fwrite(ptr noundef %13, i32 noundef 13, i32 noundef 1, ptr noundef %14) %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr @SEEK_CUR, align 4 %18 = call i32 @fseek(ptr noundef %16, i32 noundef 0, i32 noundef %17) %19 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %20 = load ptr, ptr %2, align 8 %21 = call i32 @fread(ptr noundef %19, i32 noundef 13, i32 noundef 1, ptr noundef %20) %22 = load ptr, ptr %2, align 8 %23 = call i32 @fclose(ptr noundef %22) %24 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %25 = call i32 @getcwd(ptr noundef %24, i32 noundef 100) %26 = call i32 @chdir(ptr noundef @.str.3) %27 = call i32 @symlink(ptr noundef @.str, ptr noundef @.str.4) %28 = call i32 @remove(ptr noundef @.str.4) %29 = call i32 @rename(ptr noundef @.str, ptr noundef @.str.5) %30 = call i32 @stat(ptr noundef @.str, ptr noundef %5) %31 = load i32, ptr @R_OK, align 4 %32 = call i32 @access(ptr noundef @.str, i32 noundef %31) %33 = call i32 @remove(ptr noundef @.str.5) %34 = call i32 @mkdir(ptr noundef @.str.6, i32 noundef 511) %35 = call i32 @rmdir(ptr noundef @.str.6) 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 ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @getcwd(ptr noundef, i32 noundef) #2 declare i32 @chdir(ptr noundef) #2 declare i32 @symlink(ptr noundef, ptr noundef) #2 declare i32 @remove(ptr noundef) #2 declare i32 @rename(ptr noundef, ptr noundef) #2 declare i32 @stat(ptr noundef, ptr noundef) #2 declare i32 @access(ptr noundef, i32 noundef) #2 declare i32 @mkdir(ptr noundef, i32 noundef) #2 declare i32 @rmdir(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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps02ps806.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @__const.main.s = private unnamed_addr constant [13 x i8] c"system_calls\00", align 1 @.str = private unnamed_addr constant [17 x i8] c"system_calls.tmp\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Can not create system_calls.tmp\0A\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"system_calls.link\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"system_calls.tmp1\00", align 1 @R_OK = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [18 x i8] c"system_call_mkdir\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [13 x i8], align 1 %4 = alloca [100 x i8], align 16 %5 = alloca %struct.stat, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.s, i64 13, i1 false) %6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @printf(ptr noundef @.str.2) %11 = call i32 @exit(i32 noundef 0) #4 unreachable 12: ; preds = %0 %13 = getelementptr inbounds [13 x i8], ptr %3, i64 0, i64 0 %14 = load ptr, ptr %2, align 8 %15 = call i32 @fwrite(ptr noundef %13, i32 noundef 13, i32 noundef 1, ptr noundef %14) %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr @SEEK_CUR, align 4 %18 = call i32 @fseek(ptr noundef %16, i32 noundef 0, i32 noundef %17) %19 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %20 = load ptr, ptr %2, align 8 %21 = call i32 @fread(ptr noundef %19, i32 noundef 13, i32 noundef 1, ptr noundef %20) %22 = load ptr, ptr %2, align 8 %23 = call i32 @fclose(ptr noundef %22) %24 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %25 = call i32 @getcwd(ptr noundef %24, i32 noundef 100) %26 = call i32 @chdir(ptr noundef @.str.3) %27 = call i32 @symlink(ptr noundef @.str, ptr noundef @.str.4) %28 = call i32 @remove(ptr noundef @.str.4) %29 = call i32 @rename(ptr noundef @.str, ptr noundef @.str.5) %30 = call i32 @stat(ptr noundef @.str, ptr noundef %5) %31 = load i32, ptr @R_OK, align 4 %32 = call i32 @access(ptr noundef @.str, i32 noundef %31) %33 = call i32 @remove(ptr noundef @.str.5) %34 = call i32 @mkdir(ptr noundef @.str.6, i32 noundef 511) %35 = call i32 @rmdir(ptr noundef @.str.6) 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 ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @getcwd(ptr noundef, i32 noundef) #2 declare i32 @chdir(ptr noundef) #2 declare i32 @symlink(ptr noundef, ptr noundef) #2 declare i32 @remove(ptr noundef) #2 declare i32 @rename(ptr noundef, ptr noundef) #2 declare i32 @stat(ptr noundef, ptr noundef) #2 declare i32 @access(ptr noundef, i32 noundef) #2 declare i32 @mkdir(ptr noundef, i32 noundef) #2 declare i32 @rmdir(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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnna42q2o.c' source_filename = "/tmp/tmpnna42q2o.c" target datalayout = "e-m:e-p270: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.lrl_count_or_blinks.code1 = private unnamed_addr constant [4 x i32] [i32 2, i32 3, i32 2, i32 3], align 16 @__const.lrl_count_or_blinks.code2 = private unnamed_addr constant [4 x i32] [i32 2, i32 2, i32 2, i32 2], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @lrl_count_or_blinks(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [4 x i32], align 16 %10 = alloca ptr, align 8 %11 = alloca [4 x i32], align 16 %12 = alloca [4 x i32], align 16 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.lrl_count_or_blinks.code1, i64 16, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.lrl_count_or_blinks.code2, i64 16, i1 false) %13 = call i64 @malloc(i32 noundef 40) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %10, align 8 br label %15 15: ; preds = %122, %118, %22, %3 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %123 19: ; preds = %15 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 4 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %7, align 4 br label %15, !llvm.loop !6 25: ; preds = %19 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %7, align 4 %28 = sub nsw i32 %27, 3 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %26, i64 %29 %31 = load i32, ptr %30, align 4 %32 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 store i32 %31, ptr %32, align 16 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %7, align 4 %35 = sub nsw i32 %34, 2 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %33, i64 %36 %38 = load i32, ptr %37, align 4 %39 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 store i32 %38, ptr %39, align 4 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %7, align 4 %42 = sub nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %40, i64 %43 %45 = load i32, ptr %44, align 4 %46 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 2 store i32 %45, ptr %46, align 8 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 %51 = load i32, ptr %50, align 4 %52 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 3 store i32 %51, ptr %52, align 4 %53 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %54 = load i32, ptr %53, align 16 %55 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 %56 = load i32, ptr %55, align 16 %57 = icmp eq i32 %54, %56 br i1 %57, label %58, label %85 58: ; preds = %25 %59 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 %60 = load i32, ptr %59, align 4 %61 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1 %62 = load i32, ptr %61, align 4 %63 = icmp eq i32 %60, %62 br i1 %63, label %64, label %85 64: ; preds = %58 %65 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 2 %66 = load i32, ptr %65, align 8 %67 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2 %68 = load i32, ptr %67, align 8 %69 = icmp eq i32 %66, %68 br i1 %69, label %70, label %85 70: ; preds = %64 %71 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 3 %72 = load i32, ptr %71, align 4 %73 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3 %74 = load i32, ptr %73, align 4 %75 = icmp eq i32 %72, %74 br i1 %75, label %76, label %85 76: ; preds = %70 %77 = load ptr, ptr %10, align 8 %78 = load i32, ptr %8, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 store i32 2, ptr %80, align 4 %81 = load i32, ptr %8, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %8, align 4 %83 = load i32, ptr %7, align 4 %84 = add nsw i32 %83, 4 store i32 %84, ptr %7, align 4 br label %122 85: ; preds = %70, %64, %58, %25 %86 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %87 = load i32, ptr %86, align 16 %88 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 0 %89 = load i32, ptr %88, align 16 %90 = icmp eq i32 %87, %89 br i1 %90, label %91, label %118 91: ; preds = %85 %92 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 %93 = load i32, ptr %92, align 4 %94 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 1 %95 = load i32, ptr %94, align 4 %96 = icmp eq i32 %93, %95 br i1 %96, label %97, label %118 97: ; preds = %91 %98 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 2 %99 = load i32, ptr %98, align 8 %100 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 2 %101 = load i32, ptr %100, align 8 %102 = icmp eq i32 %99, %101 br i1 %102, label %103, label %118 103: ; preds = %97 %104 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 3 %105 = load i32, ptr %104, align 4 %106 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 3 %107 = load i32, ptr %106, align 4 %108 = icmp eq i32 %105, %107 br i1 %108, label %109, label %118 109: ; preds = %103 %110 = load ptr, ptr %10, align 8 %111 = load i32, ptr %8, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i32, ptr %110, i64 %112 store i32 3, ptr %113, align 4 %114 = load i32, ptr %8, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %8, align 4 %116 = load i32, ptr %7, align 4 %117 = add nsw i32 %116, 4 store i32 %117, ptr %7, align 4 br label %121 118: ; preds = %103, %97, %91, %85 %119 = load i32, ptr %7, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %7, align 4 br label %15, !llvm.loop !6 121: ; preds = %109 br label %122 122: ; preds = %121, %76 br label %15, !llvm.loop !6 123: ; preds = %15 %124 = load ptr, ptr %10, align 8 %125 = load ptr, ptr %6, align 8 store ptr %124, ptr %125, align 8 %126 = load ptr, ptr %10, align 8 ret ptr %126 } ; 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 @malloc(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnna42q2o.c" target datalayout = "e-m:e-p270: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.lrl_count_or_blinks.code1 = private unnamed_addr constant [4 x i32] [i32 2, i32 3, i32 2, i32 3], align 16 @__const.lrl_count_or_blinks.code2 = private unnamed_addr constant [4 x i32] [i32 2, i32 2, i32 2, i32 2], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @lrl_count_or_blinks(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [4 x i32], align 16 %10 = alloca ptr, align 8 %11 = alloca [4 x i32], align 16 %12 = alloca [4 x i32], align 16 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.lrl_count_or_blinks.code1, i64 16, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.lrl_count_or_blinks.code2, i64 16, i1 false) %13 = call i64 @malloc(i32 noundef 40) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %10, align 8 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %125 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %.backedge %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 4 br i1 %20, label %21, label %27 21: ; preds = %18 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 br label %.backedge .backedge: ; preds = %21, %120, %124 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %18, label %._crit_edge, !llvm.loop !6 27: ; preds = %18 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %7, align 4 %30 = sub nsw i32 %29, 3 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %28, i64 %31 %33 = load i32, ptr %32, align 4 %34 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 store i32 %33, ptr %34, align 16 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %7, align 4 %37 = sub nsw i32 %36, 2 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %35, i64 %38 %40 = load i32, ptr %39, align 4 %41 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 store i32 %40, ptr %41, align 4 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %7, align 4 %44 = sub nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %42, i64 %45 %47 = load i32, ptr %46, align 4 %48 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 2 store i32 %47, ptr %48, align 8 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 %53 = load i32, ptr %52, align 4 %54 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 3 store i32 %53, ptr %54, align 4 %55 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %56 = load i32, ptr %55, align 16 %57 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 %58 = load i32, ptr %57, align 16 %59 = icmp eq i32 %56, %58 br i1 %59, label %60, label %87 60: ; preds = %27 %61 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 %62 = load i32, ptr %61, align 4 %63 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1 %64 = load i32, ptr %63, align 4 %65 = icmp eq i32 %62, %64 br i1 %65, label %66, label %87 66: ; preds = %60 %67 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 2 %68 = load i32, ptr %67, align 8 %69 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2 %70 = load i32, ptr %69, align 8 %71 = icmp eq i32 %68, %70 br i1 %71, label %72, label %87 72: ; preds = %66 %73 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 3 %74 = load i32, ptr %73, align 4 %75 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3 %76 = load i32, ptr %75, align 4 %77 = icmp eq i32 %74, %76 br i1 %77, label %78, label %87 78: ; preds = %72 %79 = load ptr, ptr %10, align 8 %80 = load i32, ptr %8, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 store i32 2, ptr %82, align 4 %83 = load i32, ptr %8, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %8, align 4 %85 = load i32, ptr %7, align 4 %86 = add nsw i32 %85, 4 store i32 %86, ptr %7, align 4 br label %124 87: ; preds = %72, %66, %60, %27 %88 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0 %89 = load i32, ptr %88, align 16 %90 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 0 %91 = load i32, ptr %90, align 16 %92 = icmp eq i32 %89, %91 br i1 %92, label %93, label %120 93: ; preds = %87 %94 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1 %95 = load i32, ptr %94, align 4 %96 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 1 %97 = load i32, ptr %96, align 4 %98 = icmp eq i32 %95, %97 br i1 %98, label %99, label %120 99: ; preds = %93 %100 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 2 %101 = load i32, ptr %100, align 8 %102 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 2 %103 = load i32, ptr %102, align 8 %104 = icmp eq i32 %101, %103 br i1 %104, label %105, label %120 105: ; preds = %99 %106 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 3 %107 = load i32, ptr %106, align 4 %108 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 3 %109 = load i32, ptr %108, align 4 %110 = icmp eq i32 %107, %109 br i1 %110, label %111, label %120 111: ; preds = %105 %112 = load ptr, ptr %10, align 8 %113 = load i32, ptr %8, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i32, ptr %112, i64 %114 store i32 3, ptr %115, align 4 %116 = load i32, ptr %8, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %8, align 4 %118 = load i32, ptr %7, align 4 %119 = add nsw i32 %118, 4 store i32 %119, ptr %7, align 4 br label %123 120: ; preds = %105, %99, %93, %87 %121 = load i32, ptr %7, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %7, align 4 br label %.backedge 123: ; preds = %111 br label %124 124: ; preds = %123, %78 br label %.backedge ._crit_edge: ; preds = %.backedge br label %125 125: ; preds = %._crit_edge, %3 %126 = load ptr, ptr %10, align 8 %127 = load ptr, ptr %6, align 8 store ptr %126, ptr %127, align 8 %128 = load ptr, ptr %10, align 8 ret ptr %128 } ; 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 @malloc(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8ib98j09.c' source_filename = "/tmp/tmp8ib98j09.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crossover2(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 %14 = load i64, ptr %9, align 8 store i64 %14, ptr %12, align 8 br label %15 15: ; preds = %58, %5 %16 = load i64, ptr %12, align 8 %17 = load i64, ptr %10, align 8 %18 = icmp ult i64 %16, %17 br i1 %18, label %19, label %60 19: ; preds = %15 %20 = load i64, ptr %10, align 8 %21 = load i64, ptr %12, align 8 %22 = load i64, ptr %11, align 8 %23 = add i64 %21, %22 %24 = icmp ult i64 %20, %23 br i1 %24, label %25, label %27 25: ; preds = %19 %26 = load i64, ptr %10, align 8 br label %31 27: ; preds = %19 %28 = load i64, ptr %12, align 8 %29 = load i64, ptr %11, align 8 %30 = add i64 %28, %29 br label %31 31: ; preds = %27, %25 %32 = phi i64 [ %26, %25 ], [ %30, %27 ] store i64 %32, ptr %13, align 8 br label %33 33: ; preds = %49, %31 %34 = load i64, ptr %13, align 8 %35 = load i64, ptr %12, align 8 %36 = icmp ugt i64 %34, %35 br i1 %36, label %37, label %52 37: ; preds = %33 %38 = load ptr, ptr %7, align 8 %39 = load i64, ptr %13, align 8 %40 = sub i64 %39, 1 %41 = call double %38(i64 noundef %40) %42 = load ptr, ptr %8, align 8 %43 = load i64, ptr %13, align 8 %44 = sub i64 %43, 1 %45 = call double %42(i64 noundef %44) %46 = fcmp ogt double %41, %45 br i1 %46, label %47, label %48 47: ; preds = %37 br label %52 48: ; preds = %37 br label %49 49: ; preds = %48 %50 = load i64, ptr %13, align 8 %51 = add i64 %50, -1 store i64 %51, ptr %13, align 8 br label %33, !llvm.loop !6 52: ; preds = %47, %33 %53 = load i64, ptr %13, align 8 %54 = load i64, ptr %12, align 8 %55 = icmp eq i64 %53, %54 br i1 %55, label %56, label %58 56: ; preds = %52 %57 = load i64, ptr %12, align 8 store i64 %57, ptr %6, align 8 br label %62 58: ; preds = %52 %59 = load i64, ptr %13, align 8 store i64 %59, ptr %12, align 8 br label %15, !llvm.loop !8 60: ; preds = %15 %61 = load i64, ptr %10, align 8 store i64 %61, ptr %6, align 8 br label %62 62: ; preds = %60, %56 %63 = load i64, ptr %6, align 8 ret i64 %63 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8ib98j09.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crossover2(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 %14 = load i64, ptr %9, align 8 store i64 %14, ptr %12, align 8 %15 = load i64, ptr %12, align 8 %16 = load i64, ptr %10, align 8 %17 = icmp ult i64 %15, %16 br i1 %17, label %.lr.ph1, label %64 .lr.ph1: ; preds = %5 br label %18 18: ; preds = %.lr.ph1, %59 %19 = load i64, ptr %10, align 8 %20 = load i64, ptr %12, align 8 %21 = load i64, ptr %11, align 8 %22 = add i64 %20, %21 %23 = icmp ult i64 %19, %22 br i1 %23, label %24, label %26 24: ; preds = %18 %25 = load i64, ptr %10, align 8 br label %30 26: ; preds = %18 %27 = load i64, ptr %12, align 8 %28 = load i64, ptr %11, align 8 %29 = add i64 %27, %28 br label %30 30: ; preds = %26, %24 %31 = phi i64 [ %25, %24 ], [ %29, %26 ] store i64 %31, ptr %13, align 8 %32 = load i64, ptr %13, align 8 %33 = load i64, ptr %12, align 8 %34 = icmp ugt i64 %32, %33 br i1 %34, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %30 br label %35 35: ; preds = %.lr.ph, %47 %36 = load ptr, ptr %7, align 8 %37 = load i64, ptr %13, align 8 %38 = sub i64 %37, 1 %39 = call double %36(i64 noundef %38) %40 = load ptr, ptr %8, align 8 %41 = load i64, ptr %13, align 8 %42 = sub i64 %41, 1 %43 = call double %40(i64 noundef %42) %44 = fcmp ogt double %39, %43 br i1 %44, label %45, label %46 45: ; preds = %35 br label %53 46: ; preds = %35 br label %47 47: ; preds = %46 %48 = load i64, ptr %13, align 8 %49 = add i64 %48, -1 store i64 %49, ptr %13, align 8 %50 = load i64, ptr %13, align 8 %51 = load i64, ptr %12, align 8 %52 = icmp ugt i64 %50, %51 br i1 %52, label %35, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %47 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %30 br label %53 53: ; preds = %.loopexit, %45 %54 = load i64, ptr %13, align 8 %55 = load i64, ptr %12, align 8 %56 = icmp eq i64 %54, %55 br i1 %56, label %57, label %59 57: ; preds = %53 %58 = load i64, ptr %12, align 8 store i64 %58, ptr %6, align 8 br label %66 59: ; preds = %53 %60 = load i64, ptr %13, align 8 store i64 %60, ptr %12, align 8 %61 = load i64, ptr %12, align 8 %62 = load i64, ptr %10, align 8 %63 = icmp ult i64 %61, %62 br i1 %63, label %18, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %59 br label %64 64: ; preds = %._crit_edge, %5 %65 = load i64, ptr %10, align 8 store i64 %65, ptr %6, align 8 br label %66 66: ; preds = %64, %57 %67 = load i64, ptr %6, align 8 ret i64 %67 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp05r0vcik.c' source_filename = "/tmp/tmp05r0vcik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [10 x i8] c"Leap Year\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Not Leap Year\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = srem i32 %4, 100 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %16 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = srem i32 %8, 400 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = call i32 @printf(ptr noundef @.str.1) br label %15 13: ; preds = %7 %14 = call i32 @printf(ptr noundef @.str.2) br label %15 15: ; preds = %13, %11 br label %25 16: ; preds = %0 %17 = load i32, ptr %2, align 4 %18 = srem i32 %17, 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.1) br label %24 22: ; preds = %16 %23 = call i32 @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22, %20 br label %25 25: ; preds = %24, %15 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp05r0vcik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [10 x i8] c"Leap Year\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Not Leap Year\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = srem i32 %4, 100 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %16 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = srem i32 %8, 400 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = call i32 @printf(ptr noundef @.str.1) br label %15 13: ; preds = %7 %14 = call i32 @printf(ptr noundef @.str.2) br label %15 15: ; preds = %13, %11 br label %25 16: ; preds = %0 %17 = load i32, ptr %2, align 4 %18 = srem i32 %17, 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.1) br label %24 22: ; preds = %16 %23 = call i32 @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22, %20 br label %25 25: ; preds = %24, %15 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu56bpndv.c' source_filename = "/tmp/tmpu56bpndv.c" target datalayout = "e-m:e-p270: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 { double, double } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @esNow() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load double, ptr %3, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load double, ptr %5, align 8 %7 = fdiv double %6, 1.000000e+06 %8 = call double @llvm.fmuladd.f64(double %4, double 1.000000e+00, double %7) ret double %8 } declare i32 @gettimeofday(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/tmpu56bpndv.c" target datalayout = "e-m:e-p270: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 { double, double } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @esNow() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load double, ptr %3, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load double, ptr %5, align 8 %7 = fdiv double %6, 1.000000e+06 %8 = call double @llvm.fmuladd.f64(double %4, double 1.000000e+00, double %7) ret double %8 } declare i32 @gettimeofday(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/tmpyoqrvs8b.c' source_filename = "/tmp/tmpyoqrvs8b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %17, %0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %8 7: ; preds = %3 ret i32 0 8: ; preds = %3 %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 3 %11 = icmp ne i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = sdiv i32 %13, 3 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) br label %16 16: ; preds = %12, %8 br label %17 17: ; preds = %16 br label %3 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyoqrvs8b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %.lr.ph .lr.ph: ; preds = %0 br label %7 ._crit_edge: ; preds = %16 br label %6 6: ; preds = %._crit_edge, %0 ret i32 0 7: ; preds = %.lr.ph, %16 %8 = load i32, ptr %2, align 4 %9 = srem i32 %8, 3 %10 = icmp ne i32 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = sdiv i32 %12, 3 %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13) br label %15 15: ; preds = %11, %7 br label %16 16: ; preds = %15 %17 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %18 = load i32, ptr %2, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %._crit_edge, label %7 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptmcyqe7q.c' source_filename = "/tmp/tmptmcyqe7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"=%02X\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 @mime_encode_as_qp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 1, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %9, align 8 br label %13 13: ; preds = %3, %63 %14 = load ptr, ptr %9, align 8 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 store i32 %16, ptr %10, align 4 %17 = load i32, ptr %10, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %13 br label %66 20: ; preds = %13 %21 = load i32, ptr %10, align 4 %22 = and i32 %21, 128 %23 = icmp ne i32 %22, 0 br i1 %23, label %31, label %24 24: ; preds = %20 %25 = load i32, ptr %10, align 4 %26 = icmp eq i32 %25, 61 br i1 %26, label %31, label %27 27: ; preds = %24 %28 = load i32, ptr %10, align 4 %29 = call i64 @is_control_character(i32 noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %47 31: ; preds = %27, %24, %20 %32 = load i32, ptr %6, align 4 %33 = icmp sge i32 %32, 3 br i1 %33, label %34, label %43 34: ; preds = %31 %35 = load ptr, ptr %8, align 8 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %10, align 4 %38 = call i32 @snprintf(ptr noundef %35, i32 noundef %36, ptr noundef @.str, i32 noundef %37) %39 = load i32, ptr %6, align 4 %40 = sub nsw i32 %39, 3 store i32 %40, ptr %6, align 4 %41 = load ptr, ptr %8, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 3 store ptr %42, ptr %8, align 8 br label %44 43: ; preds = %31 store i32 0, ptr %6, align 4 br label %44 44: ; preds = %43, %34 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 3 store i32 %46, ptr %7, align 4 br label %62 47: ; preds = %27 %48 = load i32, ptr %6, align 4 %49 = icmp sge i32 %48, 1 br i1 %49, label %50, label %59 50: ; preds = %47 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %10, align 4 %54 = call i32 @snprintf(ptr noundef %51, i32 noundef %52, ptr noundef @.str.1, i32 noundef %53) %55 = load i32, ptr %6, align 4 %56 = sub nsw i32 %55, 1 store i32 %56, ptr %6, align 4 %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 1 store ptr %58, ptr %8, align 8 br label %59 59: ; preds = %50, %47 %60 = load i32, ptr %7, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %7, align 4 br label %62 62: ; preds = %59, %44 br label %63 63: ; preds = %62 %64 = load ptr, ptr %9, align 8 %65 = getelementptr inbounds i8, ptr %64, i32 1 store ptr %65, ptr %9, align 8 br label %13 66: ; preds = %19 %67 = load i32, ptr %7, align 4 ret i32 %67 } declare i64 @is_control_character(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptmcyqe7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"=%02X\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 @mime_encode_as_qp(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 1, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %9, align 8 %14 = load i8, ptr %13, align 1 %15 = zext i8 %14 to i32 store i32 %15, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %.lr.ph .lr.ph: ; preds = %3 br label %19 ._crit_edge: ; preds = %62 br label %18 18: ; preds = %._crit_edge, %3 br label %70 19: ; preds = %.lr.ph, %62 %20 = load i32, ptr %10, align 4 %21 = and i32 %20, 128 %22 = icmp ne i32 %21, 0 br i1 %22, label %30, label %23 23: ; preds = %19 %24 = load i32, ptr %10, align 4 %25 = icmp eq i32 %24, 61 br i1 %25, label %30, label %26 26: ; preds = %23 %27 = load i32, ptr %10, align 4 %28 = call i64 @is_control_character(i32 noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %46 30: ; preds = %26, %23, %19 %31 = load i32, ptr %6, align 4 %32 = icmp sge i32 %31, 3 br i1 %32, label %33, label %42 33: ; preds = %30 %34 = load ptr, ptr %8, align 8 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %10, align 4 %37 = call i32 @snprintf(ptr noundef %34, i32 noundef %35, ptr noundef @.str, i32 noundef %36) %38 = load i32, ptr %6, align 4 %39 = sub nsw i32 %38, 3 store i32 %39, ptr %6, align 4 %40 = load ptr, ptr %8, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 3 store ptr %41, ptr %8, align 8 br label %43 42: ; preds = %30 store i32 0, ptr %6, align 4 br label %43 43: ; preds = %42, %33 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 3 store i32 %45, ptr %7, align 4 br label %61 46: ; preds = %26 %47 = load i32, ptr %6, align 4 %48 = icmp sge i32 %47, 1 br i1 %48, label %49, label %58 49: ; preds = %46 %50 = load ptr, ptr %8, align 8 %51 = load i32, ptr %6, align 4 %52 = load i32, ptr %10, align 4 %53 = call i32 @snprintf(ptr noundef %50, i32 noundef %51, ptr noundef @.str.1, i32 noundef %52) %54 = load i32, ptr %6, align 4 %55 = sub nsw i32 %54, 1 store i32 %55, ptr %6, align 4 %56 = load ptr, ptr %8, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 1 store ptr %57, ptr %8, align 8 br label %58 58: ; preds = %49, %46 %59 = load i32, ptr %7, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %7, align 4 br label %61 61: ; preds = %58, %43 br label %62 62: ; preds = %61 %63 = load ptr, ptr %9, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 1 store ptr %64, ptr %9, align 8 %65 = load ptr, ptr %9, align 8 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 store i32 %67, ptr %10, align 4 %68 = load i32, ptr %10, align 4 %69 = icmp eq i32 %68, 0 br i1 %69, label %._crit_edge, label %19 70: ; preds = %18 %71 = load i32, ptr %7, align 4 ret i32 %71 } declare i64 @is_control_character(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwohb8nxb.c' source_filename = "/tmp/tmpwohb8nxb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [443 x i8] c"./csim: Missing required command line argument\0AUsage: ./csim [-hv] -s <s> -E <E> -b <b> -t <file>\0AOptions:\0A -h Print this help message.\0A -v Optional verbose flag.\0A -s <s> Number of set index bits.\0A -E <E> Number of lines per set.\0A -b <b> Number of blocks offset bits.\0A -t <file> Trace file.\0A\0AExamples:\0A linux> ./csim -s 4 -E 1 -b 4 -t traces/yi.trace\0A linux> ./csim -v -s 8 -E 2 -b 4 -t traces/yi.trace\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_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/tmpwohb8nxb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [443 x i8] c"./csim: Missing required command line argument\0AUsage: ./csim [-hv] -s <s> -E <E> -b <b> -t <file>\0AOptions:\0A -h Print this help message.\0A -v Optional verbose flag.\0A -s <s> Number of set index bits.\0A -E <E> Number of lines per set.\0A -b <b> Number of blocks offset bits.\0A -t <file> Trace file.\0A\0AExamples:\0A linux> ./csim -s 4 -E 1 -b 4 -t traces/yi.trace\0A linux> ./csim -v -s 8 -E 2 -b 4 -t traces/yi.trace\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_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/tmpk92qy42s.c' source_filename = "/tmp/tmpk92qy42s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %9, align 8 store i64 0, ptr %10, align 8 br label %14 14: ; preds = %51, %3 %15 = load i64, ptr %10, align 8 %16 = load i64, ptr %7, align 8 %17 = icmp ult i64 %15, %16 br i1 %17, label %18, label %32 18: ; preds = %14 %19 = load ptr, ptr %8, align 8 %20 = load i64, ptr %10, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %18 %26 = load ptr, ptr %9, align 8 %27 = load i64, ptr %10, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br label %32 32: ; preds = %25, %18, %14 %33 = phi i1 [ false, %18 ], [ false, %14 ], [ %31, %25 ] br i1 %33, label %34, label %54 34: ; preds = %32 %35 = load ptr, ptr %8, align 8 %36 = load i64, ptr %10, align 8 %37 = getelementptr inbounds i8, ptr %35, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = load ptr, ptr %9, align 8 %41 = load i64, ptr %10, align 8 %42 = getelementptr inbounds i8, ptr %40, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = sub nsw i32 %39, %44 store i32 %45, ptr %11, align 4 %46 = load i32, ptr %11, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %50 48: ; preds = %34 %49 = load i32, ptr %11, align 4 store i32 %49, ptr %4, align 4 br label %84 50: ; preds = %34 br label %51 51: ; preds = %50 %52 = load i64, ptr %10, align 8 %53 = add i64 %52, 1 store i64 %53, ptr %10, align 8 br label %14, !llvm.loop !6 54: ; preds = %32 %55 = load ptr, ptr %8, align 8 %56 = load i64, ptr %10, align 8 %57 = getelementptr inbounds i8, ptr %55, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 0 br i1 %60, label %68, label %61 61: ; preds = %54 %62 = load ptr, ptr %9, align 8 %63 = load i64, ptr %10, align 8 %64 = getelementptr inbounds i8, ptr %62, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %83 68: ; preds = %61, %54 %69 = load ptr, ptr %8, align 8 %70 = load i64, ptr %10, align 8 %71 = getelementptr inbounds i8, ptr %69, i64 %70 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp ne i32 %73, 0 br i1 %74, label %82, label %75 75: ; preds = %68 %76 = load ptr, ptr %9, align 8 %77 = load i64, ptr %10, align 8 %78 = getelementptr inbounds i8, ptr %76, i64 %77 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp ne i32 %80, 0 br i1 %81, label %82, label %83 82: ; preds = %75, %68 store i32 -1, ptr %4, align 4 br label %84 83: ; preds = %75, %61 store i32 0, ptr %4, align 4 br label %84 84: ; preds = %83, %82, %48 %85 = load i32, ptr %4, align 4 ret i32 %85 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpk92qy42s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load ptr, ptr %6, align 8 store ptr %13, ptr %9, align 8 store i64 0, ptr %10, align 8 br label %14 14: ; preds = %51, %3 %15 = load i64, ptr %10, align 8 %16 = load i64, ptr %7, align 8 %17 = icmp ult i64 %15, %16 br i1 %17, label %18, label %32 18: ; preds = %14 %19 = load ptr, ptr %8, align 8 %20 = load i64, ptr %10, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %32 25: ; preds = %18 %26 = load ptr, ptr %9, align 8 %27 = load i64, ptr %10, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br label %32 32: ; preds = %25, %18, %14 %33 = phi i1 [ false, %18 ], [ false, %14 ], [ %31, %25 ] br i1 %33, label %34, label %54 34: ; preds = %32 %35 = load ptr, ptr %8, align 8 %36 = load i64, ptr %10, align 8 %37 = getelementptr inbounds i8, ptr %35, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = load ptr, ptr %9, align 8 %41 = load i64, ptr %10, align 8 %42 = getelementptr inbounds i8, ptr %40, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = sub nsw i32 %39, %44 store i32 %45, ptr %11, align 4 %46 = load i32, ptr %11, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %50 48: ; preds = %34 %49 = load i32, ptr %11, align 4 store i32 %49, ptr %4, align 4 br label %84 50: ; preds = %34 br label %51 51: ; preds = %50 %52 = load i64, ptr %10, align 8 %53 = add i64 %52, 1 store i64 %53, ptr %10, align 8 br label %14, !llvm.loop !6 54: ; preds = %32 %55 = load ptr, ptr %8, align 8 %56 = load i64, ptr %10, align 8 %57 = getelementptr inbounds i8, ptr %55, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 0 br i1 %60, label %68, label %61 61: ; preds = %54 %62 = load ptr, ptr %9, align 8 %63 = load i64, ptr %10, align 8 %64 = getelementptr inbounds i8, ptr %62, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 0 br i1 %67, label %68, label %83 68: ; preds = %61, %54 %69 = load ptr, ptr %8, align 8 %70 = load i64, ptr %10, align 8 %71 = getelementptr inbounds i8, ptr %69, i64 %70 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp ne i32 %73, 0 br i1 %74, label %82, label %75 75: ; preds = %68 %76 = load ptr, ptr %9, align 8 %77 = load i64, ptr %10, align 8 %78 = getelementptr inbounds i8, ptr %76, i64 %77 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp ne i32 %80, 0 br i1 %81, label %82, label %83 82: ; preds = %75, %68 store i32 -1, ptr %4, align 4 br label %84 83: ; preds = %75, %61 store i32 0, ptr %4, align 4 br label %84 84: ; preds = %83, %82, %48 %85 = load i32, ptr %4, align 4 ret i32 %85 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpvo7tx0c9.c' source_filename = "/tmp/tmpvo7tx0c9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_line(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %22, %2 %8 = call signext i8 (...) @getchar() store i8 %8, ptr %5, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 10 br i1 %10, label %11, label %23 11: ; preds = %7 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %22 15: ; preds = %11 %16 = load i8, ptr %5, align 1 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %6, align 4 %20 = sext i32 %18 to i64 %21 = getelementptr inbounds i8, ptr %17, i64 %20 store i8 %16, ptr %21, align 1 br label %22 22: ; preds = %15, %11 br label %7, !llvm.loop !6 23: ; preds = %7 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 0, ptr %27, align 1 %28 = load i32, ptr %6, align 4 ret i32 %28 } declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvo7tx0c9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_line(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 %7 = call signext i8 (...) @getchar() store i8 %7, ptr %5, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 10 br i1 %9, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %21 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %21 14: ; preds = %10 %15 = load i8, ptr %5, align 1 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 %19 = sext i32 %17 to i64 %20 = getelementptr inbounds i8, ptr %16, i64 %19 store i8 %15, ptr %20, align 1 br label %21 21: ; preds = %14, %10 %22 = call signext i8 (...) @getchar() store i8 %22, ptr %5, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 10 br i1 %24, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %25 25: ; preds = %._crit_edge, %2 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 store i8 0, ptr %29, align 1 %30 = load i32, ptr %6, align 4 ret i32 %30 } declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpliybzcx1.c' source_filename = "/tmp/tmpliybzcx1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"MacBook.local\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %0, %3 %4 = call ptr @gethostbyname(ptr noundef @.str) store ptr %4, ptr %2, align 8 br label %3 } declare ptr @gethostbyname(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpliybzcx1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"MacBook.local\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %3, %0 %4 = call ptr @gethostbyname(ptr noundef @.str) store ptr %4, ptr %2, align 8 br label %3 } declare ptr @gethostbyname(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbvrgw5z5.c' source_filename = "/tmp/tmpbvrgw5z5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c4(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sin(double noundef %3) #2 %5 = fadd double 3.140000e+00, %4 ret double %5 } ; Function Attrs: nounwind declare double @sin(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 = { 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 = { 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/tmpbvrgw5z5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c4(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sin(double noundef %3) #2 %5 = fadd double 3.140000e+00, %4 ret double %5 } ; Function Attrs: nounwind declare double @sin(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 = { 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 = { 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/tmpw938ers6.c' source_filename = "/tmp/tmpw938ers6.c" target datalayout = "e-m:e-p270: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/tmpw938ers6.c" target datalayout = "e-m:e-p270: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/tmpes4oq0t_.c' source_filename = "/tmp/tmpes4oq0t_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_setup() #0 { %1 = call i32 (...) @rcd_timer_setup() ret void } declare i32 @rcd_timer_setup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpes4oq0t_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_setup() #0 { %1 = call i32 (...) @rcd_timer_setup() ret void } declare i32 @rcd_timer_setup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk5403y1w.c' source_filename = "/tmp/tmpk5403y1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findPrime(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i32 3, ptr %3, align 4 store i32 0, ptr %4, align 4 store i64 0, ptr %5, align 8 %6 = load i64, ptr %2, align 8 %7 = icmp slt i64 %6, 10 br i1 %7, label %8, label %20 8: ; preds = %1 %9 = load i64, ptr %2, align 8 %10 = srem i64 %9, 2 %11 = icmp ne i64 %10, 0 %12 = xor i1 %11, true %13 = zext i1 %12 to i32 %14 = load i64, ptr %2, align 8 %15 = srem i64 %14, 3 %16 = icmp ne i64 %15, 0 %17 = xor i1 %16, true %18 = zext i1 %17 to i32 %19 = add nsw i32 %13, %18 store i32 %19, ptr %4, align 4 br label %50 20: ; preds = %1 %21 = load i64, ptr %2, align 8 %22 = srem i64 %21, 2 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 1, ptr %4, align 4 br label %49 25: ; preds = %20 %26 = load i64, ptr %2, align 8 %27 = call i64 @sqrt(i64 noundef %26) store i64 %27, ptr %5, align 8 br label %28 28: ; preds = %38, %25 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = load i64, ptr %5, align 8 %32 = icmp sle i64 %30, %31 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load i32, ptr %4, align 4 %35 = icmp eq i32 %34, 0 br label %36 36: ; preds = %33, %28 %37 = phi i1 [ false, %28 ], [ %35, %33 ] br i1 %37, label %38, label %48 38: ; preds = %36 %39 = load i64, ptr %2, align 8 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = srem i64 %39, %41 %43 = icmp eq i64 %42, 0 %44 = zext i1 %43 to i64 %45 = select i1 %43, i32 1, i32 0 store i32 %45, ptr %4, align 4 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 2 store i32 %47, ptr %3, align 4 br label %28, !llvm.loop !6 48: ; preds = %36 br label %49 49: ; preds = %48, %24 br label %50 50: ; preds = %49, %8 %51 = load i32, ptr %4, align 4 %52 = icmp ne i32 %51, 0 %53 = xor i1 %52, true %54 = zext i1 %53 to i32 ret i32 %54 } declare i64 @sqrt(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk5403y1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findPrime(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i32 3, ptr %3, align 4 store i32 0, ptr %4, align 4 store i64 0, ptr %5, align 8 %6 = load i64, ptr %2, align 8 %7 = icmp slt i64 %6, 10 br i1 %7, label %8, label %20 8: ; preds = %1 %9 = load i64, ptr %2, align 8 %10 = srem i64 %9, 2 %11 = icmp ne i64 %10, 0 %12 = xor i1 %11, true %13 = zext i1 %12 to i32 %14 = load i64, ptr %2, align 8 %15 = srem i64 %14, 3 %16 = icmp ne i64 %15, 0 %17 = xor i1 %16, true %18 = zext i1 %17 to i32 %19 = add nsw i32 %13, %18 store i32 %19, ptr %4, align 4 br label %50 20: ; preds = %1 %21 = load i64, ptr %2, align 8 %22 = srem i64 %21, 2 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 1, ptr %4, align 4 br label %49 25: ; preds = %20 %26 = load i64, ptr %2, align 8 %27 = call i64 @sqrt(i64 noundef %26) store i64 %27, ptr %5, align 8 br label %28 28: ; preds = %38, %25 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = load i64, ptr %5, align 8 %32 = icmp sle i64 %30, %31 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load i32, ptr %4, align 4 %35 = icmp eq i32 %34, 0 br label %36 36: ; preds = %33, %28 %37 = phi i1 [ false, %28 ], [ %35, %33 ] br i1 %37, label %38, label %48 38: ; preds = %36 %39 = load i64, ptr %2, align 8 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = srem i64 %39, %41 %43 = icmp eq i64 %42, 0 %44 = zext i1 %43 to i64 %45 = select i1 %43, i32 1, i32 0 store i32 %45, ptr %4, align 4 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 2 store i32 %47, ptr %3, align 4 br label %28, !llvm.loop !6 48: ; preds = %36 br label %49 49: ; preds = %48, %24 br label %50 50: ; preds = %49, %8 %51 = load i32, ptr %4, align 4 %52 = icmp ne i32 %51, 0 %53 = xor i1 %52, true %54 = zext i1 %53 to i32 ret i32 %54 } declare i64 @sqrt(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9grpwmbn.c' source_filename = "/tmp/tmp9grpwmbn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_fwrite_int_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %8, align 4 %10 = sext i32 %9 to i64 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %11, align 8 %13 = call i32 @fwrite(ptr noundef %7, i64 noundef 4, i64 noundef %10, ptr noundef %12) ret i32 %13 } declare i32 @fwrite(ptr noundef, i64 noundef, i64 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/tmp9grpwmbn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_fwrite_int_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %8, align 4 %10 = sext i32 %9 to i64 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %11, align 8 %13 = call i32 @fwrite(ptr noundef %7, i64 noundef 4, i64 noundef %10, ptr noundef %12) ret i32 %13 } declare i32 @fwrite(ptr noundef, i64 noundef, i64 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/tmpfwcu080o.c' source_filename = "/tmp/tmpfwcu080o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AVersion:0.1, 2006/06/22\0A\00", align 1 @.str.1 = private unnamed_addr constant [56 x i8] c"Usage:\0A%s <host ip> <host mac> <user name> <password>\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfwcu080o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AVersion:0.1, 2006/06/22\0A\00", align 1 @.str.1 = private unnamed_addr constant [56 x i8] c"Usage:\0A%s <host ip> <host mac> <user name> <password>\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxjtqiorb.c' source_filename = "/tmp/tmpxjtqiorb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"udp socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"udp sock bind\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @udp_open() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr_in, align 4 %3 = load i32, ptr @PF_INET, align 4 %4 = load i32, ptr @SOCK_DGRAM, align 4 %5 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef 0) store i32 %5, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = call i32 @perror(ptr noundef @.str) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %0 %12 = load i32, ptr @INADDR_ANY, align 4 %13 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i32 0, i32 0 store i32 %12, ptr %14, align 4 %15 = call i32 @htons(i32 noundef 0) %16 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1 store i32 %15, ptr %16, align 4 %17 = load i32, ptr @PF_INET, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0 store i32 %17, ptr %18, align 4 %19 = load i32, ptr %1, align 4 %20 = call i64 @bind(i32 noundef %19, ptr noundef %2, i32 noundef 12) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %11 %23 = call i32 @perror(ptr noundef @.str.1) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %11 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpxjtqiorb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"udp socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"udp sock bind\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @udp_open() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr_in, align 4 %3 = load i32, ptr @PF_INET, align 4 %4 = load i32, ptr @SOCK_DGRAM, align 4 %5 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef 0) store i32 %5, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = call i32 @perror(ptr noundef @.str) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %0 %12 = load i32, ptr @INADDR_ANY, align 4 %13 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i32 0, i32 0 store i32 %12, ptr %14, align 4 %15 = call i32 @htons(i32 noundef 0) %16 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1 store i32 %15, ptr %16, align 4 %17 = load i32, ptr @PF_INET, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0 store i32 %17, ptr %18, align 4 %19 = load i32, ptr %1, align 4 %20 = call i64 @bind(i32 noundef %19, ptr noundef %2, i32 noundef 12) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %11 %23 = call i32 @perror(ptr noundef @.str.1) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %11 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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_ggfx_8m.c' source_filename = "/tmp/tmp_ggfx_8m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ggfx_8m.c" target datalayout = "e-m:e-p270: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/tmpwn1utj7h.c' source_filename = "/tmp/tmpwn1utj7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Enter the number: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Given number: %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Reverse is: %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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i64, ptr %2, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %5) %7 = load i64, ptr %2, align 8 %8 = call i64 @reversenumber(i64 noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @reversenumber(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/tmpwn1utj7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Enter the number: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Given number: %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Reverse is: %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 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i64, ptr %2, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %5) %7 = load i64, ptr %2, align 8 %8 = call i64 @reversenumber(i64 noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @reversenumber(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/tmpvqou1t83.c' source_filename = "/tmp/tmpvqou1t83.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete_list_item(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %10, %2 store i32 1, ptr %3, align 4 br label %67 15: ; preds = %10 store i32 0, ptr %6, align 4 br label %16 16: ; preds = %63, %15 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %66 23: ; preds = %16 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i64 @strcmp(ptr noundef %28, ptr noundef %29) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %62 32: ; preds = %23 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call i32 @free(ptr noundef %37) %39 = load i32, ptr %6, align 4 store i32 %39, ptr %7, align 4 br label %40 40: ; preds = %58, %32 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %61 47: ; preds = %40 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %48, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %7, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds ptr, ptr %54, i64 %56 store ptr %53, ptr %57, align 8 br label %58 58: ; preds = %47 %59 = load i32, ptr %7, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %7, align 4 br label %40, !llvm.loop !6 61: ; preds = %40 store i32 0, ptr %3, align 4 br label %67 62: ; preds = %23 br label %63 63: ; preds = %62 %64 = load i32, ptr %6, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %6, align 4 br label %16, !llvm.loop !8 66: ; preds = %16 store i32 1, ptr %3, align 4 br label %67 67: ; preds = %66, %61, %14 %68 = load i32, ptr %3, align 4 ret i32 %68 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvqou1t83.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete_list_item(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %10, %2 store i32 1, ptr %3, align 4 br label %77 15: ; preds = %10 store i32 0, ptr %6, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %.lr.ph, label %76 .lr.ph: ; preds = %15 br label %22 22: ; preds = %.lr.ph, %67 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = call i64 @strcmp(ptr noundef %27, ptr noundef %28) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %66 31: ; preds = %22 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = call i32 @free(ptr noundef %36) %38 = load i32, ptr %6, align 4 store i32 %38, ptr %7, align 4 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %.lr.ph2, label %65 .lr.ph2: ; preds = %31 br label %45 45: ; preds = %.lr.ph2, %56 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %46, i64 %49 %51 = load ptr, ptr %50, align 8 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %7, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %52, i64 %54 store ptr %51, ptr %55, align 8 br label %56 56: ; preds = %45 %57 = load i32, ptr %7, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %7, align 4 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %7, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %45, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %56 br label %65 65: ; preds = %._crit_edge3, %31 store i32 0, ptr %3, align 4 br label %77 66: ; preds = %22 br label %67 67: ; preds = %66 %68 = load i32, ptr %6, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %6, align 4 %70 = load ptr, ptr %4, align 8 %71 = load i32, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds ptr, ptr %70, i64 %72 %74 = load ptr, ptr %73, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %22, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %67 br label %76 76: ; preds = %._crit_edge, %15 store i32 1, ptr %3, align 4 br label %77 77: ; preds = %76, %65, %14 %78 = load i32, ptr %3, align 4 ret i32 %78 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpsckesu7h.c' source_filename = "/tmp/tmpsckesu7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"io_open\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_IO_file_open(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = call i32 @watch_log(ptr noundef @.str) ret ptr null } declare i32 @watch_log(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsckesu7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"io_open\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_IO_file_open(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = call i32 @watch_log(ptr noundef @.str) ret ptr null } declare i32 @watch_log(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpca8o4xr7.c' source_filename = "/tmp/tmpca8o4xr7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"control should never reach here!\0A\00", align 1 @SIGKILL = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [44 x i8] c"The child process should have been killed!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @fork() store i32 %3, ptr %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %9 5: ; preds = %0 %6 = call i32 (...) @pause() %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @exit(i32 noundef 0) #3 unreachable 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr @SIGKILL, align 4 %12 = call i32 @kill(i32 noundef %10, i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @fork(...) #1 declare i32 @pause(...) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @kill(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpca8o4xr7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"control should never reach here!\0A\00", align 1 @SIGKILL = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [44 x i8] c"The child process should have been killed!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @fork() store i32 %3, ptr %2, align 4 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %9 5: ; preds = %0 %6 = call i32 (...) @pause() %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @exit(i32 noundef 0) #3 unreachable 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr @SIGKILL, align 4 %12 = call i32 @kill(i32 noundef %10, i32 noundef %11) %13 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @fork(...) #1 declare i32 @pause(...) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @kill(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpren7rdk4.c' source_filename = "/tmp/tmpren7rdk4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TFD_TIMER_ABSTIME = 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/tmpren7rdk4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TFD_TIMER_ABSTIME = 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/tmp35nitc_c.c' source_filename = "/tmp/tmp35nitc_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @permuteArray(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca 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 %11 11: ; preds = %16, %2 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = mul nsw i32 %13, 2 %15 = icmp slt i32 %12, %14 br i1 %15, label %16, label %46 16: ; preds = %11 %17 = call i32 (...) @rand() store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %4, align 4 %20 = srem i32 %18, %19 store i32 %20, ptr %6, align 4 %21 = call i32 (...) @rand() store i32 %21, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %4, align 4 %24 = srem i32 %22, %23 store i32 %24, ptr %8, align 4 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 store i32 %29, ptr %10, align 4 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 store i32 %34, ptr %38, align 4 %39 = load i32, ptr %10, align 4 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %8, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 store i32 %39, ptr %43, align 4 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 br label %11, !llvm.loop !6 46: ; preds = %11 ret void } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp35nitc_c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @permuteArray(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = mul nsw i32 %12, 2 %14 = icmp slt i32 %11, %13 br i1 %14, label %.lr.ph, label %49 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %15 %16 = call i32 (...) @rand() store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %4, align 4 %19 = srem i32 %17, %18 store i32 %19, ptr %6, align 4 %20 = call i32 (...) @rand() store i32 %20, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %4, align 4 %23 = srem i32 %21, %22 store i32 %23, ptr %8, align 4 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 store i32 %28, ptr %10, align 4 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 store i32 %33, ptr %37, align 4 %38 = load i32, ptr %10, align 4 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 store i32 %38, ptr %42, align 4 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %4, align 4 %47 = mul nsw i32 %46, 2 %48 = icmp slt i32 %45, %47 br i1 %48, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %49 49: ; preds = %._crit_edge, %2 ret void } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmperss9ckr.c' source_filename = "/tmp/tmperss9ckr.c" target datalayout = "e-m:e-p270: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/tmperss9ckr.c" target datalayout = "e-m:e-p270: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/tmp0e04iug9.c' source_filename = "/tmp/tmp0e04iug9.c" target datalayout = "e-m:e-p270: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.bar = type { i8, i8, [2 x i8] } %union.foo = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.bar, align 4 %3 = alloca %union.foo, align 8 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds %struct.bar, ptr %2, i32 0, i32 1 store i8 0, ptr %4, align 1 store i8 4, ptr %2, align 4 store ptr %2, ptr %3, align 8 %5 = load i32, ptr %3, align 8 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0e04iug9.c" target datalayout = "e-m:e-p270: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.bar = type { i8, i8, [2 x i8] } %union.foo = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.bar, align 4 %3 = alloca %union.foo, align 8 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds %struct.bar, ptr %2, i32 0, i32 1 store i8 0, ptr %4, align 1 store i8 4, ptr %2, align 4 store ptr %2, ptr %3, align 8 %5 = load i32, ptr %3, align 8 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmoacq3tx.c' source_filename = "/tmp/tmpmoacq3tx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"/usr/local/bin/mc\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 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 0 store ptr @.str, ptr %7, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @spawn(i32 noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @spawn(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmoacq3tx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"/usr/local/bin/mc\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 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 0 store ptr @.str, ptr %7, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @spawn(i32 noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @spawn(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9cgsevh7.c' source_filename = "/tmp/tmp9cgsevh7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"shmat\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"\0Aget share memory %X\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @IPC_RMID = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [101 x i8], align 16 %7 = alloca i32, align 4 %8 = 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 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 101, i1 false) %9 = load i32, ptr @IPC_CREAT, align 4 %10 = or i32 420, %9 %11 = call i32 @shmget(i32 noundef 10, i32 noundef 100, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = call ptr @shmat(i32 noundef %12, ptr noundef null, i32 noundef 0) store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %8, align 8 %15 = icmp eq ptr %14, inttoptr (i64 -1 to ptr) br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 @perror(ptr noundef @.str) br label %18 18: ; preds = %16, %2 %19 = load ptr, ptr %8, align 8 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %18, %21 %22 = getelementptr inbounds [101 x i8], ptr %6, i64 0, i64 0 %23 = load i32, ptr @stdin, align 4 %24 = call i32 @fgets(ptr noundef %22, i32 noundef 100, i32 noundef %23) %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds [101 x i8], ptr %6, i64 0, i64 0 %27 = call i32 @strcpy(ptr noundef %25, ptr noundef %26) br label %21 } ; 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 @shmget(i32 noundef, i32 noundef, i32 noundef) #2 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9cgsevh7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"shmat\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"\0Aget share memory %X\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @IPC_RMID = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [101 x i8], align 16 %7 = alloca i32, align 4 %8 = 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 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 101, i1 false) %9 = load i32, ptr @IPC_CREAT, align 4 %10 = or i32 420, %9 %11 = call i32 @shmget(i32 noundef 10, i32 noundef 100, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = call ptr @shmat(i32 noundef %12, ptr noundef null, i32 noundef 0) store ptr %13, ptr %8, align 8 %14 = load ptr, ptr %8, align 8 %15 = icmp eq ptr %14, inttoptr (i64 -1 to ptr) br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 @perror(ptr noundef @.str) br label %18 18: ; preds = %16, %2 %19 = load ptr, ptr %8, align 8 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %21, %18 %22 = getelementptr inbounds [101 x i8], ptr %6, i64 0, i64 0 %23 = load i32, ptr @stdin, align 4 %24 = call i32 @fgets(ptr noundef %22, i32 noundef 100, i32 noundef %23) %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds [101 x i8], ptr %6, i64 0, i64 0 %27 = call i32 @strcpy(ptr noundef %25, ptr noundef %26) br label %21 } ; 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 @shmget(i32 noundef, i32 noundef, i32 noundef) #2 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv_zngsgo.c' source_filename = "/tmp/tmpv_zngsgo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isprint.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0xe5\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isprint_0xe5() #0 { %1 = call i64 @isprint(i32 noundef 229) %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 1150, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isprint(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/tmpv_zngsgo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isprint.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0xe5\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isprint_0xe5() #0 { %1 = call i64 @isprint(i32 noundef 229) %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 1150, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isprint(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/tmpnuidr2qo.c' source_filename = "/tmp/tmpnuidr2qo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swab(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 i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %3 br label %69 12: ; preds = %3 %13 = load i32, ptr %6, align 4 %14 = and i32 %13, -2 store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %4, align 8 %17 = icmp ne ptr %15, %16 br i1 %17, label %18, label %37 18: ; preds = %12 store i32 0, ptr %7, align 4 br label %19 19: ; preds = %33, %18 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %36 23: ; preds = %19 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %7, 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 ptr, ptr %5, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 %28, ptr %32, align 1 br label %33 33: ; preds = %23 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %19, !llvm.loop !6 36: ; preds = %19 br label %37 37: ; preds = %36, %12 store i32 0, ptr %7, align 4 br label %38 38: ; preds = %65, %37 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %6, align 4 %41 = sub nsw i32 %40, 1 %42 = icmp slt i32 %39, %41 br i1 %42, label %43, label %68 43: ; preds = %38 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 store i8 %48, ptr %8, align 1 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %49, i64 %52 %54 = load i8, ptr %53, align 1 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %7, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 store i8 %54, ptr %58, align 1 %59 = load i8, ptr %8, align 1 %60 = load ptr, ptr %5, align 8 %61 = load i32, ptr %7, align 4 %62 = add nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %60, i64 %63 store i8 %59, ptr %64, align 1 br label %65 65: ; preds = %43 %66 = load i32, ptr %7, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %7, align 4 br label %38, !llvm.loop !8 68: ; preds = %38 br label %69 69: ; preds = %68, %11 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnuidr2qo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swab(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 i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %3 br label %74 12: ; preds = %3 %13 = load i32, ptr %6, align 4 %14 = and i32 %13, -2 store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %4, align 8 %17 = icmp ne ptr %15, %16 br i1 %17, label %18, label %39 18: ; preds = %12 store i32 0, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %32 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 store i8 %27, ptr %31, align 1 br label %32 32: ; preds = %22 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %18 br label %39 39: ; preds = %38, %12 store i32 0, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %6, align 4 %42 = sub nsw i32 %41, 1 %43 = icmp slt i32 %40, %42 br i1 %43, label %.lr.ph2, label %73 .lr.ph2: ; preds = %39 br label %44 44: ; preds = %.lr.ph2, %66 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 store i8 %49, ptr %8, align 1 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %50, i64 %53 %55 = load i8, ptr %54, align 1 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %7, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 store i8 %55, ptr %59, align 1 %60 = load i8, ptr %8, align 1 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr %7, align 4 %63 = add nsw i32 %62, 1 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %61, i64 %64 store i8 %60, ptr %65, align 1 br label %66 66: ; preds = %44 %67 = load i32, ptr %7, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %7, align 4 %69 = load i32, ptr %7, align 4 %70 = load i32, ptr %6, align 4 %71 = sub nsw i32 %70, 1 %72 = icmp slt i32 %69, %71 br i1 %72, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %66 br label %73 73: ; preds = %._crit_edge3, %39 br label %74 74: ; preds = %73, %11 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpr5d0ujg8.c' source_filename = "/tmp/tmpr5d0ujg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isspace should be 0 for ,\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isspace_0x2c() #0 { %1 = call i64 @isspace(i32 noundef 44) %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 225, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isspace(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/tmpr5d0ujg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isspace.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isspace should be 0 for ,\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isspace_0x2c() #0 { %1 = call i64 @isspace(i32 noundef 44) %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 225, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isspace(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/tmpgiz96i1e.c' source_filename = "/tmp/tmpgiz96i1e.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32, i32 } %struct.sockaddr_storage = type { i32 } %struct.sigaction = type { i32 } @INET6_ADDRSTRLEN = dso_local global i32 0, align 4 @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AI_PASSIVE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"3491\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"server: waiting for connections...\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"server: got connection from %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"hello, world!\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"client %s registered\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"waiting for reply...\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"> \00", align 1 @stdin = 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 %struct.addrinfo, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca %struct.sockaddr_storage, align 4 %8 = alloca i32, align 4 %9 = alloca %struct.sigaction, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i32, align 4 %14 = alloca [100 x i8], align 16 %15 = alloca i32, align 4 %16 = alloca [100 x i8], align 16 %17 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 1, ptr %10, align 4 %18 = load i32, ptr @INET6_ADDRSTRLEN, align 4 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %11, align 8 %21 = alloca i8, i64 %19, align 16 store i64 %19, ptr %12, align 8 %22 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 24) %23 = load i32, ptr @AF_UNSPEC, align 4 %24 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 4 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @SOCK_STREAM, align 4 %26 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 3 store i32 %25, ptr %26, align 4 %27 = load i32, ptr @AI_PASSIVE, align 4 %28 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 5 store i32 %27, ptr %28, align 4 %29 = call i32 @getaddrinfo(ptr noundef null, ptr noundef @.str, ptr noundef %4, ptr noundef %5) %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds %struct.addrinfo, ptr %30, i32 0, i32 4 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds %struct.addrinfo, ptr %33, i32 0, i32 3 %35 = load i32, ptr %34, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds %struct.addrinfo, ptr %36, i32 0, i32 2 %38 = load i32, ptr %37, align 4 %39 = call i32 @socket(i32 noundef %32, i32 noundef %35, i32 noundef %38) store i32 %39, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr @SOL_SOCKET, align 4 %42 = load i32, ptr @SO_REUSEADDR, align 4 %43 = call i32 @setsockopt(i32 noundef %40, i32 noundef %41, i32 noundef %42, ptr noundef %10, i32 noundef 4) %44 = load i32, ptr %2, align 4 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds %struct.addrinfo, ptr %45, i32 0, i32 1 %47 = load i32, ptr %46, align 4 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds %struct.addrinfo, ptr %48, i32 0, i32 0 %50 = load i32, ptr %49, align 4 %51 = call i32 @bind(i32 noundef %44, i32 noundef %47, i32 noundef %50) %52 = load ptr, ptr %5, align 8 %53 = call i32 @freeaddrinfo(ptr noundef %52) %54 = load i32, ptr %2, align 4 %55 = call i32 @listen(i32 noundef %54, i32 noundef 10) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %57 57: ; preds = %128, %0 br label %58 58: ; preds = %57 store i32 4, ptr %8, align 4 %59 = load i32, ptr %2, align 4 %60 = call i32 @accept(i32 noundef %59, ptr noundef %7, ptr noundef %8) store i32 %60, ptr %3, align 4 %61 = getelementptr inbounds %struct.sockaddr_storage, ptr %7, i32 0, i32 0 %62 = load i32, ptr %61, align 4 %63 = call i32 @get_in_addr(ptr noundef %7) %64 = trunc i64 %19 to i32 %65 = call i32 @inet_ntop(i32 noundef %62, i32 noundef %63, ptr noundef %21, i32 noundef %64) %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21) %67 = call i64 @malloc(i32 noundef 1001) %68 = inttoptr i64 %67 to ptr store ptr %68, ptr %17, align 8 %69 = call i32 (...) @fork() %70 = icmp ne i32 %69, 0 br i1 %70, label %128, label %71 71: ; preds = %58 %72 = load i32, ptr %2, align 4 %73 = call i32 @close(i32 noundef %72) %74 = load i32, ptr %3, align 4 %75 = call i32 @send(i32 noundef %74, ptr noundef @.str.3, i32 noundef 13, i32 noundef 0) %76 = load i32, ptr %3, align 4 %77 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0 %78 = call i32 @recv(i32 noundef %76, ptr noundef %77, i32 noundef 99, i32 noundef 0) store i32 %78, ptr %15, align 4 %79 = load i32, ptr %15, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 %80 store i8 0, ptr %81, align 1 %82 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %82) %84 = getelementptr inbounds [100 x i8], ptr %16, i64 0, i64 0 %85 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0 %86 = call i32 @strcpy(ptr noundef %84, ptr noundef %85) br label %87 87: ; preds = %122, %71 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %89 = load i32, ptr %3, align 4 %90 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0 %91 = call i32 @recv(i32 noundef %89, ptr noundef %90, i32 noundef 99, i32 noundef 0) store i32 %91, ptr %15, align 4 %92 = load i32, ptr %15, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 %93 store i8 0, ptr %94, align 1 %95 = getelementptr inbounds [100 x i8], ptr %16, i64 0, i64 0 %96 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %95, ptr noundef %96) %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %99 = load ptr, ptr %17, align 8 %100 = load i32, ptr @stdin, align 4 %101 = call i32 @fgets(ptr noundef %99, i32 noundef 1001, i32 noundef %100) %102 = load ptr, ptr %17, align 8 %103 = call i32 @strlen(ptr noundef %102) %104 = icmp sgt i32 %103, 0 br i1 %104, label %105, label %122 105: ; preds = %87 %106 = load ptr, ptr %17, align 8 %107 = load ptr, ptr %17, align 8 %108 = call i32 @strlen(ptr noundef %107) %109 = sub nsw i32 %108, 1 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %106, i64 %110 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = icmp eq i32 %113, 10 br i1 %114, label %115, label %122 115: ; preds = %105 %116 = load ptr, ptr %17, align 8 %117 = load ptr, ptr %17, align 8 %118 = call i32 @strlen(ptr noundef %117) %119 = sub nsw i32 %118, 1 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %116, i64 %120 store i8 0, ptr %121, align 1 br label %122 122: ; preds = %115, %105, %87 %123 = load i32, ptr %3, align 4 %124 = load ptr, ptr %17, align 8 %125 = load ptr, ptr %17, align 8 %126 = call i32 @strlen(ptr noundef %125) %127 = call i32 @send(i32 noundef %123, ptr noundef %124, i32 noundef %126, i32 noundef 0) br label %87 128: ; preds = %58 %129 = load i32, ptr %3, align 4 %130 = call i32 @close(i32 noundef %129) br label %57 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @bind(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @freeaddrinfo(ptr noundef) #2 declare i32 @listen(i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @inet_ntop(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @get_in_addr(ptr noundef) #2 declare i64 @malloc(i32 noundef) #2 declare i32 @fork(...) #2 declare i32 @close(i32 noundef) #2 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgiz96i1e.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32, i32 } %struct.sockaddr_storage = type { i32 } %struct.sigaction = type { i32 } @INET6_ADDRSTRLEN = dso_local global i32 0, align 4 @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AI_PASSIVE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"3491\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [36 x i8] c"server: waiting for connections...\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"server: got connection from %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"hello, world!\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"client %s registered\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"waiting for reply...\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"> \00", align 1 @stdin = 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 %struct.addrinfo, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca %struct.sockaddr_storage, align 4 %8 = alloca i32, align 4 %9 = alloca %struct.sigaction, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i32, align 4 %14 = alloca [100 x i8], align 16 %15 = alloca i32, align 4 %16 = alloca [100 x i8], align 16 %17 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 1, ptr %10, align 4 %18 = load i32, ptr @INET6_ADDRSTRLEN, align 4 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %11, align 8 %21 = alloca i8, i64 %19, align 16 store i64 %19, ptr %12, align 8 %22 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 24) %23 = load i32, ptr @AF_UNSPEC, align 4 %24 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 4 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @SOCK_STREAM, align 4 %26 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 3 store i32 %25, ptr %26, align 4 %27 = load i32, ptr @AI_PASSIVE, align 4 %28 = getelementptr inbounds %struct.addrinfo, ptr %4, i32 0, i32 5 store i32 %27, ptr %28, align 4 %29 = call i32 @getaddrinfo(ptr noundef null, ptr noundef @.str, ptr noundef %4, ptr noundef %5) %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds %struct.addrinfo, ptr %30, i32 0, i32 4 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds %struct.addrinfo, ptr %33, i32 0, i32 3 %35 = load i32, ptr %34, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds %struct.addrinfo, ptr %36, i32 0, i32 2 %38 = load i32, ptr %37, align 4 %39 = call i32 @socket(i32 noundef %32, i32 noundef %35, i32 noundef %38) store i32 %39, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr @SOL_SOCKET, align 4 %42 = load i32, ptr @SO_REUSEADDR, align 4 %43 = call i32 @setsockopt(i32 noundef %40, i32 noundef %41, i32 noundef %42, ptr noundef %10, i32 noundef 4) %44 = load i32, ptr %2, align 4 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds %struct.addrinfo, ptr %45, i32 0, i32 1 %47 = load i32, ptr %46, align 4 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds %struct.addrinfo, ptr %48, i32 0, i32 0 %50 = load i32, ptr %49, align 4 %51 = call i32 @bind(i32 noundef %44, i32 noundef %47, i32 noundef %50) %52 = load ptr, ptr %5, align 8 %53 = call i32 @freeaddrinfo(ptr noundef %52) %54 = load i32, ptr %2, align 4 %55 = call i32 @listen(i32 noundef %54, i32 noundef 10) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %57 57: ; preds = %128, %0 br label %58 58: ; preds = %57 store i32 4, ptr %8, align 4 %59 = load i32, ptr %2, align 4 %60 = call i32 @accept(i32 noundef %59, ptr noundef %7, ptr noundef %8) store i32 %60, ptr %3, align 4 %61 = getelementptr inbounds %struct.sockaddr_storage, ptr %7, i32 0, i32 0 %62 = load i32, ptr %61, align 4 %63 = call i32 @get_in_addr(ptr noundef %7) %64 = trunc i64 %19 to i32 %65 = call i32 @inet_ntop(i32 noundef %62, i32 noundef %63, ptr noundef %21, i32 noundef %64) %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21) %67 = call i64 @malloc(i32 noundef 1001) %68 = inttoptr i64 %67 to ptr store ptr %68, ptr %17, align 8 %69 = call i32 (...) @fork() %70 = icmp ne i32 %69, 0 br i1 %70, label %128, label %71 71: ; preds = %58 %72 = load i32, ptr %2, align 4 %73 = call i32 @close(i32 noundef %72) %74 = load i32, ptr %3, align 4 %75 = call i32 @send(i32 noundef %74, ptr noundef @.str.3, i32 noundef 13, i32 noundef 0) %76 = load i32, ptr %3, align 4 %77 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0 %78 = call i32 @recv(i32 noundef %76, ptr noundef %77, i32 noundef 99, i32 noundef 0) store i32 %78, ptr %15, align 4 %79 = load i32, ptr %15, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 %80 store i8 0, ptr %81, align 1 %82 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %82) %84 = getelementptr inbounds [100 x i8], ptr %16, i64 0, i64 0 %85 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0 %86 = call i32 @strcpy(ptr noundef %84, ptr noundef %85) br label %87 87: ; preds = %122, %71 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %89 = load i32, ptr %3, align 4 %90 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0 %91 = call i32 @recv(i32 noundef %89, ptr noundef %90, i32 noundef 99, i32 noundef 0) store i32 %91, ptr %15, align 4 %92 = load i32, ptr %15, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 %93 store i8 0, ptr %94, align 1 %95 = getelementptr inbounds [100 x i8], ptr %16, i64 0, i64 0 %96 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %95, ptr noundef %96) %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %99 = load ptr, ptr %17, align 8 %100 = load i32, ptr @stdin, align 4 %101 = call i32 @fgets(ptr noundef %99, i32 noundef 1001, i32 noundef %100) %102 = load ptr, ptr %17, align 8 %103 = call i32 @strlen(ptr noundef %102) %104 = icmp sgt i32 %103, 0 br i1 %104, label %105, label %122 105: ; preds = %87 %106 = load ptr, ptr %17, align 8 %107 = load ptr, ptr %17, align 8 %108 = call i32 @strlen(ptr noundef %107) %109 = sub nsw i32 %108, 1 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %106, i64 %110 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = icmp eq i32 %113, 10 br i1 %114, label %115, label %122 115: ; preds = %105 %116 = load ptr, ptr %17, align 8 %117 = load ptr, ptr %17, align 8 %118 = call i32 @strlen(ptr noundef %117) %119 = sub nsw i32 %118, 1 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %116, i64 %120 store i8 0, ptr %121, align 1 br label %122 122: ; preds = %115, %105, %87 %123 = load i32, ptr %3, align 4 %124 = load ptr, ptr %17, align 8 %125 = load ptr, ptr %17, align 8 %126 = call i32 @strlen(ptr noundef %125) %127 = call i32 @send(i32 noundef %123, ptr noundef %124, i32 noundef %126, i32 noundef 0) br label %87 128: ; preds = %58 %129 = load i32, ptr %3, align 4 %130 = call i32 @close(i32 noundef %129) br label %57 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @bind(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @freeaddrinfo(ptr noundef) #2 declare i32 @listen(i32 noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @inet_ntop(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @get_in_addr(ptr noundef) #2 declare i64 @malloc(i32 noundef) #2 declare i32 @fork(...) #2 declare i32 @close(i32 noundef) #2 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7qxubwh_.c' source_filename = "/tmp/tmp7qxubwh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } %struct.timezone = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_time() #0 { %1 = alloca %struct.timeval, align 8 %2 = alloca %struct.timezone, align 4 %3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef %2) %4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = mul i64 %5, 1000000 %7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %8 = load i64, ptr %7, align 8 %9 = add i64 %6, %8 ret i64 %9 } declare i32 @gettimeofday(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/tmp7qxubwh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } %struct.timezone = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_time() #0 { %1 = alloca %struct.timeval, align 8 %2 = alloca %struct.timezone, align 4 %3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef %2) %4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = mul i64 %5, 1000000 %7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %8 = load i64, ptr %7, align 8 %9 = add i64 %6, %8 ret i64 %9 } declare i32 @gettimeofday(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/tmp9qxg3_6b.c' source_filename = "/tmp/tmp9qxg3_6b.c" target datalayout = "e-m:e-p270: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/tmp9qxg3_6b.c" target datalayout = "e-m:e-p270: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/tmp2b4x2u9b.c' source_filename = "/tmp/tmp2b4x2u9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generation_suivante_M(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 0, ptr %13, align 4 br label %16 16: ; preds = %110, %6 %17 = load i32, ptr %13, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %113 20: ; preds = %16 store i32 0, ptr %14, align 4 br label %21 21: ; preds = %106, %20 %22 = load i32, ptr %14, align 4 %23 = load i32, ptr %10, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %109 25: ; preds = %21 store i32 0, ptr %15, align 4 br label %26 26: ; preds = %102, %25 %27 = load i32, ptr %15, align 4 %28 = icmp slt i32 %27, 9 br i1 %28, label %29, label %105 29: ; preds = %26 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %13, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr %14, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %65 40: ; preds = %29 %41 = load ptr, ptr %11, align 8 %42 = load i32, ptr %15, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = icmp eq i32 %45, 1 br i1 %46, label %47, label %65 47: ; preds = %40 %48 = load ptr, ptr %7, align 8 %49 = load i32, ptr %13, align 4 %50 = load i32, ptr %14, align 4 %51 = load i32, ptr %9, align 4 %52 = load i32, ptr %10, align 4 %53 = call i32 @nb_voisins_M(ptr noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef %52) %54 = load i32, ptr %15, align 4 %55 = icmp eq i32 %53, %54 br i1 %55, label %56, label %65 56: ; preds = %47 %57 = load ptr, ptr %8, align 8 %58 = load i32, ptr %13, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds ptr, ptr %57, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = load i32, ptr %14, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 store i32 1, ptr %64, align 4 br label %65 65: ; preds = %56, %47, %40, %29 %66 = load ptr, ptr %7, align 8 %67 = load i32, ptr %13, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = load i32, ptr %14, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 %74 = load i32, ptr %73, align 4 %75 = icmp eq i32 %74, 1 br i1 %75, label %76, label %101 76: ; preds = %65 %77 = load ptr, ptr %12, align 8 %78 = load i32, ptr %15, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load i32, ptr %80, align 4 %82 = icmp eq i32 %81, 1 br i1 %82, label %83, label %101 83: ; preds = %76 %84 = load ptr, ptr %7, align 8 %85 = load i32, ptr %13, align 4 %86 = load i32, ptr %14, align 4 %87 = load i32, ptr %9, align 4 %88 = load i32, ptr %10, align 4 %89 = call i32 @nb_voisins_M(ptr noundef %84, i32 noundef %85, i32 noundef %86, i32 noundef %87, i32 noundef %88) %90 = load i32, ptr %15, align 4 %91 = icmp eq i32 %89, %90 br i1 %91, label %92, label %101 92: ; preds = %83 %93 = load ptr, ptr %8, align 8 %94 = load i32, ptr %13, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds ptr, ptr %93, i64 %95 %97 = load ptr, ptr %96, align 8 %98 = load i32, ptr %14, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 store i32 1, ptr %100, align 4 br label %101 101: ; preds = %92, %83, %76, %65 br label %102 102: ; preds = %101 %103 = load i32, ptr %15, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %15, align 4 br label %26, !llvm.loop !6 105: ; preds = %26 br label %106 106: ; preds = %105 %107 = load i32, ptr %14, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %14, align 4 br label %21, !llvm.loop !8 109: ; preds = %21 br label %110 110: ; preds = %109 %111 = load i32, ptr %13, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %13, align 4 br label %16, !llvm.loop !9 113: ; preds = %16 ret void } declare i32 @nb_voisins_M(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2b4x2u9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generation_suivante_M(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 0, ptr %13, align 4 %16 = load i32, ptr %13, align 4 %17 = load i32, ptr %9, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph5, label %118 .lr.ph5: ; preds = %6 br label %19 19: ; preds = %.lr.ph5, %112 store i32 0, ptr %14, align 4 %20 = load i32, ptr %14, align 4 %21 = load i32, ptr %10, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph2, label %111 .lr.ph2: ; preds = %19 br label %23 23: ; preds = %.lr.ph2, %105 store i32 0, ptr %15, align 4 %24 = load i32, ptr %15, align 4 %25 = icmp slt i32 %24, 9 br i1 %25, label %.lr.ph, label %104 .lr.ph: ; preds = %23 br label %26 26: ; preds = %.lr.ph, %99 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %13, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = load i32, ptr %14, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %34, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %62 37: ; preds = %26 %38 = load ptr, ptr %11, align 8 %39 = load i32, ptr %15, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, 1 br i1 %43, label %44, label %62 44: ; preds = %37 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %13, align 4 %47 = load i32, ptr %14, align 4 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %10, align 4 %50 = call i32 @nb_voisins_M(ptr noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef %49) %51 = load i32, ptr %15, align 4 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %62 53: ; preds = %44 %54 = load ptr, ptr %8, align 8 %55 = load i32, ptr %13, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds ptr, ptr %54, i64 %56 %58 = load ptr, ptr %57, align 8 %59 = load i32, ptr %14, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 store i32 1, ptr %61, align 4 br label %62 62: ; preds = %53, %44, %37, %26 %63 = load ptr, ptr %7, align 8 %64 = load i32, ptr %13, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = load i32, ptr %14, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 %71 = load i32, ptr %70, align 4 %72 = icmp eq i32 %71, 1 br i1 %72, label %73, label %98 73: ; preds = %62 %74 = load ptr, ptr %12, align 8 %75 = load i32, ptr %15, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 %78 = load i32, ptr %77, align 4 %79 = icmp eq i32 %78, 1 br i1 %79, label %80, label %98 80: ; preds = %73 %81 = load ptr, ptr %7, align 8 %82 = load i32, ptr %13, align 4 %83 = load i32, ptr %14, align 4 %84 = load i32, ptr %9, align 4 %85 = load i32, ptr %10, align 4 %86 = call i32 @nb_voisins_M(ptr noundef %81, i32 noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85) %87 = load i32, ptr %15, align 4 %88 = icmp eq i32 %86, %87 br i1 %88, label %89, label %98 89: ; preds = %80 %90 = load ptr, ptr %8, align 8 %91 = load i32, ptr %13, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds ptr, ptr %90, i64 %92 %94 = load ptr, ptr %93, align 8 %95 = load i32, ptr %14, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %94, i64 %96 store i32 1, ptr %97, align 4 br label %98 98: ; preds = %89, %80, %73, %62 br label %99 99: ; preds = %98 %100 = load i32, ptr %15, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %15, align 4 %102 = load i32, ptr %15, align 4 %103 = icmp slt i32 %102, 9 br i1 %103, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %99 br label %104 104: ; preds = %._crit_edge, %23 br label %105 105: ; preds = %104 %106 = load i32, ptr %14, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %14, align 4 %108 = load i32, ptr %14, align 4 %109 = load i32, ptr %10, align 4 %110 = icmp slt i32 %108, %109 br i1 %110, label %23, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %105 br label %111 111: ; preds = %._crit_edge3, %19 br label %112 112: ; preds = %111 %113 = load i32, ptr %13, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %13, align 4 %115 = load i32, ptr %13, align 4 %116 = load i32, ptr %9, align 4 %117 = icmp slt i32 %115, %116 br i1 %117, label %19, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %112 br label %118 118: ; preds = %._crit_edge6, %6 ret void } declare i32 @nb_voisins_M(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpj2wla08_.c' source_filename = "/tmp/tmpj2wla08_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"usage: %s server_host\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 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 slt i32 %7, 2 br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = call i32 @addition_1(ptr noundef %19) %21 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @addition_1(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpj2wla08_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"usage: %s server_host\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 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 slt i32 %7, 2 br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = call i32 @addition_1(ptr noundef %19) %21 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @addition_1(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp409i_hl9.c' source_filename = "/tmp/tmp409i_hl9.c" target datalayout = "e-m:e-p270: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/tmp409i_hl9.c" target datalayout = "e-m:e-p270: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/tmpzemfui37.c' source_filename = "/tmp/tmpzemfui37.c" target datalayout = "e-m:e-p270: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/tmpzemfui37.c" target datalayout = "e-m:e-p270: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/tmprena_vos.c' source_filename = "/tmp/tmprena_vos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @html_quote_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %3, align 8 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %53, %1 %9 = load ptr, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %12, label %58 12: ; preds = %8 %13 = load ptr, ptr %2, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 38 br i1 %16, label %17, label %20 17: ; preds = %12 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 4 store i32 %19, ptr %6, align 4 br label %52 20: ; preds = %12 %21 = load ptr, ptr %2, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 60 br i1 %24, label %30, label %25 25: ; preds = %20 %26 = load ptr, ptr %2, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 62 br i1 %29, label %30, label %33 30: ; preds = %25, %20 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 3 store i32 %32, ptr %6, align 4 br label %51 33: ; preds = %25 %34 = load ptr, ptr %2, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 34 br i1 %37, label %38, label %41 38: ; preds = %33 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 5 store i32 %40, ptr %6, align 4 br label %50 41: ; preds = %33 %42 = load ptr, ptr %2, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 32 br i1 %45, label %46, label %49 46: ; preds = %41 %47 = load i32, ptr %6, align 4 %48 = add nsw i32 %47, 4 store i32 %48, ptr %6, align 4 br label %49 49: ; preds = %46, %41 br label %50 50: ; preds = %49, %38 br label %51 51: ; preds = %50, %30 br label %52 52: ; preds = %51, %17 br label %53 53: ; preds = %52 %54 = load ptr, ptr %2, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %2, align 8 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 br label %8, !llvm.loop !6 58: ; preds = %8 %59 = load i32, ptr %6, align 4 %60 = add nsw i32 %59, 1 %61 = call ptr @checking_malloc(i32 noundef %60) store ptr %61, ptr %5, align 8 %62 = load ptr, ptr %3, align 8 store ptr %62, ptr %2, align 8 %63 = load ptr, ptr %5, align 8 store ptr %63, ptr %4, align 8 br label %64 64: ; preds = %129, %58 %65 = load ptr, ptr %2, align 8 %66 = load i8, ptr %65, align 1 %67 = icmp ne i8 %66, 0 br i1 %67, label %68, label %132 68: ; preds = %64 %69 = load ptr, ptr %2, align 8 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 switch i32 %71, label %123 [ i32 38, label %72 i32 60, label %83 i32 62, label %83 i32 34, label %99 i32 32, label %112 ] 72: ; preds = %68 %73 = load ptr, ptr %4, align 8 %74 = getelementptr inbounds i8, ptr %73, i32 1 store ptr %74, ptr %4, align 8 store i8 38, ptr %73, align 1 %75 = load ptr, ptr %4, align 8 %76 = getelementptr inbounds i8, ptr %75, i32 1 store ptr %76, ptr %4, align 8 store i8 97, ptr %75, align 1 %77 = load ptr, ptr %4, align 8 %78 = getelementptr inbounds i8, ptr %77, i32 1 store ptr %78, ptr %4, align 8 store i8 109, ptr %77, align 1 %79 = load ptr, ptr %4, align 8 %80 = getelementptr inbounds i8, ptr %79, i32 1 store ptr %80, ptr %4, align 8 store i8 112, ptr %79, align 1 %81 = load ptr, ptr %4, align 8 %82 = getelementptr inbounds i8, ptr %81, i32 1 store ptr %82, ptr %4, align 8 store i8 59, ptr %81, align 1 br label %128 83: ; preds = %68, %68 %84 = load ptr, ptr %4, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %4, align 8 store i8 38, ptr %84, align 1 %86 = load ptr, ptr %2, align 8 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 60 %90 = zext i1 %89 to i64 %91 = select i1 %89, i32 108, i32 103 %92 = trunc i32 %91 to i8 %93 = load ptr, ptr %4, align 8 %94 = getelementptr inbounds i8, ptr %93, i32 1 store ptr %94, ptr %4, align 8 store i8 %92, ptr %93, align 1 %95 = load ptr, ptr %4, align 8 %96 = getelementptr inbounds i8, ptr %95, i32 1 store ptr %96, ptr %4, align 8 store i8 116, ptr %95, align 1 %97 = load ptr, ptr %4, align 8 %98 = getelementptr inbounds i8, ptr %97, i32 1 store ptr %98, ptr %4, align 8 store i8 59, ptr %97, align 1 br label %128 99: ; preds = %68 %100 = load ptr, ptr %4, align 8 %101 = getelementptr inbounds i8, ptr %100, i32 1 store ptr %101, ptr %4, align 8 store i8 38, ptr %100, align 1 %102 = load ptr, ptr %4, align 8 %103 = getelementptr inbounds i8, ptr %102, i32 1 store ptr %103, ptr %4, align 8 store i8 113, ptr %102, align 1 %104 = load ptr, ptr %4, align 8 %105 = getelementptr inbounds i8, ptr %104, i32 1 store ptr %105, ptr %4, align 8 store i8 117, ptr %104, align 1 %106 = load ptr, ptr %4, align 8 %107 = getelementptr inbounds i8, ptr %106, i32 1 store ptr %107, ptr %4, align 8 store i8 111, ptr %106, align 1 %108 = load ptr, ptr %4, align 8 %109 = getelementptr inbounds i8, ptr %108, i32 1 store ptr %109, ptr %4, align 8 store i8 116, ptr %108, align 1 %110 = load ptr, ptr %4, align 8 %111 = getelementptr inbounds i8, ptr %110, i32 1 store ptr %111, ptr %4, align 8 store i8 59, ptr %110, align 1 br label %128 112: ; preds = %68 %113 = load ptr, ptr %4, align 8 %114 = getelementptr inbounds i8, ptr %113, i32 1 store ptr %114, ptr %4, align 8 store i8 38, ptr %113, align 1 %115 = load ptr, ptr %4, align 8 %116 = getelementptr inbounds i8, ptr %115, i32 1 store ptr %116, ptr %4, align 8 store i8 35, ptr %115, align 1 %117 = load ptr, ptr %4, align 8 %118 = getelementptr inbounds i8, ptr %117, i32 1 store ptr %118, ptr %4, align 8 store i8 51, ptr %117, align 1 %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds i8, ptr %119, i32 1 store ptr %120, ptr %4, align 8 store i8 50, ptr %119, align 1 %121 = load ptr, ptr %4, align 8 %122 = getelementptr inbounds i8, ptr %121, i32 1 store ptr %122, ptr %4, align 8 store i8 59, ptr %121, align 1 br label %128 123: ; preds = %68 %124 = load ptr, ptr %2, align 8 %125 = load i8, ptr %124, align 1 %126 = load ptr, ptr %4, align 8 %127 = getelementptr inbounds i8, ptr %126, i32 1 store ptr %127, ptr %4, align 8 store i8 %125, ptr %126, align 1 br label %128 128: ; preds = %123, %112, %99, %83, %72 br label %129 129: ; preds = %128 %130 = load ptr, ptr %2, align 8 %131 = getelementptr inbounds i8, ptr %130, i32 1 store ptr %131, ptr %2, align 8 br label %64, !llvm.loop !8 132: ; preds = %64 %133 = load ptr, ptr %4, align 8 store i8 0, ptr %133, align 1 %134 = load ptr, ptr %5, align 8 ret ptr %134 } declare ptr @checking_malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprena_vos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @html_quote_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %3, align 8 store i32 0, ptr %6, align 4 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %.lr.ph, label %60 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %52 %12 = load ptr, ptr %2, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 38 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 4 store i32 %18, ptr %6, align 4 br label %51 19: ; preds = %11 %20 = load ptr, ptr %2, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 60 br i1 %23, label %29, label %24 24: ; preds = %19 %25 = load ptr, ptr %2, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 62 br i1 %28, label %29, label %32 29: ; preds = %24, %19 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 3 store i32 %31, ptr %6, align 4 br label %50 32: ; preds = %24 %33 = load ptr, ptr %2, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 34 br i1 %36, label %37, label %40 37: ; preds = %32 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, 5 store i32 %39, ptr %6, align 4 br label %49 40: ; preds = %32 %41 = load ptr, ptr %2, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 32 br i1 %44, label %45, label %48 45: ; preds = %40 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 4 store i32 %47, ptr %6, align 4 br label %48 48: ; preds = %45, %40 br label %49 49: ; preds = %48, %37 br label %50 50: ; preds = %49, %29 br label %51 51: ; preds = %50, %16 br label %52 52: ; preds = %51 %53 = load ptr, ptr %2, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %2, align 8 %55 = load i32, ptr %6, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %6, align 4 %57 = load ptr, ptr %2, align 8 %58 = load i8, ptr %57, align 1 %59 = icmp ne i8 %58, 0 br i1 %59, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %60 60: ; preds = %._crit_edge, %1 %61 = load i32, ptr %6, align 4 %62 = add nsw i32 %61, 1 %63 = call ptr @checking_malloc(i32 noundef %62) store ptr %63, ptr %5, align 8 %64 = load ptr, ptr %3, align 8 store ptr %64, ptr %2, align 8 %65 = load ptr, ptr %5, align 8 store ptr %65, ptr %4, align 8 %66 = load ptr, ptr %2, align 8 %67 = load i8, ptr %66, align 1 %68 = icmp ne i8 %67, 0 br i1 %68, label %.lr.ph2, label %136 .lr.ph2: ; preds = %60 br label %69 69: ; preds = %.lr.ph2, %130 %70 = load ptr, ptr %2, align 8 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 switch i32 %72, label %124 [ i32 38, label %73 i32 60, label %84 i32 62, label %84 i32 34, label %100 i32 32, label %113 ] 73: ; preds = %69 %74 = load ptr, ptr %4, align 8 %75 = getelementptr inbounds i8, ptr %74, i32 1 store ptr %75, ptr %4, align 8 store i8 38, ptr %74, align 1 %76 = load ptr, ptr %4, align 8 %77 = getelementptr inbounds i8, ptr %76, i32 1 store ptr %77, ptr %4, align 8 store i8 97, ptr %76, align 1 %78 = load ptr, ptr %4, align 8 %79 = getelementptr inbounds i8, ptr %78, i32 1 store ptr %79, ptr %4, align 8 store i8 109, ptr %78, align 1 %80 = load ptr, ptr %4, align 8 %81 = getelementptr inbounds i8, ptr %80, i32 1 store ptr %81, ptr %4, align 8 store i8 112, ptr %80, align 1 %82 = load ptr, ptr %4, align 8 %83 = getelementptr inbounds i8, ptr %82, i32 1 store ptr %83, ptr %4, align 8 store i8 59, ptr %82, align 1 br label %129 84: ; preds = %69, %69 %85 = load ptr, ptr %4, align 8 %86 = getelementptr inbounds i8, ptr %85, i32 1 store ptr %86, ptr %4, align 8 store i8 38, ptr %85, align 1 %87 = load ptr, ptr %2, align 8 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp eq i32 %89, 60 %91 = zext i1 %90 to i64 %92 = select i1 %90, i32 108, i32 103 %93 = trunc i32 %92 to i8 %94 = load ptr, ptr %4, align 8 %95 = getelementptr inbounds i8, ptr %94, i32 1 store ptr %95, ptr %4, align 8 store i8 %93, ptr %94, align 1 %96 = load ptr, ptr %4, align 8 %97 = getelementptr inbounds i8, ptr %96, i32 1 store ptr %97, ptr %4, align 8 store i8 116, ptr %96, align 1 %98 = load ptr, ptr %4, align 8 %99 = getelementptr inbounds i8, ptr %98, i32 1 store ptr %99, ptr %4, align 8 store i8 59, ptr %98, align 1 br label %129 100: ; preds = %69 %101 = load ptr, ptr %4, align 8 %102 = getelementptr inbounds i8, ptr %101, i32 1 store ptr %102, ptr %4, align 8 store i8 38, ptr %101, align 1 %103 = load ptr, ptr %4, align 8 %104 = getelementptr inbounds i8, ptr %103, i32 1 store ptr %104, ptr %4, align 8 store i8 113, ptr %103, align 1 %105 = load ptr, ptr %4, align 8 %106 = getelementptr inbounds i8, ptr %105, i32 1 store ptr %106, ptr %4, align 8 store i8 117, ptr %105, align 1 %107 = load ptr, ptr %4, align 8 %108 = getelementptr inbounds i8, ptr %107, i32 1 store ptr %108, ptr %4, align 8 store i8 111, ptr %107, align 1 %109 = load ptr, ptr %4, align 8 %110 = getelementptr inbounds i8, ptr %109, i32 1 store ptr %110, ptr %4, align 8 store i8 116, ptr %109, align 1 %111 = load ptr, ptr %4, align 8 %112 = getelementptr inbounds i8, ptr %111, i32 1 store ptr %112, ptr %4, align 8 store i8 59, ptr %111, align 1 br label %129 113: ; preds = %69 %114 = load ptr, ptr %4, align 8 %115 = getelementptr inbounds i8, ptr %114, i32 1 store ptr %115, ptr %4, align 8 store i8 38, ptr %114, align 1 %116 = load ptr, ptr %4, align 8 %117 = getelementptr inbounds i8, ptr %116, i32 1 store ptr %117, ptr %4, align 8 store i8 35, ptr %116, align 1 %118 = load ptr, ptr %4, align 8 %119 = getelementptr inbounds i8, ptr %118, i32 1 store ptr %119, ptr %4, align 8 store i8 51, ptr %118, align 1 %120 = load ptr, ptr %4, align 8 %121 = getelementptr inbounds i8, ptr %120, i32 1 store ptr %121, ptr %4, align 8 store i8 50, ptr %120, align 1 %122 = load ptr, ptr %4, align 8 %123 = getelementptr inbounds i8, ptr %122, i32 1 store ptr %123, ptr %4, align 8 store i8 59, ptr %122, align 1 br label %129 124: ; preds = %69 %125 = load ptr, ptr %2, align 8 %126 = load i8, ptr %125, align 1 %127 = load ptr, ptr %4, align 8 %128 = getelementptr inbounds i8, ptr %127, i32 1 store ptr %128, ptr %4, align 8 store i8 %126, ptr %127, align 1 br label %129 129: ; preds = %124, %113, %100, %84, %73 br label %130 130: ; preds = %129 %131 = load ptr, ptr %2, align 8 %132 = getelementptr inbounds i8, ptr %131, i32 1 store ptr %132, ptr %2, align 8 %133 = load ptr, ptr %2, align 8 %134 = load i8, ptr %133, align 1 %135 = icmp ne i8 %134, 0 br i1 %135, label %69, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %130 br label %136 136: ; preds = %._crit_edge3, %60 %137 = load ptr, ptr %4, align 8 store i8 0, ptr %137, align 1 %138 = load ptr, ptr %5, align 8 ret ptr %138 } declare ptr @checking_malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptevm7wde.c' source_filename = "/tmp/tmptevm7wde.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World/n\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) 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/tmptevm7wde.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World/n\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) 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/tmpah9g7svb.c' source_filename = "/tmp/tmpah9g7svb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpl_malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp eq i64 0, %3 br i1 %4, label %5, label %6 5: ; preds = %1 store i64 1, ptr %2, align 8 br label %6 6: ; preds = %5, %1 %7 = load i64, ptr %2, align 8 %8 = call ptr @malloc(i64 noundef %7) #2 ret ptr %8 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpah9g7svb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpl_malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp eq i64 0, %3 br i1 %4, label %5, label %6 5: ; preds = %1 store i64 1, ptr %2, align 8 br label %6 6: ; preds = %5, %1 %7 = load i64, ptr %2, align 8 %8 = call ptr @malloc(i64 noundef %7) #2 ret ptr %8 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp99_5nxw6.c' source_filename = "/tmp/tmp99_5nxw6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = call double (...) @tic() store double %7, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %25, %0 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 1000000 br i1 %10, label %11, label %28 11: ; preds = %8 %12 = call double (...) @rand_double() %13 = call double @llvm.fmuladd.f64(double 1.000000e+03, double %12, double 0.000000e+00) store double %13, ptr %2, align 8 %14 = call double (...) @rand_double() %15 = call double @llvm.fmuladd.f64(double 1.000000e+03, double %14, double 0.000000e+00) store double %15, ptr %3, align 8 %16 = load double, ptr %2, align 8 %17 = load double, ptr %3, align 8 %18 = call double @beta(double noundef %16, double noundef %17) store double %18, ptr %4, align 8 %19 = load double, ptr %4, align 8 %20 = load double, ptr %4, align 8 %21 = fcmp une double %19, %20 br i1 %21, label %22, label %24 22: ; preds = %11 %23 = call i32 @printf(ptr noundef @.str) br label %28 24: ; preds = %11 br label %25 25: ; preds = %24 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 br label %8, !llvm.loop !6 28: ; preds = %22, %8 %29 = call double (...) @tic() %30 = load double, ptr %5, align 8 %31 = fsub double %29, %30 store double %31, ptr %1, align 8 %32 = load double, ptr %4, align 8 %33 = load double, ptr %4, align 8 %34 = fcmp une double %32, %33 br i1 %34, label %35, label %37 35: ; preds = %28 %36 = call i32 @printf(ptr noundef @.str) br label %37 37: ; preds = %35, %28 %38 = load double, ptr %1, align 8 ret double %38 } declare double @tic(...) #1 declare double @rand_double(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @beta(double noundef, double 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp99_5nxw6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = call double (...) @tic() store double %7, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 1000000 br i1 %9, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %24 %11 = call double (...) @rand_double() %12 = call double @llvm.fmuladd.f64(double 1.000000e+03, double %11, double 0.000000e+00) store double %12, ptr %2, align 8 %13 = call double (...) @rand_double() %14 = call double @llvm.fmuladd.f64(double 1.000000e+03, double %13, double 0.000000e+00) store double %14, ptr %3, align 8 %15 = load double, ptr %2, align 8 %16 = load double, ptr %3, align 8 %17 = call double @beta(double noundef %15, double noundef %16) store double %17, ptr %4, align 8 %18 = load double, ptr %4, align 8 %19 = load double, ptr %4, align 8 %20 = fcmp une double %18, %19 br i1 %20, label %21, label %23 21: ; preds = %10 %22 = call i32 @printf(ptr noundef @.str) br label %29 23: ; preds = %10 br label %24 24: ; preds = %23 %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, 1000000 br i1 %28, label %10, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %24 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %29 29: ; preds = %.loopexit, %21 %30 = call double (...) @tic() %31 = load double, ptr %5, align 8 %32 = fsub double %30, %31 store double %32, ptr %1, align 8 %33 = load double, ptr %4, align 8 %34 = load double, ptr %4, align 8 %35 = fcmp une double %33, %34 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = call i32 @printf(ptr noundef @.str) br label %38 38: ; preds = %36, %29 %39 = load double, ptr %1, align 8 ret double %39 } declare double @tic(...) #1 declare double @rand_double(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @beta(double noundef, double 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprigxmkju.c' source_filename = "/tmp/tmprigxmkju.c" target datalayout = "e-m:e-p270: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 } @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vbi_capture_io_update_timeout(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.timeval, align 4 %6 = alloca %struct.timeval, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load i32, ptr @errno, align 4 store i32 %8, ptr %7, align 4 %9 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null) %10 = load i32, ptr %7, align 4 store i32 %10, ptr @errno, align 4 %11 = load ptr, ptr %4, align 8 %12 = call i32 @timeval_subtract(ptr noundef %5, ptr noundef %6, ptr noundef %11) %13 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1 %16 = load i32, ptr %15, align 4 %17 = or i32 %14, %16 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %2 %20 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 store i32 0, ptr %20, align 4 %21 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1 store i32 0, ptr %21, align 4 br label %40 22: ; preds = %2 %23 = load ptr, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = call i32 @timeval_subtract(ptr noundef %23, ptr noundef %24, ptr noundef %5) %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds %struct.timeval, ptr %26, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds %struct.timeval, ptr %29, i32 0, i32 1 %31 = load i32, ptr %30, align 4 %32 = or i32 %28, %31 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %39 34: ; preds = %22 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds %struct.timeval, ptr %35, i32 0, i32 0 store i32 0, ptr %36, align 4 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds %struct.timeval, ptr %37, i32 0, i32 1 store i32 0, ptr %38, align 4 br label %39 39: ; preds = %34, %22 br label %40 40: ; preds = %39, %19 ret void } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @timeval_subtract(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/tmprigxmkju.c" target datalayout = "e-m:e-p270: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 } @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vbi_capture_io_update_timeout(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.timeval, align 4 %6 = alloca %struct.timeval, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load i32, ptr @errno, align 4 store i32 %8, ptr %7, align 4 %9 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null) %10 = load i32, ptr %7, align 4 store i32 %10, ptr @errno, align 4 %11 = load ptr, ptr %4, align 8 %12 = call i32 @timeval_subtract(ptr noundef %5, ptr noundef %6, ptr noundef %11) %13 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 %14 = load i32, ptr %13, align 4 %15 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1 %16 = load i32, ptr %15, align 4 %17 = or i32 %14, %16 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %2 %20 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0 store i32 0, ptr %20, align 4 %21 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1 store i32 0, ptr %21, align 4 br label %40 22: ; preds = %2 %23 = load ptr, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = call i32 @timeval_subtract(ptr noundef %23, ptr noundef %24, ptr noundef %5) %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds %struct.timeval, ptr %26, i32 0, i32 0 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds %struct.timeval, ptr %29, i32 0, i32 1 %31 = load i32, ptr %30, align 4 %32 = or i32 %28, %31 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %39 34: ; preds = %22 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds %struct.timeval, ptr %35, i32 0, i32 0 store i32 0, ptr %36, align 4 %37 = load ptr, ptr %3, align 8 %38 = getelementptr inbounds %struct.timeval, ptr %37, i32 0, i32 1 store i32 0, ptr %38, align 4 br label %39 39: ; preds = %34, %22 br label %40 40: ; preds = %39, %19 ret void } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @timeval_subtract(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/tmpt69k2sk8.c' source_filename = "/tmp/tmpt69k2sk8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @distance_between_two_points(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %7, align 4 %11 = sub nsw i32 %9, %10 %12 = call i64 @abs(i32 noundef %11) %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %8, align 4 %15 = sub nsw i32 %13, %14 %16 = call i64 @abs(i32 noundef %15) %17 = add nsw i64 %12, %16 %18 = sitofp i64 %17 to float ret float %18 } declare i64 @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/tmpt69k2sk8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @distance_between_two_points(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %7, align 4 %11 = sub nsw i32 %9, %10 %12 = call i64 @abs(i32 noundef %11) %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %8, align 4 %15 = sub nsw i32 %13, %14 %16 = call i64 @abs(i32 noundef %15) %17 = add nsw i64 %12, %16 %18 = sitofp i64 %17 to float ret float %18 } declare i64 @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/tmp8xv5mqzf.c' source_filename = "/tmp/tmp8xv5mqzf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @gpioe_isr_handler() #0 { %1 = call i32 (...) @default_isr_handler() ret void } declare i32 @default_isr_handler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8xv5mqzf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @gpioe_isr_handler() #0 { %1 = call i32 (...) @default_isr_handler() ret void } declare i32 @default_isr_handler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplu9ohp1j.c' source_filename = "/tmp/tmplu9ohp1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_int2_array(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = mul nsw i32 %11, 2 %13 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef %12) store i32 %13, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp sle i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %3 store i32 0, ptr %4, align 4 br label %20 17: ; preds = %3 %18 = load i32, ptr %8, align 4 %19 = sdiv i32 %18, 2 store i32 %19, ptr %4, align 4 br label %20 20: ; preds = %17, %16 %21 = load i32, ptr %4, align 4 ret i32 %21 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplu9ohp1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_int2_array(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = mul nsw i32 %11, 2 %13 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef %12) store i32 %13, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp sle i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %3 store i32 0, ptr %4, align 4 br label %20 17: ; preds = %3 %18 = load i32, ptr %8, align 4 %19 = sdiv i32 %18, 2 store i32 %19, ptr %4, align 4 br label %20 20: ; preds = %17, %16 %21 = load i32, ptr %4, align 4 ret i32 %21 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpshlu4hfq.c' source_filename = "/tmp/tmpshlu4hfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i32 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33 store i32 %31, ptr %34, align 4 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %42 = load i32, ptr %41, align 4 %43 = icmp eq i32 %42, -1988866048 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 br label %48 48: ; preds = %51, %47 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %51, label %59 51: ; preds = %48 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 br label %48, !llvm.loop !8 59: ; preds = %48 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpshlu4hfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i32], align 4 %7 = alloca [1 x 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i32 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32 store i32 %30, ptr %33, align 4 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %43, -1988866048 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %38 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp slt i32 %49, 1 br i1 %50, label %.lr.ph2, label %61 .lr.ph2: ; preds = %48 br label %51 51: ; preds = %.lr.ph2, %51 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %10, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = icmp slt i32 %59, 1 br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %61 61: ; preds = %._crit_edge3, %48 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpyvox89ex.c' source_filename = "/tmp/tmpyvox89ex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode_root(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @get_vli(ptr noundef %11) store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %3 %16 = load i32, ptr %8, align 4 store i32 %16, ptr %4, align 4 br label %71 17: ; preds = %3 store i32 0, ptr %9, align 4 br label %18 18: ; preds = %67, %17 %19 = load i32, ptr %8, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %18 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %22, %23 br label %25 25: ; preds = %21, %18 %26 = phi i1 [ false, %18 ], [ %24, %21 ] br i1 %26, label %27, label %70 27: ; preds = %25 %28 = load ptr, ptr %5, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %8, align 4 %34 = call i32 @vli_read_bits(ptr noundef %28, ptr noundef %32, i32 noundef %33) store i32 %34, ptr %10, align 4 %35 = load i32, ptr %10, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %27 %38 = load i32, ptr %10, align 4 store i32 %38, ptr %4, align 4 br label %71 39: ; preds = %27 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %61 46: ; preds = %39 %47 = load ptr, ptr %5, align 8 %48 = call i32 @vli_get_bit(ptr noundef %47) store i32 %48, ptr %10, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %61 50: ; preds = %46 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = sub nsw i32 0, %55 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 store i32 %56, ptr %60, align 4 br label %61 61: ; preds = %50, %46, %39 %62 = load i32, ptr %10, align 4 %63 = icmp slt i32 %62, 0 br i1 %63, label %64, label %66 64: ; preds = %61 %65 = load i32, ptr %10, align 4 store i32 %65, ptr %4, align 4 br label %71 66: ; preds = %61 br label %67 67: ; preds = %66 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %9, align 4 br label %18, !llvm.loop !6 70: ; preds = %25 store i32 0, ptr %4, align 4 br label %71 71: ; preds = %70, %64, %37, %15 %72 = load i32, ptr %4, align 4 ret i32 %72 } declare i32 @get_vli(ptr noundef) #1 declare i32 @vli_read_bits(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @vli_get_bit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpyvox89ex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode_root(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @get_vli(ptr noundef %11) store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %3 %16 = load i32, ptr %8, align 4 store i32 %16, ptr %4, align 4 br label %71 17: ; preds = %3 store i32 0, ptr %9, align 4 br label %18 18: ; preds = %67, %17 %19 = load i32, ptr %8, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %18 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %22, %23 br label %25 25: ; preds = %21, %18 %26 = phi i1 [ false, %18 ], [ %24, %21 ] br i1 %26, label %27, label %70 27: ; preds = %25 %28 = load ptr, ptr %5, align 8 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %8, align 4 %34 = call i32 @vli_read_bits(ptr noundef %28, ptr noundef %32, i32 noundef %33) store i32 %34, ptr %10, align 4 %35 = load i32, ptr %10, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %27 %38 = load i32, ptr %10, align 4 store i32 %38, ptr %4, align 4 br label %71 39: ; preds = %27 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %61 46: ; preds = %39 %47 = load ptr, ptr %5, align 8 %48 = call i32 @vli_get_bit(ptr noundef %47) store i32 %48, ptr %10, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %61 50: ; preds = %46 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = sub nsw i32 0, %55 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 store i32 %56, ptr %60, align 4 br label %61 61: ; preds = %50, %46, %39 %62 = load i32, ptr %10, align 4 %63 = icmp slt i32 %62, 0 br i1 %63, label %64, label %66 64: ; preds = %61 %65 = load i32, ptr %10, align 4 store i32 %65, ptr %4, align 4 br label %71 66: ; preds = %61 br label %67 67: ; preds = %66 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %9, align 4 br label %18, !llvm.loop !6 70: ; preds = %25 store i32 0, ptr %4, align 4 br label %71 71: ; preds = %70, %64, %37, %15 %72 = load i32, ptr %4, align 4 ret i32 %72 } declare i32 @get_vli(ptr noundef) #1 declare i32 @vli_read_bits(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @vli_get_bit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmppwu77eb6.c' source_filename = "/tmp/tmppwu77eb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeStringArrayToFileWithSuffix(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %5, align 8 %12 = call ptr @openFileForWriting(ptr noundef %11) store ptr %12, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %13 13: ; preds = %28, %4 %14 = load i32, ptr %10, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp ult i32 %14, %15 br i1 %16, label %17, label %31 17: ; preds = %13 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %10, align 4 %20 = zext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = load ptr, ptr %9, align 8 %24 = call i32 @fputs(ptr noundef %22, ptr noundef %23) %25 = load ptr, ptr %8, align 8 %26 = load ptr, ptr %9, align 8 %27 = call i32 @fputs(ptr noundef %25, ptr noundef %26) br label %28 28: ; preds = %17 %29 = load i32, ptr %10, align 4 %30 = add i32 %29, 1 store i32 %30, ptr %10, align 4 br label %13, !llvm.loop !6 31: ; preds = %13 %32 = load ptr, ptr %9, align 8 %33 = call i32 @fclose(ptr noundef %32) ret void } declare ptr @openFileForWriting(ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppwu77eb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeStringArrayToFileWithSuffix(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %5, align 8 %12 = call ptr @openFileForWriting(ptr noundef %11) store ptr %12, ptr %9, align 8 store i32 0, ptr %10, align 4 %13 = load i32, ptr %10, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp ult i32 %13, %14 br i1 %15, label %.lr.ph, label %33 .lr.ph: ; preds = %4 br label %16 16: ; preds = %.lr.ph, %27 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %10, align 4 %19 = zext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = load ptr, ptr %9, align 8 %23 = call i32 @fputs(ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %8, align 8 %25 = load ptr, ptr %9, align 8 %26 = call i32 @fputs(ptr noundef %24, ptr noundef %25) br label %27 27: ; preds = %16 %28 = load i32, ptr %10, align 4 %29 = add i32 %28, 1 store i32 %29, ptr %10, align 4 %30 = load i32, ptr %10, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp ult i32 %30, %31 br i1 %32, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %4 %34 = load ptr, ptr %9, align 8 %35 = call i32 @fclose(ptr noundef %34) ret void } declare ptr @openFileForWriting(ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpyucnhjca.c' source_filename = "/tmp/tmpyucnhjca.c" target datalayout = "e-m:e-p270: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/tmpyucnhjca.c" target datalayout = "e-m:e-p270: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/tmp2wmm_s54.c' source_filename = "/tmp/tmp2wmm_s54.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @Add(i32 noundef 15, i32 noundef 32) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @Add(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/tmp2wmm_s54.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @Add(i32 noundef 15, i32 noundef 32) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @Add(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/tmpykl1pu4c.c' source_filename = "/tmp/tmpykl1pu4c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } %struct.hostent = type { i32, i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @h_errno = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"ERROR connecting\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcp_connect_to(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 -1, ptr %6, align 4 %9 = load i32, ptr @PF_INET, align 4 %10 = load i32, ptr @SOCK_STREAM, align 4 %11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @print_error(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %47 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = call ptr @gethostbyname(ptr noundef %17) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %25 21: ; preds = %16 %22 = load i32, ptr @h_errno, align 4 %23 = call ptr @hstrerror(i32 noundef %22) %24 = call i32 @print_error(ptr noundef %23) store i32 -1, ptr %3, align 4 br label %47 25: ; preds = %16 %26 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %27 = load i32, ptr @AF_INET, align 4 %28 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %27, ptr %28, align 4 %29 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %30 = load ptr, ptr %8, align 8 %31 = getelementptr inbounds %struct.hostent, ptr %30, i32 0, i32 1 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds %struct.hostent, ptr %33, i32 0, i32 0 %35 = load i32, ptr %34, align 4 %36 = call i32 @memcpy(ptr noundef %29, i32 noundef %32, i32 noundef %35) %37 = load i32, ptr %5, align 4 %38 = call i32 @htons(i32 noundef %37) %39 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %38, ptr %39, align 4 %40 = load i32, ptr %6, align 4 %41 = call i64 @connect(i32 noundef %40, ptr noundef %7, i32 noundef 12) %42 = icmp slt i64 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %25 %44 = call i32 @error(ptr noundef @.str.1) br label %45 45: ; preds = %43, %25 %46 = load i32, ptr %6, align 4 store i32 %46, ptr %3, align 4 br label %47 47: ; preds = %45, %21, %14 %48 = load i32, ptr %3, align 4 ret i32 %48 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @print_error(ptr noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare ptr @hstrerror(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpykl1pu4c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } %struct.hostent = type { i32, i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @h_errno = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"ERROR connecting\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcp_connect_to(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 -1, ptr %6, align 4 %9 = load i32, ptr @PF_INET, align 4 %10 = load i32, ptr @SOCK_STREAM, align 4 %11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @print_error(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %47 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = call ptr @gethostbyname(ptr noundef %17) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %25 21: ; preds = %16 %22 = load i32, ptr @h_errno, align 4 %23 = call ptr @hstrerror(i32 noundef %22) %24 = call i32 @print_error(ptr noundef %23) store i32 -1, ptr %3, align 4 br label %47 25: ; preds = %16 %26 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %27 = load i32, ptr @AF_INET, align 4 %28 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %27, ptr %28, align 4 %29 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %30 = load ptr, ptr %8, align 8 %31 = getelementptr inbounds %struct.hostent, ptr %30, i32 0, i32 1 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds %struct.hostent, ptr %33, i32 0, i32 0 %35 = load i32, ptr %34, align 4 %36 = call i32 @memcpy(ptr noundef %29, i32 noundef %32, i32 noundef %35) %37 = load i32, ptr %5, align 4 %38 = call i32 @htons(i32 noundef %37) %39 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %38, ptr %39, align 4 %40 = load i32, ptr %6, align 4 %41 = call i64 @connect(i32 noundef %40, ptr noundef %7, i32 noundef 12) %42 = icmp slt i64 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %25 %44 = call i32 @error(ptr noundef @.str.1) br label %45 45: ; preds = %43, %25 %46 = load i32, ptr %6, align 4 store i32 %46, ptr %3, align 4 br label %47 47: ; preds = %45, %21, %14 %48 = load i32, ptr %3, align 4 ret i32 %48 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @print_error(ptr noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare ptr @hstrerror(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3lpw72i5.c' source_filename = "/tmp/tmp3lpw72i5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @connect_host(ptr noundef %0, i16 noundef zeroext %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store i32 %2, ptr %6, align 4 %7 = call i32 (...) @_clear_error_stack() %8 = load ptr, ptr %4, align 8 %9 = load i16, ptr %5, align 2 %10 = load i32, ptr %6, align 4 %11 = call i32 @_connect_host(ptr noundef %8, i16 noundef zeroext %9, i32 noundef %10) ret i32 %11 } declare i32 @_clear_error_stack(...) #1 declare i32 @_connect_host(ptr noundef, i16 noundef zeroext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3lpw72i5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @connect_host(ptr noundef %0, i16 noundef zeroext %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store i32 %2, ptr %6, align 4 %7 = call i32 (...) @_clear_error_stack() %8 = load ptr, ptr %4, align 8 %9 = load i16, ptr %5, align 2 %10 = load i32, ptr %6, align 4 %11 = call i32 @_connect_host(ptr noundef %8, i16 noundef zeroext %9, i32 noundef %10) ret i32 %11 } declare i32 @_clear_error_stack(...) #1 declare i32 @_connect_host(ptr noundef, i16 noundef zeroext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbj581klz.c' source_filename = "/tmp/tmpbj581klz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @filesystem_detect_extension(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [255 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = load ptr, ptr %6, align 8 %18 = icmp ne ptr %17, null %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load i32, ptr %7, align 4 %22 = icmp sgt i32 %21, 0 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) store ptr null, ptr %8, align 8 store i32 0, ptr %9, align 4 %25 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %26 = load ptr, ptr %5, align 8 %27 = call i32 @strncpy(ptr noundef %25, ptr noundef %26, i32 noundef 255) %28 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %29 = call i32 @strlen(ptr noundef %28) store i32 %29, ptr %11, align 4 %30 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %31 = call ptr @strrchr(ptr noundef %30, i8 noundef signext 0) store ptr %31, ptr %12, align 8 br label %32 32: ; preds = %54, %3 %33 = load i32, ptr %9, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %57 36: ; preds = %32 %37 = load ptr, ptr %12, align 8 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr %11, align 4 %44 = sub nsw i32 255, %43 %45 = call i32 @strncpy(ptr noundef %37, ptr noundef %42, i32 noundef %44) %46 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %47 = call ptr @fopen(ptr noundef %46, ptr noundef @.str) store ptr %47, ptr %8, align 8 %48 = load ptr, ptr %8, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %54 50: ; preds = %36 %51 = load ptr, ptr %8, align 8 %52 = call i32 @fclose(ptr noundef %51) %53 = load i32, ptr %9, align 4 store i32 %53, ptr %4, align 4 br label %58 54: ; preds = %36 %55 = load i32, ptr %9, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %9, align 4 br label %32, !llvm.loop !6 57: ; preds = %32 store i32 -1, ptr %4, align 4 br label %58 58: ; preds = %57, %50 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare i32 @assert(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbj581klz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @filesystem_detect_extension(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [255 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = load ptr, ptr %6, align 8 %18 = icmp ne ptr %17, null %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load i32, ptr %7, align 4 %22 = icmp sgt i32 %21, 0 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) store ptr null, ptr %8, align 8 store i32 0, ptr %9, align 4 %25 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %26 = load ptr, ptr %5, align 8 %27 = call i32 @strncpy(ptr noundef %25, ptr noundef %26, i32 noundef 255) %28 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %29 = call i32 @strlen(ptr noundef %28) store i32 %29, ptr %11, align 4 %30 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %31 = call ptr @strrchr(ptr noundef %30, i8 noundef signext 0) store ptr %31, ptr %12, align 8 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %59 .lr.ph: ; preds = %3 br label %35 35: ; preds = %.lr.ph, %53 %36 = load ptr, ptr %12, align 8 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr %11, align 4 %43 = sub nsw i32 255, %42 %44 = call i32 @strncpy(ptr noundef %36, ptr noundef %41, i32 noundef %43) %45 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0 %46 = call ptr @fopen(ptr noundef %45, ptr noundef @.str) store ptr %46, ptr %8, align 8 %47 = load ptr, ptr %8, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %53 49: ; preds = %35 %50 = load ptr, ptr %8, align 8 %51 = call i32 @fclose(ptr noundef %50) %52 = load i32, ptr %9, align 4 store i32 %52, ptr %4, align 4 br label %60 53: ; preds = %35 %54 = load i32, ptr %9, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %9, align 4 %56 = load i32, ptr %9, align 4 %57 = load i32, ptr %7, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %59 59: ; preds = %._crit_edge, %3 store i32 -1, ptr %4, align 4 br label %60 60: ; preds = %59, %49 %61 = load i32, ptr %4, align 4 ret i32 %61 } declare i32 @assert(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvrgjedq_.c' source_filename = "/tmp/tmpvrgjedq_.c" target datalayout = "e-m:e-p270: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.vetor = private unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 -5, i32 -6, i32 0, i32 1, i32 65, i32 100], align 16 @.str = private unnamed_addr constant [12 x i8] c"Minimo: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.vetor, i64 40, i1 false) %3 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %4 = call i32 @min(i32 noundef 10, ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @min(i32 noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpvrgjedq_.c" target datalayout = "e-m:e-p270: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.vetor = private unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 -5, i32 -6, i32 0, i32 1, i32 65, i32 100], align 16 @.str = private unnamed_addr constant [12 x i8] c"Minimo: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.vetor, i64 40, i1 false) %3 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %4 = call i32 @min(i32 noundef 10, ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @min(i32 noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmp9t3tbip6.c' source_filename = "/tmp/tmp9t3tbip6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = load float, ptr %3, align 4 %6 = load float, ptr %2, align 4 %7 = fmul float %5, %6 %8 = fpext float %7 to double %9 = fdiv double %8, 1.200000e+01 %10 = fptrunc double %9 to float %11 = call i32 @printf(ptr noundef @.str.1, float noundef %10) ret i32 0 } declare i32 @scanf(ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9t3tbip6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = load float, ptr %3, align 4 %6 = load float, ptr %2, align 4 %7 = fmul float %5, %6 %8 = fpext float %7 to double %9 = fdiv double %8, 1.200000e+01 %10 = fptrunc double %9 to float %11 = call i32 @printf(ptr noundef @.str.1, float noundef %10) ret i32 0 } declare i32 @scanf(ptr noundef, 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"}
; ModuleID = '/tmp/tmp2di9xpby.c' source_filename = "/tmp/tmp2di9xpby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BIO_new_socket(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = call i32 (...) @BIO_s_socket() %8 = call ptr @BIO_new(i32 noundef %7) store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %2 store ptr null, ptr %3, align 8 br label %18 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = call i32 @BIO_set_fd(ptr noundef %13, i32 noundef %14, i32 noundef %15) %17 = load ptr, ptr %6, align 8 store ptr %17, ptr %3, align 8 br label %18 18: ; preds = %12, %11 %19 = load ptr, ptr %3, align 8 ret ptr %19 } declare ptr @BIO_new(i32 noundef) #1 declare i32 @BIO_s_socket(...) #1 declare i32 @BIO_set_fd(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/tmp2di9xpby.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BIO_new_socket(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = call i32 (...) @BIO_s_socket() %8 = call ptr @BIO_new(i32 noundef %7) store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %2 store ptr null, ptr %3, align 8 br label %18 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = call i32 @BIO_set_fd(ptr noundef %13, i32 noundef %14, i32 noundef %15) %17 = load ptr, ptr %6, align 8 store ptr %17, ptr %3, align 8 br label %18 18: ; preds = %12, %11 %19 = load ptr, ptr %3, align 8 ret ptr %19 } declare ptr @BIO_new(i32 noundef) #1 declare i32 @BIO_s_socket(...) #1 declare i32 @BIO_set_fd(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/tmpjblczarp.c' source_filename = "/tmp/tmpjblczarp.c" target datalayout = "e-m:e-p270: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/tmpjblczarp.c" target datalayout = "e-m:e-p270: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/tmp27xdtaa3.c' source_filename = "/tmp/tmp27xdtaa3.c" target datalayout = "e-m:e-p270: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/tmp27xdtaa3.c" target datalayout = "e-m:e-p270: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/tmpm6sk632i.c' source_filename = "/tmp/tmpm6sk632i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"MD5(%s)= \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load ptr, ptr @stdin, align 8 %13 = call i32 @do_fp(ptr noundef %12) br label %52 14: ; preds = %2 store i32 1, ptr %6, align 4 br label %15 15: ; preds = %48, %14 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %51 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str) store ptr %25, ptr %8, align 8 %26 = load ptr, ptr %8, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %37 28: ; preds = %19 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = call i32 @perror(ptr noundef %33) %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %48 37: ; preds = %19 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = call i32 @printf(ptr noundef @.str.1, ptr noundef %42) %44 = load ptr, ptr %8, align 8 %45 = call i32 @do_fp(ptr noundef %44) %46 = load ptr, ptr %8, align 8 %47 = call i32 @fclose(ptr noundef %46) br label %48 48: ; preds = %37, %28 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 br label %15, !llvm.loop !6 51: ; preds = %15 br label %52 52: ; preds = %51, %11 %53 = load i32, ptr %7, align 4 %54 = call i32 @exit(i32 noundef %53) #3 unreachable } declare i32 @do_fp(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm6sk632i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"MD5(%s)= \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load ptr, ptr @stdin, align 8 %13 = call i32 @do_fp(ptr noundef %12) br label %54 14: ; preds = %2 store i32 1, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %53 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %47 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str) store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %8, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %36 27: ; preds = %18 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = call i32 @perror(ptr noundef %32) %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %47 36: ; preds = %18 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = call i32 @printf(ptr noundef @.str.1, ptr noundef %41) %43 = load ptr, ptr %8, align 8 %44 = call i32 @do_fp(ptr noundef %43) %45 = load ptr, ptr %8, align 8 %46 = call i32 @fclose(ptr noundef %45) br label %47 47: ; preds = %36, %27 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %53 53: ; preds = %._crit_edge, %14 br label %54 54: ; preds = %53, %11 %55 = load i32, ptr %7, align 4 %56 = call i32 @exit(i32 noundef %55) #3 unreachable } declare i32 @do_fp(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpei7veiq7.c' source_filename = "/tmp/tmpei7veiq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cnt_bytes() #0 { %1 = call i64 (...) @megahal_expmem() ret i64 %1 } declare i64 @megahal_expmem(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpei7veiq7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cnt_bytes() #0 { %1 = call i64 (...) @megahal_expmem() ret i64 %1 } declare i64 @megahal_expmem(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmrvdqj1c.c' source_filename = "/tmp/tmpmrvdqj1c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 11, ptr %5, align 4 store i32 12, ptr %6, align 4 store i32 13, ptr %7, align 4 store i32 7, ptr %8, align 4 %10 = call i32 @usleep(i32 noundef 5000) store i32 1, ptr %2, align 4 %11 = call i32 @usleep(i32 noundef 6000) store i32 2, ptr %3, align 4 %12 = call i32 @usleep(i32 noundef 7000) store i32 3, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp ne i32 %13, 1 br i1 %14, label %21, label %15 15: ; preds = %0 %16 = load i32, ptr %3, align 4 %17 = icmp ne i32 %16, 2 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %19, 3 br label %21 21: ; preds = %18, %15, %0 %22 = phi i1 [ true, %15 ], [ true, %0 ], [ %20, %18 ] %23 = zext i1 %22 to i32 store i32 %23, ptr %9, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %21 %27 = call i32 (...) @abort() #3 unreachable 28: ; preds = %21 %29 = call i32 @usleep(i32 noundef 5000) store i32 4, ptr %2, align 4 %30 = call i32 @usleep(i32 noundef 4000) store i32 5, ptr %3, align 4 %31 = call i32 @usleep(i32 noundef 3000) store i32 6, ptr %4, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp ne i32 %32, 4 br i1 %33, label %40, label %34 34: ; preds = %28 %35 = load i32, ptr %3, align 4 %36 = icmp ne i32 %35, 5 br i1 %36, label %40, label %37 37: ; preds = %34 %38 = load i32, ptr %4, align 4 %39 = icmp ne i32 %38, 6 br label %40 40: ; preds = %37, %34, %28 %41 = phi i1 [ true, %34 ], [ true, %28 ], [ %39, %37 ] %42 = zext i1 %41 to i32 store i32 %42, ptr %9, align 4 store i32 7, ptr %2, align 4 store i32 8, ptr %3, align 4 store i32 9, ptr %4, align 4 %43 = load i32, ptr %9, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = call i32 (...) @abort() #3 unreachable 47: ; preds = %40 %48 = load i32, ptr %8, align 4 %49 = icmp ne i32 %48, 7 %50 = zext i1 %49 to i32 store i32 %50, ptr %9, align 4 store i32 17, ptr %8, align 4 %51 = load i32, ptr %9, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %47 %54 = call i32 (...) @abort() #3 unreachable 55: ; preds = %47 %56 = call i32 @usleep(i32 noundef 2000) store i32 14, ptr %5, align 4 %57 = call i32 @usleep(i32 noundef 3000) store i32 15, ptr %6, align 4 %58 = call i32 @usleep(i32 noundef 4000) store i32 16, ptr %7, align 4 %59 = load i32, ptr %2, align 4 %60 = icmp ne i32 %59, 7 br i1 %60, label %79, label %61 61: ; preds = %55 %62 = load i32, ptr %3, align 4 %63 = icmp ne i32 %62, 8 br i1 %63, label %79, label %64 64: ; preds = %61 %65 = load i32, ptr %4, align 4 %66 = icmp ne i32 %65, 9 br i1 %66, label %79, label %67 67: ; preds = %64 %68 = load i32, ptr %5, align 4 %69 = icmp ne i32 %68, 14 br i1 %69, label %79, label %70 70: ; preds = %67 %71 = load i32, ptr %6, align 4 %72 = icmp ne i32 %71, 15 br i1 %72, label %79, label %73 73: ; preds = %70 %74 = load i32, ptr %7, align 4 %75 = icmp ne i32 %74, 16 br i1 %75, label %79, label %76 76: ; preds = %73 %77 = load i32, ptr %8, align 4 %78 = icmp ne i32 %77, 17 br i1 %78, label %79, label %81 79: ; preds = %76, %73, %70, %67, %64, %61, %55 %80 = call i32 (...) @abort() #3 unreachable 81: ; preds = %76 ret i32 0 } declare i32 @usleep(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/tmpmrvdqj1c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 11, ptr %5, align 4 store i32 12, ptr %6, align 4 store i32 13, ptr %7, align 4 store i32 7, ptr %8, align 4 %10 = call i32 @usleep(i32 noundef 5000) store i32 1, ptr %2, align 4 %11 = call i32 @usleep(i32 noundef 6000) store i32 2, ptr %3, align 4 %12 = call i32 @usleep(i32 noundef 7000) store i32 3, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp ne i32 %13, 1 br i1 %14, label %21, label %15 15: ; preds = %0 %16 = load i32, ptr %3, align 4 %17 = icmp ne i32 %16, 2 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %19, 3 br label %21 21: ; preds = %18, %15, %0 %22 = phi i1 [ true, %15 ], [ true, %0 ], [ %20, %18 ] %23 = zext i1 %22 to i32 store i32 %23, ptr %9, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %21 %27 = call i32 (...) @abort() #3 unreachable 28: ; preds = %21 %29 = call i32 @usleep(i32 noundef 5000) store i32 4, ptr %2, align 4 %30 = call i32 @usleep(i32 noundef 4000) store i32 5, ptr %3, align 4 %31 = call i32 @usleep(i32 noundef 3000) store i32 6, ptr %4, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp ne i32 %32, 4 br i1 %33, label %40, label %34 34: ; preds = %28 %35 = load i32, ptr %3, align 4 %36 = icmp ne i32 %35, 5 br i1 %36, label %40, label %37 37: ; preds = %34 %38 = load i32, ptr %4, align 4 %39 = icmp ne i32 %38, 6 br label %40 40: ; preds = %37, %34, %28 %41 = phi i1 [ true, %34 ], [ true, %28 ], [ %39, %37 ] %42 = zext i1 %41 to i32 store i32 %42, ptr %9, align 4 store i32 7, ptr %2, align 4 store i32 8, ptr %3, align 4 store i32 9, ptr %4, align 4 %43 = load i32, ptr %9, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = call i32 (...) @abort() #3 unreachable 47: ; preds = %40 %48 = load i32, ptr %8, align 4 %49 = icmp ne i32 %48, 7 %50 = zext i1 %49 to i32 store i32 %50, ptr %9, align 4 store i32 17, ptr %8, align 4 %51 = load i32, ptr %9, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %47 %54 = call i32 (...) @abort() #3 unreachable 55: ; preds = %47 %56 = call i32 @usleep(i32 noundef 2000) store i32 14, ptr %5, align 4 %57 = call i32 @usleep(i32 noundef 3000) store i32 15, ptr %6, align 4 %58 = call i32 @usleep(i32 noundef 4000) store i32 16, ptr %7, align 4 %59 = load i32, ptr %2, align 4 %60 = icmp ne i32 %59, 7 br i1 %60, label %79, label %61 61: ; preds = %55 %62 = load i32, ptr %3, align 4 %63 = icmp ne i32 %62, 8 br i1 %63, label %79, label %64 64: ; preds = %61 %65 = load i32, ptr %4, align 4 %66 = icmp ne i32 %65, 9 br i1 %66, label %79, label %67 67: ; preds = %64 %68 = load i32, ptr %5, align 4 %69 = icmp ne i32 %68, 14 br i1 %69, label %79, label %70 70: ; preds = %67 %71 = load i32, ptr %6, align 4 %72 = icmp ne i32 %71, 15 br i1 %72, label %79, label %73 73: ; preds = %70 %74 = load i32, ptr %7, align 4 %75 = icmp ne i32 %74, 16 br i1 %75, label %79, label %76 76: ; preds = %73 %77 = load i32, ptr %8, align 4 %78 = icmp ne i32 %77, 17 br i1 %78, label %79, label %81 79: ; preds = %76, %73, %70, %67, %64, %61, %55 %80 = call i32 (...) @abort() #3 unreachable 81: ; preds = %76 ret i32 0 } declare i32 @usleep(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/tmpmydnedqn.c' source_filename = "/tmp/tmpmydnedqn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Informe o numero de valores:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Informe o %d valor:\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ex3() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 br label %10 10: ; preds = %13, %0 %11 = call i32 @puts(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) br label %13 13: ; preds = %10 %14 = load i32, ptr %1, align 4 %15 = icmp sle i32 %14, 0 br i1 %15, label %10, label %16, !llvm.loop !6 16: ; preds = %13 %17 = load i32, ptr %1, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %4, align 8 %20 = alloca i32, i64 %18, align 16 store i64 %18, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %21 21: ; preds = %79, %16 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %1, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %82 25: ; preds = %21 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 %28 = call i32 @printf(ptr noundef @.str.2, i32 noundef %27) %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %20, i64 %30 %32 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %31) store i32 0, ptr %7, align 4 br label %33 33: ; preds = %75, %25 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %78 37: ; preds = %33 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %20, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %20, i64 %43 %45 = load i32, ptr %44, align 4 %46 = icmp sgt i32 %41, %45 br i1 %46, label %47, label %74 47: ; preds = %37 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %20, i64 %49 %51 = load i32, ptr %50, align 4 store i32 %51, ptr %2, align 4 %52 = load i32, ptr %6, align 4 store i32 %52, ptr %8, align 4 br label %53 53: ; preds = %66, %47 %54 = load i32, ptr %8, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp sge i32 %54, %55 br i1 %56, label %57, label %69 57: ; preds = %53 %58 = load i32, ptr %8, align 4 %59 = sub nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %20, i64 %60 %62 = load i32, ptr %61, align 4 %63 = load i32, ptr %8, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %20, i64 %64 store i32 %62, ptr %65, align 4 br label %66 66: ; preds = %57 %67 = load i32, ptr %8, align 4 %68 = add nsw i32 %67, -1 store i32 %68, ptr %8, align 4 br label %53, !llvm.loop !8 69: ; preds = %53 %70 = load i32, ptr %2, align 4 %71 = load i32, ptr %7, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %20, i64 %72 store i32 %70, ptr %73, align 4 br label %78 74: ; preds = %37 br label %75 75: ; preds = %74 %76 = load i32, ptr %7, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %7, align 4 br label %33, !llvm.loop !9 78: ; preds = %69, %33 br label %79 79: ; preds = %78 %80 = load i32, ptr %6, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %6, align 4 br label %21, !llvm.loop !10 82: ; preds = %21 %83 = call i32 @puts(ptr noundef @.str.3) store i32 0, ptr %9, align 4 br label %84 84: ; preds = %94, %82 %85 = load i32, ptr %9, align 4 %86 = load i32, ptr %1, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %88, label %97 88: ; preds = %84 %89 = load i32, ptr %9, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i32, ptr %20, i64 %90 %92 = load i32, ptr %91, align 4 %93 = call i32 @printf(ptr noundef @.str.4, i32 noundef %92) br label %94 94: ; preds = %88 %95 = load i32, ptr %9, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %9, align 4 br label %84, !llvm.loop !11 97: ; preds = %84 %98 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %98) ret void } declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmydnedqn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Informe o numero de valores:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Informe o %d valor:\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ex3() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 br label %10 10: ; preds = %13, %0 %11 = call i32 @puts(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) br label %13 13: ; preds = %10 %14 = load i32, ptr %1, align 4 %15 = icmp sle i32 %14, 0 br i1 %15, label %10, label %16, !llvm.loop !6 16: ; preds = %13 %17 = load i32, ptr %1, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %4, align 8 %20 = alloca i32, i64 %18, align 16 store i64 %18, ptr %5, align 8 store i32 0, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %1, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph3, label %88 .lr.ph3: ; preds = %16 br label %24 24: ; preds = %.lr.ph3, %82 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 %27 = call i32 @printf(ptr noundef @.str.2, i32 noundef %26) %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %20, i64 %29 %31 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %30) store i32 0, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %24 br label %35 35: ; preds = %.lr.ph, %75 %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %20, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %20, i64 %41 %43 = load i32, ptr %42, align 4 %44 = icmp sgt i32 %39, %43 br i1 %44, label %45, label %74 45: ; preds = %35 %46 = load i32, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %20, i64 %47 %49 = load i32, ptr %48, align 4 store i32 %49, ptr %2, align 4 %50 = load i32, ptr %6, align 4 store i32 %50, ptr %8, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp sge i32 %51, %52 br i1 %53, label %.lr.ph1, label %69 .lr.ph1: ; preds = %45 br label %54 54: ; preds = %.lr.ph1, %63 %55 = load i32, ptr %8, align 4 %56 = sub nsw i32 %55, 1 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %20, i64 %57 %59 = load i32, ptr %58, align 4 %60 = load i32, ptr %8, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %20, i64 %61 store i32 %59, ptr %62, align 4 br label %63 63: ; preds = %54 %64 = load i32, ptr %8, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %8, align 4 %66 = load i32, ptr %8, align 4 %67 = load i32, ptr %7, align 4 %68 = icmp sge i32 %66, %67 br i1 %68, label %54, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %63 br label %69 69: ; preds = %._crit_edge, %45 %70 = load i32, ptr %2, align 4 %71 = load i32, ptr %7, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %20, i64 %72 store i32 %70, ptr %73, align 4 br label %81 74: ; preds = %35 br label %75 75: ; preds = %74 %76 = load i32, ptr %7, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %7, align 4 %78 = load i32, ptr %7, align 4 %79 = load i32, ptr %6, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %35, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %75 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %24 br label %81 81: ; preds = %.loopexit, %69 br label %82 82: ; preds = %81 %83 = load i32, ptr %6, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %6, align 4 %85 = load i32, ptr %6, align 4 %86 = load i32, ptr %1, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %24, label %._crit_edge4, !llvm.loop !10 ._crit_edge4: ; preds = %82 br label %88 88: ; preds = %._crit_edge4, %16 %89 = call i32 @puts(ptr noundef @.str.3) store i32 0, ptr %9, align 4 %90 = load i32, ptr %9, align 4 %91 = load i32, ptr %1, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %.lr.ph6, label %105 .lr.ph6: ; preds = %88 br label %93 93: ; preds = %.lr.ph6, %99 %94 = load i32, ptr %9, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %20, i64 %95 %97 = load i32, ptr %96, align 4 %98 = call i32 @printf(ptr noundef @.str.4, i32 noundef %97) br label %99 99: ; preds = %93 %100 = load i32, ptr %9, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %9, align 4 %102 = load i32, ptr %9, align 4 %103 = load i32, ptr %1, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %93, label %._crit_edge7, !llvm.loop !11 ._crit_edge7: ; preds = %99 br label %105 105: ; preds = %._crit_edge7, %88 %106 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %106) ret void } declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpnkt_dl7b.c' source_filename = "/tmp/tmpnkt_dl7b.c" target datalayout = "e-m:e-p270: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/tmpnkt_dl7b.c" target datalayout = "e-m:e-p270: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/tmp45uzl097.c' source_filename = "/tmp/tmp45uzl097.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eeprom_is_ready() #0 { %1 = load volatile i32, ptr inttoptr (i64 1073872897 to ptr), align 4 %2 = and i32 %1, 1 %3 = icmp ne i32 %2, 0 %4 = zext i1 %3 to i64 %5 = select i1 %3, i32 1, i32 0 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp45uzl097.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eeprom_is_ready() #0 { %1 = load volatile i32, ptr inttoptr (i64 1073872897 to ptr), align 4 %2 = and i32 %1, 1 %3 = icmp ne i32 %2, 0 %4 = zext i1 %3 to i64 %5 = select i1 %3, i32 1, i32 0 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpirtf0qo0.c' source_filename = "/tmp/tmpirtf0qo0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_set_string(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %22 10: ; preds = %3 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %7, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %10 %16 = load ptr, ptr %7, align 8 %17 = call i32 @free(ptr noundef %16) br label %18 18: ; preds = %15, %10 %19 = load ptr, ptr %4, align 8 %20 = call ptr @strdup(ptr noundef %19) %21 = load ptr, ptr %6, align 8 store ptr %20, ptr %21, align 8 br label %23 22: ; preds = %3 br label %23 23: ; preds = %22, %18 ret void } declare i32 @free(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpirtf0qo0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_set_string(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %22 10: ; preds = %3 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %7, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %10 %16 = load ptr, ptr %7, align 8 %17 = call i32 @free(ptr noundef %16) br label %18 18: ; preds = %15, %10 %19 = load ptr, ptr %4, align 8 %20 = call ptr @strdup(ptr noundef %19) %21 = load ptr, ptr %6, align 8 store ptr %20, ptr %21, align 8 br label %23 22: ; preds = %3 br label %23 23: ; preds = %22, %18 ret void } declare i32 @free(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5fi2yuno.c' source_filename = "/tmp/tmp5fi2yuno.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %7, align 8 %9 = load i8, ptr %8, align 1 store i8 %9, ptr %5, align 1 %10 = call ptr @malloc(i32 noundef 16) store ptr %10, ptr %6, align 8 %11 = load i8, ptr %5, align 1 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 15 store i8 %11, ptr %13, align 1 ret i32 0 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5fi2yuno.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %7, align 8 %9 = load i8, ptr %8, align 1 store i8 %9, ptr %5, align 1 %10 = call ptr @malloc(i32 noundef 16) store ptr %10, ptr %6, align 8 %11 = load i8, ptr %5, align 1 %12 = load ptr, ptr %6, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 15 store i8 %11, ptr %13, align 1 ret i32 0 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpok_0l56g.c' source_filename = "/tmp/tmpok_0l56g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basScreenWidth() #0 { %1 = call i32 (...) @screenwidth() %2 = call i32 @pushNumber(i32 noundef %1) ret void } declare i32 @pushNumber(i32 noundef) #1 declare i32 @screenwidth(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpok_0l56g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basScreenWidth() #0 { %1 = call i32 (...) @screenwidth() %2 = call i32 @pushNumber(i32 noundef %1) ret void } declare i32 @pushNumber(i32 noundef) #1 declare i32 @screenwidth(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp11q6euf5.c' source_filename = "/tmp/tmp11q6euf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"U_EMRPOLYBEZIER16\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_EMRPOLYBEZIER16_print(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 @core6_print(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @core6_print(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/tmp11q6euf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"U_EMRPOLYBEZIER16\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @U_EMRPOLYBEZIER16_print(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 @core6_print(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @core6_print(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/tmpun3z5w9j.c' source_filename = "/tmp/tmpun3z5w9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpun3z5w9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkqu8g06r.c' source_filename = "/tmp/tmpkqu8g06r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(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 = call i32 @mmm(i32 noundef %5) %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 br label %12 12: ; preds = %9, %2 %13 = load i32, ptr %3, align 4 %14 = sdiv i32 5, %13 ret i32 %14 } declare i32 @mmm(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/tmpkqu8g06r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(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 = call i32 @mmm(i32 noundef %5) %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 br label %12 12: ; preds = %9, %2 %13 = load i32, ptr %3, align 4 %14 = sdiv i32 5, %13 ret i32 %14 } declare i32 @mmm(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/tmpx9fxe4h2.c' source_filename = "/tmp/tmpx9fxe4h2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n = 256\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @HPCC_starts(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [64 x i64], align 16 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i64 %0, ptr %3, align 8 %9 = load i64, ptr %3, align 8 %10 = icmp eq i64 %9, 256 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 @printf(ptr noundef @.str) br label %13 13: ; preds = %11, %1 br label %14 14: ; preds = %17, %13 %15 = load i64, ptr %3, align 8 %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i64, ptr %3, align 8 %19 = add nsw i64 %18, 1317624576693539401 store i64 %19, ptr %3, align 8 br label %14, !llvm.loop !6 20: ; preds = %14 br label %21 21: ; preds = %24, %20 %22 = load i64, ptr %3, align 8 %23 = icmp sgt i64 %22, 1317624576693539401 br i1 %23, label %24, label %27 24: ; preds = %21 %25 = load i64, ptr %3, align 8 %26 = sub nsw i64 %25, 1317624576693539401 store i64 %26, ptr %3, align 8 br label %21, !llvm.loop !8 27: ; preds = %21 %28 = load i64, ptr %3, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 store i64 1, ptr %2, align 8 br label %120 31: ; preds = %27 store i64 1, ptr %7, align 8 store i32 0, ptr %4, align 4 br label %32 32: ; preds = %54, %31 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %33, 64 br i1 %34, label %35, label %57 35: ; preds = %32 %36 = load i64, ptr %7, align 8 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [64 x i64], ptr %6, i64 0, i64 %38 store i64 %36, ptr %39, align 8 %40 = load i64, ptr %7, align 8 %41 = shl i64 %40, 1 %42 = load i64, ptr %7, align 8 %43 = icmp slt i64 %42, 0 %44 = zext i1 %43 to i64 %45 = select i1 %43, i64 7, i64 0 %46 = xor i64 %41, %45 store i64 %46, ptr %7, align 8 %47 = load i64, ptr %7, align 8 %48 = shl i64 %47, 1 %49 = load i64, ptr %7, align 8 %50 = icmp slt i64 %49, 0 %51 = zext i1 %50 to i64 %52 = select i1 %50, i64 7, i64 0 %53 = xor i64 %48, %52 store i64 %53, ptr %7, align 8 br label %54 54: ; preds = %35 %55 = load i32, ptr %4, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %4, align 4 br label %32, !llvm.loop !9 57: ; preds = %32 store i32 62, ptr %4, align 4 br label %58 58: ; preds = %70, %57 %59 = load i32, ptr %4, align 4 %60 = icmp sge i32 %59, 0 br i1 %60, label %61, label %73 61: ; preds = %58 %62 = load i64, ptr %3, align 8 %63 = load i32, ptr %4, align 4 %64 = zext i32 %63 to i64 %65 = ashr i64 %62, %64 %66 = and i64 %65, 1 %67 = icmp ne i64 %66, 0 br i1 %67, label %68, label %69 68: ; preds = %61 br label %73 69: ; preds = %61 br label %70 70: ; preds = %69 %71 = load i32, ptr %4, align 4 %72 = add nsw i32 %71, -1 store i32 %72, ptr %4, align 4 br label %58, !llvm.loop !10 73: ; preds = %68, %58 store i64 2, ptr %8, align 8 br label %74 74: ; preds = %117, %73 %75 = load i32, ptr %4, align 4 %76 = icmp sgt i32 %75, 0 br i1 %76, label %77, label %118 77: ; preds = %74 store i64 0, ptr %7, align 8 store i32 0, ptr %5, align 4 br label %78 78: ; preds = %96, %77 %79 = load i32, ptr %5, align 4 %80 = icmp slt i32 %79, 64 br i1 %80, label %81, label %99 81: ; preds = %78 %82 = load i64, ptr %8, align 8 %83 = load i32, ptr %5, align 4 %84 = zext i32 %83 to i64 %85 = lshr i64 %82, %84 %86 = and i64 %85, 1 %87 = icmp ne i64 %86, 0 br i1 %87, label %88, label %95 88: ; preds = %81 %89 = load i32, ptr %5, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [64 x i64], ptr %6, i64 0, i64 %90 %92 = load i64, ptr %91, align 8 %93 = load i64, ptr %7, align 8 %94 = xor i64 %93, %92 store i64 %94, ptr %7, align 8 br label %95 95: ; preds = %88, %81 br label %96 96: ; preds = %95 %97 = load i32, ptr %5, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %5, align 4 br label %78, !llvm.loop !11 99: ; preds = %78 %100 = load i64, ptr %7, align 8 store i64 %100, ptr %8, align 8 %101 = load i32, ptr %4, align 4 %102 = sub nsw i32 %101, 1 store i32 %102, ptr %4, align 4 %103 = load i64, ptr %3, align 8 %104 = load i32, ptr %4, align 4 %105 = zext i32 %104 to i64 %106 = ashr i64 %103, %105 %107 = and i64 %106, 1 %108 = icmp ne i64 %107, 0 br i1 %108, label %109, label %117 109: ; preds = %99 %110 = load i64, ptr %8, align 8 %111 = shl i64 %110, 1 %112 = load i64, ptr %8, align 8 %113 = icmp slt i64 %112, 0 %114 = zext i1 %113 to i64 %115 = select i1 %113, i64 7, i64 0 %116 = xor i64 %111, %115 store i64 %116, ptr %8, align 8 br label %117 117: ; preds = %109, %99 br label %74, !llvm.loop !12 118: ; preds = %74 %119 = load i64, ptr %8, align 8 store i64 %119, ptr %2, align 8 br label %120 120: ; preds = %118, %30 %121 = load i64, ptr %2, align 8 ret i64 %121 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx9fxe4h2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n = 256\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @HPCC_starts(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [64 x i64], align 16 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i64 %0, ptr %3, align 8 %9 = load i64, ptr %3, align 8 %10 = icmp eq i64 %9, 256 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 @printf(ptr noundef @.str) br label %13 13: ; preds = %11, %1 %14 = load i64, ptr %3, align 8 %15 = icmp slt i64 %14, 0 br i1 %15, label %.lr.ph, label %21 .lr.ph: ; preds = %13 br label %16 16: ; preds = %.lr.ph, %16 %17 = load i64, ptr %3, align 8 %18 = add nsw i64 %17, 1317624576693539401 store i64 %18, ptr %3, align 8 %19 = load i64, ptr %3, align 8 %20 = icmp slt i64 %19, 0 br i1 %20, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %13 %22 = load i64, ptr %3, align 8 %23 = icmp sgt i64 %22, 1317624576693539401 br i1 %23, label %.lr.ph2, label %29 .lr.ph2: ; preds = %21 br label %24 24: ; preds = %.lr.ph2, %24 %25 = load i64, ptr %3, align 8 %26 = sub nsw i64 %25, 1317624576693539401 store i64 %26, ptr %3, align 8 %27 = load i64, ptr %3, align 8 %28 = icmp sgt i64 %27, 1317624576693539401 br i1 %28, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %24 br label %29 29: ; preds = %._crit_edge3, %21 %30 = load i64, ptr %3, align 8 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %29 store i64 1, ptr %2, align 8 br label %126 33: ; preds = %29 store i64 1, ptr %7, align 8 store i32 0, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %34, 64 br i1 %35, label %.lr.ph5, label %60 .lr.ph5: ; preds = %33 br label %36 36: ; preds = %.lr.ph5, %55 %37 = load i64, ptr %7, align 8 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [64 x i64], ptr %6, i64 0, i64 %39 store i64 %37, ptr %40, align 8 %41 = load i64, ptr %7, align 8 %42 = shl i64 %41, 1 %43 = load i64, ptr %7, align 8 %44 = icmp slt i64 %43, 0 %45 = zext i1 %44 to i64 %46 = select i1 %44, i64 7, i64 0 %47 = xor i64 %42, %46 store i64 %47, ptr %7, align 8 %48 = load i64, ptr %7, align 8 %49 = shl i64 %48, 1 %50 = load i64, ptr %7, align 8 %51 = icmp slt i64 %50, 0 %52 = zext i1 %51 to i64 %53 = select i1 %51, i64 7, i64 0 %54 = xor i64 %49, %53 store i64 %54, ptr %7, align 8 br label %55 55: ; preds = %36 %56 = load i32, ptr %4, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %4, align 4 %58 = load i32, ptr %4, align 4 %59 = icmp slt i32 %58, 64 br i1 %59, label %36, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %55 br label %60 60: ; preds = %._crit_edge6, %33 store i32 62, ptr %4, align 4 %61 = load i32, ptr %4, align 4 %62 = icmp sge i32 %61, 0 br i1 %62, label %.lr.ph8, label %.loopexit .lr.ph8: ; preds = %60 br label %63 63: ; preds = %.lr.ph8, %72 %64 = load i64, ptr %3, align 8 %65 = load i32, ptr %4, align 4 %66 = zext i32 %65 to i64 %67 = ashr i64 %64, %66 %68 = and i64 %67, 1 %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %63 br label %77 71: ; preds = %63 br label %72 72: ; preds = %71 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, -1 store i32 %74, ptr %4, align 4 %75 = load i32, ptr %4, align 4 %76 = icmp sge i32 %75, 0 br i1 %76, label %63, label %..loopexit_crit_edge, !llvm.loop !10 ..loopexit_crit_edge: ; preds = %72 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %60 br label %77 77: ; preds = %.loopexit, %70 store i64 2, ptr %8, align 8 %78 = load i32, ptr %4, align 4 %79 = icmp sgt i32 %78, 0 br i1 %79, label %.lr.ph13, label %124 .lr.ph13: ; preds = %77 br label %80 80: ; preds = %.lr.ph13, %121 store i64 0, ptr %7, align 8 store i32 0, ptr %5, align 4 %81 = load i32, ptr %5, align 4 %82 = icmp slt i32 %81, 64 br i1 %82, label %.lr.ph10, label %103 .lr.ph10: ; preds = %80 br label %83 83: ; preds = %.lr.ph10, %98 %84 = load i64, ptr %8, align 8 %85 = load i32, ptr %5, align 4 %86 = zext i32 %85 to i64 %87 = lshr i64 %84, %86 %88 = and i64 %87, 1 %89 = icmp ne i64 %88, 0 br i1 %89, label %90, label %97 90: ; preds = %83 %91 = load i32, ptr %5, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [64 x i64], ptr %6, i64 0, i64 %92 %94 = load i64, ptr %93, align 8 %95 = load i64, ptr %7, align 8 %96 = xor i64 %95, %94 store i64 %96, ptr %7, align 8 br label %97 97: ; preds = %90, %83 br label %98 98: ; preds = %97 %99 = load i32, ptr %5, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %5, align 4 %101 = load i32, ptr %5, align 4 %102 = icmp slt i32 %101, 64 br i1 %102, label %83, label %._crit_edge11, !llvm.loop !11 ._crit_edge11: ; preds = %98 br label %103 103: ; preds = %._crit_edge11, %80 %104 = load i64, ptr %7, align 8 store i64 %104, ptr %8, align 8 %105 = load i32, ptr %4, align 4 %106 = sub nsw i32 %105, 1 store i32 %106, ptr %4, align 4 %107 = load i64, ptr %3, align 8 %108 = load i32, ptr %4, align 4 %109 = zext i32 %108 to i64 %110 = ashr i64 %107, %109 %111 = and i64 %110, 1 %112 = icmp ne i64 %111, 0 br i1 %112, label %113, label %121 113: ; preds = %103 %114 = load i64, ptr %8, align 8 %115 = shl i64 %114, 1 %116 = load i64, ptr %8, align 8 %117 = icmp slt i64 %116, 0 %118 = zext i1 %117 to i64 %119 = select i1 %117, i64 7, i64 0 %120 = xor i64 %115, %119 store i64 %120, ptr %8, align 8 br label %121 121: ; preds = %113, %103 %122 = load i32, ptr %4, align 4 %123 = icmp sgt i32 %122, 0 br i1 %123, label %80, label %._crit_edge14, !llvm.loop !12 ._crit_edge14: ; preds = %121 br label %124 124: ; preds = %._crit_edge14, %77 %125 = load i64, ptr %8, align 8 store i64 %125, ptr %2, align 8 br label %126 126: ; preds = %124, %32 %127 = load i64, ptr %2, align 8 ret i64 %127 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmp5o1h1iyd.c' source_filename = "/tmp/tmp5o1h1iyd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_c() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @f_d() store i32 %4, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %15, %0 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %18 9: ; preds = %5 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = mul nsw i32 %10, %11 %13 = load i32, ptr %1, align 4 %14 = add nsw i32 %13, %12 store i32 %14, ptr %1, align 4 br label %15 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %5, !llvm.loop !6 18: ; preds = %5 %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i32 @f_d(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp5o1h1iyd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_c() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (...) @f_d() store i32 %4, ptr %2, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = mul nsw i32 %9, %10 %12 = load i32, ptr %1, align 4 %13 = add nsw i32 %12, %11 store i32 %13, ptr %1, align 4 br label %14 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %0 %21 = load i32, ptr %1, align 4 ret i32 %21 } declare i32 @f_d(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpu3nlox9e.c' source_filename = "/tmp/tmpu3nlox9e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[0;m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_putcolor(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @ft_putstr(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call i32 @ft_putstr(ptr noundef %7) %9 = call i32 @ft_putstr(ptr noundef @.str) ret void } declare i32 @ft_putstr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu3nlox9e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[0;m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_putcolor(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @ft_putstr(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call i32 @ft_putstr(ptr noundef %7) %9 = call i32 @ft_putstr(ptr noundef @.str) ret void } declare i32 @ft_putstr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbtfrt3fy.c' source_filename = "/tmp/tmpbtfrt3fy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbtfrt3fy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwsw4qt9h.c' source_filename = "/tmp/tmpwsw4qt9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @concat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @concat_all(i32 noundef 2, ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @concat_all(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/tmpwsw4qt9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @concat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @concat_all(i32 noundef 2, ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @concat_all(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/tmpw7_4chjc.c' source_filename = "/tmp/tmpw7_4chjc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quit() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpw7_4chjc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quit() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpfu2f115j.c' source_filename = "/tmp/tmpfu2f115j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xdr_int64_t(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 4 switch i32 %10, label %45 [ i32 129, label %11 i32 130, label %27 i32 128, label %44 ] 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = ashr i32 %13, 32 store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = call i32 @XDR_PUTINT32(ptr noundef %17, ptr noundef %6) %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = call i32 @XDR_PUTINT32(ptr noundef %21, ptr noundef %7) %23 = icmp ne i32 %22, 0 br label %24 24: ; preds = %20, %11 %25 = phi i1 [ false, %11 ], [ %23, %20 ] %26 = zext i1 %25 to i32 store i32 %26, ptr %3, align 4 br label %46 27: ; preds = %2 %28 = load ptr, ptr %4, align 8 %29 = call i32 @XDR_GETINT32(ptr noundef %28, ptr noundef %6) %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load ptr, ptr %4, align 8 %33 = call i32 @XDR_GETINT32(ptr noundef %32, ptr noundef %7) %34 = icmp ne i32 %33, 0 br i1 %34, label %36, label %35 35: ; preds = %31, %27 store i32 0, ptr %3, align 4 br label %46 36: ; preds = %31 %37 = load i32, ptr %6, align 4 %38 = shl i32 %37, 32 %39 = load ptr, ptr %5, align 8 store i32 %38, ptr %39, align 4 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %41, align 4 %43 = or i32 %42, %40 store i32 %43, ptr %41, align 4 store i32 1, ptr %3, align 4 br label %46 44: ; preds = %2 store i32 1, ptr %3, align 4 br label %46 45: ; preds = %2 store i32 0, ptr %3, align 4 br label %46 46: ; preds = %45, %44, %36, %35, %24 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @XDR_PUTINT32(ptr noundef, ptr noundef) #1 declare i32 @XDR_GETINT32(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/tmpfu2f115j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xdr_int64_t(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 4 switch i32 %10, label %45 [ i32 129, label %11 i32 130, label %27 i32 128, label %44 ] 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = ashr i32 %13, 32 store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = call i32 @XDR_PUTINT32(ptr noundef %17, ptr noundef %6) %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = call i32 @XDR_PUTINT32(ptr noundef %21, ptr noundef %7) %23 = icmp ne i32 %22, 0 br label %24 24: ; preds = %20, %11 %25 = phi i1 [ false, %11 ], [ %23, %20 ] %26 = zext i1 %25 to i32 store i32 %26, ptr %3, align 4 br label %46 27: ; preds = %2 %28 = load ptr, ptr %4, align 8 %29 = call i32 @XDR_GETINT32(ptr noundef %28, ptr noundef %6) %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load ptr, ptr %4, align 8 %33 = call i32 @XDR_GETINT32(ptr noundef %32, ptr noundef %7) %34 = icmp ne i32 %33, 0 br i1 %34, label %36, label %35 35: ; preds = %31, %27 store i32 0, ptr %3, align 4 br label %46 36: ; preds = %31 %37 = load i32, ptr %6, align 4 %38 = shl i32 %37, 32 %39 = load ptr, ptr %5, align 8 store i32 %38, ptr %39, align 4 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %41, align 4 %43 = or i32 %42, %40 store i32 %43, ptr %41, align 4 store i32 1, ptr %3, align 4 br label %46 44: ; preds = %2 store i32 1, ptr %3, align 4 br label %46 45: ; preds = %2 store i32 0, ptr %3, align 4 br label %46 46: ; preds = %45, %44, %36, %35, %24 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @XDR_PUTINT32(ptr noundef, ptr noundef) #1 declare i32 @XDR_GETINT32(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/tmpzkwe7w1k.c' source_filename = "/tmp/tmpzkwe7w1k.c" target datalayout = "e-m:e-p270: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/tmpzkwe7w1k.c" target datalayout = "e-m:e-p270: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/tmpaz0szl_t.c' source_filename = "/tmp/tmpaz0szl_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaz0szl_t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}