llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpzk55z9pa.c' source_filename = "/tmp/tmpzk55z9pa.c" target datalayout = "e-m:e-p270: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 [46 x i8] c"usage, %s <hex string code> <rpitx rfa file>\0A\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"hex string must be 20 digits (10 byte) long\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"Bit code: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [10 x i8], align 1 %10 = alloca [20 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1013210, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 3 br i1 %18, label %19, label %25 19: ; preds = %2 %20 = load i32, ptr @stderr, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %23) store i32 -1, ptr %3, align 4 br label %139 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 store ptr %28, ptr %7, align 8 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %8, align 8 %32 = load ptr, ptr %7, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = icmp ne i32 %33, 20 br i1 %34, label %35, label %38 35: ; preds = %25 %36 = load i32, ptr @stderr, align 4 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %139 38: ; preds = %25 %39 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0 %40 = load ptr, ptr %7, align 8 %41 = call i32 @dehexify(ptr noundef %39, ptr noundef %40, i32 noundef 10) %42 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %43 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0 %44 = call i32 @manchester_encode(ptr noundef %42, ptr noundef %43, i32 noundef 10) %45 = load ptr, ptr %8, align 8 %46 = load i32, ptr @O_WRONLY, align 4 %47 = load i32, ptr @O_CREAT, align 4 %48 = or i32 %46, %47 %49 = call i32 @open(ptr noundef %45, i32 noundef %48, i32 noundef 420) store i32 %49, ptr %11, align 4 %50 = load i32, ptr %11, align 4 %51 = call i32 @writeAm(i32 noundef %50, i32 noundef 0, i32 noundef 5000000) %52 = load i32, ptr %11, align 4 %53 = call i32 @writeAm(i32 noundef %52, i32 noundef 1, i32 noundef 5000000) %54 = load i32, ptr %11, align 4 %55 = call i32 @writeAm(i32 noundef %54, i32 noundef 0, i32 noundef 5000000) store i32 0, ptr %12, align 4 br label %56 56: ; preds = %66, %38 %57 = load i32, ptr %12, align 4 %58 = icmp slt i32 %57, 128 br i1 %58, label %59, label %69 59: ; preds = %56 %60 = load i32, ptr %11, align 4 %61 = load i32, ptr %6, align 4 %62 = call i32 @writeAm(i32 noundef %60, i32 noundef 0, i32 noundef %61) %63 = load i32, ptr %11, align 4 %64 = load i32, ptr %6, align 4 %65 = call i32 @writeAm(i32 noundef %63, i32 noundef 65535, i32 noundef %64) br label %66 66: ; preds = %59 %67 = load i32, ptr %12, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %12, align 4 br label %56, !llvm.loop !6 69: ; preds = %56 %70 = load i32, ptr %11, align 4 %71 = load i32, ptr %6, align 4 %72 = mul nsw i32 4, %71 %73 = call i32 @writeAm(i32 noundef %70, i32 noundef 0, i32 noundef %72) %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %13, align 4 br label %75 75: ; preds = %102, %69 %76 = load i32, ptr %13, align 4 %77 = icmp slt i32 %76, 160 br i1 %77, label %78, label %105 78: ; preds = %75 %79 = load i32, ptr %13, align 4 %80 = sdiv i32 %79, 8 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 %81 %83 = load i8, ptr %82, align 1 %84 = zext i8 %83 to i32 %85 = load i32, ptr %13, align 4 %86 = srem i32 %85, 8 %87 = sub nsw i32 7, %86 %88 = shl i32 1, %87 %89 = and i32 %84, %88 store i32 %89, ptr %14, align 4 %90 = load i32, ptr %11, align 4 %91 = load i32, ptr %14, align 4 %92 = icmp ne i32 %91, 0 %93 = zext i1 %92 to i64 %94 = select i1 %92, i32 65535, i32 0 %95 = load i32, ptr %6, align 4 %96 = call i32 @writeAm(i32 noundef %90, i32 noundef %94, i32 noundef %95) %97 = load i32, ptr %14, align 4 %98 = icmp ne i32 %97, 0 %99 = zext i1 %98 to i64 %100 = select i1 %98, i32 1, i32 0 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %100) br label %102 102: ; preds = %78 %103 = load i32, ptr %13, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %13, align 4 br label %75, !llvm.loop !8 105: ; preds = %75 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %107 = load i32, ptr %11, align 4 %108 = load i32, ptr %6, align 4 %109 = mul nsw i32 8, %108 %110 = call i32 @writeAm(i32 noundef %107, i32 noundef 0, i32 noundef %109) store i32 0, ptr %15, align 4 br label %111 111: ; preds = %133, %105 %112 = load i32, ptr %15, align 4 %113 = icmp slt i32 %112, 160 br i1 %113, label %114, label %136 114: ; preds = %111 %115 = load i32, ptr %15, align 4 %116 = sdiv i32 %115, 8 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 %117 %119 = load i8, ptr %118, align 1 %120 = zext i8 %119 to i32 %121 = load i32, ptr %15, align 4 %122 = srem i32 %121, 8 %123 = sub nsw i32 7, %122 %124 = shl i32 1, %123 %125 = and i32 %120, %124 store i32 %125, ptr %16, align 4 %126 = load i32, ptr %11, align 4 %127 = load i32, ptr %16, align 4 %128 = icmp ne i32 %127, 0 %129 = zext i1 %128 to i64 %130 = select i1 %128, i32 65535, i32 0 %131 = load i32, ptr %6, align 4 %132 = call i32 @writeAm(i32 noundef %126, i32 noundef %130, i32 noundef %131) br label %133 133: ; preds = %114 %134 = load i32, ptr %15, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %15, align 4 br label %111, !llvm.loop !9 136: ; preds = %111 %137 = load i32, ptr %11, align 4 %138 = call i32 @close(i32 noundef %137) store i32 0, ptr %3, align 4 br label %139 139: ; preds = %136, %35, %19 %140 = load i32, ptr %3, align 4 ret i32 %140 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @dehexify(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @manchester_encode(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @writeAm(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzk55z9pa.c" target datalayout = "e-m:e-p270: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 [46 x i8] c"usage, %s <hex string code> <rpitx rfa file>\0A\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"hex string must be 20 digits (10 byte) long\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"Bit code: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [10 x i8], align 1 %10 = alloca [20 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1013210, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %17, 3 br i1 %18, label %19, label %25 19: ; preds = %2 %20 = load i32, ptr @stderr, align 4 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %23) store i32 -1, ptr %3, align 4 br label %142 25: ; preds = %2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 store ptr %28, ptr %7, align 8 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %8, align 8 %32 = load ptr, ptr %7, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = icmp ne i32 %33, 20 br i1 %34, label %35, label %38 35: ; preds = %25 %36 = load i32, ptr @stderr, align 4 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %142 38: ; preds = %25 %39 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0 %40 = load ptr, ptr %7, align 8 %41 = call i32 @dehexify(ptr noundef %39, ptr noundef %40, i32 noundef 10) %42 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %43 = getelementptr inbounds [10 x i8], ptr %9, i64 0, i64 0 %44 = call i32 @manchester_encode(ptr noundef %42, ptr noundef %43, i32 noundef 10) %45 = load ptr, ptr %8, align 8 %46 = load i32, ptr @O_WRONLY, align 4 %47 = load i32, ptr @O_CREAT, align 4 %48 = or i32 %46, %47 %49 = call i32 @open(ptr noundef %45, i32 noundef %48, i32 noundef 420) store i32 %49, ptr %11, align 4 %50 = load i32, ptr %11, align 4 %51 = call i32 @writeAm(i32 noundef %50, i32 noundef 0, i32 noundef 5000000) %52 = load i32, ptr %11, align 4 %53 = call i32 @writeAm(i32 noundef %52, i32 noundef 1, i32 noundef 5000000) %54 = load i32, ptr %11, align 4 %55 = call i32 @writeAm(i32 noundef %54, i32 noundef 0, i32 noundef 5000000) store i32 0, ptr %12, align 4 %56 = load i32, ptr %12, align 4 %57 = icmp slt i32 %56, 128 br i1 %57, label %.lr.ph, label %70 .lr.ph: ; preds = %38 br label %58 58: ; preds = %.lr.ph, %65 %59 = load i32, ptr %11, align 4 %60 = load i32, ptr %6, align 4 %61 = call i32 @writeAm(i32 noundef %59, i32 noundef 0, i32 noundef %60) %62 = load i32, ptr %11, align 4 %63 = load i32, ptr %6, align 4 %64 = call i32 @writeAm(i32 noundef %62, i32 noundef 65535, i32 noundef %63) br label %65 65: ; preds = %58 %66 = load i32, ptr %12, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %12, align 4 %68 = load i32, ptr %12, align 4 %69 = icmp slt i32 %68, 128 br i1 %69, label %58, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %65 br label %70 70: ; preds = %._crit_edge, %38 %71 = load i32, ptr %11, align 4 %72 = load i32, ptr %6, align 4 %73 = mul nsw i32 4, %72 %74 = call i32 @writeAm(i32 noundef %71, i32 noundef 0, i32 noundef %73) %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %13, align 4 %76 = load i32, ptr %13, align 4 %77 = icmp slt i32 %76, 160 br i1 %77, label %.lr.ph2, label %107 .lr.ph2: ; preds = %70 br label %78 78: ; preds = %.lr.ph2, %102 %79 = load i32, ptr %13, align 4 %80 = sdiv i32 %79, 8 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 %81 %83 = load i8, ptr %82, align 1 %84 = zext i8 %83 to i32 %85 = load i32, ptr %13, align 4 %86 = srem i32 %85, 8 %87 = sub nsw i32 7, %86 %88 = shl i32 1, %87 %89 = and i32 %84, %88 store i32 %89, ptr %14, align 4 %90 = load i32, ptr %11, align 4 %91 = load i32, ptr %14, align 4 %92 = icmp ne i32 %91, 0 %93 = zext i1 %92 to i64 %94 = select i1 %92, i32 65535, i32 0 %95 = load i32, ptr %6, align 4 %96 = call i32 @writeAm(i32 noundef %90, i32 noundef %94, i32 noundef %95) %97 = load i32, ptr %14, align 4 %98 = icmp ne i32 %97, 0 %99 = zext i1 %98 to i64 %100 = select i1 %98, i32 1, i32 0 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %100) br label %102 102: ; preds = %78 %103 = load i32, ptr %13, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %13, align 4 %105 = load i32, ptr %13, align 4 %106 = icmp slt i32 %105, 160 br i1 %106, label %78, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %102 br label %107 107: ; preds = %._crit_edge3, %70 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %109 = load i32, ptr %11, align 4 %110 = load i32, ptr %6, align 4 %111 = mul nsw i32 8, %110 %112 = call i32 @writeAm(i32 noundef %109, i32 noundef 0, i32 noundef %111) store i32 0, ptr %15, align 4 %113 = load i32, ptr %15, align 4 %114 = icmp slt i32 %113, 160 br i1 %114, label %.lr.ph5, label %139 .lr.ph5: ; preds = %107 br label %115 115: ; preds = %.lr.ph5, %134 %116 = load i32, ptr %15, align 4 %117 = sdiv i32 %116, 8 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 %118 %120 = load i8, ptr %119, align 1 %121 = zext i8 %120 to i32 %122 = load i32, ptr %15, align 4 %123 = srem i32 %122, 8 %124 = sub nsw i32 7, %123 %125 = shl i32 1, %124 %126 = and i32 %121, %125 store i32 %126, ptr %16, align 4 %127 = load i32, ptr %11, align 4 %128 = load i32, ptr %16, align 4 %129 = icmp ne i32 %128, 0 %130 = zext i1 %129 to i64 %131 = select i1 %129, i32 65535, i32 0 %132 = load i32, ptr %6, align 4 %133 = call i32 @writeAm(i32 noundef %127, i32 noundef %131, i32 noundef %132) br label %134 134: ; preds = %115 %135 = load i32, ptr %15, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %15, align 4 %137 = load i32, ptr %15, align 4 %138 = icmp slt i32 %137, 160 br i1 %138, label %115, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %134 br label %139 139: ; preds = %._crit_edge6, %107 %140 = load i32, ptr %11, align 4 %141 = call i32 @close(i32 noundef %140) store i32 0, ptr %3, align 4 br label %142 142: ; preds = %139, %35, %19 %143 = load i32, ptr %3, align 4 ret i32 %143 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @dehexify(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @manchester_encode(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @writeAm(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpn0xvmljp.c' source_filename = "/tmp/tmpn0xvmljp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"at step %i d=%d;\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"backup) d=%d;\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"at step %d d=%d;\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"backup2)) step=%d;d=%d;\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @max_size_int() #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 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 br label %6 6: ; preds = %9, %0 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load i32, ptr %1, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %1, align 4 %12 = load i32, ptr %4, align 4 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = mul nsw i32 %13, 10 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %1, align 4 %16 = load i32, ptr %4, align 4 %17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %16) br label %6, !llvm.loop !6 18: ; preds = %6 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %20) %22 = load i32, ptr %4, align 4 store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %42, %18 %24 = load i32, ptr %3, align 4 %25 = icmp sgt i32 %24, 1 br i1 %25, label %26, label %47 26: ; preds = %23 %27 = load i32, ptr %3, align 4 %28 = sdiv i32 %27, 10 store i32 %28, ptr %3, align 4 store i32 0, ptr %1, align 4 br label %29 29: ; preds = %32, %26 %30 = load i32, ptr %4, align 4 %31 = icmp sgt i32 %30, 0 br i1 %31, label %32, label %42 32: ; preds = %29 %33 = load i32, ptr %4, align 4 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %34, %35 store i32 %36, ptr %4, align 4 %37 = load i32, ptr %1, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %1, align 4 %39 = load i32, ptr %1, align 4 %40 = load i32, ptr %4, align 4 %41 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %39, i32 noundef %40) br label %29, !llvm.loop !8 42: ; preds = %29 %43 = load i32, ptr %5, align 4 store i32 %43, ptr %4, align 4 %44 = load i32, ptr %3, align 4 %45 = load i32, ptr %4, align 4 %46 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %44, i32 noundef %45) br label %23, !llvm.loop !9 47: ; preds = %23 ret void } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn0xvmljp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"at step %i d=%d;\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"backup) d=%d;\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"at step %d d=%d;\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"backup2)) step=%d;d=%d;\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @max_size_int() #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 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 0 br i1 %7, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i32, ptr %1, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %1, align 4 %11 = load i32, ptr %4, align 4 store i32 %11, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = mul nsw i32 %12, 10 store i32 %13, ptr %4, align 4 %14 = load i32, ptr %1, align 4 %15 = load i32, ptr %4, align 4 %16 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15) %17 = load i32, ptr %4, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %19 19: ; preds = %._crit_edge, %0 %20 = load i32, ptr %5, align 4 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %21) %23 = load i32, ptr %4, align 4 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp sgt i32 %24, 1 br i1 %25, label %.lr.ph5, label %50 .lr.ph5: ; preds = %19 br label %26 26: ; preds = %.lr.ph5, %43 %27 = load i32, ptr %3, align 4 %28 = sdiv i32 %27, 10 store i32 %28, ptr %3, align 4 store i32 0, ptr %1, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp sgt i32 %29, 0 br i1 %30, label %.lr.ph2, label %43 .lr.ph2: ; preds = %26 br label %31 31: ; preds = %.lr.ph2, %31 %32 = load i32, ptr %4, align 4 store i32 %32, ptr %5, align 4 %33 = load i32, ptr %4, align 4 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %33, %34 store i32 %35, ptr %4, align 4 %36 = load i32, ptr %1, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %1, align 4 %38 = load i32, ptr %1, align 4 %39 = load i32, ptr %4, align 4 %40 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %38, i32 noundef %39) %41 = load i32, ptr %4, align 4 %42 = icmp sgt i32 %41, 0 br i1 %42, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %43 43: ; preds = %._crit_edge3, %26 %44 = load i32, ptr %5, align 4 store i32 %44, ptr %4, align 4 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %4, align 4 %47 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %3, align 4 %49 = icmp sgt i32 %48, 1 br i1 %49, label %26, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %43 br label %50 50: ; preds = %._crit_edge6, %19 ret void } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpmxqa_5ni.c' source_filename = "/tmp/tmpmxqa_5ni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"usage: %s\00", align 1 @.str.1 = private unnamed_addr constant [1414 x i8] c"fsx [-dnqLOW] [-b opnum] [-c Prob] [-l flen] [-m start:end] [-o oplen] [-p progressinterval] [-r readbdy] [-s style] [-t truncbdy] [-w writebdy] [-D startingop] [-N numops] [-P dirpath] [-S seed] fname\0A\09-b opnum: beginning operation number (default 1)\0A\09-c P: 1 in P chance of file close+open at each op (default infinity)\0A\09-d: debug output for all operations\0A\09-l flen: the upper bound on file size (default 262144)\0A\09-m startop:endop: monitor (print debug output) specified byte range (default 0:infinity)\0A\09-n: no verifications of file size\0A\09-o oplen: the upper bound on operation size (default 65536)\0A\09-p progressinterval: debug output at specified operation interval\0A\09-q: quieter operation\0A\09-r readbdy: 4096 would make reads page aligned (default 1)\0A\09-s style: 1 gives smaller truncates (default 0)\0A\09-t truncbdy: 4096 would make truncates page aligned (default 1)\0A\09-w writebdy: 4096 would make writes page aligned (default 1)\0A\09-D startingop: debug output starting at specified operation\0A\09-L: fsxLite - no file creations & no file size changes\0A\09-N numops: total # operations to do (default infinity)\0A\09-O: use oplen (see -o flag) for every op (default random)\0A\09-P dirpath: save .fsxlog and .fsxgood files in dirpath (default ./)\0A\09-S seed: for random # generator (default 1) 0 gets timestamp\0A\09-W: mapped write operations DISabled\0A\09-R: mapped read operations DISabled)\0A\09fname: this filename is REQUIRED (no default)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1) %3 = call i32 @exit(i32 noundef 90) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmxqa_5ni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"usage: %s\00", align 1 @.str.1 = private unnamed_addr constant [1414 x i8] c"fsx [-dnqLOW] [-b opnum] [-c Prob] [-l flen] [-m start:end] [-o oplen] [-p progressinterval] [-r readbdy] [-s style] [-t truncbdy] [-w writebdy] [-D startingop] [-N numops] [-P dirpath] [-S seed] fname\0A\09-b opnum: beginning operation number (default 1)\0A\09-c P: 1 in P chance of file close+open at each op (default infinity)\0A\09-d: debug output for all operations\0A\09-l flen: the upper bound on file size (default 262144)\0A\09-m startop:endop: monitor (print debug output) specified byte range (default 0:infinity)\0A\09-n: no verifications of file size\0A\09-o oplen: the upper bound on operation size (default 65536)\0A\09-p progressinterval: debug output at specified operation interval\0A\09-q: quieter operation\0A\09-r readbdy: 4096 would make reads page aligned (default 1)\0A\09-s style: 1 gives smaller truncates (default 0)\0A\09-t truncbdy: 4096 would make truncates page aligned (default 1)\0A\09-w writebdy: 4096 would make writes page aligned (default 1)\0A\09-D startingop: debug output starting at specified operation\0A\09-L: fsxLite - no file creations & no file size changes\0A\09-N numops: total # operations to do (default infinity)\0A\09-O: use oplen (see -o flag) for every op (default random)\0A\09-P dirpath: save .fsxlog and .fsxgood files in dirpath (default ./)\0A\09-S seed: for random # generator (default 1) 0 gets timestamp\0A\09-W: mapped write operations DISabled\0A\09-R: mapped read operations DISabled)\0A\09fname: this filename is REQUIRED (no default)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1) %3 = call i32 @exit(i32 noundef 90) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppj_dx8br.c' source_filename = "/tmp/tmppj_dx8br.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pow_fun_uint16_t(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %15, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %18 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = mul nsw i32 %13, %12 store i32 %14, ptr %5, align 4 br label %15 15: ; preds = %11 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %6, align 4 br label %7, !llvm.loop !6 18: ; preds = %7 %19 = load i32, ptr %5, align 4 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppj_dx8br.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pow_fun_uint16_t(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %14 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = mul nsw i32 %12, %11 store i32 %13, ptr %5, align 4 br label %14 14: ; preds = %10 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %2 %21 = load i32, ptr %5, align 4 ret i32 %21 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpw17effd5.c' source_filename = "/tmp/tmpw17effd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_atan2f(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = call i64 @atan2f(float noundef %5, float noundef %6) %8 = load float, ptr %3, align 4 %9 = load float, ptr %4, align 4 %10 = call i64 @atan2f(float noundef %8, float noundef %9) %11 = icmp ne i64 %7, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (...) @link_failure_atan2f() br label %14 14: ; preds = %12, %2 ret void } declare i64 @atan2f(float noundef, float noundef) #1 declare i32 @link_failure_atan2f(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw17effd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_atan2f(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = call i64 @atan2f(float noundef %5, float noundef %6) %8 = load float, ptr %3, align 4 %9 = load float, ptr %4, align 4 %10 = call i64 @atan2f(float noundef %8, float noundef %9) %11 = icmp ne i64 %7, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (...) @link_failure_atan2f() br label %14 14: ; preds = %12, %2 ret void } declare i64 @atan2f(float noundef, float noundef) #1 declare i32 @link_failure_atan2f(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_6d09cj5.c' source_filename = "/tmp/tmp_6d09cj5.c" target datalayout = "e-m:e-p270: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_6d09cj5.c" target datalayout = "e-m:e-p270: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/tmpqtd_hlyq.c' source_filename = "/tmp/tmpqtd_hlyq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_dbp(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = load i64, ptr %8, align 8 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %10, align 8 %16 = call i32 @Write(i32 noundef 5, ptr noundef %11, i64 noundef %12, i64 noundef %13, i64 noundef %14, i64 noundef %15) ret void } declare i32 @Write(i32 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqtd_hlyq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_dbp(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = load i64, ptr %8, align 8 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %10, align 8 %16 = call i32 @Write(i32 noundef 5, ptr noundef %11, i64 noundef %12, i64 noundef %13, i64 noundef %14, i64 noundef %15) ret void } declare i32 @Write(i32 noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsgtcp2fk.c' source_filename = "/tmp/tmpsgtcp2fk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"/sys/firmware/devicetree/base/soc/gpiomem\00", align 1 @.str.1 = private unnamed_addr constant [48 x i8] c"/sys/firmware/devicetree/base/soc/gpio@7e200000\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"/sys/firmware/devicetree/base/soc/i2c@7e205000\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"/sys/firmware/devicetree/base/soc/i2c@7e804000\00", align 1 @.str.4 = private unnamed_addr constant [47 x i8] c"/sys/firmware/devicetree/base/soc/i2s@7e203000\00", align 1 @.str.5 = private unnamed_addr constant [47 x i8] c"/sys/firmware/devicetree/base/soc/pwm@7e20c000\00", align 1 @.str.6 = private unnamed_addr constant [47 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e204000\00", align 1 @.str.7 = private unnamed_addr constant [56 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e204000/spidev@0\00", align 1 @.str.8 = private unnamed_addr constant [56 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e204000/spidev@1\00", align 1 @.str.9 = private unnamed_addr constant [47 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e215080\00", align 1 @.str.10 = private unnamed_addr constant [56 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e215080/spidev@0\00", align 1 @.str.11 = private unnamed_addr constant [56 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e215080/spidev@1\00", align 1 @.str.12 = private unnamed_addr constant [56 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e215080/spidev@2\00", align 1 @.str.13 = private unnamed_addr constant [48 x i8] c"/sys/firmware/devicetree/base/soc/uart@7e201000\00", align 1 @.str.14 = private unnamed_addr constant [48 x i8] c"/sys/firmware/devicetree/base/soc/uart@7e215040\00", align 1 @.str.15 = private unnamed_addr constant [40 x i8] c"/sys/firmware/devicetree/base/onewire@0\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"status\00", align 1 @.str.17 = private unnamed_addr constant [15 x i8] c"i2c0/brcm,pins\00", align 1 @.str.18 = private unnamed_addr constant [15 x i8] c"i2c1/brcm,pins\00", align 1 @.str.19 = private unnamed_addr constant [14 x i8] c"i2s/brcm,pins\00", align 1 @.str.20 = private unnamed_addr constant [19 x i8] c"pwm_pins/brcm,pins\00", align 1 @.str.21 = private unnamed_addr constant [23 x i8] c"spi0_cs_pins/brcm,pins\00", align 1 @.str.22 = private unnamed_addr constant [20 x i8] c"spi0_pins/brcm,pins\00", align 1 @.str.23 = private unnamed_addr constant [23 x i8] c"spi1_cs_pins/brcm,pins\00", align 1 @.str.24 = private unnamed_addr constant [20 x i8] c"spi1_pins/brcm,pins\00", align 1 @.str.25 = private unnamed_addr constant [18 x i8] c"w1_pins/brcm,pins\00", align 1 @.str.26 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @librpip_dt_file_open(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca [200 x i8], align 16 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 %13 = load i32, ptr %6, align 4 switch i32 %13, label %30 [ i32 1, label %14 i32 2, label %15 i32 3, label %16 i32 4, label %17 i32 5, label %18 i32 6, label %19 i32 7, label %20 i32 8, label %21 i32 9, label %22 i32 10, label %23 i32 11, label %24 i32 12, label %25 i32 13, label %26 i32 14, label %27 i32 15, label %28 i32 16, label %29 ] 14: ; preds = %4 store ptr @.str, ptr %10, align 8 br label %30 15: ; preds = %4 store ptr @.str.1, ptr %10, align 8 br label %30 16: ; preds = %4 store ptr @.str.2, ptr %10, align 8 br label %30 17: ; preds = %4 store ptr @.str.3, ptr %10, align 8 br label %30 18: ; preds = %4 store ptr @.str.4, ptr %10, align 8 br label %30 19: ; preds = %4 store ptr @.str.5, ptr %10, align 8 br label %30 20: ; preds = %4 store ptr @.str.6, ptr %10, align 8 br label %30 21: ; preds = %4 store ptr @.str.7, ptr %10, align 8 br label %30 22: ; preds = %4 store ptr @.str.8, ptr %10, align 8 br label %30 23: ; preds = %4 store ptr @.str.9, ptr %10, align 8 br label %30 24: ; preds = %4 store ptr @.str.10, ptr %10, align 8 br label %30 25: ; preds = %4 store ptr @.str.11, ptr %10, align 8 br label %30 26: ; preds = %4 store ptr @.str.12, ptr %10, align 8 br label %30 27: ; preds = %4 store ptr @.str.13, ptr %10, align 8 br label %30 28: ; preds = %4 store ptr @.str.14, ptr %10, align 8 br label %30 29: ; preds = %4 store ptr @.str.15, ptr %10, align 8 br label %30 30: ; preds = %4, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14 %31 = load i32, ptr %7, align 4 switch i32 %31, label %42 [ i32 1, label %32 i32 2, label %33 i32 3, label %34 i32 4, label %35 i32 5, label %36 i32 6, label %37 i32 7, label %38 i32 8, label %39 i32 9, label %40 i32 10, label %41 ] 32: ; preds = %30 store ptr @.str.16, ptr %11, align 8 br label %42 33: ; preds = %30 store ptr @.str.17, ptr %11, align 8 br label %42 34: ; preds = %30 store ptr @.str.18, ptr %11, align 8 br label %42 35: ; preds = %30 store ptr @.str.19, ptr %11, align 8 br label %42 36: ; preds = %30 store ptr @.str.20, ptr %11, align 8 br label %42 37: ; preds = %30 store ptr @.str.21, ptr %11, align 8 br label %42 38: ; preds = %30 store ptr @.str.22, ptr %11, align 8 br label %42 39: ; preds = %30 store ptr @.str.23, ptr %11, align 8 br label %42 40: ; preds = %30 store ptr @.str.24, ptr %11, align 8 br label %42 41: ; preds = %30 store ptr @.str.25, ptr %11, align 8 br label %42 42: ; preds = %30, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32 %43 = load ptr, ptr %10, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %62 45: ; preds = %42 %46 = load ptr, ptr %11, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %62 48: ; preds = %45 %49 = getelementptr inbounds [200 x i8], ptr %12, i64 0, i64 0 %50 = load ptr, ptr %10, align 8 %51 = load ptr, ptr %11, align 8 %52 = call i32 @sprintf(ptr noundef %49, ptr noundef @.str.26, ptr noundef %50, ptr noundef %51) %53 = getelementptr inbounds [200 x i8], ptr %12, i64 0, i64 0 %54 = load i32, ptr %8, align 4 %55 = call i32 @open(ptr noundef %53, i32 noundef %54) %56 = load ptr, ptr %9, align 8 store i32 %55, ptr %56, align 4 %57 = load ptr, ptr %9, align 8 %58 = load i32, ptr %57, align 4 %59 = icmp slt i32 %58, 0 %60 = zext i1 %59 to i64 %61 = select i1 %59, i32 0, i32 1 store i32 %61, ptr %5, align 4 br label %63 62: ; preds = %45, %42 store i32 0, ptr %5, align 4 br label %63 63: ; preds = %62, %48 %64 = load i32, ptr %5, align 4 ret i32 %64 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @open(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/tmpsgtcp2fk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"/sys/firmware/devicetree/base/soc/gpiomem\00", align 1 @.str.1 = private unnamed_addr constant [48 x i8] c"/sys/firmware/devicetree/base/soc/gpio@7e200000\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"/sys/firmware/devicetree/base/soc/i2c@7e205000\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"/sys/firmware/devicetree/base/soc/i2c@7e804000\00", align 1 @.str.4 = private unnamed_addr constant [47 x i8] c"/sys/firmware/devicetree/base/soc/i2s@7e203000\00", align 1 @.str.5 = private unnamed_addr constant [47 x i8] c"/sys/firmware/devicetree/base/soc/pwm@7e20c000\00", align 1 @.str.6 = private unnamed_addr constant [47 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e204000\00", align 1 @.str.7 = private unnamed_addr constant [56 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e204000/spidev@0\00", align 1 @.str.8 = private unnamed_addr constant [56 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e204000/spidev@1\00", align 1 @.str.9 = private unnamed_addr constant [47 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e215080\00", align 1 @.str.10 = private unnamed_addr constant [56 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e215080/spidev@0\00", align 1 @.str.11 = private unnamed_addr constant [56 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e215080/spidev@1\00", align 1 @.str.12 = private unnamed_addr constant [56 x i8] c"/sys/firmware/devicetree/base/soc/spi@7e215080/spidev@2\00", align 1 @.str.13 = private unnamed_addr constant [48 x i8] c"/sys/firmware/devicetree/base/soc/uart@7e201000\00", align 1 @.str.14 = private unnamed_addr constant [48 x i8] c"/sys/firmware/devicetree/base/soc/uart@7e215040\00", align 1 @.str.15 = private unnamed_addr constant [40 x i8] c"/sys/firmware/devicetree/base/onewire@0\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"status\00", align 1 @.str.17 = private unnamed_addr constant [15 x i8] c"i2c0/brcm,pins\00", align 1 @.str.18 = private unnamed_addr constant [15 x i8] c"i2c1/brcm,pins\00", align 1 @.str.19 = private unnamed_addr constant [14 x i8] c"i2s/brcm,pins\00", align 1 @.str.20 = private unnamed_addr constant [19 x i8] c"pwm_pins/brcm,pins\00", align 1 @.str.21 = private unnamed_addr constant [23 x i8] c"spi0_cs_pins/brcm,pins\00", align 1 @.str.22 = private unnamed_addr constant [20 x i8] c"spi0_pins/brcm,pins\00", align 1 @.str.23 = private unnamed_addr constant [23 x i8] c"spi1_cs_pins/brcm,pins\00", align 1 @.str.24 = private unnamed_addr constant [20 x i8] c"spi1_pins/brcm,pins\00", align 1 @.str.25 = private unnamed_addr constant [18 x i8] c"w1_pins/brcm,pins\00", align 1 @.str.26 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @librpip_dt_file_open(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca [200 x i8], align 16 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr null, ptr %10, align 8 store ptr null, ptr %11, align 8 %13 = load i32, ptr %6, align 4 switch i32 %13, label %30 [ i32 1, label %14 i32 2, label %15 i32 3, label %16 i32 4, label %17 i32 5, label %18 i32 6, label %19 i32 7, label %20 i32 8, label %21 i32 9, label %22 i32 10, label %23 i32 11, label %24 i32 12, label %25 i32 13, label %26 i32 14, label %27 i32 15, label %28 i32 16, label %29 ] 14: ; preds = %4 store ptr @.str, ptr %10, align 8 br label %30 15: ; preds = %4 store ptr @.str.1, ptr %10, align 8 br label %30 16: ; preds = %4 store ptr @.str.2, ptr %10, align 8 br label %30 17: ; preds = %4 store ptr @.str.3, ptr %10, align 8 br label %30 18: ; preds = %4 store ptr @.str.4, ptr %10, align 8 br label %30 19: ; preds = %4 store ptr @.str.5, ptr %10, align 8 br label %30 20: ; preds = %4 store ptr @.str.6, ptr %10, align 8 br label %30 21: ; preds = %4 store ptr @.str.7, ptr %10, align 8 br label %30 22: ; preds = %4 store ptr @.str.8, ptr %10, align 8 br label %30 23: ; preds = %4 store ptr @.str.9, ptr %10, align 8 br label %30 24: ; preds = %4 store ptr @.str.10, ptr %10, align 8 br label %30 25: ; preds = %4 store ptr @.str.11, ptr %10, align 8 br label %30 26: ; preds = %4 store ptr @.str.12, ptr %10, align 8 br label %30 27: ; preds = %4 store ptr @.str.13, ptr %10, align 8 br label %30 28: ; preds = %4 store ptr @.str.14, ptr %10, align 8 br label %30 29: ; preds = %4 store ptr @.str.15, ptr %10, align 8 br label %30 30: ; preds = %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %4 %31 = load i32, ptr %7, align 4 switch i32 %31, label %42 [ i32 1, label %32 i32 2, label %33 i32 3, label %34 i32 4, label %35 i32 5, label %36 i32 6, label %37 i32 7, label %38 i32 8, label %39 i32 9, label %40 i32 10, label %41 ] 32: ; preds = %30 store ptr @.str.16, ptr %11, align 8 br label %42 33: ; preds = %30 store ptr @.str.17, ptr %11, align 8 br label %42 34: ; preds = %30 store ptr @.str.18, ptr %11, align 8 br label %42 35: ; preds = %30 store ptr @.str.19, ptr %11, align 8 br label %42 36: ; preds = %30 store ptr @.str.20, ptr %11, align 8 br label %42 37: ; preds = %30 store ptr @.str.21, ptr %11, align 8 br label %42 38: ; preds = %30 store ptr @.str.22, ptr %11, align 8 br label %42 39: ; preds = %30 store ptr @.str.23, ptr %11, align 8 br label %42 40: ; preds = %30 store ptr @.str.24, ptr %11, align 8 br label %42 41: ; preds = %30 store ptr @.str.25, ptr %11, align 8 br label %42 42: ; preds = %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %30 %43 = load ptr, ptr %10, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %62 45: ; preds = %42 %46 = load ptr, ptr %11, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %62 48: ; preds = %45 %49 = getelementptr inbounds [200 x i8], ptr %12, i64 0, i64 0 %50 = load ptr, ptr %10, align 8 %51 = load ptr, ptr %11, align 8 %52 = call i32 @sprintf(ptr noundef %49, ptr noundef @.str.26, ptr noundef %50, ptr noundef %51) %53 = getelementptr inbounds [200 x i8], ptr %12, i64 0, i64 0 %54 = load i32, ptr %8, align 4 %55 = call i32 @open(ptr noundef %53, i32 noundef %54) %56 = load ptr, ptr %9, align 8 store i32 %55, ptr %56, align 4 %57 = load ptr, ptr %9, align 8 %58 = load i32, ptr %57, align 4 %59 = icmp slt i32 %58, 0 %60 = zext i1 %59 to i64 %61 = select i1 %59, i32 0, i32 1 store i32 %61, ptr %5, align 4 br label %63 62: ; preds = %45, %42 store i32 0, ptr %5, align 4 br label %63 63: ; preds = %62, %48 %64 = load i32, ptr %5, align 4 ret i32 %64 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @open(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/tmpiyurr342.c' source_filename = "/tmp/tmpiyurr342.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiyurr342.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp35wyww78.c' source_filename = "/tmp/tmp35wyww78.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @contains_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @opendir(ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = call ptr @readdir(ptr noundef %10) store ptr %11, ptr %7, align 8 br label %12 12: ; preds = %23, %2 %13 = load ptr, ptr %7, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %26 15: ; preds = %12 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds %struct.dirent, ptr %16, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i64 @strcmp(i32 noundef %18, ptr noundef %19) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %15 store i32 1, ptr %3, align 4 br label %29 23: ; preds = %15 %24 = load ptr, ptr %6, align 8 %25 = call ptr @readdir(ptr noundef %24) store ptr %25, ptr %7, align 8 br label %12, !llvm.loop !6 26: ; preds = %12 %27 = load ptr, ptr %6, align 8 %28 = call i32 @closedir(ptr noundef %27) store i32 0, ptr %3, align 4 br label %29 29: ; preds = %26, %22 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @closedir(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/tmp35wyww78.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @contains_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @opendir(ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = call ptr @readdir(ptr noundef %10) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %22 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds %struct.dirent, ptr %15, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i64 @strcmp(i32 noundef %17, ptr noundef %18) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %14 store i32 1, ptr %3, align 4 br label %30 22: ; preds = %14 %23 = load ptr, ptr %6, align 8 %24 = call ptr @readdir(ptr noundef %23) store ptr %24, ptr %7, align 8 %25 = load ptr, ptr %7, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %2 %28 = load ptr, ptr %6, align 8 %29 = call i32 @closedir(ptr noundef %28) store i32 0, ptr %3, align 4 br label %30 30: ; preds = %27, %21 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_2f1pnyx.c' source_filename = "/tmp/tmp_2f1pnyx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Can not write to file!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setLed(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 @puts(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %18 17: ; preds = %2 store i32 0, ptr %3, align 4 br label %18 18: ; preds = %17, %15 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_2f1pnyx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Can not write to file!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setLed(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr %6, align 4 %13 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 @puts(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %18 17: ; preds = %2 store i32 0, ptr %3, align 4 br label %18 18: ; preds = %17, %15 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @strlen(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @puts(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/tmp5azsn1gy.c' source_filename = "/tmp/tmp5azsn1gy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"abc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @case_buf_cap() #0 { %1 = alloca ptr, align 8 %2 = call ptr @buf_new(ptr noundef @.str) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @buf_cap(ptr noundef %3) %5 = icmp eq i32 %4, 6 %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load ptr, ptr %1, align 8 %9 = call i32 @buf_puts(ptr noundef %8, ptr noundef @.str.1) %10 = load ptr, ptr %1, align 8 %11 = call i32 @buf_cap(ptr noundef %10) %12 = icmp eq i32 %11, 12 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load ptr, ptr %1, align 8 %16 = call i32 @buf_free(ptr noundef %15) ret void } declare ptr @buf_new(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @buf_cap(ptr noundef) #1 declare i32 @buf_puts(ptr noundef, ptr noundef) #1 declare i32 @buf_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5azsn1gy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"abcdef\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"abc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @case_buf_cap() #0 { %1 = alloca ptr, align 8 %2 = call ptr @buf_new(ptr noundef @.str) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @buf_cap(ptr noundef %3) %5 = icmp eq i32 %4, 6 %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load ptr, ptr %1, align 8 %9 = call i32 @buf_puts(ptr noundef %8, ptr noundef @.str.1) %10 = load ptr, ptr %1, align 8 %11 = call i32 @buf_cap(ptr noundef %10) %12 = icmp eq i32 %11, 12 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load ptr, ptr %1, align 8 %16 = call i32 @buf_free(ptr noundef %15) ret void } declare ptr @buf_new(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @buf_cap(ptr noundef) #1 declare i32 @buf_puts(ptr noundef, ptr noundef) #1 declare i32 @buf_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8stlzjn7.c' source_filename = "/tmp/tmp8stlzjn7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" :The a ^ b is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c" :The b ^ 0xFF is %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 255, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = xor i32 %3, 255 store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load i32, ptr %2, align 4 %8 = xor i32 %7, 255 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8stlzjn7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" :The a ^ b is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c" :The b ^ 0xFF is %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 255, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = xor i32 %3, 255 store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load i32, ptr %2, align 4 %8 = xor i32 %7, 255 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgolfs9l7.c' source_filename = "/tmp/tmpgolfs9l7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HDIAGF(i32 noundef %0, double noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca double, align 8 store i32 %0, ptr %3, align 4 store double %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = sub nsw i32 %5, 8 %7 = load double, ptr %4, align 8 %8 = call double @ECHF(i32 noundef %6, double noundef %7) ret double %8 } declare double @ECHF(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgolfs9l7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HDIAGF(i32 noundef %0, double noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca double, align 8 store i32 %0, ptr %3, align 4 store double %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = sub nsw i32 %5, 8 %7 = load double, ptr %4, align 8 %8 = call double @ECHF(i32 noundef %6, double noundef %7) ret double %8 } declare double @ECHF(i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo9ohh8cp.c' source_filename = "/tmp/tmpo9ohh8cp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_add_quaddobl_Laurent_term(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [2 x i32], align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load i32, ptr %6, align 4 %12 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %5, align 4 %14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 store i32 %13, ptr %14, align 4 %15 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %8, align 8 %18 = call i32 @_ada_use_c2phc4c(i32 noundef 566, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 0) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %10, align 4 ret i32 %19 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo9ohh8cp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_add_quaddobl_Laurent_term(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [2 x i32], align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load i32, ptr %6, align 4 %12 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %5, align 4 %14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 store i32 %13, ptr %14, align 4 %15 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %8, align 8 %18 = call i32 @_ada_use_c2phc4c(i32 noundef 566, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 0) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %10, align 4 ret i32 %19 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfsftn1u2.c' source_filename = "/tmp/tmpfsftn1u2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %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 i16 store i16 %30, ptr %9, align 2 %31 = load i16, ptr %9, align 2 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33 store i16 %31, ptr %34, align 2 %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 i16], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %42 = load i16, ptr %41, align 2 %43 = zext i16 %42 to i32 %44 = icmp eq i32 %43, 45510 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %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 = '<stdin>' source_filename = "/tmp/tmpfsftn1u2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %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 i16 store i16 %29, ptr %9, align 2 %30 = load i16, ptr %9, align 2 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32 store i16 %30, ptr %33, align 2 %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 i16], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %43 = load i16, ptr %42, align 2 %44 = zext i16 %43 to i32 %45 = icmp eq i32 %44, 45510 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } 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/tmpc2n6aktz.c' source_filename = "/tmp/tmpc2n6aktz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"hxllo\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"this is a\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"this is a test\00", align 1 @__const.callback.table = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr null], align 16 @.str.4 = private unnamed_addr constant [6 x i8] c"helll\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"helllo\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @callback(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [5 x ptr], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.callback.table, i64 40, i1 false) %7 = load ptr, ptr %2, align 8 %8 = call i32 @strcmp(ptr noundef %7, ptr noundef @.str.4) %9 = icmp ne i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = getelementptr inbounds [5 x ptr], ptr %3, i64 0, i64 0 store ptr @.str.5, ptr %11, align 16 br label %12 12: ; preds = %10, %1 store i32 1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %13 13: ; preds = %22, %12 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [5 x ptr], ptr %3, i64 0, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %25 19: ; preds = %13 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 br label %22 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %13, !llvm.loop !6 25: ; preds = %13 %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = mul i64 8, %27 %29 = trunc i64 %28 to i32 %30 = call ptr @malloc(i32 noundef %29) store ptr %30, ptr %6, align 8 store i32 0, ptr %5, align 4 br label %31 31: ; preds = %69, %25 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %72 35: ; preds = %31 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [5 x ptr], ptr %3, i64 0, i64 %37 %39 = load ptr, ptr %38, align 8 %40 = icmp ne ptr %39, null br i1 %40, label %41, label %63 41: ; preds = %35 %42 = load i32, ptr %5, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [5 x ptr], ptr %3, i64 0, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = call i32 @strlen(ptr noundef %45) %47 = add nsw i32 %46, 1 %48 = call ptr @malloc(i32 noundef %47) %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %5, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 store ptr %48, ptr %52, align 8 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr %5, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %53, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = load i32, ptr %5, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [5 x ptr], ptr %3, i64 0, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = call i32 @strcpy(ptr noundef %57, ptr noundef %61) br label %68 63: ; preds = %35 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %5, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 store ptr null, ptr %67, align 8 br label %68 68: ; preds = %63, %41 br label %69 69: ; preds = %68 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %5, align 4 br label %31, !llvm.loop !8 72: ; preds = %31 %73 = load ptr, ptr %6, align 8 ret ptr %73 } ; 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 @strcmp(ptr noundef, ptr noundef) #2 declare ptr @malloc(i32 noundef) #2 declare i32 @strlen(ptr 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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc2n6aktz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"hxllo\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"this is a\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"this is a test\00", align 1 @__const.callback.table = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr null], align 16 @.str.4 = private unnamed_addr constant [6 x i8] c"helll\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"helllo\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @callback(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [5 x ptr], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.callback.table, i64 40, i1 false) %7 = load ptr, ptr %2, align 8 %8 = call i32 @strcmp(ptr noundef %7, ptr noundef @.str.4) %9 = icmp ne i32 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %1 %11 = getelementptr inbounds [5 x ptr], ptr %3, i64 0, i64 0 store ptr @.str.5, ptr %11, align 16 br label %12 12: ; preds = %10, %1 store i32 1, ptr %4, align 4 store i32 0, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [5 x ptr], ptr %3, i64 0, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %.lr.ph, label %29 .lr.ph: ; preds = %12 br label %18 18: ; preds = %.lr.ph, %21 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %21 21: ; preds = %18 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [5 x ptr], ptr %3, i64 0, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %29 29: ; preds = %._crit_edge, %12 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = mul i64 8, %31 %33 = trunc i64 %32 to i32 %34 = call ptr @malloc(i32 noundef %33) store ptr %34, ptr %6, align 8 store i32 0, ptr %5, align 4 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph2, label %78 .lr.ph2: ; preds = %29 br label %38 38: ; preds = %.lr.ph2, %72 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [5 x ptr], ptr %3, i64 0, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %66 44: ; preds = %38 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [5 x ptr], ptr %3, i64 0, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = call i32 @strlen(ptr noundef %48) %50 = add nsw i32 %49, 1 %51 = call ptr @malloc(i32 noundef %50) %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %52, i64 %54 store ptr %51, ptr %55, align 8 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %5, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = load i32, ptr %5, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [5 x ptr], ptr %3, i64 0, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = call i32 @strcpy(ptr noundef %60, ptr noundef %64) br label %71 66: ; preds = %38 %67 = load ptr, ptr %6, align 8 %68 = load i32, ptr %5, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 store ptr null, ptr %70, align 8 br label %71 71: ; preds = %66, %44 br label %72 72: ; preds = %71 %73 = load i32, ptr %5, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %5, align 4 %75 = load i32, ptr %5, align 4 %76 = load i32, ptr %4, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %78 78: ; preds = %._crit_edge3, %29 %79 = load ptr, ptr %6, align 8 ret ptr %79 } ; 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 @strcmp(ptr noundef, ptr noundef) #2 declare ptr @malloc(i32 noundef) #2 declare i32 @strlen(ptr 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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkle0tl8f.c' source_filename = "/tmp/tmpkle0tl8f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%2d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @showAsFatBoard(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %37, %1 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 23 br i1 %7, label %8, label %40 8: ; preds = %5 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %15, %8 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %15 15: ; preds = %13 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 br label %9, !llvm.loop !6 18: ; preds = %9 store i32 0, ptr %4, align 4 br label %19 19: ; preds = %32, %18 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 23 br i1 %21, label %22, label %35 22: ; preds = %19 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %3, align 4 %25 = mul nsw i32 %24, 23 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %23, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30) br label %32 32: ; preds = %22 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 br label %19, !llvm.loop !8 35: ; preds = %19 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %37 37: ; preds = %35 %38 = load i32, ptr %3, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %3, align 4 br label %5, !llvm.loop !9 40: ; preds = %5 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkle0tl8f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%2d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @showAsFatBoard(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 23 br i1 %6, label %.lr.ph5, label %44 .lr.ph5: ; preds = %1 br label %7 7: ; preds = %.lr.ph5, %39 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %19 .lr.ph: ; preds = %7 br label %11 11: ; preds = %.lr.ph, %13 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %13 13: ; preds = %11 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %7 store i32 0, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %20, 23 br i1 %21, label %.lr.ph2, label %37 .lr.ph2: ; preds = %19 br label %22 22: ; preds = %.lr.ph2, %32 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %3, align 4 %25 = mul nsw i32 %24, 23 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %23, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30) br label %32 32: ; preds = %22 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp slt i32 %35, 23 br i1 %36, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %37 37: ; preds = %._crit_edge3, %19 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %39 39: ; preds = %37 %40 = load i32, ptr %3, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %3, align 4 %42 = load i32, ptr %3, align 4 %43 = icmp slt i32 %42, 23 br i1 %43, label %7, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %39 br label %44 44: ; preds = %._crit_edge6, %1 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpqnnjik08.c' source_filename = "/tmp/tmpqnnjik08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_hermitian_matrix_mean_value() %3 = call i32 (...) @test_hermitian_matrix_element() %4 = call i32 (...) @test_scalar_product_and_norm() %5 = call i32 (...) @test_multiply_by_hermitian_matrix() %6 = call i32 (...) @test_complex_matrix_element() %7 = call i32 (...) @test_copy_to_dynamic_array() %8 = call i32 (...) @test_diagonalize_hermitian_matrix() ret i32 0 } declare i32 @test_hermitian_matrix_mean_value(...) #1 declare i32 @test_hermitian_matrix_element(...) #1 declare i32 @test_scalar_product_and_norm(...) #1 declare i32 @test_multiply_by_hermitian_matrix(...) #1 declare i32 @test_complex_matrix_element(...) #1 declare i32 @test_copy_to_dynamic_array(...) #1 declare i32 @test_diagonalize_hermitian_matrix(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqnnjik08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_hermitian_matrix_mean_value() %3 = call i32 (...) @test_hermitian_matrix_element() %4 = call i32 (...) @test_scalar_product_and_norm() %5 = call i32 (...) @test_multiply_by_hermitian_matrix() %6 = call i32 (...) @test_complex_matrix_element() %7 = call i32 (...) @test_copy_to_dynamic_array() %8 = call i32 (...) @test_diagonalize_hermitian_matrix() ret i32 0 } declare i32 @test_hermitian_matrix_mean_value(...) #1 declare i32 @test_hermitian_matrix_element(...) #1 declare i32 @test_scalar_product_and_norm(...) #1 declare i32 @test_multiply_by_hermitian_matrix(...) #1 declare i32 @test_complex_matrix_element(...) #1 declare i32 @test_copy_to_dynamic_array(...) #1 declare i32 @test_diagonalize_hermitian_matrix(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprlyvtk2u.c' source_filename = "/tmp/tmprlyvtk2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sysfs_read_uevent_key_val(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store ptr null, ptr %10, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %13 = load ptr, ptr %4, align 8 %14 = call i32 @sysfs_read_uevents(ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %2 store ptr null, ptr %3, align 8 br label %79 18: ; preds = %2 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %42, %18 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %45 26: ; preds = %19 %27 = load ptr, ptr %10, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %6, align 8 %32 = load ptr, ptr %6, align 8 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %5, align 8 %35 = call i32 @strlen(ptr noundef %34) %36 = call i64 @strncmp(ptr noundef %32, ptr noundef %33, i32 noundef %35) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %26 %39 = load ptr, ptr %6, align 8 %40 = call ptr @strdup(ptr noundef %39) store ptr %40, ptr %7, align 8 br label %46 41: ; preds = %26 br label %42 42: ; preds = %41 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 br label %19, !llvm.loop !6 45: ; preds = %19 br label %46 46: ; preds = %45, %38 %47 = load ptr, ptr %10, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %67 49: ; preds = %46 br label %50 50: ; preds = %63, %49 %51 = load ptr, ptr %10, align 8 %52 = load ptr, ptr %51, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %54, label %66 54: ; preds = %50 %55 = load ptr, ptr %10, align 8 %56 = load ptr, ptr %55, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %62 58: ; preds = %54 %59 = load ptr, ptr %10, align 8 %60 = load ptr, ptr %59, align 8 %61 = call i32 @free(ptr noundef %60) br label %62 62: ; preds = %58, %54 br label %63 63: ; preds = %62 %64 = load ptr, ptr %10, align 8 %65 = getelementptr inbounds ptr, ptr %64, i32 1 store ptr %65, ptr %10, align 8 br label %50, !llvm.loop !8 66: ; preds = %50 br label %67 67: ; preds = %66, %46 %68 = load i32, ptr %9, align 4 %69 = icmp slt i32 %68, 0 br i1 %69, label %70, label %77 70: ; preds = %67 %71 = load ptr, ptr %7, align 8 %72 = icmp ne ptr %71, null br i1 %72, label %73, label %76 73: ; preds = %70 %74 = load ptr, ptr %7, align 8 %75 = call i32 @free(ptr noundef %74) br label %76 76: ; preds = %73, %70 store ptr null, ptr %3, align 8 br label %79 77: ; preds = %67 %78 = load ptr, ptr %7, align 8 store ptr %78, ptr %3, align 8 br label %79 79: ; preds = %77, %76, %17 %80 = load ptr, ptr %3, align 8 ret ptr %80 } declare i32 @sysfs_read_uevents(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strdup(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/tmprlyvtk2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sysfs_read_uevent_key_val(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store ptr null, ptr %10, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %13 = load ptr, ptr %4, align 8 %14 = call i32 @sysfs_read_uevents(ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %2 store ptr null, ptr %3, align 8 br label %86 18: ; preds = %2 store i32 0, ptr %8, align 4 %19 = load ptr, ptr %10, align 8 %20 = load i32, ptr %8, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %.lr.ph, label %50 .lr.ph: ; preds = %18 br label %25 25: ; preds = %.lr.ph, %41 %26 = load ptr, ptr %10, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 store ptr %30, ptr %6, align 8 %31 = load ptr, ptr %6, align 8 %32 = load ptr, ptr %5, align 8 %33 = load ptr, ptr %5, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = call i64 @strncmp(ptr noundef %31, ptr noundef %32, i32 noundef %34) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %25 %38 = load ptr, ptr %6, align 8 %39 = call ptr @strdup(ptr noundef %38) store ptr %39, ptr %7, align 8 br label %51 40: ; preds = %25 br label %41 41: ; preds = %40 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 %44 = load ptr, ptr %10, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %50 50: ; preds = %._crit_edge, %18 br label %51 51: ; preds = %50, %37 %52 = load ptr, ptr %10, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %54, label %74 54: ; preds = %51 %55 = load ptr, ptr %10, align 8 %56 = load ptr, ptr %55, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %.lr.ph2, label %73 .lr.ph2: ; preds = %54 br label %58 58: ; preds = %.lr.ph2, %67 %59 = load ptr, ptr %10, align 8 %60 = load ptr, ptr %59, align 8 %61 = icmp ne ptr %60, null br i1 %61, label %62, label %66 62: ; preds = %58 %63 = load ptr, ptr %10, align 8 %64 = load ptr, ptr %63, align 8 %65 = call i32 @free(ptr noundef %64) br label %66 66: ; preds = %62, %58 br label %67 67: ; preds = %66 %68 = load ptr, ptr %10, align 8 %69 = getelementptr inbounds ptr, ptr %68, i32 1 store ptr %69, ptr %10, align 8 %70 = load ptr, ptr %10, align 8 %71 = load ptr, ptr %70, align 8 %72 = icmp ne ptr %71, null br i1 %72, label %58, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %67 br label %73 73: ; preds = %._crit_edge3, %54 br label %74 74: ; preds = %73, %51 %75 = load i32, ptr %9, align 4 %76 = icmp slt i32 %75, 0 br i1 %76, label %77, label %84 77: ; preds = %74 %78 = load ptr, ptr %7, align 8 %79 = icmp ne ptr %78, null br i1 %79, label %80, label %83 80: ; preds = %77 %81 = load ptr, ptr %7, align 8 %82 = call i32 @free(ptr noundef %81) br label %83 83: ; preds = %80, %77 store ptr null, ptr %3, align 8 br label %86 84: ; preds = %74 %85 = load ptr, ptr %7, align 8 store ptr %85, ptr %3, align 8 br label %86 86: ; preds = %84, %83, %17 %87 = load ptr, ptr %3, align 8 ret ptr %87 } declare i32 @sysfs_read_uevents(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strdup(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/tmpav0_4zze.c' source_filename = "/tmp/tmpav0_4zze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CORTE_HASTE_MEMOIZADO(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %13 13: ; preds = %22, %2 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %17, label %25 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 store i32 -999999, ptr %21, align 4 br label %22 22: ; preds = %17 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 br label %13, !llvm.loop !6 25: ; preds = %13 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %4, align 4 %28 = load ptr, ptr %5, align 8 %29 = call i32 @CORTE_HASTE_MEMOIZADO_AUX(ptr noundef %26, i32 noundef %27, ptr noundef %28) ret i32 %29 } declare i64 @malloc(i32 noundef) #1 declare i32 @CORTE_HASTE_MEMOIZADO_AUX(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpav0_4zze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CORTE_HASTE_MEMOIZADO(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %5, align 8 store i32 0, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %21 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 store i32 -999999, ptr %20, align 4 br label %21 21: ; preds = %16 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %2 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %4, align 4 %30 = load ptr, ptr %5, align 8 %31 = call i32 @CORTE_HASTE_MEMOIZADO_AUX(ptr noundef %28, i32 noundef %29, ptr noundef %30) ret i32 %31 } declare i64 @malloc(i32 noundef) #1 declare i32 @CORTE_HASTE_MEMOIZADO_AUX(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4gn1doxq.c' source_filename = "/tmp/tmp4gn1doxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"/dev/mem_stkblk0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"No Device\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"ioctl error\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Memory stick Pro\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Memory stick\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"Unknown device\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr @O_RDWR, align 4 %5 = call i32 @open(ptr noundef @.str, i32 noundef %4, i32 noundef 0) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.1) %10 = load i32, ptr %3, align 4 %11 = call i32 @close(i32 noundef %10) store i32 0, ptr %1, align 4 br label %35 12: ; preds = %0 %13 = load i32, ptr %3, align 4 %14 = ptrtoint ptr %2 to i64 %15 = call i32 @ioctl(i32 noundef %13, i32 noundef 170, i64 noundef %14) %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %19 17: ; preds = %12 %18 = call i32 @printf(ptr noundef @.str.2) br label %19 19: ; preds = %17, %12 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, 1 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @printf(ptr noundef @.str.3) br label %32 24: ; preds = %19 %25 = load i32, ptr %2, align 4 %26 = icmp eq i32 %25, 2 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 @printf(ptr noundef @.str.4) br label %31 29: ; preds = %24 %30 = call i32 @printf(ptr noundef @.str.5) br label %31 31: ; preds = %29, %27 br label %32 32: ; preds = %31, %22 %33 = load i32, ptr %3, align 4 %34 = call i32 @close(i32 noundef %33) store i32 0, ptr %1, align 4 br label %35 35: ; preds = %32, %8 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4gn1doxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"/dev/mem_stkblk0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"No Device\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"ioctl error\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Memory stick Pro\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Memory stick\0A\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"Unknown device\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr @O_RDWR, align 4 %5 = call i32 @open(ptr noundef @.str, i32 noundef %4, i32 noundef 0) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.1) %10 = load i32, ptr %3, align 4 %11 = call i32 @close(i32 noundef %10) store i32 0, ptr %1, align 4 br label %35 12: ; preds = %0 %13 = load i32, ptr %3, align 4 %14 = ptrtoint ptr %2 to i64 %15 = call i32 @ioctl(i32 noundef %13, i32 noundef 170, i64 noundef %14) %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %19 17: ; preds = %12 %18 = call i32 @printf(ptr noundef @.str.2) br label %19 19: ; preds = %17, %12 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, 1 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @printf(ptr noundef @.str.3) br label %32 24: ; preds = %19 %25 = load i32, ptr %2, align 4 %26 = icmp eq i32 %25, 2 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 @printf(ptr noundef @.str.4) br label %31 29: ; preds = %24 %30 = call i32 @printf(ptr noundef @.str.5) br label %31 31: ; preds = %29, %27 br label %32 32: ; preds = %31, %22 %33 = load i32, ptr %3, align 4 %34 = call i32 @close(i32 noundef %33) store i32 0, ptr %1, align 4 br label %35 35: ; preds = %32, %8 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg8ez_ulv.c' source_filename = "/tmp/tmpg8ez_ulv.c" target datalayout = "e-m:e-p270: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/tmpg8ez_ulv.c" target datalayout = "e-m:e-p270: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/tmpk6kxj14t.c' source_filename = "/tmp/tmpk6kxj14t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Hello world\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @corta_string(ptr noundef %3) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5) ret i32 0 } declare ptr @corta_string(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk6kxj14t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"Hello world\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @corta_string(ptr noundef %3) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5) ret i32 0 } declare ptr @corta_string(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe32x9izz.c' source_filename = "/tmp/tmpe32x9izz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"%s -mno-cygwin 2>&1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Error: failed to run gcc\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"unrecognized\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"-mno-cygwin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_gcc_reject_mno_cygwin(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [1024 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %9 = load ptr, ptr %3, align 8 %10 = call i32 @snprintf(ptr noundef %8, i32 noundef 1024, ptr noundef @.str, ptr noundef %9) %11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %12 = call ptr @popen(ptr noundef %11, ptr noundef @.str.1) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %1 %16 = call i32 @printf(ptr noundef @.str.2) store i32 -1, ptr %2, align 4 br label %36 17: ; preds = %1 br label %18 18: ; preds = %32, %17 %19 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %20 = load ptr, ptr %4, align 8 %21 = call ptr @fgets(ptr noundef %19, i32 noundef 1024, ptr noundef %20) %22 = icmp ne ptr %21, null br i1 %22, label %23, label %33 23: ; preds = %18 %24 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %25 = call i64 @strstr(ptr noundef %24, ptr noundef @.str.3) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %23 %28 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %29 = call i64 @strstr(ptr noundef %28, ptr noundef @.str.4) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %27 store i32 1, ptr %2, align 4 br label %36 32: ; preds = %27, %23 br label %18, !llvm.loop !6 33: ; preds = %18 %34 = load ptr, ptr %4, align 8 %35 = call i32 @pclose(ptr noundef %34) store i32 0, ptr %2, align 4 br label %36 36: ; preds = %33, %31, %15 %37 = load i32, ptr %2, align 4 ret i32 %37 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @popen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare i32 @pclose(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/tmpe32x9izz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"%s -mno-cygwin 2>&1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Error: failed to run gcc\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"unrecognized\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"-mno-cygwin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_gcc_reject_mno_cygwin(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [1024 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %9 = load ptr, ptr %3, align 8 %10 = call i32 @snprintf(ptr noundef %8, i32 noundef 1024, ptr noundef @.str, ptr noundef %9) %11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %12 = call ptr @popen(ptr noundef %11, ptr noundef @.str.1) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %1 %16 = call i32 @printf(ptr noundef @.str.2) store i32 -1, ptr %2, align 4 br label %38 17: ; preds = %1 %18 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %19 = load ptr, ptr %4, align 8 %20 = call ptr @fgets(ptr noundef %18, i32 noundef 1024, ptr noundef %19) %21 = icmp ne ptr %20, null br i1 %21, label %.lr.ph, label %35 .lr.ph: ; preds = %17 br label %22 22: ; preds = %.lr.ph, %31 %23 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %24 = call i64 @strstr(ptr noundef %23, ptr noundef @.str.3) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %22 %27 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %28 = call i64 @strstr(ptr noundef %27, ptr noundef @.str.4) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %26 store i32 1, ptr %2, align 4 br label %38 31: ; preds = %26, %22 %32 = load ptr, ptr %4, align 8 %33 = call ptr @fgets(ptr noundef %18, i32 noundef 1024, ptr noundef %32) %34 = icmp ne ptr %33, null br i1 %34, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %35 35: ; preds = %._crit_edge, %17 %36 = load ptr, ptr %4, align 8 %37 = call i32 @pclose(ptr noundef %36) store i32 0, ptr %2, align 4 br label %38 38: ; preds = %35, %30, %15 %39 = load i32, ptr %2, align 4 ret i32 %39 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @popen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare i32 @pclose(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/tmpkqw00dbi.c' source_filename = "/tmp/tmpkqw00dbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %3 = call i32 (...) @criar_threads_de_qualquer_forma() %4 = call i32 @sleep(i32 noundef 1) %5 = call i32 @criar_threads_de_forma_ordenada(ptr noundef %2) ret i32 0 } declare i32 @criar_threads_de_qualquer_forma(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @criar_threads_de_forma_ordenada(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/tmpkqw00dbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %3 = call i32 (...) @criar_threads_de_qualquer_forma() %4 = call i32 @sleep(i32 noundef 1) %5 = call i32 @criar_threads_de_forma_ordenada(ptr noundef %2) ret i32 0 } declare i32 @criar_threads_de_qualquer_forma(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @criar_threads_de_forma_ordenada(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/tmpjrq7jc76.c' source_filename = "/tmp/tmpjrq7jc76.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [27 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16 @.str = private unnamed_addr constant [27 x i8] c"%c result is %d ------ %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [27 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.a, i64 27, i1 false) store i32 0, ptr %2, align 4 br label %4 4: ; preds = %24, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 26 br i1 %6, label %7, label %27 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %9 %11 = load i8, ptr %10, align 1 %12 = load i32, ptr %2, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %13 %15 = load i8, ptr %14, align 1 %16 = call i32 @lower(i8 noundef signext %15) %17 = load i32, ptr %2, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %18 %20 = load i8, ptr %19, align 1 %21 = call i32 @lower(i8 noundef signext %20) %22 = trunc i32 %21 to i8 %23 = call i32 @printf(ptr noundef @.str, i8 noundef signext %11, i32 noundef %16, i8 noundef signext %22) br label %24 24: ; preds = %7 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %2, align 4 br label %4, !llvm.loop !6 27: ; preds = %4 %28 = load i32, ptr %1, align 4 ret i32 %28 } ; 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, i8 noundef signext, i32 noundef, i8 noundef signext) #2 declare i32 @lower(i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpjrq7jc76.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [27 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16 @.str = private unnamed_addr constant [27 x i8] c"%c result is %d ------ %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [27 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.a, i64 27, i1 false) store i32 0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 26 br i1 %5, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %23 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %8 %10 = load i8, ptr %9, align 1 %11 = load i32, ptr %2, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call i32 @lower(i8 noundef signext %14) %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [27 x i8], ptr %3, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = call i32 @lower(i8 noundef signext %19) %21 = trunc i32 %20 to i8 %22 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10, i32 noundef %15, i8 noundef signext %21) br label %23 23: ; preds = %6 %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %26, 26 br i1 %27, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %0 %29 = load i32, ptr %1, align 4 ret i32 %29 } ; 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, i8 noundef signext, i32 noundef, i8 noundef signext) #2 declare i32 @lower(i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpct12mydn.c' source_filename = "/tmp/tmpct12mydn.c" target datalayout = "e-m:e-p270: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/tmpct12mydn.c" target datalayout = "e-m:e-p270: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/tmpglq7qi_u.c' source_filename = "/tmp/tmpglq7qi_u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toml_utf8_to_ucs(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %8, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %8, align 8 %19 = load i8, ptr %17, align 1 %20 = zext i8 %19 to i32 store i32 %20, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = lshr i32 %21, 7 %23 = icmp eq i32 0, %22 br i1 %23, label %24, label %32 24: ; preds = %3 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %25, 1 br i1 %26, label %27, label %28 27: ; preds = %24 store i32 -1, ptr %4, align 4 br label %238 28: ; preds = %24 %29 = load i32, ptr %9, align 4 store i32 %29, ptr %10, align 4 %30 = load i32, ptr %10, align 4 %31 = load ptr, ptr %7, align 8 store i32 %30, ptr %31, align 4 store i32 1, ptr %4, align 4 br label %238 32: ; preds = %3 %33 = load i32, ptr %9, align 4 %34 = lshr i32 %33, 5 %35 = icmp eq i32 6, %34 br i1 %35, label %36, label %73 36: ; preds = %32 %37 = load i32, ptr %6, align 4 %38 = icmp slt i32 %37, 2 br i1 %38, label %39, label %40 39: ; preds = %36 store i32 -1, ptr %4, align 4 br label %238 40: ; preds = %36 %41 = load i32, ptr %9, align 4 %42 = and i32 %41, 31 store i32 %42, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %43 43: ; preds = %61, %40 %44 = load i32, ptr %11, align 4 %45 = icmp slt i32 %44, 1 br i1 %45, label %46, label %64 46: ; preds = %43 %47 = load ptr, ptr %8, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %8, align 8 %49 = load i8, ptr %47, align 1 %50 = zext i8 %49 to i32 store i32 %50, ptr %9, align 4 %51 = load i32, ptr %9, align 4 %52 = lshr i32 %51, 6 %53 = icmp ne i32 2, %52 br i1 %53, label %54, label %55 54: ; preds = %46 store i32 -1, ptr %4, align 4 br label %238 55: ; preds = %46 %56 = load i32, ptr %10, align 4 %57 = shl i32 %56, 6 %58 = load i32, ptr %9, align 4 %59 = and i32 %58, 63 %60 = or i32 %57, %59 store i32 %60, ptr %10, align 4 br label %61 61: ; preds = %55 %62 = load i32, ptr %11, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %11, align 4 br label %43, !llvm.loop !6 64: ; preds = %43 %65 = load i32, ptr %10, align 4 %66 = load ptr, ptr %7, align 8 store i32 %65, ptr %66, align 4 %67 = load ptr, ptr %8, align 8 %68 = load ptr, ptr %5, align 8 %69 = ptrtoint ptr %67 to i64 %70 = ptrtoint ptr %68 to i64 %71 = sub i64 %69, %70 %72 = trunc i64 %71 to i32 store i32 %72, ptr %4, align 4 br label %238 73: ; preds = %32 %74 = load i32, ptr %9, align 4 %75 = lshr i32 %74, 4 %76 = icmp eq i32 14, %75 br i1 %76, label %77, label %114 77: ; preds = %73 %78 = load i32, ptr %6, align 4 %79 = icmp slt i32 %78, 3 br i1 %79, label %80, label %81 80: ; preds = %77 store i32 -1, ptr %4, align 4 br label %238 81: ; preds = %77 %82 = load i32, ptr %9, align 4 %83 = and i32 %82, 15 store i32 %83, ptr %10, align 4 store i32 0, ptr %12, align 4 br label %84 84: ; preds = %102, %81 %85 = load i32, ptr %12, align 4 %86 = icmp slt i32 %85, 2 br i1 %86, label %87, label %105 87: ; preds = %84 %88 = load ptr, ptr %8, align 8 %89 = getelementptr inbounds i8, ptr %88, i32 1 store ptr %89, ptr %8, align 8 %90 = load i8, ptr %88, align 1 %91 = zext i8 %90 to i32 store i32 %91, ptr %9, align 4 %92 = load i32, ptr %9, align 4 %93 = lshr i32 %92, 6 %94 = icmp ne i32 2, %93 br i1 %94, label %95, label %96 95: ; preds = %87 store i32 -1, ptr %4, align 4 br label %238 96: ; preds = %87 %97 = load i32, ptr %10, align 4 %98 = shl i32 %97, 6 %99 = load i32, ptr %9, align 4 %100 = and i32 %99, 63 %101 = or i32 %98, %100 store i32 %101, ptr %10, align 4 br label %102 102: ; preds = %96 %103 = load i32, ptr %12, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %12, align 4 br label %84, !llvm.loop !8 105: ; preds = %84 %106 = load i32, ptr %10, align 4 %107 = load ptr, ptr %7, align 8 store i32 %106, ptr %107, align 4 %108 = load ptr, ptr %8, align 8 %109 = load ptr, ptr %5, align 8 %110 = ptrtoint ptr %108 to i64 %111 = ptrtoint ptr %109 to i64 %112 = sub i64 %110, %111 %113 = trunc i64 %112 to i32 store i32 %113, ptr %4, align 4 br label %238 114: ; preds = %73 %115 = load i32, ptr %9, align 4 %116 = lshr i32 %115, 3 %117 = icmp eq i32 30, %116 br i1 %117, label %118, label %155 118: ; preds = %114 %119 = load i32, ptr %6, align 4 %120 = icmp slt i32 %119, 4 br i1 %120, label %121, label %122 121: ; preds = %118 store i32 -1, ptr %4, align 4 br label %238 122: ; preds = %118 %123 = load i32, ptr %9, align 4 %124 = and i32 %123, 7 store i32 %124, ptr %10, align 4 store i32 0, ptr %13, align 4 br label %125 125: ; preds = %143, %122 %126 = load i32, ptr %13, align 4 %127 = icmp slt i32 %126, 3 br i1 %127, label %128, label %146 128: ; preds = %125 %129 = load ptr, ptr %8, align 8 %130 = getelementptr inbounds i8, ptr %129, i32 1 store ptr %130, ptr %8, align 8 %131 = load i8, ptr %129, align 1 %132 = zext i8 %131 to i32 store i32 %132, ptr %9, align 4 %133 = load i32, ptr %9, align 4 %134 = lshr i32 %133, 6 %135 = icmp ne i32 2, %134 br i1 %135, label %136, label %137 136: ; preds = %128 store i32 -1, ptr %4, align 4 br label %238 137: ; preds = %128 %138 = load i32, ptr %10, align 4 %139 = shl i32 %138, 6 %140 = load i32, ptr %9, align 4 %141 = and i32 %140, 63 %142 = or i32 %139, %141 store i32 %142, ptr %10, align 4 br label %143 143: ; preds = %137 %144 = load i32, ptr %13, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %13, align 4 br label %125, !llvm.loop !9 146: ; preds = %125 %147 = load i32, ptr %10, align 4 %148 = load ptr, ptr %7, align 8 store i32 %147, ptr %148, align 4 %149 = load ptr, ptr %8, align 8 %150 = load ptr, ptr %5, align 8 %151 = ptrtoint ptr %149 to i64 %152 = ptrtoint ptr %150 to i64 %153 = sub i64 %151, %152 %154 = trunc i64 %153 to i32 store i32 %154, ptr %4, align 4 br label %238 155: ; preds = %114 %156 = load i32, ptr %9, align 4 %157 = lshr i32 %156, 2 %158 = icmp eq i32 62, %157 br i1 %158, label %159, label %196 159: ; preds = %155 %160 = load i32, ptr %6, align 4 %161 = icmp slt i32 %160, 5 br i1 %161, label %162, label %163 162: ; preds = %159 store i32 -1, ptr %4, align 4 br label %238 163: ; preds = %159 %164 = load i32, ptr %9, align 4 %165 = and i32 %164, 3 store i32 %165, ptr %10, align 4 store i32 0, ptr %14, align 4 br label %166 166: ; preds = %184, %163 %167 = load i32, ptr %14, align 4 %168 = icmp slt i32 %167, 4 br i1 %168, label %169, label %187 169: ; preds = %166 %170 = load ptr, ptr %8, align 8 %171 = getelementptr inbounds i8, ptr %170, i32 1 store ptr %171, ptr %8, align 8 %172 = load i8, ptr %170, align 1 %173 = zext i8 %172 to i32 store i32 %173, ptr %9, align 4 %174 = load i32, ptr %9, align 4 %175 = lshr i32 %174, 6 %176 = icmp ne i32 2, %175 br i1 %176, label %177, label %178 177: ; preds = %169 store i32 -1, ptr %4, align 4 br label %238 178: ; preds = %169 %179 = load i32, ptr %10, align 4 %180 = shl i32 %179, 6 %181 = load i32, ptr %9, align 4 %182 = and i32 %181, 63 %183 = or i32 %180, %182 store i32 %183, ptr %10, align 4 br label %184 184: ; preds = %178 %185 = load i32, ptr %14, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %14, align 4 br label %166, !llvm.loop !10 187: ; preds = %166 %188 = load i32, ptr %10, align 4 %189 = load ptr, ptr %7, align 8 store i32 %188, ptr %189, align 4 %190 = load ptr, ptr %8, align 8 %191 = load ptr, ptr %5, align 8 %192 = ptrtoint ptr %190 to i64 %193 = ptrtoint ptr %191 to i64 %194 = sub i64 %192, %193 %195 = trunc i64 %194 to i32 store i32 %195, ptr %4, align 4 br label %238 196: ; preds = %155 %197 = load i32, ptr %9, align 4 %198 = lshr i32 %197, 1 %199 = icmp eq i32 126, %198 br i1 %199, label %200, label %237 200: ; preds = %196 %201 = load i32, ptr %6, align 4 %202 = icmp slt i32 %201, 6 br i1 %202, label %203, label %204 203: ; preds = %200 store i32 -1, ptr %4, align 4 br label %238 204: ; preds = %200 %205 = load i32, ptr %9, align 4 %206 = and i32 %205, 1 store i32 %206, ptr %10, align 4 store i32 0, ptr %15, align 4 br label %207 207: ; preds = %225, %204 %208 = load i32, ptr %15, align 4 %209 = icmp slt i32 %208, 5 br i1 %209, label %210, label %228 210: ; preds = %207 %211 = load ptr, ptr %8, align 8 %212 = getelementptr inbounds i8, ptr %211, i32 1 store ptr %212, ptr %8, align 8 %213 = load i8, ptr %211, align 1 %214 = zext i8 %213 to i32 store i32 %214, ptr %9, align 4 %215 = load i32, ptr %9, align 4 %216 = lshr i32 %215, 6 %217 = icmp ne i32 2, %216 br i1 %217, label %218, label %219 218: ; preds = %210 store i32 -1, ptr %4, align 4 br label %238 219: ; preds = %210 %220 = load i32, ptr %10, align 4 %221 = shl i32 %220, 6 %222 = load i32, ptr %9, align 4 %223 = and i32 %222, 63 %224 = or i32 %221, %223 store i32 %224, ptr %10, align 4 br label %225 225: ; preds = %219 %226 = load i32, ptr %15, align 4 %227 = add nsw i32 %226, 1 store i32 %227, ptr %15, align 4 br label %207, !llvm.loop !11 228: ; preds = %207 %229 = load i32, ptr %10, align 4 %230 = load ptr, ptr %7, align 8 store i32 %229, ptr %230, align 4 %231 = load ptr, ptr %8, align 8 %232 = load ptr, ptr %5, align 8 %233 = ptrtoint ptr %231 to i64 %234 = ptrtoint ptr %232 to i64 %235 = sub i64 %233, %234 %236 = trunc i64 %235 to i32 store i32 %236, ptr %4, align 4 br label %238 237: ; preds = %196 store i32 -1, ptr %4, align 4 br label %238 238: ; preds = %237, %228, %218, %203, %187, %177, %162, %146, %136, %121, %105, %95, %80, %64, %54, %39, %28, %27 %239 = load i32, ptr %4, align 4 ret i32 %239 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpglq7qi_u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toml_utf8_to_ucs(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %8, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %8, align 8 %19 = load i8, ptr %17, align 1 %20 = zext i8 %19 to i32 store i32 %20, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = lshr i32 %21, 7 %23 = icmp eq i32 0, %22 br i1 %23, label %24, label %32 24: ; preds = %3 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %25, 1 br i1 %26, label %27, label %28 27: ; preds = %24 store i32 -1, ptr %4, align 4 br label %243 28: ; preds = %24 %29 = load i32, ptr %9, align 4 store i32 %29, ptr %10, align 4 %30 = load i32, ptr %10, align 4 %31 = load ptr, ptr %7, align 8 store i32 %30, ptr %31, align 4 store i32 1, ptr %4, align 4 br label %243 32: ; preds = %3 %33 = load i32, ptr %9, align 4 %34 = lshr i32 %33, 5 %35 = icmp eq i32 6, %34 br i1 %35, label %36, label %74 36: ; preds = %32 %37 = load i32, ptr %6, align 4 %38 = icmp slt i32 %37, 2 br i1 %38, label %39, label %40 39: ; preds = %36 store i32 -1, ptr %4, align 4 br label %243 40: ; preds = %36 %41 = load i32, ptr %9, align 4 %42 = and i32 %41, 31 store i32 %42, ptr %10, align 4 store i32 0, ptr %11, align 4 %43 = load i32, ptr %11, align 4 %44 = icmp slt i32 %43, 1 br i1 %44, label %.lr.ph11, label %65 .lr.ph11: ; preds = %40 br label %45 45: ; preds = %.lr.ph11, %60 %46 = load ptr, ptr %8, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %8, align 8 %48 = load i8, ptr %46, align 1 %49 = zext i8 %48 to i32 store i32 %49, ptr %9, align 4 %50 = load i32, ptr %9, align 4 %51 = lshr i32 %50, 6 %52 = icmp ne i32 2, %51 br i1 %52, label %53, label %54 53: ; preds = %45 store i32 -1, ptr %4, align 4 br label %243 54: ; preds = %45 %55 = load i32, ptr %10, align 4 %56 = shl i32 %55, 6 %57 = load i32, ptr %9, align 4 %58 = and i32 %57, 63 %59 = or i32 %56, %58 store i32 %59, ptr %10, align 4 br label %60 60: ; preds = %54 %61 = load i32, ptr %11, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %11, align 4 %63 = load i32, ptr %11, align 4 %64 = icmp slt i32 %63, 1 br i1 %64, label %45, label %._crit_edge12, !llvm.loop !6 ._crit_edge12: ; preds = %60 br label %65 65: ; preds = %._crit_edge12, %40 %66 = load i32, ptr %10, align 4 %67 = load ptr, ptr %7, align 8 store i32 %66, ptr %67, align 4 %68 = load ptr, ptr %8, align 8 %69 = load ptr, ptr %5, align 8 %70 = ptrtoint ptr %68 to i64 %71 = ptrtoint ptr %69 to i64 %72 = sub i64 %70, %71 %73 = trunc i64 %72 to i32 store i32 %73, ptr %4, align 4 br label %243 74: ; preds = %32 %75 = load i32, ptr %9, align 4 %76 = lshr i32 %75, 4 %77 = icmp eq i32 14, %76 br i1 %77, label %78, label %116 78: ; preds = %74 %79 = load i32, ptr %6, align 4 %80 = icmp slt i32 %79, 3 br i1 %80, label %81, label %82 81: ; preds = %78 store i32 -1, ptr %4, align 4 br label %243 82: ; preds = %78 %83 = load i32, ptr %9, align 4 %84 = and i32 %83, 15 store i32 %84, ptr %10, align 4 store i32 0, ptr %12, align 4 %85 = load i32, ptr %12, align 4 %86 = icmp slt i32 %85, 2 br i1 %86, label %.lr.ph8, label %107 .lr.ph8: ; preds = %82 br label %87 87: ; preds = %.lr.ph8, %102 %88 = load ptr, ptr %8, align 8 %89 = getelementptr inbounds i8, ptr %88, i32 1 store ptr %89, ptr %8, align 8 %90 = load i8, ptr %88, align 1 %91 = zext i8 %90 to i32 store i32 %91, ptr %9, align 4 %92 = load i32, ptr %9, align 4 %93 = lshr i32 %92, 6 %94 = icmp ne i32 2, %93 br i1 %94, label %95, label %96 95: ; preds = %87 store i32 -1, ptr %4, align 4 br label %243 96: ; preds = %87 %97 = load i32, ptr %10, align 4 %98 = shl i32 %97, 6 %99 = load i32, ptr %9, align 4 %100 = and i32 %99, 63 %101 = or i32 %98, %100 store i32 %101, ptr %10, align 4 br label %102 102: ; preds = %96 %103 = load i32, ptr %12, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %12, align 4 %105 = load i32, ptr %12, align 4 %106 = icmp slt i32 %105, 2 br i1 %106, label %87, label %._crit_edge9, !llvm.loop !8 ._crit_edge9: ; preds = %102 br label %107 107: ; preds = %._crit_edge9, %82 %108 = load i32, ptr %10, align 4 %109 = load ptr, ptr %7, align 8 store i32 %108, ptr %109, align 4 %110 = load ptr, ptr %8, align 8 %111 = load ptr, ptr %5, align 8 %112 = ptrtoint ptr %110 to i64 %113 = ptrtoint ptr %111 to i64 %114 = sub i64 %112, %113 %115 = trunc i64 %114 to i32 store i32 %115, ptr %4, align 4 br label %243 116: ; preds = %74 %117 = load i32, ptr %9, align 4 %118 = lshr i32 %117, 3 %119 = icmp eq i32 30, %118 br i1 %119, label %120, label %158 120: ; preds = %116 %121 = load i32, ptr %6, align 4 %122 = icmp slt i32 %121, 4 br i1 %122, label %123, label %124 123: ; preds = %120 store i32 -1, ptr %4, align 4 br label %243 124: ; preds = %120 %125 = load i32, ptr %9, align 4 %126 = and i32 %125, 7 store i32 %126, ptr %10, align 4 store i32 0, ptr %13, align 4 %127 = load i32, ptr %13, align 4 %128 = icmp slt i32 %127, 3 br i1 %128, label %.lr.ph5, label %149 .lr.ph5: ; preds = %124 br label %129 129: ; preds = %.lr.ph5, %144 %130 = load ptr, ptr %8, align 8 %131 = getelementptr inbounds i8, ptr %130, i32 1 store ptr %131, ptr %8, align 8 %132 = load i8, ptr %130, align 1 %133 = zext i8 %132 to i32 store i32 %133, ptr %9, align 4 %134 = load i32, ptr %9, align 4 %135 = lshr i32 %134, 6 %136 = icmp ne i32 2, %135 br i1 %136, label %137, label %138 137: ; preds = %129 store i32 -1, ptr %4, align 4 br label %243 138: ; preds = %129 %139 = load i32, ptr %10, align 4 %140 = shl i32 %139, 6 %141 = load i32, ptr %9, align 4 %142 = and i32 %141, 63 %143 = or i32 %140, %142 store i32 %143, ptr %10, align 4 br label %144 144: ; preds = %138 %145 = load i32, ptr %13, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %13, align 4 %147 = load i32, ptr %13, align 4 %148 = icmp slt i32 %147, 3 br i1 %148, label %129, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %144 br label %149 149: ; preds = %._crit_edge6, %124 %150 = load i32, ptr %10, align 4 %151 = load ptr, ptr %7, align 8 store i32 %150, ptr %151, align 4 %152 = load ptr, ptr %8, align 8 %153 = load ptr, ptr %5, align 8 %154 = ptrtoint ptr %152 to i64 %155 = ptrtoint ptr %153 to i64 %156 = sub i64 %154, %155 %157 = trunc i64 %156 to i32 store i32 %157, ptr %4, align 4 br label %243 158: ; preds = %116 %159 = load i32, ptr %9, align 4 %160 = lshr i32 %159, 2 %161 = icmp eq i32 62, %160 br i1 %161, label %162, label %200 162: ; preds = %158 %163 = load i32, ptr %6, align 4 %164 = icmp slt i32 %163, 5 br i1 %164, label %165, label %166 165: ; preds = %162 store i32 -1, ptr %4, align 4 br label %243 166: ; preds = %162 %167 = load i32, ptr %9, align 4 %168 = and i32 %167, 3 store i32 %168, ptr %10, align 4 store i32 0, ptr %14, align 4 %169 = load i32, ptr %14, align 4 %170 = icmp slt i32 %169, 4 br i1 %170, label %.lr.ph2, label %191 .lr.ph2: ; preds = %166 br label %171 171: ; preds = %.lr.ph2, %186 %172 = load ptr, ptr %8, align 8 %173 = getelementptr inbounds i8, ptr %172, i32 1 store ptr %173, ptr %8, align 8 %174 = load i8, ptr %172, align 1 %175 = zext i8 %174 to i32 store i32 %175, ptr %9, align 4 %176 = load i32, ptr %9, align 4 %177 = lshr i32 %176, 6 %178 = icmp ne i32 2, %177 br i1 %178, label %179, label %180 179: ; preds = %171 store i32 -1, ptr %4, align 4 br label %243 180: ; preds = %171 %181 = load i32, ptr %10, align 4 %182 = shl i32 %181, 6 %183 = load i32, ptr %9, align 4 %184 = and i32 %183, 63 %185 = or i32 %182, %184 store i32 %185, ptr %10, align 4 br label %186 186: ; preds = %180 %187 = load i32, ptr %14, align 4 %188 = add nsw i32 %187, 1 store i32 %188, ptr %14, align 4 %189 = load i32, ptr %14, align 4 %190 = icmp slt i32 %189, 4 br i1 %190, label %171, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %186 br label %191 191: ; preds = %._crit_edge3, %166 %192 = load i32, ptr %10, align 4 %193 = load ptr, ptr %7, align 8 store i32 %192, ptr %193, align 4 %194 = load ptr, ptr %8, align 8 %195 = load ptr, ptr %5, align 8 %196 = ptrtoint ptr %194 to i64 %197 = ptrtoint ptr %195 to i64 %198 = sub i64 %196, %197 %199 = trunc i64 %198 to i32 store i32 %199, ptr %4, align 4 br label %243 200: ; preds = %158 %201 = load i32, ptr %9, align 4 %202 = lshr i32 %201, 1 %203 = icmp eq i32 126, %202 br i1 %203, label %204, label %242 204: ; preds = %200 %205 = load i32, ptr %6, align 4 %206 = icmp slt i32 %205, 6 br i1 %206, label %207, label %208 207: ; preds = %204 store i32 -1, ptr %4, align 4 br label %243 208: ; preds = %204 %209 = load i32, ptr %9, align 4 %210 = and i32 %209, 1 store i32 %210, ptr %10, align 4 store i32 0, ptr %15, align 4 %211 = load i32, ptr %15, align 4 %212 = icmp slt i32 %211, 5 br i1 %212, label %.lr.ph, label %233 .lr.ph: ; preds = %208 br label %213 213: ; preds = %.lr.ph, %228 %214 = load ptr, ptr %8, align 8 %215 = getelementptr inbounds i8, ptr %214, i32 1 store ptr %215, ptr %8, align 8 %216 = load i8, ptr %214, align 1 %217 = zext i8 %216 to i32 store i32 %217, ptr %9, align 4 %218 = load i32, ptr %9, align 4 %219 = lshr i32 %218, 6 %220 = icmp ne i32 2, %219 br i1 %220, label %221, label %222 221: ; preds = %213 store i32 -1, ptr %4, align 4 br label %243 222: ; preds = %213 %223 = load i32, ptr %10, align 4 %224 = shl i32 %223, 6 %225 = load i32, ptr %9, align 4 %226 = and i32 %225, 63 %227 = or i32 %224, %226 store i32 %227, ptr %10, align 4 br label %228 228: ; preds = %222 %229 = load i32, ptr %15, align 4 %230 = add nsw i32 %229, 1 store i32 %230, ptr %15, align 4 %231 = load i32, ptr %15, align 4 %232 = icmp slt i32 %231, 5 br i1 %232, label %213, label %._crit_edge, !llvm.loop !11 ._crit_edge: ; preds = %228 br label %233 233: ; preds = %._crit_edge, %208 %234 = load i32, ptr %10, align 4 %235 = load ptr, ptr %7, align 8 store i32 %234, ptr %235, align 4 %236 = load ptr, ptr %8, align 8 %237 = load ptr, ptr %5, align 8 %238 = ptrtoint ptr %236 to i64 %239 = ptrtoint ptr %237 to i64 %240 = sub i64 %238, %239 %241 = trunc i64 %240 to i32 store i32 %241, ptr %4, align 4 br label %243 242: ; preds = %200 store i32 -1, ptr %4, align 4 br label %243 243: ; preds = %242, %233, %221, %207, %191, %179, %165, %149, %137, %123, %107, %95, %81, %65, %53, %39, %28, %27 %244 = load i32, ptr %4, align 4 ret i32 %244 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpsl52n3u6.c' source_filename = "/tmp/tmpsl52n3u6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Enter a string, please.\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"Your string twice (puts(), then fputs()):\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [30 x i8] c"Enter another string, please.\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Done.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [14 x i8], align 1 store i32 0, ptr %1, align 4 %3 = call i32 @puts(ptr noundef @.str) %4 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0 %5 = load i32, ptr @stdin, align 4 %6 = call i32 @fgets(ptr noundef %4, i32 noundef 14, i32 noundef %5) %7 = call i32 @puts(ptr noundef @.str.1) %8 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @puts(ptr noundef %8) %10 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0 %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fputs(ptr noundef %10, i32 noundef %11) %13 = call i32 @puts(ptr noundef @.str.2) %14 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0 %15 = load i32, ptr @stdin, align 4 %16 = call i32 @fgets(ptr noundef %14, i32 noundef 14, i32 noundef %15) %17 = call i32 @puts(ptr noundef @.str.1) %18 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0 %19 = call i32 @puts(ptr noundef %18) %20 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0 %21 = load i32, ptr @stdout, align 4 %22 = call i32 @fputs(ptr noundef %20, i32 noundef %21) %23 = call i32 @puts(ptr noundef @.str.3) ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsl52n3u6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Enter a string, please.\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"Your string twice (puts(), then fputs()):\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [30 x i8] c"Enter another string, please.\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Done.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [14 x i8], align 1 store i32 0, ptr %1, align 4 %3 = call i32 @puts(ptr noundef @.str) %4 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0 %5 = load i32, ptr @stdin, align 4 %6 = call i32 @fgets(ptr noundef %4, i32 noundef 14, i32 noundef %5) %7 = call i32 @puts(ptr noundef @.str.1) %8 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @puts(ptr noundef %8) %10 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0 %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fputs(ptr noundef %10, i32 noundef %11) %13 = call i32 @puts(ptr noundef @.str.2) %14 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0 %15 = load i32, ptr @stdin, align 4 %16 = call i32 @fgets(ptr noundef %14, i32 noundef 14, i32 noundef %15) %17 = call i32 @puts(ptr noundef @.str.1) %18 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0 %19 = call i32 @puts(ptr noundef %18) %20 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0 %21 = load i32, ptr @stdout, align 4 %22 = call i32 @fputs(ptr noundef %20, i32 noundef %21) %23 = call i32 @puts(ptr noundef @.str.3) ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3omhutw9.c' source_filename = "/tmp/tmp3omhutw9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pandg_for(ptr noundef %0, ptr noundef %1, float noundef %2, float noundef %3, float noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store float %2, ptr %8, align 4 store float %3, ptr %9, align 4 store float %4, ptr %10, align 4 %15 = load ptr, ptr %6, align 8 %16 = load float, ptr %15, align 4 %17 = fpext float %16 to double %18 = fmul double 0x3F91DF46A1FAE712, %17 %19 = fptrunc double %18 to float store float %19, ptr %11, align 4 %20 = load ptr, ptr %7, align 8 %21 = load float, ptr %20, align 4 %22 = fpext float %21 to double %23 = fmul double 0xBF91DF46A1FAE712, %22 %24 = fptrunc double %23 to float store float %24, ptr %12, align 4 %25 = load float, ptr %8, align 4 %26 = call i32 @sin(float noundef %25) %27 = load float, ptr %11, align 4 %28 = call i32 @sin(float noundef %27) %29 = mul nsw i32 %26, %28 %30 = load float, ptr %8, align 4 %31 = call i32 @cos(float noundef %30) %32 = load float, ptr %11, align 4 %33 = call i32 @cos(float noundef %32) %34 = mul nsw i32 %31, %33 %35 = load float, ptr %12, align 4 %36 = load float, ptr %9, align 4 %37 = fadd float %35, %36 %38 = call i32 @cos(float noundef %37) %39 = mul nsw i32 %34, %38 %40 = add nsw i32 %29, %39 %41 = call double @asin(i32 noundef %40) %42 = fptrunc double %41 to float store float %42, ptr %13, align 4 %43 = load float, ptr %10, align 4 %44 = fpext float %43 to double %45 = load float, ptr %11, align 4 %46 = call i32 @cos(float noundef %45) %47 = load float, ptr %12, align 4 %48 = load float, ptr %9, align 4 %49 = fadd float %47, %48 %50 = call i32 @sin(float noundef %49) %51 = mul nsw i32 %46, %50 %52 = load float, ptr %8, align 4 %53 = call i32 @sin(float noundef %52) %54 = load float, ptr %11, align 4 %55 = call i32 @cos(float noundef %54) %56 = mul nsw i32 %53, %55 %57 = load float, ptr %12, align 4 %58 = load float, ptr %9, align 4 %59 = fadd float %57, %58 %60 = call i32 @cos(float noundef %59) %61 = mul nsw i32 %56, %60 %62 = load float, ptr %8, align 4 %63 = call i32 @cos(float noundef %62) %64 = load float, ptr %11, align 4 %65 = call i32 @sin(float noundef %64) %66 = mul nsw i32 %63, %65 %67 = sub nsw i32 %61, %66 %68 = call double @atan2(i32 noundef %51, i32 noundef %67) %69 = fadd double %44, %68 %70 = fptrunc double %69 to float store float %70, ptr %14, align 4 %71 = load float, ptr %13, align 4 %72 = call i32 @cos(float noundef %71) %73 = sub nsw i32 0, %72 %74 = load float, ptr %14, align 4 %75 = call i32 @cos(float noundef %74) %76 = mul nsw i32 %73, %75 %77 = call double @asin(i32 noundef %76) %78 = fmul double 0x404CA5DC1AF05A77, %77 %79 = fptrunc double %78 to float %80 = load ptr, ptr %6, align 8 store float %79, ptr %80, align 4 %81 = load float, ptr %13, align 4 %82 = call i32 @cos(float noundef %81) %83 = load float, ptr %14, align 4 %84 = call i32 @sin(float noundef %83) %85 = mul nsw i32 %82, %84 %86 = load float, ptr %13, align 4 %87 = call i32 @sin(float noundef %86) %88 = call double @atan2(i32 noundef %85, i32 noundef %87) %89 = fmul double 0xC04CA5DC1AF05A77, %88 %90 = fptrunc double %89 to float %91 = load ptr, ptr %7, align 8 store float %90, ptr %91, align 4 ret void } declare double @asin(i32 noundef) #1 declare i32 @sin(float noundef) #1 declare i32 @cos(float noundef) #1 declare double @atan2(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/tmp3omhutw9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pandg_for(ptr noundef %0, ptr noundef %1, float noundef %2, float noundef %3, float noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store float %2, ptr %8, align 4 store float %3, ptr %9, align 4 store float %4, ptr %10, align 4 %15 = load ptr, ptr %6, align 8 %16 = load float, ptr %15, align 4 %17 = fpext float %16 to double %18 = fmul double 0x3F91DF46A1FAE712, %17 %19 = fptrunc double %18 to float store float %19, ptr %11, align 4 %20 = load ptr, ptr %7, align 8 %21 = load float, ptr %20, align 4 %22 = fpext float %21 to double %23 = fmul double 0xBF91DF46A1FAE712, %22 %24 = fptrunc double %23 to float store float %24, ptr %12, align 4 %25 = load float, ptr %8, align 4 %26 = call i32 @sin(float noundef %25) %27 = load float, ptr %11, align 4 %28 = call i32 @sin(float noundef %27) %29 = mul nsw i32 %26, %28 %30 = load float, ptr %8, align 4 %31 = call i32 @cos(float noundef %30) %32 = load float, ptr %11, align 4 %33 = call i32 @cos(float noundef %32) %34 = mul nsw i32 %31, %33 %35 = load float, ptr %12, align 4 %36 = load float, ptr %9, align 4 %37 = fadd float %35, %36 %38 = call i32 @cos(float noundef %37) %39 = mul nsw i32 %34, %38 %40 = add nsw i32 %29, %39 %41 = call double @asin(i32 noundef %40) %42 = fptrunc double %41 to float store float %42, ptr %13, align 4 %43 = load float, ptr %10, align 4 %44 = fpext float %43 to double %45 = load float, ptr %11, align 4 %46 = call i32 @cos(float noundef %45) %47 = load float, ptr %12, align 4 %48 = load float, ptr %9, align 4 %49 = fadd float %47, %48 %50 = call i32 @sin(float noundef %49) %51 = mul nsw i32 %46, %50 %52 = load float, ptr %8, align 4 %53 = call i32 @sin(float noundef %52) %54 = load float, ptr %11, align 4 %55 = call i32 @cos(float noundef %54) %56 = mul nsw i32 %53, %55 %57 = load float, ptr %12, align 4 %58 = load float, ptr %9, align 4 %59 = fadd float %57, %58 %60 = call i32 @cos(float noundef %59) %61 = mul nsw i32 %56, %60 %62 = load float, ptr %8, align 4 %63 = call i32 @cos(float noundef %62) %64 = load float, ptr %11, align 4 %65 = call i32 @sin(float noundef %64) %66 = mul nsw i32 %63, %65 %67 = sub nsw i32 %61, %66 %68 = call double @atan2(i32 noundef %51, i32 noundef %67) %69 = fadd double %44, %68 %70 = fptrunc double %69 to float store float %70, ptr %14, align 4 %71 = load float, ptr %13, align 4 %72 = call i32 @cos(float noundef %71) %73 = sub nsw i32 0, %72 %74 = load float, ptr %14, align 4 %75 = call i32 @cos(float noundef %74) %76 = mul nsw i32 %73, %75 %77 = call double @asin(i32 noundef %76) %78 = fmul double 0x404CA5DC1AF05A77, %77 %79 = fptrunc double %78 to float %80 = load ptr, ptr %6, align 8 store float %79, ptr %80, align 4 %81 = load float, ptr %13, align 4 %82 = call i32 @cos(float noundef %81) %83 = load float, ptr %14, align 4 %84 = call i32 @sin(float noundef %83) %85 = mul nsw i32 %82, %84 %86 = load float, ptr %13, align 4 %87 = call i32 @sin(float noundef %86) %88 = call double @atan2(i32 noundef %85, i32 noundef %87) %89 = fmul double 0xC04CA5DC1AF05A77, %88 %90 = fptrunc double %89 to float %91 = load ptr, ptr %7, align 8 store float %90, ptr %91, align 4 ret void } declare double @asin(i32 noundef) #1 declare i32 @sin(float noundef) #1 declare i32 @cos(float noundef) #1 declare double @atan2(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/tmpvytctwrk.c' source_filename = "/tmp/tmpvytctwrk.c" target datalayout = "e-m:e-p270: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.test = private unnamed_addr constant [100 x i8] c"blubber\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"foo\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"foobber\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"bar\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"bao\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"xyz\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"xyz\00\00\00\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.test, i64 100, i1 false) %3 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %4 = call ptr @mempcpy(ptr noundef %3, ptr noundef @.str, i32 noundef 3) %5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds i8, ptr %5, i64 3 %7 = icmp eq ptr %4, %6 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true br label %13 13: ; preds = %8, %0 %14 = phi i1 [ false, %0 ], [ %12, %8 ] %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %18 = call ptr @mempcpy(ptr noundef %17, ptr noundef @.str, i32 noundef 4) %19 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %20 = getelementptr inbounds i8, ptr %19, i64 4 %21 = icmp eq ptr %18, %20 br i1 %21, label %22, label %27 22: ; preds = %13 %23 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %24 = call i32 @strcmp(ptr noundef %23, ptr noundef @.str) %25 = icmp ne i32 %24, 0 %26 = xor i1 %25, true br label %27 27: ; preds = %22, %13 %28 = phi i1 [ false, %13 ], [ %26, %22 ] %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) %31 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %32 = call ptr @stpcpy(ptr noundef %31, ptr noundef @.str) %33 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %34 = getelementptr inbounds i8, ptr %33, i64 3 %35 = icmp eq ptr %32, %34 br i1 %35, label %36, label %41 36: ; preds = %27 %37 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str) %39 = icmp ne i32 %38, 0 %40 = xor i1 %39, true br label %41 41: ; preds = %36, %27 %42 = phi i1 [ false, %27 ], [ %40, %36 ] %43 = zext i1 %42 to i32 %44 = call i32 @assert(i32 noundef %43) %45 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %46 = call ptr @stpncpy(ptr noundef %45, ptr noundef @.str.2, i32 noundef 2) %47 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %48 = call ptr @stpncpy(ptr noundef %47, ptr noundef @.str.2, i32 noundef 2) %49 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %50 = getelementptr inbounds i8, ptr %49, i64 2 %51 = icmp eq ptr %48, %50 br i1 %51, label %52, label %57 52: ; preds = %41 %53 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %54 = call i32 @strcmp(ptr noundef %53, ptr noundef @.str.3) %55 = icmp ne i32 %54, 0 %56 = xor i1 %55, true br label %57 57: ; preds = %52, %41 %58 = phi i1 [ false, %41 ], [ %56, %52 ] %59 = zext i1 %58 to i32 %60 = call i32 @assert(i32 noundef %59) %61 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %62 = call ptr @stpncpy(ptr noundef %61, ptr noundef @.str.4, i32 noundef 6) %63 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %64 = getelementptr inbounds i8, ptr %63, i64 3 %65 = icmp eq ptr %62, %64 br i1 %65, label %66, label %71 66: ; preds = %57 %67 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %68 = call i32 @memcmp(ptr noundef %67, ptr noundef @.str.5, i32 noundef 6) %69 = icmp ne i32 %68, 0 %70 = xor i1 %69, true br label %71 71: ; preds = %66, %57 %72 = phi i1 [ false, %57 ], [ %70, %66 ] %73 = zext i1 %72 to i32 %74 = call i32 @assert(i32 noundef %73) 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 @assert(i32 noundef) #2 declare ptr @mempcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare ptr @stpcpy(ptr noundef, ptr noundef) #2 declare ptr @stpncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvytctwrk.c" target datalayout = "e-m:e-p270: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.test = private unnamed_addr constant [100 x i8] c"blubber\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"foo\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"foobber\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"bar\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"bao\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"xyz\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"xyz\00\00\00\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.test, i64 100, i1 false) %3 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %4 = call ptr @mempcpy(ptr noundef %3, ptr noundef @.str, i32 noundef 3) %5 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds i8, ptr %5, i64 3 %7 = icmp eq ptr %4, %6 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true br label %13 13: ; preds = %8, %0 %14 = phi i1 [ false, %0 ], [ %12, %8 ] %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %18 = call ptr @mempcpy(ptr noundef %17, ptr noundef @.str, i32 noundef 4) %19 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %20 = getelementptr inbounds i8, ptr %19, i64 4 %21 = icmp eq ptr %18, %20 br i1 %21, label %22, label %27 22: ; preds = %13 %23 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %24 = call i32 @strcmp(ptr noundef %23, ptr noundef @.str) %25 = icmp ne i32 %24, 0 %26 = xor i1 %25, true br label %27 27: ; preds = %22, %13 %28 = phi i1 [ false, %13 ], [ %26, %22 ] %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) %31 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %32 = call ptr @stpcpy(ptr noundef %31, ptr noundef @.str) %33 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %34 = getelementptr inbounds i8, ptr %33, i64 3 %35 = icmp eq ptr %32, %34 br i1 %35, label %36, label %41 36: ; preds = %27 %37 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str) %39 = icmp ne i32 %38, 0 %40 = xor i1 %39, true br label %41 41: ; preds = %36, %27 %42 = phi i1 [ false, %27 ], [ %40, %36 ] %43 = zext i1 %42 to i32 %44 = call i32 @assert(i32 noundef %43) %45 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %46 = call ptr @stpncpy(ptr noundef %45, ptr noundef @.str.2, i32 noundef 2) %47 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %48 = call ptr @stpncpy(ptr noundef %47, ptr noundef @.str.2, i32 noundef 2) %49 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %50 = getelementptr inbounds i8, ptr %49, i64 2 %51 = icmp eq ptr %48, %50 br i1 %51, label %52, label %57 52: ; preds = %41 %53 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %54 = call i32 @strcmp(ptr noundef %53, ptr noundef @.str.3) %55 = icmp ne i32 %54, 0 %56 = xor i1 %55, true br label %57 57: ; preds = %52, %41 %58 = phi i1 [ false, %41 ], [ %56, %52 ] %59 = zext i1 %58 to i32 %60 = call i32 @assert(i32 noundef %59) %61 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %62 = call ptr @stpncpy(ptr noundef %61, ptr noundef @.str.4, i32 noundef 6) %63 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %64 = getelementptr inbounds i8, ptr %63, i64 3 %65 = icmp eq ptr %62, %64 br i1 %65, label %66, label %71 66: ; preds = %57 %67 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %68 = call i32 @memcmp(ptr noundef %67, ptr noundef @.str.5, i32 noundef 6) %69 = icmp ne i32 %68, 0 %70 = xor i1 %69, true br label %71 71: ; preds = %66, %57 %72 = phi i1 [ false, %57 ], [ %70, %66 ] %73 = zext i1 %72 to i32 %74 = call i32 @assert(i32 noundef %73) 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 @assert(i32 noundef) #2 declare ptr @mempcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare ptr @stpcpy(ptr noundef, ptr noundef) #2 declare ptr @stpncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @memcmp(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppkc1ihpb.c' source_filename = "/tmp/tmppkc1ihpb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MEM:\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"0x%x, 0x%x, 0x%x, 0x%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ppMem1(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %7 7: ; preds = %36, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %39 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %17, i64 %20 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 2 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %23, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 3 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %29, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16, i32 noundef %22, i32 noundef %28, i32 noundef %34) br label %36 36: ; preds = %11 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 4 store i32 %38, ptr %5, align 4 br label %7, !llvm.loop !6 39: ; preds = %7 %40 = load ptr, ptr %3, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 0 store i32 304029215, ptr %41, align 4 %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds i32, ptr %42, i64 1 store i32 0, ptr %43, align 4 %44 = load ptr, ptr %3, align 8 %45 = getelementptr inbounds i32, ptr %44, i64 2 store i32 3, ptr %45, align 4 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 3 store i32 -1, ptr %47, align 4 %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds i32, ptr %48, i64 4 store i32 590294575, ptr %49, align 4 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds i32, ptr %50, i64 5 store i32 606874411, ptr %51, align 4 %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 6 store i32 623521323, ptr %53, align 4 %54 = load ptr, ptr %3, align 8 %55 = getelementptr inbounds i32, ptr %54, i64 7 store i32 640494890, ptr %55, align 4 %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds i32, ptr %56, i64 8 store i32 1060388670, ptr %57, align 4 %58 = load ptr, ptr %3, align 8 %59 = getelementptr inbounds i32, ptr %58, i64 9 store i32 1043676476, ptr %59, align 4 %60 = load ptr, ptr %3, align 8 %61 = getelementptr inbounds i32, ptr %60, i64 10 store i32 909786171, ptr %61, align 4 %62 = load ptr, ptr %3, align 8 %63 = getelementptr inbounds i32, ptr %62, i64 11 store i32 993475386, ptr %63, align 4 %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds i32, ptr %64, i64 12 store i32 1162825285, ptr %65, align 4 %66 = load ptr, ptr %3, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 13 store i32 1313230150, ptr %67, align 4 %68 = load ptr, ptr %3, align 8 %69 = getelementptr inbounds i32, ptr %68, i64 14 store i32 1196246860, ptr %69, align 4 %70 = load ptr, ptr %3, align 8 %71 = getelementptr inbounds i32, ptr %70, i64 15 store i32 1246251596, ptr %71, align 4 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppkc1ihpb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MEM:\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"0x%x, 0x%x, 0x%x, 0x%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ppMem1(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %41 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %35 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %16, i64 %19 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 2 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %22, i64 %25 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %5, align 4 %30 = add 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 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15, i32 noundef %21, i32 noundef %27, i32 noundef %33) br label %35 35: ; preds = %10 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 4 store i32 %37, ptr %5, align 4 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %2 %42 = load ptr, ptr %3, align 8 %43 = getelementptr inbounds i32, ptr %42, i64 0 store i32 304029215, ptr %43, align 4 %44 = load ptr, ptr %3, align 8 %45 = getelementptr inbounds i32, ptr %44, i64 1 store i32 0, ptr %45, align 4 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 2 store i32 3, ptr %47, align 4 %48 = load ptr, ptr %3, align 8 %49 = getelementptr inbounds i32, ptr %48, i64 3 store i32 -1, ptr %49, align 4 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds i32, ptr %50, i64 4 store i32 590294575, ptr %51, align 4 %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds i32, ptr %52, i64 5 store i32 606874411, ptr %53, align 4 %54 = load ptr, ptr %3, align 8 %55 = getelementptr inbounds i32, ptr %54, i64 6 store i32 623521323, ptr %55, align 4 %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds i32, ptr %56, i64 7 store i32 640494890, ptr %57, align 4 %58 = load ptr, ptr %3, align 8 %59 = getelementptr inbounds i32, ptr %58, i64 8 store i32 1060388670, ptr %59, align 4 %60 = load ptr, ptr %3, align 8 %61 = getelementptr inbounds i32, ptr %60, i64 9 store i32 1043676476, ptr %61, align 4 %62 = load ptr, ptr %3, align 8 %63 = getelementptr inbounds i32, ptr %62, i64 10 store i32 909786171, ptr %63, align 4 %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds i32, ptr %64, i64 11 store i32 993475386, ptr %65, align 4 %66 = load ptr, ptr %3, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 12 store i32 1162825285, ptr %67, align 4 %68 = load ptr, ptr %3, align 8 %69 = getelementptr inbounds i32, ptr %68, i64 13 store i32 1313230150, ptr %69, align 4 %70 = load ptr, ptr %3, align 8 %71 = getelementptr inbounds i32, ptr %70, i64 14 store i32 1196246860, ptr %71, align 4 %72 = load ptr, ptr %3, align 8 %73 = getelementptr inbounds i32, ptr %72, i64 15 store i32 1246251596, ptr %73, align 4 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpexywxsl2.c' source_filename = "/tmp/tmpexywxsl2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo/bar/xyzzy\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"fd = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"n = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10 x i8], align 1 store i32 0, ptr %1, align 4 %5 = load i32, ptr @O_RDONLY, align 4 %6 = call i32 @open(ptr noundef @.str, i32 noundef %5) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %11 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef 10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @printf(ptr noundef @.str.2, i32 noundef %12) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 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/tmpexywxsl2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo/bar/xyzzy\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"fd = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"n = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10 x i8], align 1 store i32 0, ptr %1, align 4 %5 = load i32, ptr @O_RDONLY, align 4 %6 = call i32 @open(ptr noundef @.str, i32 noundef %5) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %11 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef 10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @printf(ptr noundef @.str.2, i32 noundef %12) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 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/tmpwfhpxib1.c' source_filename = "/tmp/tmpwfhpxib1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"func1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func1() #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/tmpwfhpxib1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"func1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func1() #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/tmpq37b0hn3.c' source_filename = "/tmp/tmpq37b0hn3.c" target datalayout = "e-m:e-p270: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/tmpq37b0hn3.c" target datalayout = "e-m:e-p270: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/tmpf4bo80fs.c' source_filename = "/tmp/tmpf4bo80fs.c" target datalayout = "e-m:e-p270: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/tmpf4bo80fs.c" target datalayout = "e-m:e-p270: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/tmpyc807qen.c' source_filename = "/tmp/tmpyc807qen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Error on write\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @my_putstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @my_strlen(ptr noundef %5) %7 = call i32 @write(i32 noundef 1, ptr noundef %4, i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %12 10: ; preds = %1 call void @my_putstr(ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %1 ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @my_strlen(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/tmpyc807qen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Error on write\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @my_putstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @my_strlen(ptr noundef %5) %7 = call i32 @write(i32 noundef 1, ptr noundef %4, i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %12 10: ; preds = %1 call void @my_putstr(ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %1 ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @my_strlen(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/tmpirhktxd2.c' source_filename = "/tmp/tmpirhktxd2.c" target datalayout = "e-m:e-p270: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 [46 x i8] c"[INFO] (%s:%d) Well I did something mundane.\0A\00", align 1 @.str.1 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/masskonfuzion/lcthw/refs/heads/master/ex20/ex20.c\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"[INFO] (%s:%d) It happened %f times today.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_log_info() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 30) %3 = load i32, ptr @stderr, align 4 %4 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %3, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 31, double noundef 0x3FF4CCCCC0000000) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpirhktxd2.c" target datalayout = "e-m:e-p270: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 [46 x i8] c"[INFO] (%s:%d) Well I did something mundane.\0A\00", align 1 @.str.1 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/masskonfuzion/lcthw/refs/heads/master/ex20/ex20.c\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"[INFO] (%s:%d) It happened %f times today.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_log_info() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 30) %3 = load i32, ptr @stderr, align 4 %4 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %3, ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 31, double noundef 0x3FF4CCCCC0000000) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4m5yjvxb.c' source_filename = "/tmp/tmp4m5yjvxb.c" target datalayout = "e-m:e-p270: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/tmp4m5yjvxb.c" target datalayout = "e-m:e-p270: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/tmph3dwv__0.c' source_filename = "/tmp/tmph3dwv__0.c" target datalayout = "e-m:e-p270: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/tmph3dwv__0.c" target datalayout = "e-m:e-p270: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/tmpe0m138ct.c' source_filename = "/tmp/tmpe0m138ct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_aupdate_read_begin\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_aupdate_read_begin() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpe0m138ct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_aupdate_read_begin\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_aupdate_read_begin() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpcaw4ntuv.c' source_filename = "/tmp/tmpcaw4ntuv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NOFILE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"/var\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_daemon() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @fork() store i32 %3, ptr %1, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @exit(i32 noundef 0) #3 unreachable 7: ; preds = %0 %8 = load i32, ptr %1, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %7 br label %13 13: ; preds = %12 %14 = call i32 (...) @setsid() %15 = call i32 (...) @fork() store i32 %15, ptr %1, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 @exit(i32 noundef 0) #3 unreachable 19: ; preds = %13 %20 = load i32, ptr %1, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %19 br label %25 25: ; preds = %24 store i32 0, ptr %2, align 4 br label %26 26: ; preds = %33, %25 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr @NOFILE, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %36 30: ; preds = %26 %31 = load i32, ptr %2, align 4 %32 = call i32 @close(i32 noundef %31) br label %33 33: ; preds = %30 %34 = load i32, ptr %2, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %2, align 4 br label %26, !llvm.loop !6 36: ; preds = %26 %37 = call i32 @chdir(ptr noundef @.str) %38 = call i32 @umask(i32 noundef 0) ret void } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @setsid(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @umask(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcaw4ntuv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NOFILE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"/var\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_daemon() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @fork() store i32 %3, ptr %1, align 4 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @exit(i32 noundef 0) #3 unreachable 7: ; preds = %0 %8 = load i32, ptr %1, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %7 %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %7 br label %13 13: ; preds = %12 %14 = call i32 (...) @setsid() %15 = call i32 (...) @fork() store i32 %15, ptr %1, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 @exit(i32 noundef 0) #3 unreachable 19: ; preds = %13 %20 = load i32, ptr %1, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %19 br label %25 25: ; preds = %24 store i32 0, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr @NOFILE, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph, label %38 .lr.ph: ; preds = %25 br label %29 29: ; preds = %.lr.ph, %32 %30 = load i32, ptr %2, align 4 %31 = call i32 @close(i32 noundef %30) br label %32 32: ; preds = %29 %33 = load i32, ptr %2, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %2, align 4 %35 = load i32, ptr %2, align 4 %36 = load i32, ptr @NOFILE, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %25 %39 = call i32 @chdir(ptr noundef @.str) %40 = call i32 @umask(i32 noundef 0) ret void } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @setsid(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @umask(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdmxxtr44.c' source_filename = "/tmp/tmpdmxxtr44.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @id(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %12 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = sub nsw i32 %8, 1 %10 = call i32 @id2(i32 noundef %9) %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %7, %6 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @id2(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/tmpdmxxtr44.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @id(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %12 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = sub nsw i32 %8, 1 %10 = call i32 @id2(i32 noundef %9) %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %7, %6 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @id2(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/tmpadfhid8w.c' source_filename = "/tmp/tmpadfhid8w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_empty_iv() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %7, %0 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 4 br i1 %4, label %5, label %10 5: ; preds = %2 %6 = call i32 @write32(i32 noundef 218234896, i32 noundef 0) br label %7 7: ; preds = %5 %8 = load i32, ptr %1, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %1, align 4 br label %2, !llvm.loop !6 10: ; preds = %2 ret void } declare i32 @write32(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpadfhid8w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aes_empty_iv() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = icmp slt i32 %2, 4 br i1 %3, label %.lr.ph, label %11 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %6 %5 = call i32 @write32(i32 noundef 218234896, i32 noundef 0) br label %6 6: ; preds = %4 %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp slt i32 %9, 4 br i1 %10, label %4, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %11 11: ; preds = %._crit_edge, %0 ret void } declare i32 @write32(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpf_1v6xjy.c' source_filename = "/tmp/tmpf_1v6xjy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCSequenceUnderflowClear(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 1073971200 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr %3, align 4 %9 = icmp eq i32 %8, 1073975296 br label %10 10: ; preds = %7, %2 %11 = phi i1 [ true, %2 ], [ %9, %7 ] %12 = zext i1 %11 to i32 %13 = call i32 @ASSERT(i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 4 %16 = zext i1 %15 to i32 %17 = call i32 @ASSERT(i32 noundef %16) %18 = load i32, ptr %4, align 4 %19 = shl i32 1, %18 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 24 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr store volatile i32 %19, ptr %23, align 4 ret void } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf_1v6xjy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCSequenceUnderflowClear(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 1073971200 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr %3, align 4 %9 = icmp eq i32 %8, 1073975296 br label %10 10: ; preds = %7, %2 %11 = phi i1 [ true, %2 ], [ %9, %7 ] %12 = zext i1 %11 to i32 %13 = call i32 @ASSERT(i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 4 %16 = zext i1 %15 to i32 %17 = call i32 @ASSERT(i32 noundef %16) %18 = load i32, ptr %4, align 4 %19 = shl i32 1, %18 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 24 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr store volatile i32 %19, ptr %23, align 4 ret void } declare i32 @ASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpokxsih7j.c' source_filename = "/tmp/tmpokxsih7j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Commands:\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"\09\1B[1mabout\1B[22m\09Show the project info\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"\09\1B[1madd\1B[22m\09Add a new address entry\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"\09\1B[1mclear\1B[22m\09Clear the screen\0A\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c"\09\1B[1mdelete\1B[22m\09Delete all address entries\0A\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"\09\1B[1mformat\1B[22m\09Show the address-field formats\0A\00", align 1 @.str.6 = private unnamed_addr constant [40 x i8] c"\09\1B[1mhelp\1B[22m\09List avialable commands\0A\00", align 1 @.str.7 = private unnamed_addr constant [47 x i8] c"\09\1B[1mlist\1B[22m\09List available address entries\0A\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"\09\1B[1mread\1B[22m\09Read address-list from file\0A\00", align 1 @.str.9 = private unnamed_addr constant [53 x i8] c"\09\1B[1mwrite\1B[22m\09Append current address-list to file\0A\00", align 1 @.str.10 = private unnamed_addr constant [41 x i8] c"\09\1B[1mquit\1B[22m\09Exit the current session\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @menu_help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) 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/tmpokxsih7j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Commands:\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"\09\1B[1mabout\1B[22m\09Show the project info\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"\09\1B[1madd\1B[22m\09Add a new address entry\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"\09\1B[1mclear\1B[22m\09Clear the screen\0A\00", align 1 @.str.4 = private unnamed_addr constant [45 x i8] c"\09\1B[1mdelete\1B[22m\09Delete all address entries\0A\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"\09\1B[1mformat\1B[22m\09Show the address-field formats\0A\00", align 1 @.str.6 = private unnamed_addr constant [40 x i8] c"\09\1B[1mhelp\1B[22m\09List avialable commands\0A\00", align 1 @.str.7 = private unnamed_addr constant [47 x i8] c"\09\1B[1mlist\1B[22m\09List available address entries\0A\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"\09\1B[1mread\1B[22m\09Read address-list from file\0A\00", align 1 @.str.9 = private unnamed_addr constant [53 x i8] c"\09\1B[1mwrite\1B[22m\09Append current address-list to file\0A\00", align 1 @.str.10 = private unnamed_addr constant [41 x i8] c"\09\1B[1mquit\1B[22m\09Exit the current session\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @menu_help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) 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/tmpn1ks7x1o.c' source_filename = "/tmp/tmpn1ks7x1o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HO_9(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %6 = call double @sqrt(double noundef 3.500000e+01) %7 = load double, ptr %3, align 8 %8 = call double @pow(double noundef %7, double noundef 7.500000e-01) %9 = fmul double %6, %8 %10 = load double, ptr %4, align 8 %11 = fmul double %9, %10 %12 = load double, ptr %3, align 8 %13 = call double @pow(double noundef %12, double noundef 4.000000e+00) %14 = fmul double 1.600000e+01, %13 %15 = load double, ptr %4, align 8 %16 = call double @pow(double noundef %15, double noundef 8.000000e+00) %17 = load double, ptr %3, align 8 %18 = call double @pow(double noundef %17, double noundef 3.000000e+00) %19 = fmul double 2.880000e+02, %18 %20 = load double, ptr %4, align 8 %21 = call double @pow(double noundef %20, double noundef 6.000000e+00) %22 = fmul double %19, %21 %23 = fneg double %22 %24 = call double @llvm.fmuladd.f64(double %14, double %16, double %23) %25 = load double, ptr %3, align 8 %26 = fmul double 1.512000e+03, %25 %27 = load double, ptr %3, align 8 %28 = fmul double %26, %27 %29 = load double, ptr %4, align 8 %30 = call double @pow(double noundef %29, double noundef 4.000000e+00) %31 = call double @llvm.fmuladd.f64(double %28, double %30, double %24) %32 = load double, ptr %3, align 8 %33 = fmul double 2.520000e+03, %32 %34 = load double, ptr %4, align 8 %35 = fmul double %33, %34 %36 = load double, ptr %4, align 8 %37 = fneg double %35 %38 = call double @llvm.fmuladd.f64(double %37, double %36, double %31) %39 = fadd double %38, 9.450000e+02 %40 = fmul double %11, %39 %41 = load double, ptr %3, align 8 %42 = fneg double %41 %43 = load double, ptr %4, align 8 %44 = fmul double %42, %43 %45 = load double, ptr %4, align 8 %46 = fmul double %44, %45 %47 = fdiv double %46, 2.000000e+00 %48 = call double @exp(double noundef %47) %49 = fmul double %40, %48 %50 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) %51 = fmul double %49, %50 %52 = fdiv double %51, 2.520000e+03 store double %52, ptr %5, align 8 %53 = load double, ptr %5, align 8 ret double %53 } declare double @sqrt(double noundef) #1 declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpn1ks7x1o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HO_9(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %6 = call double @sqrt(double noundef 3.500000e+01) %7 = load double, ptr %3, align 8 %8 = call double @pow(double noundef %7, double noundef 7.500000e-01) %9 = fmul double %6, %8 %10 = load double, ptr %4, align 8 %11 = fmul double %9, %10 %12 = load double, ptr %3, align 8 %13 = call double @pow(double noundef %12, double noundef 4.000000e+00) %14 = fmul double 1.600000e+01, %13 %15 = load double, ptr %4, align 8 %16 = call double @pow(double noundef %15, double noundef 8.000000e+00) %17 = load double, ptr %3, align 8 %18 = call double @pow(double noundef %17, double noundef 3.000000e+00) %19 = fmul double 2.880000e+02, %18 %20 = load double, ptr %4, align 8 %21 = call double @pow(double noundef %20, double noundef 6.000000e+00) %22 = fmul double %19, %21 %23 = fneg double %22 %24 = call double @llvm.fmuladd.f64(double %14, double %16, double %23) %25 = load double, ptr %3, align 8 %26 = fmul double 1.512000e+03, %25 %27 = load double, ptr %3, align 8 %28 = fmul double %26, %27 %29 = load double, ptr %4, align 8 %30 = call double @pow(double noundef %29, double noundef 4.000000e+00) %31 = call double @llvm.fmuladd.f64(double %28, double %30, double %24) %32 = load double, ptr %3, align 8 %33 = fmul double 2.520000e+03, %32 %34 = load double, ptr %4, align 8 %35 = fmul double %33, %34 %36 = load double, ptr %4, align 8 %37 = fneg double %35 %38 = call double @llvm.fmuladd.f64(double %37, double %36, double %31) %39 = fadd double %38, 9.450000e+02 %40 = fmul double %11, %39 %41 = load double, ptr %3, align 8 %42 = fneg double %41 %43 = load double, ptr %4, align 8 %44 = fmul double %42, %43 %45 = load double, ptr %4, align 8 %46 = fmul double %44, %45 %47 = fdiv double %46, 2.000000e+00 %48 = call double @exp(double noundef %47) %49 = fmul double %40, %48 %50 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) %51 = fmul double %49, %50 %52 = fdiv double %51, 2.520000e+03 store double %52, ptr %5, align 8 %53 = load double, ptr %5, align 8 ret double %53 } declare double @sqrt(double noundef) #1 declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpgx7vd2qs.c' source_filename = "/tmp/tmpgx7vd2qs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f61(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 @f60(ptr noundef %3) ret i32 %4 } declare i32 @f60(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/tmpgx7vd2qs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f61(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 @f60(ptr noundef %3) ret i32 %4 } declare i32 @f60(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/tmpiroh4020.c' source_filename = "/tmp/tmpiroh4020.c" target datalayout = "e-m:e-p270: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/tmpiroh4020.c" target datalayout = "e-m:e-p270: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/tmpq47l0ddd.c' source_filename = "/tmp/tmpq47l0ddd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"NOT IMPLEMENTED:pa_context_get_card_info_list\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_context_get_card_info_list() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpq47l0ddd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"NOT IMPLEMENTED:pa_context_get_card_info_list\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_context_get_card_info_list() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmpt_fi339t.c' source_filename = "/tmp/tmpt_fi339t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @of_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2 ret ptr %7 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt_fi339t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @of_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2 ret ptr %7 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4wn0gyeq.c' source_filename = "/tmp/tmp4wn0gyeq.c" target datalayout = "e-m:e-p270: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/tmp4wn0gyeq.c" target datalayout = "e-m:e-p270: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/tmpb6utw0n2.c' source_filename = "/tmp/tmpb6utw0n2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ti_cmo(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %10, align 8 %19 = load ptr, ptr %9, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %11, align 8 %22 = load ptr, ptr %8, align 8 %23 = getelementptr inbounds double, ptr %22, i64 0 %24 = load double, ptr %23, align 8 %25 = fptosi double %24 to i32 store i32 %25, ptr %12, align 4 %26 = load i32, ptr %12, align 4 %27 = icmp slt i32 %26, 1 br i1 %27, label %28, label %29 28: ; preds = %4 store i32 1, ptr %5, align 4 br label %288 29: ; preds = %4 %30 = load i32, ptr %6, align 4 %31 = load ptr, ptr %8, align 8 %32 = call i32 @ti_cmo_start(ptr noundef %31) %33 = icmp sle i32 %30, %32 br i1 %33, label %34, label %35 34: ; preds = %29 store i32 0, ptr %5, align 4 br label %288 35: ; preds = %29 store double 0.000000e+00, ptr %13, align 8 store double 0.000000e+00, ptr %14, align 8 store i32 1, ptr %15, align 4 br label %36 36: ; preds = %101, %35 %37 = load i32, ptr %15, align 4 %38 = load i32, ptr %12, align 4 %39 = icmp sle i32 %37, %38 br i1 %39, label %40, label %104 40: ; preds = %36 %41 = load ptr, ptr %10, align 8 %42 = load i32, ptr %15, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %41, i64 %43 %45 = load double, ptr %44, align 8 %46 = load ptr, ptr %10, align 8 %47 = load i32, ptr %15, align 4 %48 = sub nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %46, i64 %49 %51 = load double, ptr %50, align 8 %52 = fcmp ogt double %45, %51 br i1 %52, label %53, label %66 53: ; preds = %40 %54 = load ptr, ptr %10, align 8 %55 = load i32, ptr %15, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds double, ptr %54, i64 %56 %58 = load double, ptr %57, align 8 %59 = load ptr, ptr %10, align 8 %60 = load i32, ptr %15, align 4 %61 = sub nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %59, i64 %62 %64 = load double, ptr %63, align 8 %65 = fsub double %58, %64 br label %67 66: ; preds = %40 br label %67 67: ; preds = %66, %53 %68 = phi double [ %65, %53 ], [ 0.000000e+00, %66 ] %69 = load double, ptr %13, align 8 %70 = fadd double %69, %68 store double %70, ptr %13, align 8 %71 = load ptr, ptr %10, align 8 %72 = load i32, ptr %15, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds double, ptr %71, i64 %73 %75 = load double, ptr %74, align 8 %76 = load ptr, ptr %10, align 8 %77 = load i32, ptr %15, align 4 %78 = sub nsw i32 %77, 1 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %76, i64 %79 %81 = load double, ptr %80, align 8 %82 = fcmp olt double %75, %81 br i1 %82, label %83, label %96 83: ; preds = %67 %84 = load ptr, ptr %10, align 8 %85 = load i32, ptr %15, align 4 %86 = sub nsw i32 %85, 1 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds double, ptr %84, i64 %87 %89 = load double, ptr %88, align 8 %90 = load ptr, ptr %10, align 8 %91 = load i32, ptr %15, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds double, ptr %90, i64 %92 %94 = load double, ptr %93, align 8 %95 = fsub double %89, %94 br label %97 96: ; preds = %67 br label %97 97: ; preds = %96, %83 %98 = phi double [ %95, %83 ], [ 0.000000e+00, %96 ] %99 = load double, ptr %14, align 8 %100 = fadd double %99, %98 store double %100, ptr %14, align 8 br label %101 101: ; preds = %97 %102 = load i32, ptr %15, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %15, align 4 br label %36, !llvm.loop !6 104: ; preds = %36 %105 = load double, ptr %13, align 8 %106 = load double, ptr %14, align 8 %107 = fsub double %105, %106 %108 = fmul double 1.000000e+02, %107 %109 = load double, ptr %13, align 8 %110 = load double, ptr %14, align 8 %111 = fadd double %109, %110 %112 = fdiv double %108, %111 %113 = load ptr, ptr %11, align 8 %114 = getelementptr inbounds double, ptr %113, i32 1 store ptr %114, ptr %11, align 8 store double %112, ptr %113, align 8 %115 = load i32, ptr %12, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %15, align 4 br label %117 117: ; preds = %268, %104 %118 = load i32, ptr %15, align 4 %119 = load i32, ptr %6, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %121, label %271 121: ; preds = %117 %122 = load ptr, ptr %10, align 8 %123 = load i32, ptr %15, align 4 %124 = load i32, ptr %12, align 4 %125 = sub nsw i32 %123, %124 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds double, ptr %122, i64 %126 %128 = load double, ptr %127, align 8 %129 = load ptr, ptr %10, align 8 %130 = load i32, ptr %15, align 4 %131 = load i32, ptr %12, align 4 %132 = sub nsw i32 %130, %131 %133 = sub nsw i32 %132, 1 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds double, ptr %129, i64 %134 %136 = load double, ptr %135, align 8 %137 = fcmp ogt double %128, %136 br i1 %137, label %138, label %155 138: ; preds = %121 %139 = load ptr, ptr %10, align 8 %140 = load i32, ptr %15, align 4 %141 = load i32, ptr %12, align 4 %142 = sub nsw i32 %140, %141 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds double, ptr %139, i64 %143 %145 = load double, ptr %144, align 8 %146 = load ptr, ptr %10, align 8 %147 = load i32, ptr %15, align 4 %148 = load i32, ptr %12, align 4 %149 = sub nsw i32 %147, %148 %150 = sub nsw i32 %149, 1 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds double, ptr %146, i64 %151 %153 = load double, ptr %152, align 8 %154 = fsub double %145, %153 br label %156 155: ; preds = %121 br label %156 156: ; preds = %155, %138 %157 = phi double [ %154, %138 ], [ 0.000000e+00, %155 ] %158 = load double, ptr %13, align 8 %159 = fsub double %158, %157 store double %159, ptr %13, align 8 %160 = load ptr, ptr %10, align 8 %161 = load i32, ptr %15, align 4 %162 = load i32, ptr %12, align 4 %163 = sub nsw i32 %161, %162 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds double, ptr %160, i64 %164 %166 = load double, ptr %165, align 8 %167 = load ptr, ptr %10, align 8 %168 = load i32, ptr %15, align 4 %169 = load i32, ptr %12, align 4 %170 = sub nsw i32 %168, %169 %171 = sub nsw i32 %170, 1 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds double, ptr %167, i64 %172 %174 = load double, ptr %173, align 8 %175 = fcmp olt double %166, %174 br i1 %175, label %176, label %193 176: ; preds = %156 %177 = load ptr, ptr %10, align 8 %178 = load i32, ptr %15, align 4 %179 = load i32, ptr %12, align 4 %180 = sub nsw i32 %178, %179 %181 = sub nsw i32 %180, 1 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds double, ptr %177, i64 %182 %184 = load double, ptr %183, align 8 %185 = load ptr, ptr %10, align 8 %186 = load i32, ptr %15, align 4 %187 = load i32, ptr %12, align 4 %188 = sub nsw i32 %186, %187 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %185, i64 %189 %191 = load double, ptr %190, align 8 %192 = fsub double %184, %191 br label %194 193: ; preds = %156 br label %194 194: ; preds = %193, %176 %195 = phi double [ %192, %176 ], [ 0.000000e+00, %193 ] %196 = load double, ptr %14, align 8 %197 = fsub double %196, %195 store double %197, ptr %14, align 8 %198 = load ptr, ptr %10, align 8 %199 = load i32, ptr %15, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds double, ptr %198, i64 %200 %202 = load double, ptr %201, align 8 %203 = load ptr, ptr %10, align 8 %204 = load i32, ptr %15, align 4 %205 = sub nsw i32 %204, 1 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds double, ptr %203, i64 %206 %208 = load double, ptr %207, align 8 %209 = fcmp ogt double %202, %208 br i1 %209, label %210, label %223 210: ; preds = %194 %211 = load ptr, ptr %10, align 8 %212 = load i32, ptr %15, align 4 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds double, ptr %211, i64 %213 %215 = load double, ptr %214, align 8 %216 = load ptr, ptr %10, align 8 %217 = load i32, ptr %15, align 4 %218 = sub nsw i32 %217, 1 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds double, ptr %216, i64 %219 %221 = load double, ptr %220, align 8 %222 = fsub double %215, %221 br label %224 223: ; preds = %194 br label %224 224: ; preds = %223, %210 %225 = phi double [ %222, %210 ], [ 0.000000e+00, %223 ] %226 = load double, ptr %13, align 8 %227 = fadd double %226, %225 store double %227, ptr %13, align 8 %228 = load ptr, ptr %10, align 8 %229 = load i32, ptr %15, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds double, ptr %228, i64 %230 %232 = load double, ptr %231, align 8 %233 = load ptr, ptr %10, align 8 %234 = load i32, ptr %15, align 4 %235 = sub nsw i32 %234, 1 %236 = sext i32 %235 to i64 %237 = getelementptr inbounds double, ptr %233, i64 %236 %238 = load double, ptr %237, align 8 %239 = fcmp olt double %232, %238 br i1 %239, label %240, label %253 240: ; preds = %224 %241 = load ptr, ptr %10, align 8 %242 = load i32, ptr %15, align 4 %243 = sub nsw i32 %242, 1 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds double, ptr %241, i64 %244 %246 = load double, ptr %245, align 8 %247 = load ptr, ptr %10, align 8 %248 = load i32, ptr %15, align 4 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds double, ptr %247, i64 %249 %251 = load double, ptr %250, align 8 %252 = fsub double %246, %251 br label %254 253: ; preds = %224 br label %254 254: ; preds = %253, %240 %255 = phi double [ %252, %240 ], [ 0.000000e+00, %253 ] %256 = load double, ptr %14, align 8 %257 = fadd double %256, %255 store double %257, ptr %14, align 8 %258 = load double, ptr %13, align 8 %259 = load double, ptr %14, align 8 %260 = fsub double %258, %259 %261 = fmul double 1.000000e+02, %260 %262 = load double, ptr %13, align 8 %263 = load double, ptr %14, align 8 %264 = fadd double %262, %263 %265 = fdiv double %261, %264 %266 = load ptr, ptr %11, align 8 %267 = getelementptr inbounds double, ptr %266, i32 1 store ptr %267, ptr %11, align 8 store double %265, ptr %266, align 8 br label %268 268: ; preds = %254 %269 = load i32, ptr %15, align 4 %270 = add nsw i32 %269, 1 store i32 %270, ptr %15, align 4 br label %117, !llvm.loop !8 271: ; preds = %117 %272 = load ptr, ptr %11, align 8 %273 = load ptr, ptr %9, align 8 %274 = getelementptr inbounds ptr, ptr %273, i64 0 %275 = load ptr, ptr %274, align 8 %276 = ptrtoint ptr %272 to i64 %277 = ptrtoint ptr %275 to i64 %278 = sub i64 %276, %277 %279 = sdiv exact i64 %278, 8 %280 = load i32, ptr %6, align 4 %281 = load ptr, ptr %8, align 8 %282 = call i32 @ti_cmo_start(ptr noundef %281) %283 = sub nsw i32 %280, %282 %284 = sext i32 %283 to i64 %285 = icmp eq i64 %279, %284 %286 = zext i1 %285 to i32 %287 = call i32 @assert(i32 noundef %286) store i32 0, ptr %5, align 4 br label %288 288: ; preds = %271, %34, %28 %289 = load i32, ptr %5, align 4 ret i32 %289 } declare i32 @ti_cmo_start(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb6utw0n2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ti_cmo(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %10, align 8 %19 = load ptr, ptr %9, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %11, align 8 %22 = load ptr, ptr %8, align 8 %23 = getelementptr inbounds double, ptr %22, i64 0 %24 = load double, ptr %23, align 8 %25 = fptosi double %24 to i32 store i32 %25, ptr %12, align 4 %26 = load i32, ptr %12, align 4 %27 = icmp slt i32 %26, 1 br i1 %27, label %28, label %29 28: ; preds = %4 store i32 1, ptr %5, align 4 br label %292 29: ; preds = %4 %30 = load i32, ptr %6, align 4 %31 = load ptr, ptr %8, align 8 %32 = call i32 @ti_cmo_start(ptr noundef %31) %33 = icmp sle i32 %30, %32 br i1 %33, label %34, label %35 34: ; preds = %29 store i32 0, ptr %5, align 4 br label %292 35: ; preds = %29 store double 0.000000e+00, ptr %13, align 8 store double 0.000000e+00, ptr %14, align 8 store i32 1, ptr %15, align 4 %36 = load i32, ptr %15, align 4 %37 = load i32, ptr %12, align 4 %38 = icmp sle i32 %36, %37 br i1 %38, label %.lr.ph, label %106 .lr.ph: ; preds = %35 br label %39 39: ; preds = %.lr.ph, %100 %40 = load ptr, ptr %10, align 8 %41 = load i32, ptr %15, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %40, i64 %42 %44 = load double, ptr %43, align 8 %45 = load ptr, ptr %10, align 8 %46 = load i32, ptr %15, align 4 %47 = sub nsw i32 %46, 1 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %45, i64 %48 %50 = load double, ptr %49, align 8 %51 = fcmp ogt double %44, %50 br i1 %51, label %52, label %65 52: ; preds = %39 %53 = load ptr, ptr %10, align 8 %54 = load i32, ptr %15, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %53, i64 %55 %57 = load double, ptr %56, align 8 %58 = load ptr, ptr %10, align 8 %59 = load i32, ptr %15, align 4 %60 = sub nsw i32 %59, 1 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds double, ptr %58, i64 %61 %63 = load double, ptr %62, align 8 %64 = fsub double %57, %63 br label %66 65: ; preds = %39 br label %66 66: ; preds = %65, %52 %67 = phi double [ %64, %52 ], [ 0.000000e+00, %65 ] %68 = load double, ptr %13, align 8 %69 = fadd double %68, %67 store double %69, ptr %13, align 8 %70 = load ptr, ptr %10, align 8 %71 = load i32, ptr %15, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %70, i64 %72 %74 = load double, ptr %73, align 8 %75 = load ptr, ptr %10, align 8 %76 = load i32, ptr %15, align 4 %77 = sub nsw i32 %76, 1 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %75, i64 %78 %80 = load double, ptr %79, align 8 %81 = fcmp olt double %74, %80 br i1 %81, label %82, label %95 82: ; preds = %66 %83 = load ptr, ptr %10, align 8 %84 = load i32, ptr %15, align 4 %85 = sub nsw i32 %84, 1 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds double, ptr %83, i64 %86 %88 = load double, ptr %87, align 8 %89 = load ptr, ptr %10, align 8 %90 = load i32, ptr %15, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %89, i64 %91 %93 = load double, ptr %92, align 8 %94 = fsub double %88, %93 br label %96 95: ; preds = %66 br label %96 96: ; preds = %95, %82 %97 = phi double [ %94, %82 ], [ 0.000000e+00, %95 ] %98 = load double, ptr %14, align 8 %99 = fadd double %98, %97 store double %99, ptr %14, align 8 br label %100 100: ; preds = %96 %101 = load i32, ptr %15, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %15, align 4 %103 = load i32, ptr %15, align 4 %104 = load i32, ptr %12, align 4 %105 = icmp sle i32 %103, %104 br i1 %105, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %100 br label %106 106: ; preds = %._crit_edge, %35 %107 = load double, ptr %13, align 8 %108 = load double, ptr %14, align 8 %109 = fsub double %107, %108 %110 = fmul double 1.000000e+02, %109 %111 = load double, ptr %13, align 8 %112 = load double, ptr %14, align 8 %113 = fadd double %111, %112 %114 = fdiv double %110, %113 %115 = load ptr, ptr %11, align 8 %116 = getelementptr inbounds double, ptr %115, i32 1 store ptr %116, ptr %11, align 8 store double %114, ptr %115, align 8 %117 = load i32, ptr %12, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %15, align 4 %119 = load i32, ptr %15, align 4 %120 = load i32, ptr %6, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %.lr.ph2, label %275 .lr.ph2: ; preds = %106 br label %122 122: ; preds = %.lr.ph2, %269 %123 = load ptr, ptr %10, align 8 %124 = load i32, ptr %15, align 4 %125 = load i32, ptr %12, align 4 %126 = sub nsw i32 %124, %125 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds double, ptr %123, i64 %127 %129 = load double, ptr %128, align 8 %130 = load ptr, ptr %10, align 8 %131 = load i32, ptr %15, align 4 %132 = load i32, ptr %12, align 4 %133 = sub nsw i32 %131, %132 %134 = sub nsw i32 %133, 1 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds double, ptr %130, i64 %135 %137 = load double, ptr %136, align 8 %138 = fcmp ogt double %129, %137 br i1 %138, label %139, label %156 139: ; preds = %122 %140 = load ptr, ptr %10, align 8 %141 = load i32, ptr %15, align 4 %142 = load i32, ptr %12, align 4 %143 = sub nsw i32 %141, %142 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds double, ptr %140, i64 %144 %146 = load double, ptr %145, align 8 %147 = load ptr, ptr %10, align 8 %148 = load i32, ptr %15, align 4 %149 = load i32, ptr %12, align 4 %150 = sub nsw i32 %148, %149 %151 = sub nsw i32 %150, 1 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds double, ptr %147, i64 %152 %154 = load double, ptr %153, align 8 %155 = fsub double %146, %154 br label %157 156: ; preds = %122 br label %157 157: ; preds = %156, %139 %158 = phi double [ %155, %139 ], [ 0.000000e+00, %156 ] %159 = load double, ptr %13, align 8 %160 = fsub double %159, %158 store double %160, ptr %13, align 8 %161 = load ptr, ptr %10, align 8 %162 = load i32, ptr %15, align 4 %163 = load i32, ptr %12, align 4 %164 = sub nsw i32 %162, %163 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds double, ptr %161, i64 %165 %167 = load double, ptr %166, align 8 %168 = load ptr, ptr %10, align 8 %169 = load i32, ptr %15, align 4 %170 = load i32, ptr %12, align 4 %171 = sub nsw i32 %169, %170 %172 = sub nsw i32 %171, 1 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds double, ptr %168, i64 %173 %175 = load double, ptr %174, align 8 %176 = fcmp olt double %167, %175 br i1 %176, label %177, label %194 177: ; preds = %157 %178 = load ptr, ptr %10, align 8 %179 = load i32, ptr %15, align 4 %180 = load i32, ptr %12, align 4 %181 = sub nsw i32 %179, %180 %182 = sub nsw i32 %181, 1 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds double, ptr %178, i64 %183 %185 = load double, ptr %184, align 8 %186 = load ptr, ptr %10, align 8 %187 = load i32, ptr %15, align 4 %188 = load i32, ptr %12, align 4 %189 = sub nsw i32 %187, %188 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds double, ptr %186, i64 %190 %192 = load double, ptr %191, align 8 %193 = fsub double %185, %192 br label %195 194: ; preds = %157 br label %195 195: ; preds = %194, %177 %196 = phi double [ %193, %177 ], [ 0.000000e+00, %194 ] %197 = load double, ptr %14, align 8 %198 = fsub double %197, %196 store double %198, ptr %14, align 8 %199 = load ptr, ptr %10, align 8 %200 = load i32, ptr %15, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds double, ptr %199, i64 %201 %203 = load double, ptr %202, align 8 %204 = load ptr, ptr %10, align 8 %205 = load i32, ptr %15, align 4 %206 = sub nsw i32 %205, 1 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds double, ptr %204, i64 %207 %209 = load double, ptr %208, align 8 %210 = fcmp ogt double %203, %209 br i1 %210, label %211, label %224 211: ; preds = %195 %212 = load ptr, ptr %10, align 8 %213 = load i32, ptr %15, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds double, ptr %212, i64 %214 %216 = load double, ptr %215, align 8 %217 = load ptr, ptr %10, align 8 %218 = load i32, ptr %15, align 4 %219 = sub nsw i32 %218, 1 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds double, ptr %217, i64 %220 %222 = load double, ptr %221, align 8 %223 = fsub double %216, %222 br label %225 224: ; preds = %195 br label %225 225: ; preds = %224, %211 %226 = phi double [ %223, %211 ], [ 0.000000e+00, %224 ] %227 = load double, ptr %13, align 8 %228 = fadd double %227, %226 store double %228, ptr %13, align 8 %229 = load ptr, ptr %10, align 8 %230 = load i32, ptr %15, align 4 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds double, ptr %229, i64 %231 %233 = load double, ptr %232, align 8 %234 = load ptr, ptr %10, align 8 %235 = load i32, ptr %15, align 4 %236 = sub nsw i32 %235, 1 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds double, ptr %234, i64 %237 %239 = load double, ptr %238, align 8 %240 = fcmp olt double %233, %239 br i1 %240, label %241, label %254 241: ; preds = %225 %242 = load ptr, ptr %10, align 8 %243 = load i32, ptr %15, align 4 %244 = sub nsw i32 %243, 1 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds double, ptr %242, i64 %245 %247 = load double, ptr %246, align 8 %248 = load ptr, ptr %10, align 8 %249 = load i32, ptr %15, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds double, ptr %248, i64 %250 %252 = load double, ptr %251, align 8 %253 = fsub double %247, %252 br label %255 254: ; preds = %225 br label %255 255: ; preds = %254, %241 %256 = phi double [ %253, %241 ], [ 0.000000e+00, %254 ] %257 = load double, ptr %14, align 8 %258 = fadd double %257, %256 store double %258, ptr %14, align 8 %259 = load double, ptr %13, align 8 %260 = load double, ptr %14, align 8 %261 = fsub double %259, %260 %262 = fmul double 1.000000e+02, %261 %263 = load double, ptr %13, align 8 %264 = load double, ptr %14, align 8 %265 = fadd double %263, %264 %266 = fdiv double %262, %265 %267 = load ptr, ptr %11, align 8 %268 = getelementptr inbounds double, ptr %267, i32 1 store ptr %268, ptr %11, align 8 store double %266, ptr %267, align 8 br label %269 269: ; preds = %255 %270 = load i32, ptr %15, align 4 %271 = add nsw i32 %270, 1 store i32 %271, ptr %15, align 4 %272 = load i32, ptr %15, align 4 %273 = load i32, ptr %6, align 4 %274 = icmp slt i32 %272, %273 br i1 %274, label %122, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %269 br label %275 275: ; preds = %._crit_edge3, %106 %276 = load ptr, ptr %11, align 8 %277 = load ptr, ptr %9, align 8 %278 = getelementptr inbounds ptr, ptr %277, i64 0 %279 = load ptr, ptr %278, align 8 %280 = ptrtoint ptr %276 to i64 %281 = ptrtoint ptr %279 to i64 %282 = sub i64 %280, %281 %283 = sdiv exact i64 %282, 8 %284 = load i32, ptr %6, align 4 %285 = load ptr, ptr %8, align 8 %286 = call i32 @ti_cmo_start(ptr noundef %285) %287 = sub nsw i32 %284, %286 %288 = sext i32 %287 to i64 %289 = icmp eq i64 %283, %288 %290 = zext i1 %289 to i32 %291 = call i32 @assert(i32 noundef %290) store i32 0, ptr %5, align 4 br label %292 292: ; preds = %275, %34, %28 %293 = load i32, ptr %5, align 4 ret i32 %293 } declare i32 @ti_cmo_start(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp1zm278o4.c' source_filename = "/tmp/tmp1zm278o4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FreeLevel() #0 { %1 = call i32 (...) @FreeVertices() %2 = call i32 (...) @FreeSidedefs() %3 = call i32 (...) @FreeLinedefs() %4 = call i32 (...) @FreeSectors() %5 = call i32 (...) @FreeThings() %6 = call i32 (...) @FreeSegs() %7 = call i32 (...) @FreeSubsecs() %8 = call i32 (...) @FreeWallTips() ret void } declare i32 @FreeVertices(...) #1 declare i32 @FreeSidedefs(...) #1 declare i32 @FreeLinedefs(...) #1 declare i32 @FreeSectors(...) #1 declare i32 @FreeThings(...) #1 declare i32 @FreeSegs(...) #1 declare i32 @FreeSubsecs(...) #1 declare i32 @FreeWallTips(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1zm278o4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FreeLevel() #0 { %1 = call i32 (...) @FreeVertices() %2 = call i32 (...) @FreeSidedefs() %3 = call i32 (...) @FreeLinedefs() %4 = call i32 (...) @FreeSectors() %5 = call i32 (...) @FreeThings() %6 = call i32 (...) @FreeSegs() %7 = call i32 (...) @FreeSubsecs() %8 = call i32 (...) @FreeWallTips() ret void } declare i32 @FreeVertices(...) #1 declare i32 @FreeSidedefs(...) #1 declare i32 @FreeLinedefs(...) #1 declare i32 @FreeSectors(...) #1 declare i32 @FreeThings(...) #1 declare i32 @FreeSegs(...) #1 declare i32 @FreeSubsecs(...) #1 declare i32 @FreeWallTips(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuytjd2wj.c' source_filename = "/tmp/tmpuytjd2wj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a series of positive numbers.\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"Enter a negative number or zero to quit.\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Enter a number greater than 0: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"The largest number entered was: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %3) %8 = load float, ptr %3, align 4 %9 = load float, ptr %2, align 4 %10 = fcmp ogt float %8, %9 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = load float, ptr %3, align 4 store float %12, ptr %2, align 4 br label %13 13: ; preds = %11, %0 br label %14 14: ; preds = %25, %13 %15 = load float, ptr %3, align 4 %16 = fcmp ogt float %15, 0.000000e+00 br i1 %16, label %17, label %26 17: ; preds = %14 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %19 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %3) %20 = load float, ptr %3, align 4 %21 = load float, ptr %2, align 4 %22 = fcmp ogt float %20, %21 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = load float, ptr %3, align 4 store float %24, ptr %2, align 4 br label %25 25: ; preds = %23, %17 br label %14, !llvm.loop !6 26: ; preds = %14 %27 = load float, ptr %2, align 4 %28 = fpext float %27 to double %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuytjd2wj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a series of positive numbers.\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"Enter a negative number or zero to quit.\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Enter a number greater than 0: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"The largest number entered was: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %3) %8 = load float, ptr %3, align 4 %9 = load float, ptr %2, align 4 %10 = fcmp ogt float %8, %9 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = load float, ptr %3, align 4 store float %12, ptr %2, align 4 br label %13 13: ; preds = %11, %0 %14 = load float, ptr %3, align 4 %15 = fcmp ogt float %14, 0.000000e+00 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %13 br label %16 16: ; preds = %.lr.ph, %24 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %18 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %3) %19 = load float, ptr %3, align 4 %20 = load float, ptr %2, align 4 %21 = fcmp ogt float %19, %20 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = load float, ptr %3, align 4 store float %23, ptr %2, align 4 br label %24 24: ; preds = %22, %16 %25 = load float, ptr %3, align 4 %26 = fcmp ogt float %25, 0.000000e+00 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %27 27: ; preds = %._crit_edge, %13 %28 = load float, ptr %2, align 4 %29 = fpext float %28 to double %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %29) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbmvit4f7.c' source_filename = "/tmp/tmpbmvit4f7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MIDIMessageFormatEncode(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load i64, ptr %8, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @MIDIMessageFormatEncodeRunningStatus(ptr noundef %11, ptr noundef %12, ptr noundef null, i64 noundef %13, ptr noundef %14, ptr noundef %15) ret i32 %16 } declare i32 @MIDIMessageFormatEncodeRunningStatus(ptr noundef, ptr noundef, ptr noundef, i64 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/tmpbmvit4f7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MIDIMessageFormatEncode(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load i64, ptr %8, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @MIDIMessageFormatEncodeRunningStatus(ptr noundef %11, ptr noundef %12, ptr noundef null, i64 noundef %13, ptr noundef %14, ptr noundef %15) ret i32 %16 } declare i32 @MIDIMessageFormatEncodeRunningStatus(ptr noundef, ptr noundef, ptr noundef, i64 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/tmpln40x3ln.c' source_filename = "/tmp/tmpln40x3ln.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_memory_move_read_2() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca [4 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 store i32 839909376, ptr %8, align 16 %9 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1 store i32 -1164413356, ptr %9, align 4 %10 = call i32 @calculat_group_numbers(i32 noundef 20, i32 noundef 12) store i32 %10, ptr %4, align 4 store i32 1, ptr %5, align 4 %11 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %12 = load i32, ptr %4, align 4 %13 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %14 = load i32, ptr %5, align 4 %15 = call i32 @memory_move_read(i32 noundef 20, i32 noundef 12, ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14) %16 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %17 = load i32, ptr %16, align 16 %18 = icmp eq i32 %17, 801 br i1 %18, label %19, label %20 19: ; preds = %0 store i32 0, ptr %1, align 4 br label %21 20: ; preds = %0 store i32 -1, ptr %1, align 4 br label %21 21: ; preds = %20, %19 %22 = load i32, ptr %1, align 4 ret i32 %22 } declare i32 @calculat_group_numbers(i32 noundef, i32 noundef) #1 declare i32 @memory_move_read(i32 noundef, i32 noundef, 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/tmpln40x3ln.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_memory_move_read_2() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca [4 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 store i32 839909376, ptr %8, align 16 %9 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1 store i32 -1164413356, ptr %9, align 4 %10 = call i32 @calculat_group_numbers(i32 noundef 20, i32 noundef 12) store i32 %10, ptr %4, align 4 store i32 1, ptr %5, align 4 %11 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %12 = load i32, ptr %4, align 4 %13 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %14 = load i32, ptr %5, align 4 %15 = call i32 @memory_move_read(i32 noundef 20, i32 noundef 12, ptr noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14) %16 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %17 = load i32, ptr %16, align 16 %18 = icmp eq i32 %17, 801 br i1 %18, label %19, label %20 19: ; preds = %0 store i32 0, ptr %1, align 4 br label %21 20: ; preds = %0 store i32 -1, ptr %1, align 4 br label %21 21: ; preds = %20, %19 %22 = load i32, ptr %1, align 4 ret i32 %22 } declare i32 @calculat_group_numbers(i32 noundef, i32 noundef) #1 declare i32 @memory_move_read(i32 noundef, i32 noundef, 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/tmp90d86bhi.c' source_filename = "/tmp/tmp90d86bhi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"exec %s\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"failed to execute %s %s '%s'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @run_command(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [4 x ptr], align 16 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @fork() switch i32 %4, label %32 [ i32 -1, label %5 i32 0, label %7 ] 5: ; preds = %1 %6 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str) br label %7 7: ; preds = %1, %5 %8 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 0 store ptr @.str.1, ptr %8, align 16 %9 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 1 store ptr @.str.2, ptr %9, align 8 %10 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 3 store ptr null, ptr %10, align 8 %11 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 2 %12 = load ptr, ptr %2, align 8 %13 = call i32 @asprintf(ptr noundef %11, ptr noundef @.str.3, ptr noundef %12) %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %7 %16 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef null) br label %17 17: ; preds = %15, %7 %18 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 0 %19 = load ptr, ptr %18, align 16 %20 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 0 %21 = call i32 @execvp(ptr noundef %19, ptr noundef %20) %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %17 %24 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 0 %25 = load ptr, ptr %24, align 16 %26 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 1 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 2 %29 = load ptr, ptr %28, align 16 %30 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.4, ptr noundef %25, ptr noundef %27, ptr noundef %29) br label %31 31: ; preds = %23, %17 br label %32 32: ; preds = %31, %1 ret void } declare i32 @fork(...) #1 declare i32 @err(i32 noundef, ptr noundef, ...) #1 declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp90d86bhi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"exec %s\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"failed to execute %s %s '%s'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @run_command(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [4 x ptr], align 16 store ptr %0, ptr %2, align 8 %4 = call i32 (...) @fork() switch i32 %4, label %32 [ i32 -1, label %5 i32 0, label %7 ] 5: ; preds = %1 %6 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str) br label %7 7: ; preds = %5, %1 %8 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 0 store ptr @.str.1, ptr %8, align 16 %9 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 1 store ptr @.str.2, ptr %9, align 8 %10 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 3 store ptr null, ptr %10, align 8 %11 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 2 %12 = load ptr, ptr %2, align 8 %13 = call i32 @asprintf(ptr noundef %11, ptr noundef @.str.3, ptr noundef %12) %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %7 %16 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef null) br label %17 17: ; preds = %15, %7 %18 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 0 %19 = load ptr, ptr %18, align 16 %20 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 0 %21 = call i32 @execvp(ptr noundef %19, ptr noundef %20) %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %17 %24 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 0 %25 = load ptr, ptr %24, align 16 %26 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 1 %27 = load ptr, ptr %26, align 8 %28 = getelementptr inbounds [4 x ptr], ptr %3, i64 0, i64 2 %29 = load ptr, ptr %28, align 16 %30 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.4, ptr noundef %25, ptr noundef %27, ptr noundef %29) br label %31 31: ; preds = %23, %17 br label %32 32: ; preds = %31, %1 ret void } declare i32 @fork(...) #1 declare i32 @err(i32 noundef, ptr noundef, ...) #1 declare i32 @asprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpifsv2ows.c' source_filename = "/tmp/tmpifsv2ows.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cont_dispose_key_(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 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load ptr, ptr %4, align 8 %9 = call i32 @brain_free_(ptr noundef %8) br label %10 10: ; preds = %7, %2 ret void } declare i32 @brain_free_(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpifsv2ows.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cont_dispose_key_(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 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load ptr, ptr %4, align 8 %9 = call i32 @brain_free_(ptr noundef %8) br label %10 10: ; preds = %7, %2 ret void } declare i32 @brain_free_(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn3qo6t5d.c' source_filename = "/tmp/tmpn3qo6t5d.c" target datalayout = "e-m:e-p270: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/tmpn3qo6t5d.c" target datalayout = "e-m:e-p270: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/tmpoedx15cc.c' source_filename = "/tmp/tmpoedx15cc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_mul_part_recursive(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %20 = load i32, ptr %11, align 4 %21 = mul nsw i32 %20, 2 store i32 %21, ptr %15, align 4 %22 = load i32, ptr %11, align 4 %23 = icmp slt i32 %22, 8 br i1 %23, label %24, label %34 24: ; preds = %6 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr %11, align 4 %27 = add nsw i32 %25, %26 store i32 %27, ptr %13, align 4 %28 = load ptr, ptr %7, align 8 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %13, align 4 %31 = load ptr, ptr %9, align 8 %32 = load i32, ptr %13, align 4 %33 = call i32 @bn_mul_normal(ptr noundef %28, ptr noundef %29, i32 noundef %30, ptr noundef %31, i32 noundef %32) br label %355 34: ; preds = %6 %35 = load ptr, ptr %12, align 8 %36 = load ptr, ptr %8, align 8 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %11, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i64, ptr %37, i64 %39 %41 = load i32, ptr %11, align 4 %42 = call i64 @bn_sub_words(ptr noundef %35, ptr noundef %36, ptr noundef %40, i32 noundef %41) %43 = load ptr, ptr %12, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i64, ptr %43, i64 %45 %47 = load ptr, ptr %9, align 8 %48 = load ptr, ptr %9, align 8 %49 = load i32, ptr %11, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i64, ptr %48, i64 %50 %52 = load i32, ptr %11, align 4 %53 = call i64 @bn_sub_words(ptr noundef %46, ptr noundef %47, ptr noundef %51, i32 noundef %52) %54 = load i32, ptr %11, align 4 %55 = icmp eq i32 %54, 8 br i1 %55, label %56, label %101 56: ; preds = %34 %57 = load ptr, ptr %12, align 8 %58 = load i32, ptr %15, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i64, ptr %57, i64 %59 %61 = load ptr, ptr %12, align 8 %62 = load ptr, ptr %12, align 8 %63 = load i32, ptr %11, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i64, ptr %62, i64 %64 %66 = call i32 @bn_mul_comba8(ptr noundef %60, ptr noundef %61, ptr noundef %65) %67 = load ptr, ptr %7, align 8 %68 = load ptr, ptr %8, align 8 %69 = load ptr, ptr %9, align 8 %70 = call i32 @bn_mul_comba8(ptr noundef %67, ptr noundef %68, ptr noundef %69) %71 = load ptr, ptr %7, align 8 %72 = load i32, ptr %15, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i64, ptr %71, i64 %73 %75 = load ptr, ptr %8, align 8 %76 = load i32, ptr %11, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i64, ptr %75, i64 %77 %79 = load i32, ptr %10, align 4 %80 = load ptr, ptr %9, align 8 %81 = load i32, ptr %11, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i64, ptr %80, i64 %82 %84 = load i32, ptr %10, align 4 %85 = call i32 @bn_mul_normal(ptr noundef %74, ptr noundef %78, i32 noundef %79, ptr noundef %83, i32 noundef %84) %86 = load ptr, ptr %7, align 8 %87 = load i32, ptr %15, align 4 %88 = load i32, ptr %10, align 4 %89 = mul nsw i32 %88, 2 %90 = add nsw i32 %87, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i64, ptr %86, i64 %91 %93 = load i32, ptr %15, align 4 %94 = load i32, ptr %10, align 4 %95 = mul nsw i32 %94, 2 %96 = sub nsw i32 %93, %95 %97 = sext i32 %96 to i64 %98 = mul i64 8, %97 %99 = trunc i64 %98 to i32 %100 = call i32 @memset(ptr noundef %92, i32 noundef 0, i32 noundef %99) br label %276 101: ; preds = %34 %102 = load ptr, ptr %12, align 8 %103 = load i32, ptr %15, align 4 %104 = mul nsw i32 %103, 2 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i64, ptr %102, i64 %105 store ptr %106, ptr %19, align 8 %107 = load ptr, ptr %12, align 8 %108 = load i32, ptr %15, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i64, ptr %107, i64 %109 %111 = load ptr, ptr %12, align 8 %112 = load ptr, ptr %12, align 8 %113 = load i32, ptr %11, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i64, ptr %112, i64 %114 %116 = load i32, ptr %11, align 4 %117 = load ptr, ptr %19, align 8 %118 = call i32 @bn_mul_recursive(ptr noundef %110, ptr noundef %111, ptr noundef %115, i32 noundef %116, ptr noundef %117) %119 = load ptr, ptr %7, align 8 %120 = load ptr, ptr %8, align 8 %121 = load ptr, ptr %9, align 8 %122 = load i32, ptr %11, align 4 %123 = load ptr, ptr %19, align 8 %124 = call i32 @bn_mul_recursive(ptr noundef %119, ptr noundef %120, ptr noundef %121, i32 noundef %122, ptr noundef %123) %125 = load i32, ptr %11, align 4 %126 = sdiv i32 %125, 2 store i32 %126, ptr %13, align 4 %127 = load i32, ptr %10, align 4 %128 = load i32, ptr %13, align 4 %129 = sub nsw i32 %127, %128 store i32 %129, ptr %14, align 4 %130 = load i32, ptr %14, align 4 %131 = icmp eq i32 %130, 0 br i1 %131, label %132, label %163 132: ; preds = %101 %133 = load ptr, ptr %7, align 8 %134 = load i32, ptr %15, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds i64, ptr %133, i64 %135 %137 = load ptr, ptr %8, align 8 %138 = load i32, ptr %11, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i64, ptr %137, i64 %139 %141 = load ptr, ptr %9, align 8 %142 = load i32, ptr %11, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i64, ptr %141, i64 %143 %145 = load i32, ptr %13, align 4 %146 = load ptr, ptr %19, align 8 %147 = call i32 @bn_mul_recursive(ptr noundef %136, ptr noundef %140, ptr noundef %144, i32 noundef %145, ptr noundef %146) %148 = load ptr, ptr %7, align 8 %149 = load i32, ptr %15, align 4 %150 = load i32, ptr %13, align 4 %151 = mul nsw i32 %150, 2 %152 = add nsw i32 %149, %151 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds i64, ptr %148, i64 %153 %155 = load i32, ptr %15, align 4 %156 = load i32, ptr %13, align 4 %157 = mul nsw i32 %156, 2 %158 = sub nsw i32 %155, %157 %159 = sext i32 %158 to i64 %160 = mul i64 8, %159 %161 = trunc i64 %160 to i32 %162 = call i32 @memset(ptr noundef %154, i32 noundef 0, i32 noundef %161) br label %275 163: ; preds = %101 %164 = load i32, ptr %14, align 4 %165 = icmp sgt i32 %164, 0 br i1 %165, label %166, label %197 166: ; preds = %163 %167 = load ptr, ptr %7, align 8 %168 = load i32, ptr %15, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i64, ptr %167, i64 %169 %171 = load ptr, ptr %8, align 8 %172 = load i32, ptr %11, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i64, ptr %171, i64 %173 %175 = load ptr, ptr %9, align 8 %176 = load i32, ptr %11, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i64, ptr %175, i64 %177 %179 = load i32, ptr %14, align 4 %180 = load i32, ptr %13, align 4 %181 = load ptr, ptr %19, align 8 call void @bn_mul_part_recursive(ptr noundef %170, ptr noundef %174, ptr noundef %178, i32 noundef %179, i32 noundef %180, ptr noundef %181) %182 = load ptr, ptr %7, align 8 %183 = load i32, ptr %15, align 4 %184 = load i32, ptr %10, align 4 %185 = mul nsw i32 %184, 2 %186 = add nsw i32 %183, %185 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i64, ptr %182, i64 %187 %189 = load i32, ptr %15, align 4 %190 = load i32, ptr %10, align 4 %191 = mul nsw i32 %190, 2 %192 = sub nsw i32 %189, %191 %193 = sext i32 %192 to i64 %194 = mul i64 8, %193 %195 = trunc i64 %194 to i32 %196 = call i32 @memset(ptr noundef %188, i32 noundef 0, i32 noundef %195) br label %274 197: ; preds = %163 %198 = load ptr, ptr %7, align 8 %199 = load i32, ptr %15, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds i64, ptr %198, i64 %200 %202 = load i32, ptr %15, align 4 %203 = sext i32 %202 to i64 %204 = mul i64 8, %203 %205 = trunc i64 %204 to i32 %206 = call i32 @memset(ptr noundef %201, i32 noundef 0, i32 noundef %205) %207 = load i32, ptr %10, align 4 %208 = icmp slt i32 %207, 16 br i1 %208, label %209, label %225 209: ; preds = %197 %210 = load ptr, ptr %7, align 8 %211 = load i32, ptr %15, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds i64, ptr %210, i64 %212 %214 = load ptr, ptr %8, align 8 %215 = load i32, ptr %11, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds i64, ptr %214, i64 %216 %218 = load i32, ptr %10, align 4 %219 = load ptr, ptr %9, align 8 %220 = load i32, ptr %11, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds i64, ptr %219, i64 %221 %223 = load i32, ptr %10, align 4 %224 = call i32 @bn_mul_normal(ptr noundef %213, ptr noundef %217, i32 noundef %218, ptr noundef %222, i32 noundef %223) br label %273 225: ; preds = %197 br label %226 226: ; preds = %271, %225 %227 = load i32, ptr %13, align 4 %228 = sdiv i32 %227, 2 store i32 %228, ptr %13, align 4 %229 = load i32, ptr %13, align 4 %230 = load i32, ptr %10, align 4 %231 = icmp slt i32 %229, %230 br i1 %231, label %232, label %250 232: ; preds = %226 %233 = load ptr, ptr %7, align 8 %234 = load i32, ptr %15, align 4 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds i64, ptr %233, i64 %235 %237 = load ptr, ptr %8, align 8 %238 = load i32, ptr %11, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds i64, ptr %237, i64 %239 %241 = load ptr, ptr %9, align 8 %242 = load i32, ptr %11, align 4 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds i64, ptr %241, i64 %243 %245 = load i32, ptr %10, align 4 %246 = load i32, ptr %13, align 4 %247 = sub nsw i32 %245, %246 %248 = load i32, ptr %13, align 4 %249 = load ptr, ptr %19, align 8 call void @bn_mul_part_recursive(ptr noundef %236, ptr noundef %240, ptr noundef %244, i32 noundef %247, i32 noundef %248, ptr noundef %249) br label %272 250: ; preds = %226 %251 = load i32, ptr %13, align 4 %252 = load i32, ptr %10, align 4 %253 = icmp eq i32 %251, %252 br i1 %253, label %254, label %270 254: ; preds = %250 %255 = load ptr, ptr %7, align 8 %256 = load i32, ptr %15, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds i64, ptr %255, i64 %257 %259 = load ptr, ptr %8, align 8 %260 = load i32, ptr %11, align 4 %261 = sext i32 %260 to i64 %262 = getelementptr inbounds i64, ptr %259, i64 %261 %263 = load ptr, ptr %9, align 8 %264 = load i32, ptr %11, align 4 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds i64, ptr %263, i64 %265 %267 = load i32, ptr %13, align 4 %268 = load ptr, ptr %19, align 8 %269 = call i32 @bn_mul_recursive(ptr noundef %258, ptr noundef %262, ptr noundef %266, i32 noundef %267, ptr noundef %268) br label %272 270: ; preds = %250 br label %271 271: ; preds = %270 br label %226 272: ; preds = %254, %232 br label %273 273: ; preds = %272, %209 br label %274 274: ; preds = %273, %166 br label %275 275: ; preds = %274, %132 br label %276 276: ; preds = %275, %56 %277 = load ptr, ptr %12, align 8 %278 = load ptr, ptr %7, align 8 %279 = load ptr, ptr %7, align 8 %280 = load i32, ptr %15, align 4 %281 = sext i32 %280 to i64 %282 = getelementptr inbounds i64, ptr %279, i64 %281 %283 = load i32, ptr %15, align 4 %284 = call i64 @bn_add_words(ptr noundef %277, ptr noundef %278, ptr noundef %282, i32 noundef %283) %285 = trunc i64 %284 to i32 store i32 %285, ptr %16, align 4 %286 = load ptr, ptr %12, align 8 %287 = load i32, ptr %15, align 4 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds i64, ptr %286, i64 %288 %290 = load ptr, ptr %12, align 8 %291 = load ptr, ptr %12, align 8 %292 = load i32, ptr %15, align 4 %293 = sext i32 %292 to i64 %294 = getelementptr inbounds i64, ptr %291, i64 %293 %295 = load i32, ptr %15, align 4 %296 = call i64 @bn_sub_words(ptr noundef %289, ptr noundef %290, ptr noundef %294, i32 noundef %295) %297 = trunc i64 %296 to i32 %298 = load i32, ptr %16, align 4 %299 = sub i32 %298, %297 store i32 %299, ptr %16, align 4 %300 = load ptr, ptr %7, align 8 %301 = load i32, ptr %11, align 4 %302 = sext i32 %301 to i64 %303 = getelementptr inbounds i64, ptr %300, i64 %302 %304 = load ptr, ptr %7, align 8 %305 = load i32, ptr %11, align 4 %306 = sext i32 %305 to i64 %307 = getelementptr inbounds i64, ptr %304, i64 %306 %308 = load ptr, ptr %12, align 8 %309 = load i32, ptr %15, align 4 %310 = sext i32 %309 to i64 %311 = getelementptr inbounds i64, ptr %308, i64 %310 %312 = load i32, ptr %15, align 4 %313 = call i64 @bn_add_words(ptr noundef %303, ptr noundef %307, ptr noundef %311, i32 noundef %312) %314 = trunc i64 %313 to i32 %315 = load i32, ptr %16, align 4 %316 = add i32 %315, %314 store i32 %316, ptr %16, align 4 %317 = load i32, ptr %16, align 4 %318 = icmp ne i32 %317, 0 br i1 %318, label %319, label %355 319: ; preds = %276 %320 = load ptr, ptr %7, align 8 %321 = load i32, ptr %11, align 4 %322 = load i32, ptr %15, align 4 %323 = add nsw i32 %321, %322 %324 = sext i32 %323 to i64 %325 = getelementptr inbounds i64, ptr %320, i64 %324 store ptr %325, ptr %19, align 8 %326 = load ptr, ptr %19, align 8 %327 = load i64, ptr %326, align 8 store i64 %327, ptr %18, align 8 %328 = load i64, ptr %18, align 8 %329 = load i32, ptr %16, align 4 %330 = zext i32 %329 to i64 %331 = add i64 %328, %330 %332 = and i64 %331, 4294967295 store i64 %332, ptr %17, align 8 %333 = load i64, ptr %17, align 8 %334 = load ptr, ptr %19, align 8 store i64 %333, ptr %334, align 8 %335 = load i64, ptr %17, align 8 %336 = load i32, ptr %16, align 4 %337 = zext i32 %336 to i64 %338 = icmp ult i64 %335, %337 br i1 %338, label %339, label %354 339: ; preds = %319 br label %340 340: ; preds = %350, %339 %341 = load ptr, ptr %19, align 8 %342 = getelementptr inbounds i64, ptr %341, i32 1 store ptr %342, ptr %19, align 8 %343 = load ptr, ptr %19, align 8 %344 = load i64, ptr %343, align 8 store i64 %344, ptr %18, align 8 %345 = load i64, ptr %18, align 8 %346 = add i64 %345, 1 %347 = and i64 %346, 4294967295 store i64 %347, ptr %17, align 8 %348 = load i64, ptr %17, align 8 %349 = load ptr, ptr %19, align 8 store i64 %348, ptr %349, align 8 br label %350 350: ; preds = %340 %351 = load i64, ptr %17, align 8 %352 = icmp eq i64 %351, 0 br i1 %352, label %340, label %353, !llvm.loop !6 353: ; preds = %350 br label %354 354: ; preds = %353, %319 br label %355 355: ; preds = %24, %354, %276 ret void } declare i32 @bn_mul_normal(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @bn_sub_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @bn_mul_comba8(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @bn_mul_recursive(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @bn_add_words(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/tmpoedx15cc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_mul_part_recursive(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %20 = load i32, ptr %11, align 4 %21 = mul nsw i32 %20, 2 store i32 %21, ptr %15, align 4 %22 = load i32, ptr %11, align 4 %23 = icmp slt i32 %22, 8 br i1 %23, label %24, label %34 24: ; preds = %6 %25 = load i32, ptr %10, align 4 %26 = load i32, ptr %11, align 4 %27 = add nsw i32 %25, %26 store i32 %27, ptr %13, align 4 %28 = load ptr, ptr %7, align 8 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %13, align 4 %31 = load ptr, ptr %9, align 8 %32 = load i32, ptr %13, align 4 %33 = call i32 @bn_mul_normal(ptr noundef %28, ptr noundef %29, i32 noundef %30, ptr noundef %31, i32 noundef %32) br label %359 34: ; preds = %6 %35 = load ptr, ptr %12, align 8 %36 = load ptr, ptr %8, align 8 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %11, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i64, ptr %37, i64 %39 %41 = load i32, ptr %11, align 4 %42 = call i64 @bn_sub_words(ptr noundef %35, ptr noundef %36, ptr noundef %40, i32 noundef %41) %43 = load ptr, ptr %12, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i64, ptr %43, i64 %45 %47 = load ptr, ptr %9, align 8 %48 = load ptr, ptr %9, align 8 %49 = load i32, ptr %11, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i64, ptr %48, i64 %50 %52 = load i32, ptr %11, align 4 %53 = call i64 @bn_sub_words(ptr noundef %46, ptr noundef %47, ptr noundef %51, i32 noundef %52) %54 = load i32, ptr %11, align 4 %55 = icmp eq i32 %54, 8 br i1 %55, label %56, label %101 56: ; preds = %34 %57 = load ptr, ptr %12, align 8 %58 = load i32, ptr %15, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i64, ptr %57, i64 %59 %61 = load ptr, ptr %12, align 8 %62 = load ptr, ptr %12, align 8 %63 = load i32, ptr %11, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i64, ptr %62, i64 %64 %66 = call i32 @bn_mul_comba8(ptr noundef %60, ptr noundef %61, ptr noundef %65) %67 = load ptr, ptr %7, align 8 %68 = load ptr, ptr %8, align 8 %69 = load ptr, ptr %9, align 8 %70 = call i32 @bn_mul_comba8(ptr noundef %67, ptr noundef %68, ptr noundef %69) %71 = load ptr, ptr %7, align 8 %72 = load i32, ptr %15, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i64, ptr %71, i64 %73 %75 = load ptr, ptr %8, align 8 %76 = load i32, ptr %11, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i64, ptr %75, i64 %77 %79 = load i32, ptr %10, align 4 %80 = load ptr, ptr %9, align 8 %81 = load i32, ptr %11, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i64, ptr %80, i64 %82 %84 = load i32, ptr %10, align 4 %85 = call i32 @bn_mul_normal(ptr noundef %74, ptr noundef %78, i32 noundef %79, ptr noundef %83, i32 noundef %84) %86 = load ptr, ptr %7, align 8 %87 = load i32, ptr %15, align 4 %88 = load i32, ptr %10, align 4 %89 = mul nsw i32 %88, 2 %90 = add nsw i32 %87, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i64, ptr %86, i64 %91 %93 = load i32, ptr %15, align 4 %94 = load i32, ptr %10, align 4 %95 = mul nsw i32 %94, 2 %96 = sub nsw i32 %93, %95 %97 = sext i32 %96 to i64 %98 = mul i64 8, %97 %99 = trunc i64 %98 to i32 %100 = call i32 @memset(ptr noundef %92, i32 noundef 0, i32 noundef %99) br label %280 101: ; preds = %34 %102 = load ptr, ptr %12, align 8 %103 = load i32, ptr %15, align 4 %104 = mul nsw i32 %103, 2 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i64, ptr %102, i64 %105 store ptr %106, ptr %19, align 8 %107 = load ptr, ptr %12, align 8 %108 = load i32, ptr %15, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i64, ptr %107, i64 %109 %111 = load ptr, ptr %12, align 8 %112 = load ptr, ptr %12, align 8 %113 = load i32, ptr %11, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i64, ptr %112, i64 %114 %116 = load i32, ptr %11, align 4 %117 = load ptr, ptr %19, align 8 %118 = call i32 @bn_mul_recursive(ptr noundef %110, ptr noundef %111, ptr noundef %115, i32 noundef %116, ptr noundef %117) %119 = load ptr, ptr %7, align 8 %120 = load ptr, ptr %8, align 8 %121 = load ptr, ptr %9, align 8 %122 = load i32, ptr %11, align 4 %123 = load ptr, ptr %19, align 8 %124 = call i32 @bn_mul_recursive(ptr noundef %119, ptr noundef %120, ptr noundef %121, i32 noundef %122, ptr noundef %123) %125 = load i32, ptr %11, align 4 %126 = sdiv i32 %125, 2 store i32 %126, ptr %13, align 4 %127 = load i32, ptr %10, align 4 %128 = load i32, ptr %13, align 4 %129 = sub nsw i32 %127, %128 store i32 %129, ptr %14, align 4 %130 = load i32, ptr %14, align 4 %131 = icmp eq i32 %130, 0 br i1 %131, label %132, label %163 132: ; preds = %101 %133 = load ptr, ptr %7, align 8 %134 = load i32, ptr %15, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds i64, ptr %133, i64 %135 %137 = load ptr, ptr %8, align 8 %138 = load i32, ptr %11, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i64, ptr %137, i64 %139 %141 = load ptr, ptr %9, align 8 %142 = load i32, ptr %11, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i64, ptr %141, i64 %143 %145 = load i32, ptr %13, align 4 %146 = load ptr, ptr %19, align 8 %147 = call i32 @bn_mul_recursive(ptr noundef %136, ptr noundef %140, ptr noundef %144, i32 noundef %145, ptr noundef %146) %148 = load ptr, ptr %7, align 8 %149 = load i32, ptr %15, align 4 %150 = load i32, ptr %13, align 4 %151 = mul nsw i32 %150, 2 %152 = add nsw i32 %149, %151 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds i64, ptr %148, i64 %153 %155 = load i32, ptr %15, align 4 %156 = load i32, ptr %13, align 4 %157 = mul nsw i32 %156, 2 %158 = sub nsw i32 %155, %157 %159 = sext i32 %158 to i64 %160 = mul i64 8, %159 %161 = trunc i64 %160 to i32 %162 = call i32 @memset(ptr noundef %154, i32 noundef 0, i32 noundef %161) br label %279 163: ; preds = %101 %164 = load i32, ptr %14, align 4 %165 = icmp sgt i32 %164, 0 br i1 %165, label %166, label %197 166: ; preds = %163 %167 = load ptr, ptr %7, align 8 %168 = load i32, ptr %15, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds i64, ptr %167, i64 %169 %171 = load ptr, ptr %8, align 8 %172 = load i32, ptr %11, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i64, ptr %171, i64 %173 %175 = load ptr, ptr %9, align 8 %176 = load i32, ptr %11, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i64, ptr %175, i64 %177 %179 = load i32, ptr %14, align 4 %180 = load i32, ptr %13, align 4 %181 = load ptr, ptr %19, align 8 call void @bn_mul_part_recursive(ptr noundef %170, ptr noundef %174, ptr noundef %178, i32 noundef %179, i32 noundef %180, ptr noundef %181) %182 = load ptr, ptr %7, align 8 %183 = load i32, ptr %15, align 4 %184 = load i32, ptr %10, align 4 %185 = mul nsw i32 %184, 2 %186 = add nsw i32 %183, %185 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i64, ptr %182, i64 %187 %189 = load i32, ptr %15, align 4 %190 = load i32, ptr %10, align 4 %191 = mul nsw i32 %190, 2 %192 = sub nsw i32 %189, %191 %193 = sext i32 %192 to i64 %194 = mul i64 8, %193 %195 = trunc i64 %194 to i32 %196 = call i32 @memset(ptr noundef %188, i32 noundef 0, i32 noundef %195) br label %278 197: ; preds = %163 %198 = load ptr, ptr %7, align 8 %199 = load i32, ptr %15, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds i64, ptr %198, i64 %200 %202 = load i32, ptr %15, align 4 %203 = sext i32 %202 to i64 %204 = mul i64 8, %203 %205 = trunc i64 %204 to i32 %206 = call i32 @memset(ptr noundef %201, i32 noundef 0, i32 noundef %205) %207 = load i32, ptr %10, align 4 %208 = icmp slt i32 %207, 16 br i1 %208, label %209, label %225 209: ; preds = %197 %210 = load ptr, ptr %7, align 8 %211 = load i32, ptr %15, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds i64, ptr %210, i64 %212 %214 = load ptr, ptr %8, align 8 %215 = load i32, ptr %11, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds i64, ptr %214, i64 %216 %218 = load i32, ptr %10, align 4 %219 = load ptr, ptr %9, align 8 %220 = load i32, ptr %11, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds i64, ptr %219, i64 %221 %223 = load i32, ptr %10, align 4 %224 = call i32 @bn_mul_normal(ptr noundef %213, ptr noundef %217, i32 noundef %218, ptr noundef %222, i32 noundef %223) br label %277 225: ; preds = %197 %226 = load i32, ptr %13, align 4 %227 = sdiv i32 %226, 2 store i32 %227, ptr %13, align 4 %228 = load i32, ptr %13, align 4 %229 = load i32, ptr %10, align 4 %230 = icmp slt i32 %228, %229 br i1 %230, label %231, label %.lr.ph .lr.ph: ; preds = %225 br label %249 ._crit_edge: ; preds = %270 br label %231 231: ; preds = %._crit_edge, %225 %232 = load ptr, ptr %7, align 8 %233 = load i32, ptr %15, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds i64, ptr %232, i64 %234 %236 = load ptr, ptr %8, align 8 %237 = load i32, ptr %11, align 4 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds i64, ptr %236, i64 %238 %240 = load ptr, ptr %9, align 8 %241 = load i32, ptr %11, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds i64, ptr %240, i64 %242 %244 = load i32, ptr %10, align 4 %245 = load i32, ptr %13, align 4 %246 = sub nsw i32 %244, %245 %247 = load i32, ptr %13, align 4 %248 = load ptr, ptr %19, align 8 call void @bn_mul_part_recursive(ptr noundef %235, ptr noundef %239, ptr noundef %243, i32 noundef %246, i32 noundef %247, ptr noundef %248) br label %276 249: ; preds = %.lr.ph, %270 %250 = load i32, ptr %13, align 4 %251 = load i32, ptr %10, align 4 %252 = icmp eq i32 %250, %251 br i1 %252, label %253, label %269 253: ; preds = %249 %254 = load ptr, ptr %7, align 8 %255 = load i32, ptr %15, align 4 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds i64, ptr %254, i64 %256 %258 = load ptr, ptr %8, align 8 %259 = load i32, ptr %11, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds i64, ptr %258, i64 %260 %262 = load ptr, ptr %9, align 8 %263 = load i32, ptr %11, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds i64, ptr %262, i64 %264 %266 = load i32, ptr %13, align 4 %267 = load ptr, ptr %19, align 8 %268 = call i32 @bn_mul_recursive(ptr noundef %257, ptr noundef %261, ptr noundef %265, i32 noundef %266, ptr noundef %267) br label %276 269: ; preds = %249 br label %270 270: ; preds = %269 %271 = load i32, ptr %13, align 4 %272 = sdiv i32 %271, 2 store i32 %272, ptr %13, align 4 %273 = load i32, ptr %13, align 4 %274 = load i32, ptr %10, align 4 %275 = icmp slt i32 %273, %274 br i1 %275, label %._crit_edge, label %249 276: ; preds = %253, %231 br label %277 277: ; preds = %276, %209 br label %278 278: ; preds = %277, %166 br label %279 279: ; preds = %278, %132 br label %280 280: ; preds = %279, %56 %281 = load ptr, ptr %12, align 8 %282 = load ptr, ptr %7, align 8 %283 = load ptr, ptr %7, align 8 %284 = load i32, ptr %15, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds i64, ptr %283, i64 %285 %287 = load i32, ptr %15, align 4 %288 = call i64 @bn_add_words(ptr noundef %281, ptr noundef %282, ptr noundef %286, i32 noundef %287) %289 = trunc i64 %288 to i32 store i32 %289, ptr %16, align 4 %290 = load ptr, ptr %12, align 8 %291 = load i32, ptr %15, align 4 %292 = sext i32 %291 to i64 %293 = getelementptr inbounds i64, ptr %290, i64 %292 %294 = load ptr, ptr %12, align 8 %295 = load ptr, ptr %12, align 8 %296 = load i32, ptr %15, align 4 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds i64, ptr %295, i64 %297 %299 = load i32, ptr %15, align 4 %300 = call i64 @bn_sub_words(ptr noundef %293, ptr noundef %294, ptr noundef %298, i32 noundef %299) %301 = trunc i64 %300 to i32 %302 = load i32, ptr %16, align 4 %303 = sub i32 %302, %301 store i32 %303, ptr %16, align 4 %304 = load ptr, ptr %7, align 8 %305 = load i32, ptr %11, align 4 %306 = sext i32 %305 to i64 %307 = getelementptr inbounds i64, ptr %304, i64 %306 %308 = load ptr, ptr %7, align 8 %309 = load i32, ptr %11, align 4 %310 = sext i32 %309 to i64 %311 = getelementptr inbounds i64, ptr %308, i64 %310 %312 = load ptr, ptr %12, align 8 %313 = load i32, ptr %15, align 4 %314 = sext i32 %313 to i64 %315 = getelementptr inbounds i64, ptr %312, i64 %314 %316 = load i32, ptr %15, align 4 %317 = call i64 @bn_add_words(ptr noundef %307, ptr noundef %311, ptr noundef %315, i32 noundef %316) %318 = trunc i64 %317 to i32 %319 = load i32, ptr %16, align 4 %320 = add i32 %319, %318 store i32 %320, ptr %16, align 4 %321 = load i32, ptr %16, align 4 %322 = icmp ne i32 %321, 0 br i1 %322, label %323, label %359 323: ; preds = %280 %324 = load ptr, ptr %7, align 8 %325 = load i32, ptr %11, align 4 %326 = load i32, ptr %15, align 4 %327 = add nsw i32 %325, %326 %328 = sext i32 %327 to i64 %329 = getelementptr inbounds i64, ptr %324, i64 %328 store ptr %329, ptr %19, align 8 %330 = load ptr, ptr %19, align 8 %331 = load i64, ptr %330, align 8 store i64 %331, ptr %18, align 8 %332 = load i64, ptr %18, align 8 %333 = load i32, ptr %16, align 4 %334 = zext i32 %333 to i64 %335 = add i64 %332, %334 %336 = and i64 %335, 4294967295 store i64 %336, ptr %17, align 8 %337 = load i64, ptr %17, align 8 %338 = load ptr, ptr %19, align 8 store i64 %337, ptr %338, align 8 %339 = load i64, ptr %17, align 8 %340 = load i32, ptr %16, align 4 %341 = zext i32 %340 to i64 %342 = icmp ult i64 %339, %341 br i1 %342, label %343, label %358 343: ; preds = %323 br label %344 344: ; preds = %354, %343 %345 = load ptr, ptr %19, align 8 %346 = getelementptr inbounds i64, ptr %345, i32 1 store ptr %346, ptr %19, align 8 %347 = load ptr, ptr %19, align 8 %348 = load i64, ptr %347, align 8 store i64 %348, ptr %18, align 8 %349 = load i64, ptr %18, align 8 %350 = add i64 %349, 1 %351 = and i64 %350, 4294967295 store i64 %351, ptr %17, align 8 %352 = load i64, ptr %17, align 8 %353 = load ptr, ptr %19, align 8 store i64 %352, ptr %353, align 8 br label %354 354: ; preds = %344 %355 = load i64, ptr %17, align 8 %356 = icmp eq i64 %355, 0 br i1 %356, label %344, label %357, !llvm.loop !6 357: ; preds = %354 br label %358 358: ; preds = %357, %323 br label %359 359: ; preds = %358, %280, %24 ret void } declare i32 @bn_mul_normal(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @bn_sub_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @bn_mul_comba8(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @bn_mul_recursive(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @bn_add_words(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/tmpgf5i5p31.c' source_filename = "/tmp/tmpgf5i5p31.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getfilelen() #0 { %1 = call i64 (...) @GetFileLen316() ret i64 %1 } declare i64 @GetFileLen316(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgf5i5p31.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getfilelen() #0 { %1 = call i64 (...) @GetFileLen316() ret i64 %1 } declare i64 @GetFileLen316(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv338lfsl.c' source_filename = "/tmp/tmpv338lfsl.c" target datalayout = "e-m:e-p270: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/tmpv338lfsl.c" target datalayout = "e-m:e-p270: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/tmp1suvhhzw.c' source_filename = "/tmp/tmp1suvhhzw.c" target datalayout = "e-m:e-p270: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/tmp1suvhhzw.c" target datalayout = "e-m:e-p270: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/tmpvnpfxv05.c' source_filename = "/tmp/tmpvnpfxv05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printLetters(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %9 9: ; preds = %35, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %38 13: ; preds = %9 store i32 0, ptr %8, align 4 br label %14 14: ; preds = %30, %13 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %33 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28) br label %30 30: ; preds = %18 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %8, align 4 br label %14, !llvm.loop !6 33: ; preds = %14 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %35 35: ; preds = %33 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 br label %9, !llvm.loop !8 38: ; preds = %9 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvnpfxv05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printLetters(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph2, label %42 .lr.ph2: ; preds = %3 br label %12 12: ; preds = %.lr.ph2, %36 store i32 0, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %34 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %28 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26) br label %28 28: ; preds = %16 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %12 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %36 36: ; preds = %34 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %42 42: ; preds = %._crit_edge3, %3 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmph_evks4j.c' source_filename = "/tmp/tmph_evks4j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @circle_area(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr @M_PI, align 8 %4 = load double, ptr %2, align 8 %5 = fmul double %3, %4 %6 = load double, ptr %2, align 8 %7 = fmul double %5, %6 ret double %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph_evks4j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @circle_area(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr @M_PI, align 8 %4 = load double, ptr %2, align 8 %5 = fmul double %3, %4 %6 = load double, ptr %2, align 8 %7 = fmul double %5, %6 ret double %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcfd8_a1x.c' source_filename = "/tmp/tmpcfd8_a1x.c" target datalayout = "e-m:e-p270: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.pnm_js._pnm_header = private unnamed_addr constant [19 x i8] c"P6/*\0A2 2\0A255\0A*/=0;\0A", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pnm_js(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [19 x i8], align 16 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.pnm_js._pnm_header, i64 19, i1 false) %7 = load i32, ptr %4, align 4 %8 = add nsw i32 19, %7 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = getelementptr inbounds [19 x i8], ptr %5, i64 0, i64 0 %13 = call i32 @memcpy(ptr noundef %11, ptr noundef %12, i32 noundef 19) %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 19 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %4, align 4 %18 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i32 noundef %17) %19 = load ptr, ptr %6, align 8 ret ptr %19 } ; 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 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcfd8_a1x.c" target datalayout = "e-m:e-p270: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.pnm_js._pnm_header = private unnamed_addr constant [19 x i8] c"P6/*\0A2 2\0A255\0A*/=0;\0A", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pnm_js(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [19 x i8], align 16 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.pnm_js._pnm_header, i64 19, i1 false) %7 = load i32, ptr %4, align 4 %8 = add nsw i32 19, %7 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = getelementptr inbounds [19 x i8], ptr %5, i64 0, i64 0 %13 = call i32 @memcpy(ptr noundef %11, ptr noundef %12, i32 noundef 19) %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 19 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %4, align 4 %18 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i32 noundef %17) %19 = load ptr, ptr %6, align 8 ret ptr %19 } ; 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 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg7hppbom.c' source_filename = "/tmp/tmpg7hppbom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg7hppbom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkcx9ihp1.c' source_filename = "/tmp/tmpkcx9ihp1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @SOCK_SEQPACKET = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"Aimed : %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Got : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 600, ptr %8, align 4 store ptr null, ptr %9, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 3 %15 = load ptr, ptr %14, align 8 %16 = call i32 @atoi(ptr noundef %15) store i32 %16, ptr %10, align 4 store i32 0, ptr %11, align 4 %17 = load i32, ptr @AF_UNIX, align 4 %18 = load i32, ptr @SOCK_SEQPACKET, align 4 %19 = load i32, ptr @IPPROTO_UDP, align 4 %20 = call i32 @socket(i32 noundef %17, i32 noundef %18, i32 noundef %19) store i32 %20, ptr %8, align 4 store i32 0, ptr %12, align 4 br label %21 21: ; preds = %34, %2 %22 = load i32, ptr %12, align 4 %23 = load i32, ptr %10, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %37 25: ; preds = %21 %26 = load i32, ptr %8, align 4 %27 = call ptr @svcudp_create(i32 noundef %26) store ptr %27, ptr %9, align 8 %28 = load ptr, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %33 30: ; preds = %25 %31 = load i32, ptr %11, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %11, align 4 br label %33 33: ; preds = %30, %25 br label %34 34: ; preds = %33 %35 = load i32, ptr %12, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %12, align 4 br label %21, !llvm.loop !6 37: ; preds = %21 %38 = load i32, ptr %6, align 4 %39 = icmp eq i32 %38, 1 br i1 %39, label %40, label %45 40: ; preds = %37 %41 = load i32, ptr %10, align 4 %42 = call i32 @printf(ptr noundef @.str, i32 noundef %41) %43 = load i32, ptr %11, align 4 %44 = call i32 @printf(ptr noundef @.str.1, i32 noundef %43) br label %45 45: ; preds = %40, %37 %46 = load i32, ptr %11, align 4 %47 = load i32, ptr %10, align 4 %48 = icmp eq i32 %46, %47 %49 = zext i1 %48 to i64 %50 = select i1 %48, i32 0, i32 1 store i32 %50, ptr %7, align 4 %51 = load ptr, ptr %9, align 8 %52 = call i32 @svc_destroy(ptr noundef %51) %53 = load i32, ptr %7, align 4 %54 = call i32 @printf(ptr noundef @.str.2, i32 noundef %53) %55 = load i32, ptr %7, align 4 ret i32 %55 } declare i32 @atoi(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @svcudp_create(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @svc_destroy(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/tmpkcx9ihp1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @SOCK_SEQPACKET = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"Aimed : %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Got : %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 600, ptr %8, align 4 store ptr null, ptr %9, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 3 %15 = load ptr, ptr %14, align 8 %16 = call i32 @atoi(ptr noundef %15) store i32 %16, ptr %10, align 4 store i32 0, ptr %11, align 4 %17 = load i32, ptr @AF_UNIX, align 4 %18 = load i32, ptr @SOCK_SEQPACKET, align 4 %19 = load i32, ptr @IPPROTO_UDP, align 4 %20 = call i32 @socket(i32 noundef %17, i32 noundef %18, i32 noundef %19) store i32 %20, ptr %8, align 4 store i32 0, ptr %12, align 4 %21 = load i32, ptr %12, align 4 %22 = load i32, ptr %10, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %39 .lr.ph: ; preds = %2 br label %24 24: ; preds = %.lr.ph, %33 %25 = load i32, ptr %8, align 4 %26 = call ptr @svcudp_create(i32 noundef %25) store ptr %26, ptr %9, align 8 %27 = load ptr, ptr %9, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %24 %30 = load i32, ptr %11, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %11, align 4 br label %32 32: ; preds = %29, %24 br label %33 33: ; preds = %32 %34 = load i32, ptr %12, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %12, align 4 %36 = load i32, ptr %12, align 4 %37 = load i32, ptr %10, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %2 %40 = load i32, ptr %6, align 4 %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %47 42: ; preds = %39 %43 = load i32, ptr %10, align 4 %44 = call i32 @printf(ptr noundef @.str, i32 noundef %43) %45 = load i32, ptr %11, align 4 %46 = call i32 @printf(ptr noundef @.str.1, i32 noundef %45) br label %47 47: ; preds = %42, %39 %48 = load i32, ptr %11, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp eq i32 %48, %49 %51 = zext i1 %50 to i64 %52 = select i1 %50, i32 0, i32 1 store i32 %52, ptr %7, align 4 %53 = load ptr, ptr %9, align 8 %54 = call i32 @svc_destroy(ptr noundef %53) %55 = load i32, ptr %7, align 4 %56 = call i32 @printf(ptr noundef @.str.2, i32 noundef %55) %57 = load i32, ptr %7, align 4 ret i32 %57 } declare i32 @atoi(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @svcudp_create(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @svc_destroy(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/tmp9k9bqlhc.c' source_filename = "/tmp/tmp9k9bqlhc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [62 x i8] c"Enter an integer between 2 and 46, inclusive (or 0 to quit): \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [116 x i8] c"\0A Fibonacci Fibonacci\0A N number quotient\0A-------------------------------------\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"%2d%14d N/A\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"%2d%14d%21.16f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 store i32 0, ptr %1, align 4 br label %8 8: ; preds = %21, %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %8 store i32 0, ptr %1, align 4 br label %50 14: ; preds = %8 br label %15 15: ; preds = %14 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %16, 2 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = icmp sgt i32 %19, 46 br label %21 21: ; preds = %18, %15 %22 = phi i1 [ true, %15 ], [ %20, %18 ] br i1 %22, label %8, label %23, !llvm.loop !6 23: ; preds = %21 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 0, i32 noundef 0) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 1, i32 noundef 1) store i32 0, ptr %6, align 4 store i32 1, ptr %5, align 4 store i32 2, ptr %3, align 4 br label %27 27: ; preds = %46, %23 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp sle i32 %28, %29 br i1 %30, label %31, label %49 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %32, %33 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = sitofp i32 %35 to double %37 = load i32, ptr %5, align 4 %38 = sitofp i32 %37 to double %39 = fdiv double %36, %38 store double %39, ptr %7, align 8 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %4, align 4 %42 = load double, ptr %7, align 8 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %40, i32 noundef %41, double noundef %42) %44 = load i32, ptr %5, align 4 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %4, align 4 store i32 %45, ptr %5, align 4 br label %46 46: ; preds = %31 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 br label %27, !llvm.loop !8 49: ; preds = %27 store i32 0, ptr %1, align 4 br label %50 50: ; preds = %49, %13 %51 = load i32, ptr %1, align 4 ret i32 %51 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9k9bqlhc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [62 x i8] c"Enter an integer between 2 and 46, inclusive (or 0 to quit): \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [116 x i8] c"\0A Fibonacci Fibonacci\0A N number quotient\0A-------------------------------------\0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"%2d%14d N/A\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"%2d%14d%21.16f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 store i32 0, ptr %1, align 4 br label %8 8: ; preds = %21, %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %8 store i32 0, ptr %1, align 4 br label %52 14: ; preds = %8 br label %15 15: ; preds = %14 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %16, 2 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = icmp sgt i32 %19, 46 br label %21 21: ; preds = %18, %15 %22 = phi i1 [ true, %15 ], [ %20, %18 ] br i1 %22, label %8, label %23, !llvm.loop !6 23: ; preds = %21 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 0, i32 noundef 0) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 1, i32 noundef 1) store i32 0, ptr %6, align 4 store i32 1, ptr %5, align 4 store i32 2, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %.lr.ph, label %51 .lr.ph: ; preds = %23 br label %30 30: ; preds = %.lr.ph, %45 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %31, %32 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = sitofp i32 %34 to double %36 = load i32, ptr %5, align 4 %37 = sitofp i32 %36 to double %38 = fdiv double %35, %37 store double %38, ptr %7, align 8 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %4, align 4 %41 = load double, ptr %7, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %39, i32 noundef %40, double noundef %41) %43 = load i32, ptr %5, align 4 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %4, align 4 store i32 %44, ptr %5, align 4 br label %45 45: ; preds = %30 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = load i32, ptr %2, align 4 %50 = icmp sle i32 %48, %49 br i1 %50, label %30, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %45 br label %51 51: ; preds = %._crit_edge, %23 store i32 0, ptr %1, align 4 br label %52 52: ; preds = %51, %13 %53 = load i32, ptr %1, align 4 ret i32 %53 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp8dw3n3tn.c' source_filename = "/tmp/tmp8dw3n3tn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Error: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmdErrorHandlingFunc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8dw3n3tn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Error: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmdErrorHandlingFunc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw6xh0i1w.c' source_filename = "/tmp/tmpw6xh0i1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_read(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [513 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %19 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = call i64 @ft_strchr(ptr noundef %13, i8 noundef signext 10) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 store ptr %17, ptr %3, align 8 br label %56 18: ; preds = %12 br label %19 19: ; preds = %18, %2 %20 = load i32, ptr %4, align 4 %21 = getelementptr inbounds [513 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @read(i32 noundef %20, ptr noundef %21, i32 noundef 512) store i32 %22, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [513 x i8], ptr %6, i64 0, i64 %24 store i8 0, ptr %25, align 1 %26 = load i32, ptr %8, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %39 28: ; preds = %19 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds [513 x i8], ptr %6, i64 0, i64 0 %31 = call ptr @ft_strjoin(ptr noundef %29, ptr noundef %30) store ptr %31, ptr %7, align 8 %32 = load ptr, ptr %5, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %37 34: ; preds = %28 %35 = load ptr, ptr %5, align 8 %36 = call i32 @free(ptr noundef %35) br label %37 37: ; preds = %34, %28 %38 = load ptr, ptr %7, align 8 store ptr %38, ptr %5, align 8 br label %39 39: ; preds = %37, %19 %40 = load ptr, ptr %5, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %42, label %54 42: ; preds = %39 %43 = load ptr, ptr %5, align 8 %44 = call i64 @ft_strchr(ptr noundef %43, i8 noundef signext 10) %45 = icmp ne i64 %44, 0 br i1 %45, label %53, label %46 46: ; preds = %42 %47 = load i32, ptr %8, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %46 %50 = load i32, ptr %4, align 4 %51 = load ptr, ptr %5, align 8 %52 = call ptr @ft_read(i32 noundef %50, ptr noundef %51) store ptr %52, ptr %5, align 8 br label %53 53: ; preds = %49, %46, %42 br label %54 54: ; preds = %53, %39 %55 = load ptr, ptr %5, align 8 store ptr %55, ptr %3, align 8 br label %56 56: ; preds = %54, %16 %57 = load ptr, ptr %3, align 8 ret ptr %57 } declare i64 @ft_strchr(ptr noundef, i8 noundef signext) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @ft_strjoin(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw6xh0i1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_read(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [513 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %9, align 4 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %19 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = call i64 @ft_strchr(ptr noundef %13, i8 noundef signext 10) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 store ptr %17, ptr %3, align 8 br label %56 18: ; preds = %12 br label %19 19: ; preds = %18, %2 %20 = load i32, ptr %4, align 4 %21 = getelementptr inbounds [513 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @read(i32 noundef %20, ptr noundef %21, i32 noundef 512) store i32 %22, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [513 x i8], ptr %6, i64 0, i64 %24 store i8 0, ptr %25, align 1 %26 = load i32, ptr %8, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %39 28: ; preds = %19 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds [513 x i8], ptr %6, i64 0, i64 0 %31 = call ptr @ft_strjoin(ptr noundef %29, ptr noundef %30) store ptr %31, ptr %7, align 8 %32 = load ptr, ptr %5, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %37 34: ; preds = %28 %35 = load ptr, ptr %5, align 8 %36 = call i32 @free(ptr noundef %35) br label %37 37: ; preds = %34, %28 %38 = load ptr, ptr %7, align 8 store ptr %38, ptr %5, align 8 br label %39 39: ; preds = %37, %19 %40 = load ptr, ptr %5, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %42, label %54 42: ; preds = %39 %43 = load ptr, ptr %5, align 8 %44 = call i64 @ft_strchr(ptr noundef %43, i8 noundef signext 10) %45 = icmp ne i64 %44, 0 br i1 %45, label %53, label %46 46: ; preds = %42 %47 = load i32, ptr %8, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %46 %50 = load i32, ptr %4, align 4 %51 = load ptr, ptr %5, align 8 %52 = call ptr @ft_read(i32 noundef %50, ptr noundef %51) store ptr %52, ptr %5, align 8 br label %53 53: ; preds = %49, %46, %42 br label %54 54: ; preds = %53, %39 %55 = load ptr, ptr %5, align 8 store ptr %55, ptr %3, align 8 br label %56 56: ; preds = %54, %16 %57 = load ptr, ptr %3, align 8 ret ptr %57 } declare i64 @ft_strchr(ptr noundef, i8 noundef signext) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @ft_strjoin(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoype7_u6.c' source_filename = "/tmp/tmpoype7_u6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imm8(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @fread(ptr noundef %4, i32 noundef 4, i32 noundef 1, ptr noundef %5) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 0, ptr %2, align 4 br label %11 11: ; preds = %10, %8 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoype7_u6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imm8(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @fread(ptr noundef %4, i32 noundef 4, i32 noundef 1, ptr noundef %5) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %2, align 4 br label %11 10: ; preds = %1 store i32 0, ptr %2, align 4 br label %11 11: ; preds = %10, %8 %12 = load i32, ptr %2, align 4 ret i32 %12 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp80oc3tcd.c' source_filename = "/tmp/tmp80oc3tcd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DML_checksum_accum(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %14 = load i32, ptr %8, align 4 %15 = srem i32 %14, 29 store i32 %15, ptr %11, align 4 %16 = load i32, ptr %8, align 4 %17 = srem i32 %16, 31 store i32 %17, ptr %12, align 4 %18 = load ptr, ptr %9, align 8 %19 = load i64, ptr %10, align 8 %20 = call i32 @crc32(i32 noundef 0, ptr noundef %18, i64 noundef %19) store i32 %20, ptr %13, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %11, align 4 %23 = shl i32 %21, %22 %24 = load i32, ptr %13, align 4 %25 = load i32, ptr %11, align 4 %26 = sub nsw i32 32, %25 %27 = ashr i32 %24, %26 %28 = or i32 %23, %27 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %29, align 4 %31 = xor i32 %30, %28 store i32 %31, ptr %29, align 4 %32 = load i32, ptr %13, align 4 %33 = load i32, ptr %12, align 4 %34 = shl i32 %32, %33 %35 = load i32, ptr %13, align 4 %36 = load i32, ptr %12, align 4 %37 = sub nsw i32 32, %36 %38 = ashr i32 %35, %37 %39 = or i32 %34, %38 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %40, align 4 %42 = xor i32 %41, %39 store i32 %42, ptr %40, align 4 ret void } declare i32 @crc32(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp80oc3tcd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DML_checksum_accum(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %14 = load i32, ptr %8, align 4 %15 = srem i32 %14, 29 store i32 %15, ptr %11, align 4 %16 = load i32, ptr %8, align 4 %17 = srem i32 %16, 31 store i32 %17, ptr %12, align 4 %18 = load ptr, ptr %9, align 8 %19 = load i64, ptr %10, align 8 %20 = call i32 @crc32(i32 noundef 0, ptr noundef %18, i64 noundef %19) store i32 %20, ptr %13, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %11, align 4 %23 = shl i32 %21, %22 %24 = load i32, ptr %13, align 4 %25 = load i32, ptr %11, align 4 %26 = sub nsw i32 32, %25 %27 = ashr i32 %24, %26 %28 = or i32 %23, %27 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %29, align 4 %31 = xor i32 %30, %28 store i32 %31, ptr %29, align 4 %32 = load i32, ptr %13, align 4 %33 = load i32, ptr %12, align 4 %34 = shl i32 %32, %33 %35 = load i32, ptr %13, align 4 %36 = load i32, ptr %12, align 4 %37 = sub nsw i32 32, %36 %38 = ashr i32 %35, %37 %39 = or i32 %34, %38 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %40, align 4 %42 = xor i32 %41, %39 store i32 %42, ptr %40, align 4 ret void } declare i32 @crc32(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn46_oyxe.c' source_filename = "/tmp/tmpn46_oyxe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmp3_sbt_dual(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 0 %15 = load i32, ptr %14, align 4 store i32 %15, ptr %12, align 4 store i32 0, ptr %11, align 4 br label %16 16: ; preds = %58, %5 %17 = load i32, ptr %11, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %61 20: ; preds = %16 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %9, align 8 %23 = getelementptr inbounds [512 x float], ptr %22, i64 0 %24 = getelementptr inbounds [512 x float], ptr %23, i64 0, i64 0 %25 = load i32, ptr %12, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds float, ptr %24, i64 %26 %28 = call i32 @xmp3_fdct32_dual(ptr noundef %21, ptr noundef %27) %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds float, ptr %29, i64 1 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds [512 x float], ptr %31, i64 1 %33 = getelementptr inbounds [512 x float], ptr %32, i64 0, i64 0 %34 = load i32, ptr %12, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds float, ptr %33, i64 %35 %37 = call i32 @xmp3_fdct32_dual(ptr noundef %30, ptr noundef %36) %38 = load ptr, ptr %9, align 8 %39 = getelementptr inbounds [512 x float], ptr %38, i64 0 %40 = getelementptr inbounds [512 x float], ptr %39, i64 0, i64 0 %41 = load i32, ptr %12, align 4 %42 = load ptr, ptr %7, align 8 %43 = call i32 @xmp3_window_dual(ptr noundef %40, i32 noundef %41, ptr noundef %42) %44 = load ptr, ptr %9, align 8 %45 = getelementptr inbounds [512 x float], ptr %44, i64 1 %46 = getelementptr inbounds [512 x float], ptr %45, i64 0, i64 0 %47 = load i32, ptr %12, align 4 %48 = load ptr, ptr %7, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 2 %50 = call i32 @xmp3_window_dual(ptr noundef %46, i32 noundef %47, ptr noundef %49) %51 = load ptr, ptr %6, align 8 %52 = getelementptr inbounds float, ptr %51, i64 64 store ptr %52, ptr %6, align 8 %53 = load i32, ptr %12, align 4 %54 = sub nsw i32 %53, 32 %55 = and i32 %54, 511 store i32 %55, ptr %12, align 4 %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 128 store ptr %57, ptr %7, align 8 br label %58 58: ; preds = %20 %59 = load i32, ptr %11, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %11, align 4 br label %16, !llvm.loop !6 61: ; preds = %16 %62 = load i32, ptr %12, align 4 %63 = load ptr, ptr %10, align 8 %64 = getelementptr inbounds i32, ptr %63, i64 0 store i32 %62, ptr %64, align 4 ret void } declare i32 @xmp3_fdct32_dual(ptr noundef, ptr noundef) #1 declare i32 @xmp3_window_dual(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn46_oyxe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmp3_sbt_dual(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %13 = load ptr, ptr %10, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 0 %15 = load i32, ptr %14, align 4 store i32 %15, ptr %12, align 4 store i32 0, ptr %11, align 4 %16 = load i32, ptr %11, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %63 .lr.ph: ; preds = %5 br label %19 19: ; preds = %.lr.ph, %57 %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %9, align 8 %22 = getelementptr inbounds [512 x float], ptr %21, i64 0 %23 = getelementptr inbounds [512 x float], ptr %22, i64 0, i64 0 %24 = load i32, ptr %12, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds float, ptr %23, i64 %25 %27 = call i32 @xmp3_fdct32_dual(ptr noundef %20, ptr noundef %26) %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds float, ptr %28, i64 1 %30 = load ptr, ptr %9, align 8 %31 = getelementptr inbounds [512 x float], ptr %30, i64 1 %32 = getelementptr inbounds [512 x float], ptr %31, i64 0, i64 0 %33 = load i32, ptr %12, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds float, ptr %32, i64 %34 %36 = call i32 @xmp3_fdct32_dual(ptr noundef %29, ptr noundef %35) %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds [512 x float], ptr %37, i64 0 %39 = getelementptr inbounds [512 x float], ptr %38, i64 0, i64 0 %40 = load i32, ptr %12, align 4 %41 = load ptr, ptr %7, align 8 %42 = call i32 @xmp3_window_dual(ptr noundef %39, i32 noundef %40, ptr noundef %41) %43 = load ptr, ptr %9, align 8 %44 = getelementptr inbounds [512 x float], ptr %43, i64 1 %45 = getelementptr inbounds [512 x float], ptr %44, i64 0, i64 0 %46 = load i32, ptr %12, align 4 %47 = load ptr, ptr %7, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 2 %49 = call i32 @xmp3_window_dual(ptr noundef %45, i32 noundef %46, ptr noundef %48) %50 = load ptr, ptr %6, align 8 %51 = getelementptr inbounds float, ptr %50, i64 64 store ptr %51, ptr %6, align 8 %52 = load i32, ptr %12, align 4 %53 = sub nsw i32 %52, 32 %54 = and i32 %53, 511 store i32 %54, ptr %12, align 4 %55 = load ptr, ptr %7, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 128 store ptr %56, ptr %7, align 8 br label %57 57: ; preds = %19 %58 = load i32, ptr %11, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %11, align 4 %60 = load i32, ptr %11, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %63 63: ; preds = %._crit_edge, %5 %64 = load i32, ptr %12, align 4 %65 = load ptr, ptr %10, align 8 %66 = getelementptr inbounds i32, ptr %65, i64 0 store i32 %64, ptr %66, align 4 ret void } declare i32 @xmp3_fdct32_dual(ptr noundef, ptr noundef) #1 declare i32 @xmp3_window_dual(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdgiv5zeu.c' source_filename = "/tmp/tmpdgiv5zeu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d - \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 30, ptr %2, align 4 br label %3 3: ; preds = %9, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 40 br i1 %5, label %6, label %12 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) br label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 br label %3, !llvm.loop !6 12: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdgiv5zeu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d - \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 30, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 40 br i1 %4, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %8 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) br label %8 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 40 br i1 %12, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %13 13: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9u2rkxp0.c' source_filename = "/tmp/tmp9u2rkxp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glXGetAGPOffsetMESA(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 @pack_glXGetAGPOffsetMESA(ptr noundef null, ptr noundef %3) %5 = call i32 @mock_push(i32 noundef %4) ret i32 0 } declare i32 @mock_push(i32 noundef) #1 declare i32 @pack_glXGetAGPOffsetMESA(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/tmp9u2rkxp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glXGetAGPOffsetMESA(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 @pack_glXGetAGPOffsetMESA(ptr noundef null, ptr noundef %3) %5 = call i32 @mock_push(i32 noundef %4) ret i32 0 } declare i32 @mock_push(i32 noundef) #1 declare i32 @pack_glXGetAGPOffsetMESA(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/tmpqmvtcbsy.c' source_filename = "/tmp/tmpqmvtcbsy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"\0ATest3--------------------------------------------------------\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Can't open %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Dictionary: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"Number of words starting with %c: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test3(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %4, align 1 %9 = call i32 @words_starting_with(ptr noundef %7, i8 noundef signext %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, -2 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load ptr, ptr %3, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13) br label %22 15: ; preds = %2 %16 = load ptr, ptr %3, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %16) %18 = load i8, ptr %4, align 1 %19 = sext i8 %18 to i32 %20 = load i32, ptr %5, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %19, i32 noundef %20) br label %22 22: ; preds = %15, %12 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @words_starting_with(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqmvtcbsy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"\0ATest3--------------------------------------------------------\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Can't open %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Dictionary: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"Number of words starting with %c: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test3(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %4, align 1 %9 = call i32 @words_starting_with(ptr noundef %7, i8 noundef signext %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, -2 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load ptr, ptr %3, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13) br label %22 15: ; preds = %2 %16 = load ptr, ptr %3, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %16) %18 = load i8, ptr %4, align 1 %19 = sext i8 %18 to i32 %20 = load i32, ptr %5, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %19, i32 noundef %20) br label %22 22: ; preds = %15, %12 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @words_starting_with(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5nj4g1yj.c' source_filename = "/tmp/tmp5nj4g1yj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @power2round(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = and i32 %6, 16383 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = sub nsw i32 %8, 8193 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = ashr i32 %10, 31 %12 = and i32 %11, 16384 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, %12 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %15, 8191 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = add i32 8380417, %17 %19 = load ptr, ptr %4, align 8 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %5, align 4 %22 = sub nsw i32 %20, %21 %23 = ashr i32 %22, 14 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 ret i32 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5nj4g1yj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @power2round(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = and i32 %6, 16383 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = sub nsw i32 %8, 8193 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = ashr i32 %10, 31 %12 = and i32 %11, 16384 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, %12 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %15, 8191 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = add i32 8380417, %17 %19 = load ptr, ptr %4, align 8 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %5, align 4 %22 = sub nsw i32 %20, %21 %23 = ashr i32 %22, 14 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 ret i32 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsmlpqvap.c' source_filename = "/tmp/tmpsmlpqvap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Exactly 2 arguments must be passed!\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Error while forking!\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Good work, my %d!\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [48 x i8] c"Error while opening the first file for reading!\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_APPEND = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [49 x i8] c"Error while opening the second file for writing!\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c"Error while writing content to the second file!\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"Father %d, i'm done!\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 [4096 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @err(i32 noundef 1, ptr noundef @.str) br label %16 16: ; preds = %14, %2 %17 = call i32 (...) @fork() store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @err(i32 noundef 1, ptr noundef @.str.1) br label %22 22: ; preds = %20, %16 %23 = load i32, ptr %7, align 4 %24 = icmp sgt i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = call i32 @wait(ptr noundef %8) %27 = load i32, ptr %7, align 4 %28 = call i32 @printf(ptr noundef @.str.2, i32 noundef %27) br label %78 29: ; preds = %22 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr @O_RDONLY, align 4 %34 = call i32 @open(ptr noundef %32, i32 noundef %33) store i32 %34, ptr %9, align 4 %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = call i32 @err(i32 noundef 1, ptr noundef @.str.3) br label %38 38: ; preds = %36, %29 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 2 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr @O_WRONLY, align 4 %43 = load i32, ptr @O_CREAT, align 4 %44 = or i32 %42, %43 %45 = load i32, ptr @O_APPEND, align 4 %46 = or i32 %44, %45 %47 = call i32 @open(ptr noundef %41, i32 noundef %46) store i32 %47, ptr %10, align 4 %48 = load i32, ptr @S_IWUSR, align 4 %49 = icmp eq i32 %48, -1 br i1 %49, label %50, label %54 50: ; preds = %38 %51 = load i32, ptr %9, align 4 %52 = call i32 @close(i32 noundef %51) %53 = call i32 @err(i32 noundef 1, ptr noundef @.str.4) br label %54 54: ; preds = %50, %38 br label %55 55: ; preds = %69, %54 %56 = load i32, ptr %9, align 4 %57 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %58 = call i64 @read(i32 noundef %56, ptr noundef %57, i32 noundef 4096) store i64 %58, ptr %11, align 8 %59 = icmp sgt i64 %58, 0 br i1 %59, label %60, label %70 60: ; preds = %55 %61 = load i64, ptr %11, align 8 %62 = load i32, ptr %10, align 4 %63 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %64 = load i64, ptr %11, align 8 %65 = call i64 @write(i32 noundef %62, ptr noundef %63, i64 noundef %64) %66 = icmp ne i64 %61, %65 br i1 %66, label %67, label %69 67: ; preds = %60 %68 = call i32 @err(i32 noundef 1, ptr noundef @.str.5) br label %69 69: ; preds = %67, %60 br label %55, !llvm.loop !6 70: ; preds = %55 %71 = load i32, ptr %9, align 4 %72 = call i32 @close(i32 noundef %71) %73 = load i32, ptr %10, align 4 %74 = call i32 @close(i32 noundef %73) %75 = call i32 @execlp(ptr noundef @.str.6, ptr noundef @.str.6) %76 = call i32 (...) @getpid() %77 = call i32 @printf(ptr noundef @.str.7, i32 noundef %76) br label %78 78: ; preds = %70, %25 %79 = load i32, ptr %3, align 4 ret i32 %79 } declare i32 @err(i32 noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @wait(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpsmlpqvap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Exactly 2 arguments must be passed!\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Error while forking!\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Good work, my %d!\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [48 x i8] c"Error while opening the first file for reading!\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_APPEND = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [49 x i8] c"Error while opening the second file for writing!\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c"Error while writing content to the second file!\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"Father %d, i'm done!\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 [4096 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @err(i32 noundef 1, ptr noundef @.str) br label %16 16: ; preds = %14, %2 %17 = call i32 (...) @fork() store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @err(i32 noundef 1, ptr noundef @.str.1) br label %22 22: ; preds = %20, %16 %23 = load i32, ptr %7, align 4 %24 = icmp sgt i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = call i32 @wait(ptr noundef %8) %27 = load i32, ptr %7, align 4 %28 = call i32 @printf(ptr noundef @.str.2, i32 noundef %27) br label %80 29: ; preds = %22 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr @O_RDONLY, align 4 %34 = call i32 @open(ptr noundef %32, i32 noundef %33) store i32 %34, ptr %9, align 4 %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = call i32 @err(i32 noundef 1, ptr noundef @.str.3) br label %38 38: ; preds = %36, %29 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 2 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr @O_WRONLY, align 4 %43 = load i32, ptr @O_CREAT, align 4 %44 = or i32 %42, %43 %45 = load i32, ptr @O_APPEND, align 4 %46 = or i32 %44, %45 %47 = call i32 @open(ptr noundef %41, i32 noundef %46) store i32 %47, ptr %10, align 4 %48 = load i32, ptr @S_IWUSR, align 4 %49 = icmp eq i32 %48, -1 br i1 %49, label %50, label %54 50: ; preds = %38 %51 = load i32, ptr %9, align 4 %52 = call i32 @close(i32 noundef %51) %53 = call i32 @err(i32 noundef 1, ptr noundef @.str.4) br label %54 54: ; preds = %50, %38 %55 = load i32, ptr %9, align 4 %56 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %57 = call i64 @read(i32 noundef %55, ptr noundef %56, i32 noundef 4096) store i64 %57, ptr %11, align 8 %58 = icmp sgt i64 %57, 0 br i1 %58, label %.lr.ph, label %72 .lr.ph: ; preds = %54 br label %59 59: ; preds = %.lr.ph, %68 %60 = load i64, ptr %11, align 8 %61 = load i32, ptr %10, align 4 %62 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0 %63 = load i64, ptr %11, align 8 %64 = call i64 @write(i32 noundef %61, ptr noundef %62, i64 noundef %63) %65 = icmp ne i64 %60, %64 br i1 %65, label %66, label %68 66: ; preds = %59 %67 = call i32 @err(i32 noundef 1, ptr noundef @.str.5) br label %68 68: ; preds = %66, %59 %69 = load i32, ptr %9, align 4 %70 = call i64 @read(i32 noundef %69, ptr noundef %56, i32 noundef 4096) store i64 %70, ptr %11, align 8 %71 = icmp sgt i64 %70, 0 br i1 %71, label %59, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %68 br label %72 72: ; preds = %._crit_edge, %54 %73 = load i32, ptr %9, align 4 %74 = call i32 @close(i32 noundef %73) %75 = load i32, ptr %10, align 4 %76 = call i32 @close(i32 noundef %75) %77 = call i32 @execlp(ptr noundef @.str.6, ptr noundef @.str.6) %78 = call i32 (...) @getpid() %79 = call i32 @printf(ptr noundef @.str.7, i32 noundef %78) br label %80 80: ; preds = %72, %25 %81 = load i32, ptr %3, align 4 ret i32 %81 } declare i32 @err(i32 noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @wait(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmptij6_757.c' source_filename = "/tmp/tmptij6_757.c" target datalayout = "e-m:e-p270: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/tmptij6_757.c" target datalayout = "e-m:e-p270: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/tmpur0fv5hz.c' source_filename = "/tmp/tmpur0fv5hz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MIDITimerDestroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpur0fv5hz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MIDITimerDestroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgr9uwovz.c' source_filename = "/tmp/tmpgr9uwovz.c" target datalayout = "e-m:e-p270: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 } @AI_CANONNAME = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"getaddrinfo error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @host_serv(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %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 %struct.addrinfo, align 4 %11 = 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 store i32 %3, ptr %8, align 4 %12 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 12) %13 = load i32, ptr @AI_CANONNAME, align 4 %14 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = load i32, ptr %7, align 4 %16 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 0 store i32 %15, ptr %16, align 4 %17 = load i32, ptr %8, align 4 %18 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 1 store i32 %17, ptr %18, align 4 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %6, align 8 %21 = call i32 @getaddrinfo(ptr noundef %19, ptr noundef %20, ptr noundef %10, ptr noundef %11) store i32 %21, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %4 %25 = call i32 @error_quit(ptr noundef @.str) br label %26 26: ; preds = %24, %4 %27 = load ptr, ptr %11, align 8 ret ptr %27 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @error_quit(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/tmpgr9uwovz.c" target datalayout = "e-m:e-p270: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 } @AI_CANONNAME = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [18 x i8] c"getaddrinfo error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @host_serv(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %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 %struct.addrinfo, align 4 %11 = 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 store i32 %3, ptr %8, align 4 %12 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 12) %13 = load i32, ptr @AI_CANONNAME, align 4 %14 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = load i32, ptr %7, align 4 %16 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 0 store i32 %15, ptr %16, align 4 %17 = load i32, ptr %8, align 4 %18 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 1 store i32 %17, ptr %18, align 4 %19 = load ptr, ptr %5, align 8 %20 = load ptr, ptr %6, align 8 %21 = call i32 @getaddrinfo(ptr noundef %19, ptr noundef %20, ptr noundef %10, ptr noundef %11) store i32 %21, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %4 %25 = call i32 @error_quit(ptr noundef @.str) br label %26 26: ; preds = %24, %4 %27 = load ptr, ptr %11, align 8 ret ptr %27 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @error_quit(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/tmpu973m3i1.c' source_filename = "/tmp/tmpu973m3i1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_setsid = 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/tmpu973m3i1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_setsid = 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/tmptk6f7u8r.c' source_filename = "/tmp/tmptk6f7u8r.c" target datalayout = "e-m:e-p270: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/tmptk6f7u8r.c" target datalayout = "e-m:e-p270: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/tmpiwd2nkz9.c' source_filename = "/tmp/tmpiwd2nkz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @E_to_zs(double noundef %0, i64 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i64, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 store double %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %8 = load double, ptr %3, align 8 %9 = load i64, ptr %4, align 8 %10 = sitofp i64 %9 to double %11 = fdiv double %8, %10 store double %11, ptr %5, align 8 %12 = load double, ptr %5, align 8 %13 = call double @log(double noundef %12) #3 %14 = fadd double %13, 0x3FE2788CFC6FB619 %15 = fdiv double %14, 0xBFF48552F88091A8 store double %15, ptr %6, align 8 %16 = load double, ptr %6, align 8 %17 = call double @llvm.fmuladd.f64(double %16, double 1.000000e+01, double 5.000000e+01) ret double %17 } ; Function Attrs: nounwind declare double @log(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiwd2nkz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @E_to_zs(double noundef %0, i64 noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i64, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 store double %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %8 = load double, ptr %3, align 8 %9 = load i64, ptr %4, align 8 %10 = sitofp i64 %9 to double %11 = fdiv double %8, %10 store double %11, ptr %5, align 8 %12 = load double, ptr %5, align 8 %13 = call double @log(double noundef %12) #3 %14 = fadd double %13, 0x3FE2788CFC6FB619 %15 = fdiv double %14, 0xBFF48552F88091A8 store double %15, ptr %6, align 8 %16 = load double, ptr %6, align 8 %17 = call double @llvm.fmuladd.f64(double %16, double 1.000000e+01, double 5.000000e+01) ret double %17 } ; Function Attrs: nounwind declare double @log(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp0keio1b.c' source_filename = "/tmp/tmpp0keio1b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @encode_julday(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = 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 %13 = load i32, ptr %7, align 4 %14 = icmp sle i32 %13, 2 br i1 %14, label %15, label %20 15: ; preds = %4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 store i32 %17, ptr %9, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 12 store i32 %19, ptr %10, align 4 br label %23 20: ; preds = %4 %21 = load i32, ptr %6, align 4 store i32 %21, ptr %9, align 4 %22 = load i32, ptr %7, align 4 store i32 %22, ptr %10, align 4 br label %23 23: ; preds = %20, %15 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %34 26: ; preds = %23 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 %29 = sdiv i32 %28, 400 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 %32 = sdiv i32 %31, 100 %33 = sub nsw i32 %29, %32 store i32 %33, ptr %11, align 4 br label %40 34: ; preds = %23 %35 = load i32, ptr %9, align 4 %36 = sdiv i32 %35, 400 %37 = load i32, ptr %9, align 4 %38 = sdiv i32 %37, 100 %39 = sub nsw i32 %36, %38 store i32 %39, ptr %11, align 4 br label %40 40: ; preds = %34, %26 %41 = load i32, ptr %5, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %61 43: ; preds = %40 %44 = load i32, ptr %6, align 4 %45 = icmp sgt i32 %44, 1582 br i1 %45, label %58, label %46 46: ; preds = %43 %47 = load i32, ptr %6, align 4 %48 = icmp eq i32 %47, 1582 br i1 %48, label %49, label %59 49: ; preds = %46 %50 = load i32, ptr %7, align 4 %51 = icmp sgt i32 %50, 10 br i1 %51, label %58, label %52 52: ; preds = %49 %53 = load i32, ptr %7, align 4 %54 = icmp eq i32 %53, 10 br i1 %54, label %55, label %59 55: ; preds = %52 %56 = load i32, ptr %8, align 4 %57 = icmp sge i32 %56, 15 br i1 %57, label %58, label %59 58: ; preds = %55, %49, %43 br label %60 59: ; preds = %55, %52, %46 store i32 -2, ptr %11, align 4 br label %60 60: ; preds = %59, %58 br label %61 61: ; preds = %60, %40 %62 = load i32, ptr %9, align 4 %63 = sitofp i32 %62 to double %64 = fmul double 3.652500e+02, %63 %65 = call i64 @floor(double noundef %64) %66 = load i32, ptr %10, align 4 %67 = add nsw i32 %66, 1 %68 = sitofp i32 %67 to double %69 = fmul double 3.060010e+01, %68 %70 = fptosi double %69 to i32 %71 = sext i32 %70 to i64 %72 = add nsw i64 %65, %71 %73 = load i32, ptr %11, align 4 %74 = sext i32 %73 to i64 %75 = add nsw i64 %72, %74 %76 = sitofp i64 %75 to double %77 = fadd double %76, 0x413A42A480000000 %78 = load i32, ptr %8, align 4 %79 = sitofp i32 %78 to double %80 = fadd double %77, %79 %81 = fadd double %80, 5.000000e-01 %82 = fptosi double %81 to i32 store i32 %82, ptr %12, align 4 %83 = load i32, ptr %12, align 4 ret i32 %83 } declare i64 @floor(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp0keio1b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @encode_julday(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = 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 %13 = load i32, ptr %7, align 4 %14 = icmp sle i32 %13, 2 br i1 %14, label %15, label %20 15: ; preds = %4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 store i32 %17, ptr %9, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 12 store i32 %19, ptr %10, align 4 br label %23 20: ; preds = %4 %21 = load i32, ptr %6, align 4 store i32 %21, ptr %9, align 4 %22 = load i32, ptr %7, align 4 store i32 %22, ptr %10, align 4 br label %23 23: ; preds = %20, %15 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %34 26: ; preds = %23 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 %29 = sdiv i32 %28, 400 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 %32 = sdiv i32 %31, 100 %33 = sub nsw i32 %29, %32 store i32 %33, ptr %11, align 4 br label %40 34: ; preds = %23 %35 = load i32, ptr %9, align 4 %36 = sdiv i32 %35, 400 %37 = load i32, ptr %9, align 4 %38 = sdiv i32 %37, 100 %39 = sub nsw i32 %36, %38 store i32 %39, ptr %11, align 4 br label %40 40: ; preds = %34, %26 %41 = load i32, ptr %5, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %61 43: ; preds = %40 %44 = load i32, ptr %6, align 4 %45 = icmp sgt i32 %44, 1582 br i1 %45, label %58, label %46 46: ; preds = %43 %47 = load i32, ptr %6, align 4 %48 = icmp eq i32 %47, 1582 br i1 %48, label %49, label %59 49: ; preds = %46 %50 = load i32, ptr %7, align 4 %51 = icmp sgt i32 %50, 10 br i1 %51, label %58, label %52 52: ; preds = %49 %53 = load i32, ptr %7, align 4 %54 = icmp eq i32 %53, 10 br i1 %54, label %55, label %59 55: ; preds = %52 %56 = load i32, ptr %8, align 4 %57 = icmp sge i32 %56, 15 br i1 %57, label %58, label %59 58: ; preds = %55, %49, %43 br label %60 59: ; preds = %55, %52, %46 store i32 -2, ptr %11, align 4 br label %60 60: ; preds = %59, %58 br label %61 61: ; preds = %60, %40 %62 = load i32, ptr %9, align 4 %63 = sitofp i32 %62 to double %64 = fmul double 3.652500e+02, %63 %65 = call i64 @floor(double noundef %64) %66 = load i32, ptr %10, align 4 %67 = add nsw i32 %66, 1 %68 = sitofp i32 %67 to double %69 = fmul double 3.060010e+01, %68 %70 = fptosi double %69 to i32 %71 = sext i32 %70 to i64 %72 = add nsw i64 %65, %71 %73 = load i32, ptr %11, align 4 %74 = sext i32 %73 to i64 %75 = add nsw i64 %72, %74 %76 = sitofp i64 %75 to double %77 = fadd double %76, 0x413A42A480000000 %78 = load i32, ptr %8, align 4 %79 = sitofp i32 %78 to double %80 = fadd double %77, %79 %81 = fadd double %80, 5.000000e-01 %82 = fptosi double %81 to i32 store i32 %82, ptr %12, align 4 %83 = load i32, ptr %12, align 4 ret i32 %83 } declare i64 @floor(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjot5fuhg.c' source_filename = "/tmp/tmpjot5fuhg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"good.c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\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 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %0 store i32 0, ptr %1, align 4 br label %10 7: ; preds = %0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @fclose(ptr noundef %8) store i32 0, ptr %1, align 4 br label %10 10: ; preds = %7, %6 %11 = load i32, ptr %1, align 4 ret i32 %11 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjot5fuhg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"good.c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\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 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %0 store i32 0, ptr %1, align 4 br label %10 7: ; preds = %0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @fclose(ptr noundef %8) store i32 0, ptr %1, align 4 br label %10 10: ; preds = %7, %6 %11 = load i32, ptr %1, align 4 ret i32 %11 } 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"}
; ModuleID = '/tmp/tmp0jfsfu09.c' source_filename = "/tmp/tmp0jfsfu09.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mp_snprint(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = call i32 @mp_snprint_internal(ptr noundef %7, i32 noundef %8, ptr noundef %6) ret i32 %9 } declare i32 @mp_snprint_internal(ptr 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/tmp0jfsfu09.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mp_snprint(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = call i32 @mp_snprint_internal(ptr noundef %7, i32 noundef %8, ptr noundef %6) ret i32 %9 } declare i32 @mp_snprint_internal(ptr 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/tmpk0vbc7f2.c' source_filename = "/tmp/tmpk0vbc7f2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local double @pgamma(double noundef %0, double noundef %1, double noundef %2, i32 noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = load double, ptr %5, align 8 %13 = fcmp oge double %12, 0.000000e+00 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load double, ptr %6, align 8 %17 = fcmp ogt double %16, 0.000000e+00 %18 = zext i1 %17 to i32 %19 = call i32 @assert(i32 noundef %18) %20 = load double, ptr %7, align 8 %21 = fcmp ogt double %20, 0.000000e+00 %22 = zext i1 %21 to i32 %23 = call i32 @assert(i32 noundef %22) %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %4 %27 = load i32, ptr %8, align 4 %28 = icmp eq i32 %27, 1 br label %29 29: ; preds = %26, %4 %30 = phi i1 [ true, %4 ], [ %28, %26 ] %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) %33 = load double, ptr %6, align 8 %34 = fadd double 1.000000e+00, %33 %35 = load double, ptr %5, align 8 %36 = load double, ptr %7, align 8 %37 = fmul double %35, %36 %38 = fcmp olt double %34, %37 br i1 %38, label %39, label %53 39: ; preds = %29 %40 = load double, ptr %5, align 8 %41 = load double, ptr %7, align 8 %42 = fmul double %40, %41 %43 = load double, ptr %6, align 8 %44 = call double @gamma_contfrac(double noundef %42, double noundef %43) store double %44, ptr %11, align 8 %45 = load i32, ptr %8, align 4 %46 = icmp eq i32 %45, 1 br i1 %46, label %47, label %49 47: ; preds = %39 %48 = load double, ptr %11, align 8 store double %48, ptr %9, align 8 br label %52 49: ; preds = %39 %50 = load double, ptr %11, align 8 %51 = fsub double 1.000000e+00, %50 store double %51, ptr %9, align 8 br label %52 52: ; preds = %49, %47 br label %67 53: ; preds = %29 %54 = load double, ptr %5, align 8 %55 = load double, ptr %7, align 8 %56 = fmul double %54, %55 %57 = load double, ptr %6, align 8 %58 = call double @gamma_series(double noundef %56, double noundef %57) store double %58, ptr %10, align 8 %59 = load i32, ptr %8, align 4 %60 = icmp eq i32 %59, 1 br i1 %60, label %61, label %64 61: ; preds = %53 %62 = load double, ptr %10, align 8 %63 = fsub double 1.000000e+00, %62 store double %63, ptr %9, align 8 br label %66 64: ; preds = %53 %65 = load double, ptr %10, align 8 store double %65, ptr %9, align 8 br label %66 66: ; preds = %64, %61 br label %67 67: ; preds = %66, %52 %68 = load double, ptr %9, align 8 %69 = fcmp oge double %68, 0.000000e+00 br i1 %69, label %70, label %73 70: ; preds = %67 %71 = load double, ptr %9, align 8 %72 = fcmp ole double %71, 1.000000e+00 br label %73 73: ; preds = %70, %67 %74 = phi i1 [ false, %67 ], [ %72, %70 ] %75 = zext i1 %74 to i32 %76 = call i32 @assert(i32 noundef %75) %77 = load double, ptr %9, align 8 ret double %77 } declare i32 @assert(i32 noundef) #1 declare double @gamma_contfrac(double noundef, double noundef) #1 declare double @gamma_series(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk0vbc7f2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local double @pgamma(double noundef %0, double noundef %1, double noundef %2, i32 noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = load double, ptr %5, align 8 %13 = fcmp oge double %12, 0.000000e+00 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load double, ptr %6, align 8 %17 = fcmp ogt double %16, 0.000000e+00 %18 = zext i1 %17 to i32 %19 = call i32 @assert(i32 noundef %18) %20 = load double, ptr %7, align 8 %21 = fcmp ogt double %20, 0.000000e+00 %22 = zext i1 %21 to i32 %23 = call i32 @assert(i32 noundef %22) %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %4 %27 = load i32, ptr %8, align 4 %28 = icmp eq i32 %27, 1 br label %29 29: ; preds = %26, %4 %30 = phi i1 [ true, %4 ], [ %28, %26 ] %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) %33 = load double, ptr %6, align 8 %34 = fadd double 1.000000e+00, %33 %35 = load double, ptr %5, align 8 %36 = load double, ptr %7, align 8 %37 = fmul double %35, %36 %38 = fcmp olt double %34, %37 br i1 %38, label %39, label %53 39: ; preds = %29 %40 = load double, ptr %5, align 8 %41 = load double, ptr %7, align 8 %42 = fmul double %40, %41 %43 = load double, ptr %6, align 8 %44 = call double @gamma_contfrac(double noundef %42, double noundef %43) store double %44, ptr %11, align 8 %45 = load i32, ptr %8, align 4 %46 = icmp eq i32 %45, 1 br i1 %46, label %47, label %49 47: ; preds = %39 %48 = load double, ptr %11, align 8 store double %48, ptr %9, align 8 br label %52 49: ; preds = %39 %50 = load double, ptr %11, align 8 %51 = fsub double 1.000000e+00, %50 store double %51, ptr %9, align 8 br label %52 52: ; preds = %49, %47 br label %67 53: ; preds = %29 %54 = load double, ptr %5, align 8 %55 = load double, ptr %7, align 8 %56 = fmul double %54, %55 %57 = load double, ptr %6, align 8 %58 = call double @gamma_series(double noundef %56, double noundef %57) store double %58, ptr %10, align 8 %59 = load i32, ptr %8, align 4 %60 = icmp eq i32 %59, 1 br i1 %60, label %61, label %64 61: ; preds = %53 %62 = load double, ptr %10, align 8 %63 = fsub double 1.000000e+00, %62 store double %63, ptr %9, align 8 br label %66 64: ; preds = %53 %65 = load double, ptr %10, align 8 store double %65, ptr %9, align 8 br label %66 66: ; preds = %64, %61 br label %67 67: ; preds = %66, %52 %68 = load double, ptr %9, align 8 %69 = fcmp oge double %68, 0.000000e+00 br i1 %69, label %70, label %73 70: ; preds = %67 %71 = load double, ptr %9, align 8 %72 = fcmp ole double %71, 1.000000e+00 br label %73 73: ; preds = %70, %67 %74 = phi i1 [ false, %67 ], [ %72, %70 ] %75 = zext i1 %74 to i32 %76 = call i32 @assert(i32 noundef %75) %77 = load double, ptr %9, align 8 ret double %77 } declare i32 @assert(i32 noundef) #1 declare double @gamma_contfrac(double noundef, double noundef) #1 declare double @gamma_series(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphbw_xg2h.c' source_filename = "/tmp/tmphbw_xg2h.c" target datalayout = "e-m:e-p270: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/tmphbw_xg2h.c" target datalayout = "e-m:e-p270: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/tmp7auw1nqn.c' source_filename = "/tmp/tmp7auw1nqn.c" target datalayout = "e-m:e-p270: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/tmp7auw1nqn.c" target datalayout = "e-m:e-p270: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/tmp06s8bng6.c' source_filename = "/tmp/tmp06s8bng6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.anon = type { float } @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @HUGE_VAL = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @strtof(ptr noalias noundef %0, ptr noalias noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %union.anon, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i8 1, ptr %8, align 1 store i8 1, ptr %9, align 1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %10, align 8 br label %12 12: ; preds = %17, %2 %13 = load ptr, ptr %10, align 8 %14 = load i8, ptr %13, align 1 %15 = call i64 @isspace(i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %12 %18 = load ptr, ptr %10, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %10, align 8 br label %12, !llvm.loop !6 20: ; preds = %12 %21 = load ptr, ptr %10, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 45 br i1 %24, label %25, label %28 25: ; preds = %20 store i8 -1, ptr %8, align 1 %26 = load ptr, ptr %10, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %10, align 8 br label %37 28: ; preds = %20 %29 = load ptr, ptr %10, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 43 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load ptr, ptr %10, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %10, align 8 br label %36 36: ; preds = %33, %28 br label %37 37: ; preds = %36, %25 store float 0.000000e+00, ptr %5, align 4 br label %38 38: ; preds = %50, %37 %39 = load ptr, ptr %10, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp sge i32 %41, 48 br i1 %42, label %43, label %48 43: ; preds = %38 %44 = load ptr, ptr %10, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp sle i32 %46, 57 br label %48 48: ; preds = %43, %38 %49 = phi i1 [ false, %38 ], [ %47, %43 ] br i1 %49, label %50, label %60 50: ; preds = %48 %51 = load float, ptr %5, align 4 %52 = load ptr, ptr %10, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = sub nsw i32 %54, 48 %56 = sitofp i32 %55 to float %57 = call float @llvm.fmuladd.f32(float %51, float 1.000000e+01, float %56) store float %57, ptr %5, align 4 %58 = load ptr, ptr %10, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr %10, align 8 br label %38, !llvm.loop !8 60: ; preds = %48 %61 = load ptr, ptr %10, align 8 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 46 br i1 %64, label %65, label %93 65: ; preds = %60 %66 = load ptr, ptr %10, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 1 store ptr %67, ptr %10, align 8 br label %68 68: ; preds = %80, %65 %69 = load ptr, ptr %10, align 8 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp sge i32 %71, 48 br i1 %72, label %73, label %78 73: ; preds = %68 %74 = load ptr, ptr %10, align 8 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = icmp sle i32 %76, 57 br label %78 78: ; preds = %73, %68 %79 = phi i1 [ false, %68 ], [ %77, %73 ] br i1 %79, label %80, label %92 80: ; preds = %78 %81 = load float, ptr %5, align 4 %82 = load ptr, ptr %10, align 8 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = sub nsw i32 %84, 48 %86 = sitofp i32 %85 to float %87 = call float @llvm.fmuladd.f32(float %81, float 1.000000e+01, float %86) store float %87, ptr %5, align 4 %88 = load i32, ptr %6, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %6, align 4 %90 = load ptr, ptr %10, align 8 %91 = getelementptr inbounds i8, ptr %90, i32 1 store ptr %91, ptr %10, align 8 br label %68, !llvm.loop !9 92: ; preds = %78 br label %93 93: ; preds = %92, %60 %94 = load ptr, ptr %10, align 8 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = icmp eq i32 %96, 101 br i1 %97, label %103, label %98 98: ; preds = %93 %99 = load ptr, ptr %10, align 8 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp eq i32 %101, 69 br i1 %102, label %103, label %146 103: ; preds = %98, %93 %104 = load ptr, ptr %10, align 8 %105 = getelementptr inbounds i8, ptr %104, i32 1 store ptr %105, ptr %10, align 8 %106 = load ptr, ptr %10, align 8 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 %109 = icmp eq i32 %108, 45 br i1 %109, label %110, label %113 110: ; preds = %103 store i8 -1, ptr %9, align 1 %111 = load ptr, ptr %10, align 8 %112 = getelementptr inbounds i8, ptr %111, i32 1 store ptr %112, ptr %10, align 8 br label %122 113: ; preds = %103 %114 = load ptr, ptr %10, align 8 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 43 br i1 %117, label %118, label %121 118: ; preds = %113 store i8 1, ptr %9, align 1 %119 = load ptr, ptr %10, align 8 %120 = getelementptr inbounds i8, ptr %119, i32 1 store ptr %120, ptr %10, align 8 br label %121 121: ; preds = %118, %113 br label %122 122: ; preds = %121, %110 br label %123 123: ; preds = %135, %122 %124 = load ptr, ptr %10, align 8 %125 = load i8, ptr %124, align 1 %126 = sext i8 %125 to i32 %127 = icmp sge i32 %126, 48 br i1 %127, label %128, label %133 128: ; preds = %123 %129 = load ptr, ptr %10, align 8 %130 = load i8, ptr %129, align 1 %131 = sext i8 %130 to i32 %132 = icmp sle i32 %131, 57 br label %133 133: ; preds = %128, %123 %134 = phi i1 [ false, %123 ], [ %132, %128 ] br i1 %134, label %135, label %145 135: ; preds = %133 %136 = load i32, ptr %7, align 4 %137 = mul nsw i32 %136, 10 %138 = load ptr, ptr %10, align 8 %139 = load i8, ptr %138, align 1 %140 = sext i8 %139 to i32 %141 = sub nsw i32 %140, 48 %142 = add nsw i32 %137, %141 store i32 %142, ptr %7, align 4 %143 = load ptr, ptr %10, align 8 %144 = getelementptr inbounds i8, ptr %143, i32 1 store ptr %144, ptr %10, align 8 br label %123, !llvm.loop !10 145: ; preds = %133 br label %146 146: ; preds = %145, %98 %147 = load ptr, ptr %4, align 8 %148 = icmp ne ptr %147, null br i1 %148, label %149, label %152 149: ; preds = %146 %150 = load ptr, ptr %10, align 8 %151 = load ptr, ptr %4, align 8 store ptr %150, ptr %151, align 8 br label %152 152: ; preds = %149, %146 %153 = load i8, ptr %9, align 1 %154 = sext i8 %153 to i32 %155 = icmp slt i32 %154, 0 br i1 %155, label %156, label %159 156: ; preds = %152 %157 = load i32, ptr %7, align 4 %158 = sub nsw i32 0, %157 store i32 %158, ptr %7, align 4 br label %159 159: ; preds = %156, %152 %160 = load i32, ptr %6, align 4 %161 = load i32, ptr %7, align 4 %162 = sub nsw i32 %161, %160 store i32 %162, ptr %7, align 4 %163 = load float, ptr %5, align 4 %164 = fcmp une float %163, 0.000000e+00 br i1 %164, label %165, label %214 165: ; preds = %159 br label %166 166: ; preds = %182, %165 %167 = load i32, ptr %7, align 4 %168 = icmp sgt i32 %167, 0 br i1 %168, label %169, label %185 169: ; preds = %166 %170 = load float, ptr %5, align 4 %171 = fpext float %170 to double %172 = fmul double %171, 1.000000e+01 %173 = fptrunc double %172 to float store float %173, ptr %5, align 4 %174 = getelementptr inbounds [2 x i16], ptr %5, i64 0, i64 1 %175 = load i16, ptr %174, align 2 %176 = zext i16 %175 to i32 %177 = icmp eq i32 %176, 32640 br i1 %177, label %178, label %182 178: ; preds = %169 %179 = load i32, ptr @ERANGE, align 4 store i32 %179, ptr @errno, align 4 %180 = load double, ptr @HUGE_VAL, align 8 %181 = fptrunc double %180 to float store float %181, ptr %5, align 4 br label %185 182: ; preds = %169 %183 = load i32, ptr %7, align 4 %184 = add nsw i32 %183, -1 store i32 %184, ptr %7, align 4 br label %166, !llvm.loop !11 185: ; preds = %178, %166 br label %186 186: ; preds = %200, %185 %187 = load i32, ptr %7, align 4 %188 = icmp slt i32 %187, 0 br i1 %188, label %189, label %203 189: ; preds = %186 %190 = load float, ptr %5, align 4 %191 = fpext float %190 to double %192 = fmul double %191, 1.000000e-01 %193 = fptrunc double %192 to float store float %193, ptr %5, align 4 %194 = getelementptr inbounds [2 x i16], ptr %5, i64 0, i64 1 %195 = load i16, ptr %194, align 2 %196 = zext i16 %195 to i32 %197 = icmp eq i32 %196, 0 br i1 %197, label %198, label %200 198: ; preds = %189 %199 = load i32, ptr @ERANGE, align 4 store i32 %199, ptr @errno, align 4 br label %203 200: ; preds = %189 %201 = load i32, ptr %7, align 4 %202 = add nsw i32 %201, 1 store i32 %202, ptr %7, align 4 br label %186, !llvm.loop !12 203: ; preds = %198, %186 %204 = load i8, ptr %8, align 1 %205 = sext i8 %204 to i32 %206 = icmp slt i32 %205, 0 br i1 %206, label %207, label %213 207: ; preds = %203 %208 = getelementptr inbounds [2 x i16], ptr %5, i64 0, i64 1 %209 = load i16, ptr %208, align 2 %210 = zext i16 %209 to i32 %211 = or i32 %210, 32768 %212 = trunc i32 %211 to i16 store i16 %212, ptr %208, align 2 br label %213 213: ; preds = %207, %203 br label %214 214: ; preds = %213, %159 %215 = load float, ptr %5, align 4 ret float %215 } declare i64 @isspace(i8 noundef signext) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp06s8bng6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.anon = type { float } @ERANGE = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @HUGE_VAL = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @strtof(ptr noalias noundef %0, ptr noalias noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %union.anon, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca i8, align 1 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i8 1, ptr %8, align 1 store i8 1, ptr %9, align 1 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %10, align 8 %12 = load ptr, ptr %10, align 8 %13 = load i8, ptr %12, align 1 %14 = call i64 @isspace(i8 noundef signext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %10, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %10, align 8 %19 = load ptr, ptr %10, align 8 %20 = load i8, ptr %19, align 1 %21 = call i64 @isspace(i8 noundef signext %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %23 23: ; preds = %._crit_edge, %2 %24 = load ptr, ptr %10, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 45 br i1 %27, label %28, label %31 28: ; preds = %23 store i8 -1, ptr %8, align 1 %29 = load ptr, ptr %10, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %10, align 8 br label %40 31: ; preds = %23 %32 = load ptr, ptr %10, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 43 br i1 %35, label %36, label %39 36: ; preds = %31 %37 = load ptr, ptr %10, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %10, align 8 br label %39 39: ; preds = %36, %31 br label %40 40: ; preds = %39, %28 store float 0.000000e+00, ptr %5, align 4 br label %41 41: ; preds = %53, %40 %42 = load ptr, ptr %10, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp sge i32 %44, 48 br i1 %45, label %46, label %51 46: ; preds = %41 %47 = load ptr, ptr %10, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp sle i32 %49, 57 br label %51 51: ; preds = %46, %41 %52 = phi i1 [ false, %41 ], [ %50, %46 ] br i1 %52, label %53, label %63 53: ; preds = %51 %54 = load float, ptr %5, align 4 %55 = load ptr, ptr %10, align 8 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = sub nsw i32 %57, 48 %59 = sitofp i32 %58 to float %60 = call float @llvm.fmuladd.f32(float %54, float 1.000000e+01, float %59) store float %60, ptr %5, align 4 %61 = load ptr, ptr %10, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %10, align 8 br label %41, !llvm.loop !8 63: ; preds = %51 %64 = load ptr, ptr %10, align 8 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp eq i32 %66, 46 br i1 %67, label %68, label %96 68: ; preds = %63 %69 = load ptr, ptr %10, align 8 %70 = getelementptr inbounds i8, ptr %69, i32 1 store ptr %70, ptr %10, align 8 br label %71 71: ; preds = %83, %68 %72 = load ptr, ptr %10, align 8 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp sge i32 %74, 48 br i1 %75, label %76, label %81 76: ; preds = %71 %77 = load ptr, ptr %10, align 8 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp sle i32 %79, 57 br label %81 81: ; preds = %76, %71 %82 = phi i1 [ false, %71 ], [ %80, %76 ] br i1 %82, label %83, label %95 83: ; preds = %81 %84 = load float, ptr %5, align 4 %85 = load ptr, ptr %10, align 8 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = sub nsw i32 %87, 48 %89 = sitofp i32 %88 to float %90 = call float @llvm.fmuladd.f32(float %84, float 1.000000e+01, float %89) store float %90, ptr %5, align 4 %91 = load i32, ptr %6, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %6, align 4 %93 = load ptr, ptr %10, align 8 %94 = getelementptr inbounds i8, ptr %93, i32 1 store ptr %94, ptr %10, align 8 br label %71, !llvm.loop !9 95: ; preds = %81 br label %96 96: ; preds = %95, %63 %97 = load ptr, ptr %10, align 8 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp eq i32 %99, 101 br i1 %100, label %106, label %101 101: ; preds = %96 %102 = load ptr, ptr %10, align 8 %103 = load i8, ptr %102, align 1 %104 = sext i8 %103 to i32 %105 = icmp eq i32 %104, 69 br i1 %105, label %106, label %149 106: ; preds = %101, %96 %107 = load ptr, ptr %10, align 8 %108 = getelementptr inbounds i8, ptr %107, i32 1 store ptr %108, ptr %10, align 8 %109 = load ptr, ptr %10, align 8 %110 = load i8, ptr %109, align 1 %111 = sext i8 %110 to i32 %112 = icmp eq i32 %111, 45 br i1 %112, label %113, label %116 113: ; preds = %106 store i8 -1, ptr %9, align 1 %114 = load ptr, ptr %10, align 8 %115 = getelementptr inbounds i8, ptr %114, i32 1 store ptr %115, ptr %10, align 8 br label %125 116: ; preds = %106 %117 = load ptr, ptr %10, align 8 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = icmp eq i32 %119, 43 br i1 %120, label %121, label %124 121: ; preds = %116 store i8 1, ptr %9, align 1 %122 = load ptr, ptr %10, align 8 %123 = getelementptr inbounds i8, ptr %122, i32 1 store ptr %123, ptr %10, align 8 br label %124 124: ; preds = %121, %116 br label %125 125: ; preds = %124, %113 br label %126 126: ; preds = %138, %125 %127 = load ptr, ptr %10, align 8 %128 = load i8, ptr %127, align 1 %129 = sext i8 %128 to i32 %130 = icmp sge i32 %129, 48 br i1 %130, label %131, label %136 131: ; preds = %126 %132 = load ptr, ptr %10, align 8 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = icmp sle i32 %134, 57 br label %136 136: ; preds = %131, %126 %137 = phi i1 [ false, %126 ], [ %135, %131 ] br i1 %137, label %138, label %148 138: ; preds = %136 %139 = load i32, ptr %7, align 4 %140 = mul nsw i32 %139, 10 %141 = load ptr, ptr %10, align 8 %142 = load i8, ptr %141, align 1 %143 = sext i8 %142 to i32 %144 = sub nsw i32 %143, 48 %145 = add nsw i32 %140, %144 store i32 %145, ptr %7, align 4 %146 = load ptr, ptr %10, align 8 %147 = getelementptr inbounds i8, ptr %146, i32 1 store ptr %147, ptr %10, align 8 br label %126, !llvm.loop !10 148: ; preds = %136 br label %149 149: ; preds = %148, %101 %150 = load ptr, ptr %4, align 8 %151 = icmp ne ptr %150, null br i1 %151, label %152, label %155 152: ; preds = %149 %153 = load ptr, ptr %10, align 8 %154 = load ptr, ptr %4, align 8 store ptr %153, ptr %154, align 8 br label %155 155: ; preds = %152, %149 %156 = load i8, ptr %9, align 1 %157 = sext i8 %156 to i32 %158 = icmp slt i32 %157, 0 br i1 %158, label %159, label %162 159: ; preds = %155 %160 = load i32, ptr %7, align 4 %161 = sub nsw i32 0, %160 store i32 %161, ptr %7, align 4 br label %162 162: ; preds = %159, %155 %163 = load i32, ptr %6, align 4 %164 = load i32, ptr %7, align 4 %165 = sub nsw i32 %164, %163 store i32 %165, ptr %7, align 4 %166 = load float, ptr %5, align 4 %167 = fcmp une float %166, 0.000000e+00 br i1 %167, label %168, label %219 168: ; preds = %162 %169 = load i32, ptr %7, align 4 %170 = icmp sgt i32 %169, 0 br i1 %170, label %.lr.ph3, label %.loopexit1 .lr.ph3: ; preds = %168 br label %171 171: ; preds = %.lr.ph3, %184 %172 = load float, ptr %5, align 4 %173 = fpext float %172 to double %174 = fmul double %173, 1.000000e+01 %175 = fptrunc double %174 to float store float %175, ptr %5, align 4 %176 = getelementptr inbounds [2 x i16], ptr %5, i64 0, i64 1 %177 = load i16, ptr %176, align 2 %178 = zext i16 %177 to i32 %179 = icmp eq i32 %178, 32640 br i1 %179, label %180, label %184 180: ; preds = %171 %181 = load i32, ptr @ERANGE, align 4 store i32 %181, ptr @errno, align 4 %182 = load double, ptr @HUGE_VAL, align 8 %183 = fptrunc double %182 to float store float %183, ptr %5, align 4 br label %189 184: ; preds = %171 %185 = load i32, ptr %7, align 4 %186 = add nsw i32 %185, -1 store i32 %186, ptr %7, align 4 %187 = load i32, ptr %7, align 4 %188 = icmp sgt i32 %187, 0 br i1 %188, label %171, label %..loopexit1_crit_edge, !llvm.loop !11 ..loopexit1_crit_edge: ; preds = %184 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %168 br label %189 189: ; preds = %.loopexit1, %180 %190 = load i32, ptr %7, align 4 %191 = icmp slt i32 %190, 0 br i1 %191, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %189 br label %192 192: ; preds = %.lr.ph5, %203 %193 = load float, ptr %5, align 4 %194 = fpext float %193 to double %195 = fmul double %194, 1.000000e-01 %196 = fptrunc double %195 to float store float %196, ptr %5, align 4 %197 = getelementptr inbounds [2 x i16], ptr %5, i64 0, i64 1 %198 = load i16, ptr %197, align 2 %199 = zext i16 %198 to i32 %200 = icmp eq i32 %199, 0 br i1 %200, label %201, label %203 201: ; preds = %192 %202 = load i32, ptr @ERANGE, align 4 store i32 %202, ptr @errno, align 4 br label %208 203: ; preds = %192 %204 = load i32, ptr %7, align 4 %205 = add nsw i32 %204, 1 store i32 %205, ptr %7, align 4 %206 = load i32, ptr %7, align 4 %207 = icmp slt i32 %206, 0 br i1 %207, label %192, label %..loopexit_crit_edge, !llvm.loop !12 ..loopexit_crit_edge: ; preds = %203 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %189 br label %208 208: ; preds = %.loopexit, %201 %209 = load i8, ptr %8, align 1 %210 = sext i8 %209 to i32 %211 = icmp slt i32 %210, 0 br i1 %211, label %212, label %218 212: ; preds = %208 %213 = getelementptr inbounds [2 x i16], ptr %5, i64 0, i64 1 %214 = load i16, ptr %213, align 2 %215 = zext i16 %214 to i32 %216 = or i32 %215, 32768 %217 = trunc i32 %216 to i16 store i16 %217, ptr %213, align 2 br label %218 218: ; preds = %212, %208 br label %219 219: ; preds = %218, %162 %220 = load float, ptr %5, align 4 ret float %220 } declare i64 @isspace(i8 noundef signext) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpfcfrfaaz.c' source_filename = "/tmp/tmpfcfrfaaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mulaw_dec(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %19, %2 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 160 br i1 %8, label %9, label %22 9: ; preds = %6 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call signext i16 @ulaw_to_s16(i8 noundef zeroext %14) %16 = load ptr, ptr %4, align 8 store i16 %15, ptr %16, align 2 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 2 store ptr %18, ptr %4, align 8 br label %19 19: ; preds = %9 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %6, !llvm.loop !6 22: ; preds = %6 ret void } declare signext i16 @ulaw_to_s16(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfcfrfaaz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mulaw_dec(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp slt i32 %6, 160 br i1 %7, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %18 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = call signext i16 @ulaw_to_s16(i8 noundef zeroext %13) %15 = load ptr, ptr %4, align 8 store i16 %14, ptr %15, align 2 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 2 store ptr %17, ptr %4, align 8 br label %18 18: ; preds = %8 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %21, 160 br i1 %22, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %2 ret void } declare signext i16 @ulaw_to_s16(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpnydkypex.c' source_filename = "/tmp/tmpnydkypex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmpnydkypex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmp408w7qrn.c' source_filename = "/tmp/tmp408w7qrn.c" target datalayout = "e-m:e-p270: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/tmp408w7qrn.c" target datalayout = "e-m:e-p270: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/tmpl0vmfnk0.c' source_filename = "/tmp/tmpl0vmfnk0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcpy6(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %6, align 8 br label %11 11: ; preds = %2, %30 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %7, align 4 store i32 255, ptr %8, align 4 br label %14 14: ; preds = %20, %11 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %8, align 4 %17 = and i32 %15, %16 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %14 br label %20 20: ; preds = %19 %21 = load i32, ptr %8, align 4 %22 = shl i32 %21, 8 store i32 %22, ptr %8, align 4 br label %14, !llvm.loop !6 23: ; preds = %14 %24 = load i32, ptr %8, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %30 26: ; preds = %23 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %5, align 8 %29 = call i32 @strcpy2(ptr noundef %27, ptr noundef %28) br label %36 30: ; preds = %23 %31 = load i32, ptr %7, align 4 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds i32, ptr %32, i32 1 store ptr %33, ptr %6, align 8 store i32 %31, ptr %32, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds i32, ptr %34, i32 1 store ptr %35, ptr %5, align 8 br label %11 36: ; preds = %26 %37 = load ptr, ptr %3, align 8 ret ptr %37 } declare i32 @strcpy2(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl0vmfnk0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcpy6(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %3, align 8 store ptr %10, ptr %6, align 8 br label %11 11: ; preds = %33, %2 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 store i32 %13, ptr %7, align 4 store i32 255, ptr %8, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = and i32 %14, %15 %17 = icmp ne i32 %16, 0 br i1 %17, label %.lr.ph, label %26 .lr.ph: ; preds = %11 br label %18 18: ; preds = %.lr.ph, %19 br label %19 19: ; preds = %18 %20 = load i32, ptr %8, align 4 %21 = shl i32 %20, 8 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %8, align 4 %24 = and i32 %22, %23 %25 = icmp ne i32 %24, 0 br i1 %25, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %11 %27 = load i32, ptr %8, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %26 %30 = load ptr, ptr %6, align 8 %31 = load ptr, ptr %5, align 8 %32 = call i32 @strcpy2(ptr noundef %30, ptr noundef %31) br label %39 33: ; preds = %26 %34 = load i32, ptr %7, align 4 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds i32, ptr %35, i32 1 store ptr %36, ptr %6, align 8 store i32 %34, ptr %35, align 4 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds i32, ptr %37, i32 1 store ptr %38, ptr %5, align 8 br label %11 39: ; preds = %29 %40 = load ptr, ptr %3, align 8 ret ptr %40 } declare i32 @strcpy2(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp40q8faqz.c' source_filename = "/tmp/tmp40q8faqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @expm1l(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call x86_fp80 @expm1(x86_fp80 noundef %3) ret x86_fp80 %4 } declare x86_fp80 @expm1(x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp40q8faqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @expm1l(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call x86_fp80 @expm1(x86_fp80 noundef %3) ret x86_fp80 %4 } declare x86_fp80 @expm1(x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzkyxspu3.c' source_filename = "/tmp/tmpzkyxspu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"R 16 BE: \220x%02x%02x\22 -> 0x%04x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ReadUint16BE(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 0 %10 = load i32, ptr %9, align 4 %11 = shl i32 %10, 8 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 1 %14 = load i32, ptr %13, align 4 %15 = shl i32 %14, 0 %16 = or i32 %11, %15 store i32 %16, ptr %3, align 4 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 0 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 1 %22 = load i32, ptr %21, align 4 %23 = load i32, ptr %3, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @assert(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzkyxspu3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"R 16 BE: \220x%02x%02x\22 -> 0x%04x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ReadUint16BE(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 0 %10 = load i32, ptr %9, align 4 %11 = shl i32 %10, 8 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 1 %14 = load i32, ptr %13, align 4 %15 = shl i32 %14, 0 %16 = or i32 %11, %15 store i32 %16, ptr %3, align 4 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 0 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds i32, ptr %20, i64 1 %22 = load i32, ptr %21, align 4 %23 = load i32, ptr %3, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @assert(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}