llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp9cbwz_2_.c' source_filename = "/tmp/tmp9cbwz_2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"1/%d => %zu\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"ans: %d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %3, align 8 %9 = call ptr @malloc(i32 noundef 40000) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %0 %13 = load i32, ptr @EXIT_FAILURE, align 4 %14 = call i32 @exit(i32 noundef %13) #3 unreachable 15: ; preds = %0 store i32 1, ptr %2, align 4 br label %16 16: ; preds = %38, %15 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %17, 1000 br i1 %18, label %19, label %41 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i64 @recurring_length(i32 noundef %20, ptr noundef %21) store i64 %22, ptr %4, align 8 %23 = load i64, ptr %3, align 8 %24 = load i64, ptr %4, align 8 %25 = icmp ult i64 %23, %24 br i1 %25, label %26, label %29 26: ; preds = %19 %27 = load i64, ptr %4, align 8 store i64 %27, ptr %3, align 8 %28 = load i32, ptr %2, align 4 store i32 %28, ptr %6, align 4 br label %30 29: ; preds = %19 br label %30 30: ; preds = %29, %26 %31 = load i32, ptr %2, align 4 %32 = icmp eq i32 %31, 110 br i1 %32, label %33, label %37 33: ; preds = %30 %34 = load i32, ptr %2, align 4 %35 = load i64, ptr %4, align 8 %36 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %34, i64 noundef %35) br label %37 37: ; preds = %33, %30 br label %38 38: ; preds = %37 %39 = load i32, ptr %2, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %2, align 4 br label %16, !llvm.loop !6 41: ; preds = %16 %42 = load i32, ptr %6, align 4 %43 = load i64, ptr %3, align 8 %44 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %42, i64 noundef %43) %45 = load i32, ptr %6, align 4 %46 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %45) %47 = load i32, ptr @EXIT_SUCCESS, align 4 %48 = call i32 @exit(i32 noundef %47) #3 unreachable } declare ptr @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @recurring_length(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp9cbwz_2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"1/%d => %zu\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"ans: %d\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %3, align 8 %9 = call ptr @malloc(i32 noundef 40000) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %0 %13 = load i32, ptr @EXIT_FAILURE, align 4 %14 = call i32 @exit(i32 noundef %13) #3 unreachable 15: ; preds = %0 store i32 1, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %16, 1000 br i1 %17, label %.lr.ph, label %42 .lr.ph: ; preds = %15 br label %18 18: ; preds = %.lr.ph, %37 %19 = load i32, ptr %2, align 4 %20 = load ptr, ptr %5, align 8 %21 = call i64 @recurring_length(i32 noundef %19, ptr noundef %20) store i64 %21, ptr %4, align 8 %22 = load i64, ptr %3, align 8 %23 = load i64, ptr %4, align 8 %24 = icmp ult i64 %22, %23 br i1 %24, label %25, label %28 25: ; preds = %18 %26 = load i64, ptr %4, align 8 store i64 %26, ptr %3, align 8 %27 = load i32, ptr %2, align 4 store i32 %27, ptr %6, align 4 br label %29 28: ; preds = %18 br label %29 29: ; preds = %28, %25 %30 = load i32, ptr %2, align 4 %31 = icmp eq i32 %30, 110 br i1 %31, label %32, label %36 32: ; preds = %29 %33 = load i32, ptr %2, align 4 %34 = load i64, ptr %4, align 8 %35 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %33, i64 noundef %34) br label %36 36: ; preds = %32, %29 br label %37 37: ; preds = %36 %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp slt i32 %40, 1000 br i1 %41, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %42 42: ; preds = %._crit_edge, %15 %43 = load i32, ptr %6, align 4 %44 = load i64, ptr %3, align 8 %45 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %43, i64 noundef %44) %46 = load i32, ptr %6, align 4 %47 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %46) %48 = load i32, ptr @EXIT_SUCCESS, align 4 %49 = call i32 @exit(i32 noundef %48) #3 unreachable } declare ptr @malloc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @recurring_length(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpt2mr7axc.c' source_filename = "/tmp/tmpt2mr7axc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @daylight = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dummyfcn() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @daylight, align 4 store i32 %2, ptr %1, align 4 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt2mr7axc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @daylight = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dummyfcn() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @daylight, align 4 store i32 %2, ptr %1, align 4 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfuqx_g68.c' source_filename = "/tmp/tmpfuqx_g68.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%d -1\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 [105 x i32], align 16 %9 = alloca [105 x i32], align 16 %10 = alloca [210 x i32], align 16 %11 = alloca [210 x i8], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = 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 %21 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6) store i32 1, ptr %12, align 4 br label %22 22: ; preds = %172, %2 %23 = load i32, ptr %12, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp sle i32 %23, %24 br i1 %25, label %26, label %175 26: ; preds = %22 %27 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7) br label %28 28: ; preds = %32, %26 %29 = call signext i8 (...) @getchar() %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 10 br i1 %31, label %32, label %33 32: ; preds = %28 br label %28, !llvm.loop !6 33: ; preds = %28 %34 = getelementptr inbounds [210 x i8], ptr %11, i64 0, i64 0 %35 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %34) store i32 0, ptr %13, align 4 br label %36 36: ; preds = %50, %33 %37 = load i32, ptr %13, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %53 40: ; preds = %36 %41 = load i32, ptr %13, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [210 x i8], ptr %11, i64 0, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = sub nsw i32 %45, 65 %47 = load i32, ptr %13, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [105 x i32], ptr %8, i64 0, i64 %48 store i32 %46, ptr %49, align 4 br label %50 50: ; preds = %40 %51 = load i32, ptr %13, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %13, align 4 br label %36, !llvm.loop !8 53: ; preds = %36 %54 = getelementptr inbounds [210 x i8], ptr %11, i64 0, i64 0 %55 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %54) store i32 0, ptr %14, align 4 br label %56 56: ; preds = %70, %53 %57 = load i32, ptr %14, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %60, label %73 60: ; preds = %56 %61 = load i32, ptr %14, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [210 x i8], ptr %11, i64 0, i64 %62 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = sub nsw i32 %65, 65 %67 = load i32, ptr %14, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [105 x i32], ptr %9, i64 0, i64 %68 store i32 %66, ptr %69, align 4 br label %70 70: ; preds = %60 %71 = load i32, ptr %14, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %14, align 4 br label %56, !llvm.loop !9 73: ; preds = %56 %74 = getelementptr inbounds [210 x i8], ptr %11, i64 0, i64 0 %75 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %74) store i32 1, ptr %15, align 4 store i32 0, ptr %16, align 4 br label %76 76: ; preds = %162, %73 %77 = load i32, ptr %16, align 4 %78 = icmp slt i32 %77, 100 br i1 %78, label %79, label %165 79: ; preds = %76 store i32 0, ptr %17, align 4 br label %80 80: ; preds = %102, %79 %81 = load i32, ptr %17, align 4 %82 = load i32, ptr %7, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %84, label %105 84: ; preds = %80 %85 = load i32, ptr %17, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [105 x i32], ptr %9, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = load i32, ptr %17, align 4 %90 = mul nsw i32 2, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [210 x i32], ptr %10, i64 0, i64 %91 store i32 %88, ptr %92, align 4 %93 = load i32, ptr %17, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [105 x i32], ptr %8, i64 0, i64 %94 %96 = load i32, ptr %95, align 4 %97 = load i32, ptr %17, align 4 %98 = mul nsw i32 2, %97 %99 = add nsw i32 %98, 1 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [210 x i32], ptr %10, i64 0, i64 %100 store i32 %96, ptr %101, align 4 br label %102 102: ; preds = %84 %103 = load i32, ptr %17, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %17, align 4 br label %80, !llvm.loop !10 105: ; preds = %80 store i32 1, ptr %18, align 4 store i32 0, ptr %19, align 4 br label %106 106: ; preds = %125, %105 %107 = load i32, ptr %19, align 4 %108 = load i32, ptr %7, align 4 %109 = mul nsw i32 2, %108 %110 = icmp slt i32 %107, %109 br i1 %110, label %111, label %128 111: ; preds = %106 %112 = load i32, ptr %19, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [210 x i8], ptr %11, i64 0, i64 %113 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = sub nsw i32 %116, 65 %118 = load i32, ptr %19, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [210 x i32], ptr %10, i64 0, i64 %119 %121 = load i32, ptr %120, align 4 %122 = icmp ne i32 %117, %121 br i1 %122, label %123, label %124 123: ; preds = %111 store i32 0, ptr %18, align 4 br label %124 124: ; preds = %123, %111 br label %125 125: ; preds = %124 %126 = load i32, ptr %19, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %19, align 4 br label %106, !llvm.loop !11 128: ; preds = %106 store i32 0, ptr %20, align 4 br label %129 129: ; preds = %150, %128 %130 = load i32, ptr %20, align 4 %131 = load i32, ptr %7, align 4 %132 = icmp slt i32 %130, %131 br i1 %132, label %133, label %153 133: ; preds = %129 %134 = load i32, ptr %20, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [210 x i32], ptr %10, i64 0, i64 %135 %137 = load i32, ptr %136, align 4 %138 = load i32, ptr %20, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [105 x i32], ptr %8, i64 0, i64 %139 store i32 %137, ptr %140, align 4 %141 = load i32, ptr %20, align 4 %142 = load i32, ptr %7, align 4 %143 = add nsw i32 %141, %142 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds [210 x i32], ptr %10, i64 0, i64 %144 %146 = load i32, ptr %145, align 4 %147 = load i32, ptr %20, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds [105 x i32], ptr %9, i64 0, i64 %148 store i32 %146, ptr %149, align 4 br label %150 150: ; preds = %133 %151 = load i32, ptr %20, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %20, align 4 br label %129, !llvm.loop !12 153: ; preds = %129 %154 = load i32, ptr %18, align 4 %155 = icmp ne i32 %154, 0 br i1 %155, label %156, label %161 156: ; preds = %153 %157 = load i32, ptr %12, align 4 %158 = load i32, ptr %16, align 4 %159 = add nsw i32 %158, 1 %160 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %157, i32 noundef %159) store i32 0, ptr %15, align 4 br label %165 161: ; preds = %153 br label %162 162: ; preds = %161 %163 = load i32, ptr %16, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %16, align 4 br label %76, !llvm.loop !13 165: ; preds = %156, %76 %166 = load i32, ptr %15, align 4 %167 = icmp ne i32 %166, 0 br i1 %167, label %168, label %171 168: ; preds = %165 %169 = load i32, ptr %12, align 4 %170 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %169) br label %171 171: ; preds = %168, %165 br label %172 172: ; preds = %171 %173 = load i32, ptr %12, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %12, align 4 br label %22, !llvm.loop !14 175: ; preds = %22 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare signext i8 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfuqx_g68.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%d -1\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 [105 x i32], align 16 %9 = alloca [105 x i32], align 16 %10 = alloca [210 x i32], align 16 %11 = alloca [210 x i8], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = 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 %21 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6) store i32 1, ptr %12, align 4 %22 = load i32, ptr %12, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %.lr.ph16, label %188 .lr.ph16: ; preds = %2 br label %25 25: ; preds = %.lr.ph16, %182 %26 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7) br label %27 27: ; preds = %27, %25 %28 = call signext i8 (...) @getchar() %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 10 br i1 %30, label %27, label %31, !llvm.loop !6 31: ; preds = %27 %32 = getelementptr inbounds [210 x i8], ptr %11, i64 0, i64 0 %33 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %32) store i32 0, ptr %13, align 4 %34 = load i32, ptr %13, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph, label %53 .lr.ph: ; preds = %31 br label %37 37: ; preds = %.lr.ph, %47 %38 = load i32, ptr %13, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [210 x i8], ptr %11, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = sub nsw i32 %42, 65 %44 = load i32, ptr %13, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [105 x i32], ptr %8, i64 0, i64 %45 store i32 %43, ptr %46, align 4 br label %47 47: ; preds = %37 %48 = load i32, ptr %13, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %13, align 4 %50 = load i32, ptr %13, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %37, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %47 br label %53 53: ; preds = %._crit_edge, %31 %54 = getelementptr inbounds [210 x i8], ptr %11, i64 0, i64 0 %55 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %54) store i32 0, ptr %14, align 4 %56 = load i32, ptr %14, align 4 %57 = load i32, ptr %7, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %.lr.ph2, label %75 .lr.ph2: ; preds = %53 br label %59 59: ; preds = %.lr.ph2, %69 %60 = load i32, ptr %14, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [210 x i8], ptr %11, i64 0, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = sub nsw i32 %64, 65 %66 = load i32, ptr %14, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [105 x i32], ptr %9, i64 0, i64 %67 store i32 %65, ptr %68, align 4 br label %69 69: ; preds = %59 %70 = load i32, ptr %14, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %14, align 4 %72 = load i32, ptr %14, align 4 %73 = load i32, ptr %7, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %59, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %69 br label %75 75: ; preds = %._crit_edge3, %53 %76 = getelementptr inbounds [210 x i8], ptr %11, i64 0, i64 0 %77 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %76) store i32 1, ptr %15, align 4 store i32 0, ptr %16, align 4 %78 = load i32, ptr %16, align 4 %79 = icmp slt i32 %78, 100 br i1 %79, label %.lr.ph14, label %.loopexit .lr.ph14: ; preds = %75 br label %80 80: ; preds = %.lr.ph14, %170 store i32 0, ptr %17, align 4 %81 = load i32, ptr %17, align 4 %82 = load i32, ptr %7, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %.lr.ph5, label %108 .lr.ph5: ; preds = %80 br label %84 84: ; preds = %.lr.ph5, %102 %85 = load i32, ptr %17, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [105 x i32], ptr %9, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = load i32, ptr %17, align 4 %90 = mul nsw i32 2, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [210 x i32], ptr %10, i64 0, i64 %91 store i32 %88, ptr %92, align 4 %93 = load i32, ptr %17, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [105 x i32], ptr %8, i64 0, i64 %94 %96 = load i32, ptr %95, align 4 %97 = load i32, ptr %17, align 4 %98 = mul nsw i32 2, %97 %99 = add nsw i32 %98, 1 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [210 x i32], ptr %10, i64 0, i64 %100 store i32 %96, ptr %101, align 4 br label %102 102: ; preds = %84 %103 = load i32, ptr %17, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %17, align 4 %105 = load i32, ptr %17, align 4 %106 = load i32, ptr %7, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %84, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %102 br label %108 108: ; preds = %._crit_edge6, %80 store i32 1, ptr %18, align 4 store i32 0, ptr %19, align 4 %109 = load i32, ptr %19, align 4 %110 = load i32, ptr %7, align 4 %111 = mul nsw i32 2, %110 %112 = icmp slt i32 %109, %111 br i1 %112, label %.lr.ph8, label %134 .lr.ph8: ; preds = %108 br label %113 113: ; preds = %.lr.ph8, %127 %114 = load i32, ptr %19, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [210 x i8], ptr %11, i64 0, i64 %115 %117 = load i8, ptr %116, align 1 %118 = sext i8 %117 to i32 %119 = sub nsw i32 %118, 65 %120 = load i32, ptr %19, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [210 x i32], ptr %10, i64 0, i64 %121 %123 = load i32, ptr %122, align 4 %124 = icmp ne i32 %119, %123 br i1 %124, label %125, label %126 125: ; preds = %113 store i32 0, ptr %18, align 4 br label %126 126: ; preds = %125, %113 br label %127 127: ; preds = %126 %128 = load i32, ptr %19, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %19, align 4 %130 = load i32, ptr %19, align 4 %131 = load i32, ptr %7, align 4 %132 = mul nsw i32 2, %131 %133 = icmp slt i32 %130, %132 br i1 %133, label %113, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %127 br label %134 134: ; preds = %._crit_edge9, %108 store i32 0, ptr %20, align 4 %135 = load i32, ptr %20, align 4 %136 = load i32, ptr %7, align 4 %137 = icmp slt i32 %135, %136 br i1 %137, label %.lr.ph11, label %161 .lr.ph11: ; preds = %134 br label %138 138: ; preds = %.lr.ph11, %155 %139 = load i32, ptr %20, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds [210 x i32], ptr %10, i64 0, i64 %140 %142 = load i32, ptr %141, align 4 %143 = load i32, ptr %20, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds [105 x i32], ptr %8, i64 0, i64 %144 store i32 %142, ptr %145, align 4 %146 = load i32, ptr %20, align 4 %147 = load i32, ptr %7, align 4 %148 = add nsw i32 %146, %147 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [210 x i32], ptr %10, i64 0, i64 %149 %151 = load i32, ptr %150, align 4 %152 = load i32, ptr %20, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds [105 x i32], ptr %9, i64 0, i64 %153 store i32 %151, ptr %154, align 4 br label %155 155: ; preds = %138 %156 = load i32, ptr %20, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %20, align 4 %158 = load i32, ptr %20, align 4 %159 = load i32, ptr %7, align 4 %160 = icmp slt i32 %158, %159 br i1 %160, label %138, label %._crit_edge12, !llvm.loop !12 ._crit_edge12: ; preds = %155 br label %161 161: ; preds = %._crit_edge12, %134 %162 = load i32, ptr %18, align 4 %163 = icmp ne i32 %162, 0 br i1 %163, label %164, label %169 164: ; preds = %161 %165 = load i32, ptr %12, align 4 %166 = load i32, ptr %16, align 4 %167 = add nsw i32 %166, 1 %168 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %165, i32 noundef %167) store i32 0, ptr %15, align 4 br label %175 169: ; preds = %161 br label %170 170: ; preds = %169 %171 = load i32, ptr %16, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %16, align 4 %173 = load i32, ptr %16, align 4 %174 = icmp slt i32 %173, 100 br i1 %174, label %80, label %..loopexit_crit_edge, !llvm.loop !13 ..loopexit_crit_edge: ; preds = %170 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %75 br label %175 175: ; preds = %.loopexit, %164 %176 = load i32, ptr %15, align 4 %177 = icmp ne i32 %176, 0 br i1 %177, label %178, label %181 178: ; preds = %175 %179 = load i32, ptr %12, align 4 %180 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %179) br label %181 181: ; preds = %178, %175 br label %182 182: ; preds = %181 %183 = load i32, ptr %12, align 4 %184 = add nsw i32 %183, 1 store i32 %184, ptr %12, align 4 %185 = load i32, ptr %12, align 4 %186 = load i32, ptr %6, align 4 %187 = icmp sle i32 %185, %186 br i1 %187, label %25, label %._crit_edge17, !llvm.loop !14 ._crit_edge17: ; preds = %182 br label %188 188: ; preds = %._crit_edge17, %2 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare signext i8 @getchar(...) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmpj1op4n0k.c' source_filename = "/tmp/tmpj1op4n0k.c" target datalayout = "e-m:e-p270: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/tmpj1op4n0k.c" target datalayout = "e-m:e-p270: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/tmp7t2f5c9d.c' source_filename = "/tmp/tmp7t2f5c9d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @isns_assign_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = call ptr @strdup(ptr noundef %9) store ptr %10, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %14, label %12 12: ; preds = %8 %13 = call i32 @errx(i32 noundef 1, ptr noundef @.str) br label %14 14: ; preds = %12, %8, %2 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %15, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %14 %19 = load ptr, ptr %3, align 8 %20 = load ptr, ptr %19, align 8 %21 = call i32 @free(ptr noundef %20) br label %22 22: ; preds = %18, %14 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %3, align 8 store ptr %23, ptr %24, align 8 ret void } declare ptr @strdup(ptr noundef) #1 declare i32 @errx(i32 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/tmp7t2f5c9d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @isns_assign_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = call ptr @strdup(ptr noundef %9) store ptr %10, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %14, label %12 12: ; preds = %8 %13 = call i32 @errx(i32 noundef 1, ptr noundef @.str) br label %14 14: ; preds = %12, %8, %2 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %15, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %14 %19 = load ptr, ptr %3, align 8 %20 = load ptr, ptr %19, align 8 %21 = call i32 @free(ptr noundef %20) br label %22 22: ; preds = %18, %14 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %3, align 8 store ptr %23, ptr %24, align 8 ret void } declare ptr @strdup(ptr noundef) #1 declare i32 @errx(i32 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/tmpws2fgzr_.c' source_filename = "/tmp/tmpws2fgzr_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c",\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_place(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %8 8: ; preds = %70, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %73 12: ; preds = %8 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %6, align 4 br label %15 15: ; preds = %37, %12 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %40 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %5, align 4 %32 = sub nsw i32 %30, %31 %33 = add nsw i32 %29, %32 %34 = icmp ne i32 %24, %33 br i1 %34, label %35, label %36 35: ; preds = %19 br label %40 36: ; preds = %19 br label %37 37: ; preds = %36 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %6, align 4 br label %15, !llvm.loop !6 40: ; preds = %35, %15 %41 = load i32, ptr %5, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %40 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %45 45: ; preds = %43, %40 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 1 %49 = icmp eq i32 %46, %48 br i1 %49, label %50, label %57 50: ; preds = %45 %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) br label %69 57: ; preds = %45 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = load i32, ptr %6, align 4 %64 = load i32, ptr %5, align 4 %65 = sub nsw i32 %63, %64 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %62, i32 noundef %65) %67 = load i32, ptr %6, align 4 %68 = sub nsw i32 %67, 1 store i32 %68, ptr %5, align 4 br label %69 69: ; preds = %57, %50 br label %70 70: ; preds = %69 %71 = load i32, ptr %5, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %5, align 4 br label %8, !llvm.loop !8 73: ; preds = %8 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpws2fgzr_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c",\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_place(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph1, label %77 .lr.ph1: ; preds = %2 br label %11 11: ; preds = %.lr.ph1, %71 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %11 br label %17 17: ; preds = %.lr.ph, %35 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %5, align 4 %30 = sub nsw i32 %28, %29 %31 = add nsw i32 %27, %30 %32 = icmp ne i32 %22, %31 br i1 %32, label %33, label %34 33: ; preds = %17 br label %41 34: ; preds = %17 br label %35 35: ; preds = %34 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %17, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %35 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %11 br label %41 41: ; preds = %.loopexit, %33 %42 = load i32, ptr %5, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %41 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 46: ; preds = %44, %41 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, 1 %50 = icmp eq i32 %47, %49 br i1 %50, label %51, label %58 51: ; preds = %46 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %56) br label %70 58: ; preds = %46 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 %64 = load i32, ptr %6, align 4 %65 = load i32, ptr %5, align 4 %66 = sub nsw i32 %64, %65 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %63, i32 noundef %66) %68 = load i32, ptr %6, align 4 %69 = sub nsw i32 %68, 1 store i32 %69, ptr %5, align 4 br label %70 70: ; preds = %58, %51 br label %71 71: ; preds = %70 %72 = load i32, ptr %5, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %5, align 4 %74 = load i32, ptr %5, align 4 %75 = load i32, ptr %3, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %11, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %71 br label %77 77: ; preds = %._crit_edge, %2 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp69enerpo.c' source_filename = "/tmp/tmp69enerpo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 the expression:- \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca [10 x i8], align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %8, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %10) %12 = call i32 @push(i8 noundef signext 36) %13 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %16 store i8 36, ptr %17, align 1 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %20 store i8 0, ptr %21, align 1 br label %22 22: ; preds = %118, %0 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 36 br i1 %28, label %33, label %29 29: ; preds = %22 %30 = call signext i8 (...) @peek() %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 36 br label %33 33: ; preds = %29, %22 %34 = phi i1 [ true, %22 ], [ %32, %29 ] br i1 %34, label %35, label %119 35: ; preds = %33 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp sge i32 %40, 48 br i1 %41, label %42, label %74 42: ; preds = %35 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp sle i32 %47, 57 br i1 %48, label %49, label %74 49: ; preds = %42 br label %50 50: ; preds = %66, %49 %51 = load i32, ptr %6, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp sge i32 %55, 48 br i1 %56, label %57, label %64 57: ; preds = %50 %58 = load i32, ptr %6, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp sle i32 %62, 57 br label %64 64: ; preds = %57, %50 %65 = phi i1 [ false, %50 ], [ %63, %57 ] br i1 %65, label %66, label %69 66: ; preds = %64 %67 = load i32, ptr %6, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %6, align 4 br label %50, !llvm.loop !6 69: ; preds = %64 %70 = load i32, ptr %6, align 4 %71 = add nsw i32 %70, -1 store i32 %71, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %72 store i8 105, ptr %73, align 1 br label %74 74: ; preds = %69, %42, %35 %75 = call signext i8 (...) @peek() %76 = load i32, ptr %6, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %77 %79 = load i8, ptr %78, align 1 %80 = call i32 @preced(i8 noundef signext %75, i8 noundef signext %79) store i32 %80, ptr %7, align 4 %81 = load i32, ptr %7, align 4 %82 = icmp eq i32 %81, 0 br i1 %82, label %83, label %103 83: ; preds = %74 %84 = load i32, ptr %6, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %85 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 105 br i1 %89, label %90, label %93 90: ; preds = %83 %91 = load i32, ptr %8, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %8, align 4 br label %96 93: ; preds = %83 %94 = load i32, ptr %8, align 4 %95 = add nsw i32 %94, -1 store i32 %95, ptr %8, align 4 br label %96 96: ; preds = %93, %90 %97 = load i32, ptr %6, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %6, align 4 %99 = sext i32 %97 to i64 %100 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %99 %101 = load i8, ptr %100, align 1 %102 = call i32 @push(i8 noundef signext %101) br label %118 103: ; preds = %74 %104 = load i32, ptr %7, align 4 %105 = icmp eq i32 %104, 1 br i1 %105, label %106, label %115 106: ; preds = %103 br label %107 107: ; preds = %109, %106 %108 = call signext i8 (...) @pop() store i8 %108, ptr %3, align 1 br label %109 109: ; preds = %107 %110 = call signext i8 (...) @peek() %111 = load i8, ptr %3, align 1 %112 = call i32 @preced(i8 noundef signext %110, i8 noundef signext %111) %113 = icmp ne i32 %112, 0 br i1 %113, label %107, label %114, !llvm.loop !8 114: ; preds = %109 br label %117 115: ; preds = %103 %116 = call i32 (...) @error() br label %117 117: ; preds = %115, %114 br label %118 118: ; preds = %117, %96 br label %22, !llvm.loop !9 119: ; preds = %33 %120 = load i32, ptr %8, align 4 %121 = icmp ne i32 %120, 1 br i1 %121, label %122, label %124 122: ; preds = %119 %123 = call i32 (...) @error() br label %124 124: ; preds = %122, %119 %125 = load i32, ptr %8, align 4 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %125) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @push(i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare signext i8 @peek(...) #1 declare i32 @preced(i8 noundef signext, i8 noundef signext) #1 declare signext i8 @pop(...) #1 declare i32 @error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp69enerpo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 the expression:- \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca [10 x i8], align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %8, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %10) %12 = call i32 @push(i8 noundef signext 36) %13 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %16 store i8 36, ptr %17, align 1 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %20 store i8 0, ptr %21, align 1 br label %22 22: ; preds = %118, %0 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 36 br i1 %28, label %33, label %29 29: ; preds = %22 %30 = call signext i8 (...) @peek() %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 36 br label %33 33: ; preds = %29, %22 %34 = phi i1 [ true, %22 ], [ %32, %29 ] br i1 %34, label %35, label %119 35: ; preds = %33 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp sge i32 %40, 48 br i1 %41, label %42, label %74 42: ; preds = %35 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp sle i32 %47, 57 br i1 %48, label %49, label %74 49: ; preds = %42 br label %50 50: ; preds = %66, %49 %51 = load i32, ptr %6, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp sge i32 %55, 48 br i1 %56, label %57, label %64 57: ; preds = %50 %58 = load i32, ptr %6, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp sle i32 %62, 57 br label %64 64: ; preds = %57, %50 %65 = phi i1 [ false, %50 ], [ %63, %57 ] br i1 %65, label %66, label %69 66: ; preds = %64 %67 = load i32, ptr %6, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %6, align 4 br label %50, !llvm.loop !6 69: ; preds = %64 %70 = load i32, ptr %6, align 4 %71 = add nsw i32 %70, -1 store i32 %71, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %72 store i8 105, ptr %73, align 1 br label %74 74: ; preds = %69, %42, %35 %75 = call signext i8 (...) @peek() %76 = load i32, ptr %6, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %77 %79 = load i8, ptr %78, align 1 %80 = call i32 @preced(i8 noundef signext %75, i8 noundef signext %79) store i32 %80, ptr %7, align 4 %81 = load i32, ptr %7, align 4 %82 = icmp eq i32 %81, 0 br i1 %82, label %83, label %103 83: ; preds = %74 %84 = load i32, ptr %6, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %85 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 105 br i1 %89, label %90, label %93 90: ; preds = %83 %91 = load i32, ptr %8, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %8, align 4 br label %96 93: ; preds = %83 %94 = load i32, ptr %8, align 4 %95 = add nsw i32 %94, -1 store i32 %95, ptr %8, align 4 br label %96 96: ; preds = %93, %90 %97 = load i32, ptr %6, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %6, align 4 %99 = sext i32 %97 to i64 %100 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %99 %101 = load i8, ptr %100, align 1 %102 = call i32 @push(i8 noundef signext %101) br label %118 103: ; preds = %74 %104 = load i32, ptr %7, align 4 %105 = icmp eq i32 %104, 1 br i1 %105, label %106, label %115 106: ; preds = %103 br label %107 107: ; preds = %109, %106 %108 = call signext i8 (...) @pop() store i8 %108, ptr %3, align 1 br label %109 109: ; preds = %107 %110 = call signext i8 (...) @peek() %111 = load i8, ptr %3, align 1 %112 = call i32 @preced(i8 noundef signext %110, i8 noundef signext %111) %113 = icmp ne i32 %112, 0 br i1 %113, label %107, label %114, !llvm.loop !8 114: ; preds = %109 br label %117 115: ; preds = %103 %116 = call i32 (...) @error() br label %117 117: ; preds = %115, %114 br label %118 118: ; preds = %117, %96 br label %22, !llvm.loop !9 119: ; preds = %33 %120 = load i32, ptr %8, align 4 %121 = icmp ne i32 %120, 1 br i1 %121, label %122, label %124 122: ; preds = %119 %123 = call i32 (...) @error() br label %124 124: ; preds = %122, %119 %125 = load i32, ptr %8, align 4 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %125) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @push(i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare signext i8 @peek(...) #1 declare i32 @preced(i8 noundef signext, i8 noundef signext) #1 declare signext i8 @pop(...) #1 declare i32 @error(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp257rpp5e.c' source_filename = "/tmp/tmp257rpp5e.c" target datalayout = "e-m:e-p270: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/tmp257rpp5e.c" target datalayout = "e-m:e-p270: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/tmpzqwtxafo.c' source_filename = "/tmp/tmpzqwtxafo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DMAPageWrite(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %22, %3 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %25 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %7, align 4 %15 = add nsw i32 %13, %14 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = call i32 @mem_writeb_phys_dma(i32 noundef %15, i32 noundef %20) br label %22 22: ; preds = %12 %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %7, align 4 br label %8, !llvm.loop !6 25: ; preds = %8 %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %27, %28 %30 = sub nsw i32 %29, 1 %31 = call i32 @mem_invalidate_range(i32 noundef %26, i32 noundef %30) ret void } declare i32 @mem_writeb_phys_dma(i32 noundef, i32 noundef) #1 declare i32 @mem_invalidate_range(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/tmpzqwtxafo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DMAPageWrite(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %21 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %7, align 4 %14 = add nsw i32 %12, %13 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = call i32 @mem_writeb_phys_dma(i32 noundef %14, i32 noundef %19) br label %21 21: ; preds = %11 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %3 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %29, %30 %32 = sub nsw i32 %31, 1 %33 = call i32 @mem_invalidate_range(i32 noundef %28, i32 noundef %32) ret void } declare i32 @mem_writeb_phys_dma(i32 noundef, i32 noundef) #1 declare i32 @mem_invalidate_range(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/tmpdqsbdrvc.c' source_filename = "/tmp/tmpdqsbdrvc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isascii should be 1 for d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x64() #0 { %1 = call i32 @isascii(i32 noundef 100) %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 505, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isascii(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/tmpdqsbdrvc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isascii should be 1 for d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0x64() #0 { %1 = call i32 @isascii(i32 noundef 100) %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 505, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @isascii(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/tmp988571j2.c' source_filename = "/tmp/tmp988571j2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2() #0 { %1 = alloca [3 x i32], align 4 %2 = alloca ptr, align 8 store ptr %1, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0 store i32 97, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 1 store i32 98, ptr %6, align 4 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 2 store i32 99, ptr %8, align 4 %9 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0 %10 = load i32, ptr %9, align 4 %11 = call i32 @putchar(i32 noundef %10) %12 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 1 %13 = load i32, ptr %12, align 4 %14 = call i32 @putchar(i32 noundef %13) %15 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 2 %16 = load i32, ptr %15, align 4 %17 = call i32 @putchar(i32 noundef %16) ret void } declare i32 @putchar(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/tmp988571j2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2() #0 { %1 = alloca [3 x i32], align 4 %2 = alloca ptr, align 8 store ptr %1, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0 store i32 97, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 1 store i32 98, ptr %6, align 4 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds [3 x i32], ptr %7, i64 0, i64 2 store i32 99, ptr %8, align 4 %9 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0 %10 = load i32, ptr %9, align 4 %11 = call i32 @putchar(i32 noundef %10) %12 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 1 %13 = load i32, ptr %12, align 4 %14 = call i32 @putchar(i32 noundef %13) %15 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 2 %16 = load i32, ptr %15, align 4 %17 = call i32 @putchar(i32 noundef %16) ret void } declare i32 @putchar(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/tmp118dqt5t.c' source_filename = "/tmp/tmp118dqt5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @getNumbers() store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @getDraws(i32 noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 @printDrawnNumbers(i32 noundef %9, i32 noundef %10) %12 = load i32, ptr @stdin, align 4 %13 = call i32 @fflush(i32 noundef %12) %14 = call i32 (...) @getchar() ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @getNumbers(...) #1 declare i32 @getDraws(i32 noundef) #1 declare i32 @printDrawnNumbers(i32 noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp118dqt5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @getNumbers() store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @getDraws(i32 noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 @printDrawnNumbers(i32 noundef %9, i32 noundef %10) %12 = load i32, ptr @stdin, align 4 %13 = call i32 @fflush(i32 noundef %12) %14 = call i32 (...) @getchar() ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @getNumbers(...) #1 declare i32 @getDraws(i32 noundef) #1 declare i32 @printDrawnNumbers(i32 noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqo0xgicq.c' source_filename = "/tmp/tmpqo0xgicq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [603 x i8] c"Usage: %s [OPTIONS] STRINGS...\0A\0Astrtonargv(1) splits strings to a list of words.\0A\0AThe separators are defined by environment variables. CFS splits strings into\0Awords. Words are expanded using the first character of IFS.\0A\0AOptions:\0A --count Count only.\0A -h or --help Display this message.\0A -V or --version Display the version.\0A\0AEnvironment Variables:\0A CFS Common Field Separator to split\0A strings into words [default=' ']\0A IFS Internal Field Separator to.\0A expands words [default=' \\t\\n']\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @applet(ptr noundef %6) %8 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %7) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @applet(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqo0xgicq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [603 x i8] c"Usage: %s [OPTIONS] STRINGS...\0A\0Astrtonargv(1) splits strings to a list of words.\0A\0AThe separators are defined by environment variables. CFS splits strings into\0Awords. Words are expanded using the first character of IFS.\0A\0AOptions:\0A --count Count only.\0A -h or --help Display this message.\0A -V or --version Display the version.\0A\0AEnvironment Variables:\0A CFS Common Field Separator to split\0A strings into words [default=' ']\0A IFS Internal Field Separator to.\0A expands words [default=' \\t\\n']\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @applet(ptr noundef %6) %8 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %7) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @applet(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkahzp92s.c' source_filename = "/tmp/tmpkahzp92s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkahzp92s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0mgj3b34.c' source_filename = "/tmp/tmp0mgj3b34.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"INTSP.L\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @C67_INTSP(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @C67_asm(ptr noundef @.str, i32 noundef 0, i32 noundef %5, i32 noundef %6) ret void } declare i32 @C67_asm(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/tmp0mgj3b34.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"INTSP.L\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @C67_INTSP(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @C67_asm(ptr noundef @.str, i32 noundef 0, i32 noundef %5, i32 noundef %6) ret void } declare i32 @C67_asm(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphz809n89.c' source_filename = "/tmp/tmphz809n89.c" target datalayout = "e-m:e-p270: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/tmphz809n89.c" target datalayout = "e-m:e-p270: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/tmpkglqitnj.c' source_filename = "/tmp/tmpkglqitnj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_cut(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 ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = sub nsw i32 %9, %10 %12 = add nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = mul i64 1, %13 %15 = trunc i64 %14 to i32 %16 = call ptr @malloc(i32 noundef %15) store ptr %16, ptr %8, align 8 store i32 0, ptr %7, align 4 br label %17 17: ; preds = %35, %3 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %5, align 4 %21 = sub nsw i32 %19, %20 %22 = icmp slt i32 %18, %21 br i1 %22, label %23, label %38 23: ; preds = %17 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %24, i64 %28 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 %30, ptr %34, align 1 br label %35 35: ; preds = %23 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 br label %17, !llvm.loop !6 38: ; preds = %17 %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %8, align 8 ret ptr %43 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkglqitnj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_cut(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 ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = sub nsw i32 %9, %10 %12 = add nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = mul i64 1, %13 %15 = trunc i64 %14 to i32 %16 = call ptr @malloc(i32 noundef %15) store ptr %16, ptr %8, align 8 store i32 0, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %5, align 4 %20 = sub nsw i32 %18, %19 %21 = icmp slt i32 %17, %20 br i1 %21, label %.lr.ph, label %42 .lr.ph: ; preds = %3 br label %22 22: ; preds = %.lr.ph, %34 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %24, %25 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %23, i64 %27 %29 = load i8, ptr %28, align 1 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 %29, ptr %33, align 1 br label %34 34: ; preds = %22 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %5, align 4 %40 = sub nsw i32 %38, %39 %41 = icmp slt i32 %37, %40 br i1 %41, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %42 42: ; preds = %._crit_edge, %3 %43 = load ptr, ptr %8, align 8 %44 = load i32, ptr %7, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 store i8 0, ptr %46, align 1 %47 = load ptr, ptr %8, align 8 ret ptr %47 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppaa58e4h.c' source_filename = "/tmp/tmppaa58e4h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_enqueue_back(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @list_enqueue_before(ptr noundef %5, ptr noundef %6) ret void } declare i32 @list_enqueue_before(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/tmppaa58e4h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_enqueue_back(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @list_enqueue_before(ptr noundef %5, ptr noundef %6) ret void } declare i32 @list_enqueue_before(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/tmp4lavymrv.c' source_filename = "/tmp/tmp4lavymrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"ping -c 1 %s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Net up: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"------------- Holly cow, we lost the network!!!!!\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"date\00", align 1 @.str.5 = private unnamed_addr constant [40 x i8] c"************** Network is back up!!!!!\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"Net still down: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @connect_ip(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 %7 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %5, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %5, align 4 %11 = call i32 @snprintf(ptr noundef %7, i32 noundef 100, ptr noundef @.str, ptr noundef %8, i32 noundef %9) %12 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %12) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %14 14: ; preds = %1, %39 %15 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @system(ptr noundef %15) store i32 %16, ptr %4, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %29 19: ; preds = %14 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load ptr, ptr %2, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %23) br label %28 25: ; preds = %19 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %27 = call i32 @system(ptr noundef @.str.4) store i32 0, ptr %6, align 4 br label %28 28: ; preds = %25, %22 br label %39 29: ; preds = %14 %30 = load i32, ptr %4, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %29 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %34 = call i32 @system(ptr noundef @.str.4) store i32 1, ptr %6, align 4 br label %38 35: ; preds = %29 %36 = load ptr, ptr %2, align 8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %36) br label %38 38: ; preds = %35, %32 br label %39 39: ; preds = %38, %28 %40 = call i32 @sleep(i32 noundef 2) br label %14 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @system(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4lavymrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"ping -c 1 %s\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Net up: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"------------- Holly cow, we lost the network!!!!!\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"date\00", align 1 @.str.5 = private unnamed_addr constant [40 x i8] c"************** Network is back up!!!!!\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"Net still down: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @connect_ip(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 %7 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %5, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %5, align 4 %11 = call i32 @snprintf(ptr noundef %7, i32 noundef 100, ptr noundef @.str, ptr noundef %8, i32 noundef %9) %12 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %12) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %14 14: ; preds = %39, %1 %15 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @system(ptr noundef %15) store i32 %16, ptr %4, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %29 19: ; preds = %14 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load ptr, ptr %2, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %23) br label %28 25: ; preds = %19 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %27 = call i32 @system(ptr noundef @.str.4) store i32 0, ptr %6, align 4 br label %28 28: ; preds = %25, %22 br label %39 29: ; preds = %14 %30 = load i32, ptr %4, align 4 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %35 32: ; preds = %29 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %34 = call i32 @system(ptr noundef @.str.4) store i32 1, ptr %6, align 4 br label %38 35: ; preds = %29 %36 = load ptr, ptr %2, align 8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %36) br label %38 38: ; preds = %35, %32 br label %39 39: ; preds = %38, %28 %40 = call i32 @sleep(i32 noundef 2) br label %14 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @system(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp52l7hyqm.c' source_filename = "/tmp/tmp52l7hyqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"FILL: \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d,\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 @.str.5 = private unnamed_addr constant [5 x i8] c"RR: \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 ptr, align 8 %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 %13 = call i32 (...) @numa_num_configured_cpus() store i32 %13, ptr %6, align 4 %14 = call i32 (...) @numa_max_node() %15 = add nsw i32 %14, 1 store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %2 %21 = load i32, ptr %6, align 4 %22 = sdiv i32 %21, 2 store i32 %22, ptr %6, align 4 br label %23 23: ; preds = %20, %2 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %24, 2 br i1 %25, label %26, label %27 26: ; preds = %23 store i32 2, ptr %7, align 4 br label %27 27: ; preds = %26, %23 %28 = load i32, ptr %7, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28) %30 = load i32, ptr %7, align 4 store i32 %30, ptr %8, align 4 br label %31 31: ; preds = %101, %27 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 %35 = icmp slt i32 %32, %34 br i1 %35, label %36, label %105 36: ; preds = %31 %37 = load i32, ptr %8, align 4 %38 = call ptr @placement(i32 noundef %37, i32 noundef 0) store ptr %38, ptr %9, align 8 %39 = load i32, ptr %8, align 4 %40 = call ptr @placement(i32 noundef %39, i32 noundef 1) store ptr %40, ptr %10, align 8 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %11, align 4 br label %42 42: ; preds = %66, %36 %43 = load i32, ptr %11, align 4 %44 = load i32, ptr %8, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %46, label %69 46: ; preds = %42 %47 = load i32, ptr %11, align 4 %48 = add nsw i32 %47, 1 %49 = load i32, ptr %8, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %58 51: ; preds = %46 %52 = load ptr, ptr %10, align 8 %53 = load i32, ptr %11, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %56) br label %65 58: ; preds = %46 %59 = load ptr, ptr %10, align 8 %60 = load i32, ptr %11, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 %63 = load i32, ptr %62, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %63) br label %65 65: ; preds = %58, %51 br label %66 66: ; preds = %65 %67 = load i32, ptr %11, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %11, align 4 br label %42, !llvm.loop !6 69: ; preds = %42 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %12, align 4 br label %72 72: ; preds = %96, %69 %73 = load i32, ptr %12, align 4 %74 = load i32, ptr %8, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %76, label %99 76: ; preds = %72 %77 = load i32, ptr %12, align 4 %78 = add nsw i32 %77, 1 %79 = load i32, ptr %8, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %81, label %88 81: ; preds = %76 %82 = load ptr, ptr %9, align 8 %83 = load i32, ptr %12, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %82, i64 %84 %86 = load i32, ptr %85, align 4 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %86) br label %95 88: ; preds = %76 %89 = load ptr, ptr %9, align 8 %90 = load i32, ptr %12, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %89, i64 %91 %93 = load i32, ptr %92, align 4 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %93) br label %95 95: ; preds = %88, %81 br label %96 96: ; preds = %95 %97 = load i32, ptr %12, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %12, align 4 br label %72, !llvm.loop !8 99: ; preds = %72 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %101 101: ; preds = %99 %102 = load i32, ptr %7, align 4 %103 = load i32, ptr %8, align 4 %104 = add nsw i32 %103, %102 store i32 %104, ptr %8, align 4 br label %31, !llvm.loop !9 105: ; preds = %31 %106 = load i32, ptr %3, align 4 ret i32 %106 } declare i32 @numa_num_configured_cpus(...) #1 declare i32 @numa_max_node(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @placement(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp52l7hyqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"FILL: \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d,\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 @.str.5 = private unnamed_addr constant [5 x i8] c"RR: \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 ptr, align 8 %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 %13 = call i32 (...) @numa_num_configured_cpus() store i32 %13, ptr %6, align 4 %14 = call i32 (...) @numa_max_node() %15 = add nsw i32 %14, 1 store i32 %15, ptr %7, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %2 %21 = load i32, ptr %6, align 4 %22 = sdiv i32 %21, 2 store i32 %22, ptr %6, align 4 br label %23 23: ; preds = %20, %2 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %24, 2 br i1 %25, label %26, label %27 26: ; preds = %23 store i32 2, ptr %7, align 4 br label %27 27: ; preds = %26, %23 %28 = load i32, ptr %7, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28) %30 = load i32, ptr %7, align 4 store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 %34 = icmp slt i32 %31, %33 br i1 %34, label %.lr.ph5, label %112 .lr.ph5: ; preds = %27 br label %35 35: ; preds = %.lr.ph5, %104 %36 = load i32, ptr %8, align 4 %37 = call ptr @placement(i32 noundef %36, i32 noundef 0) store ptr %37, ptr %9, align 8 %38 = load i32, ptr %8, align 4 %39 = call ptr @placement(i32 noundef %38, i32 noundef 1) store ptr %39, ptr %10, align 8 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %11, align 4 %41 = load i32, ptr %11, align 4 %42 = load i32, ptr %8, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph, label %70 .lr.ph: ; preds = %35 br label %44 44: ; preds = %.lr.ph, %64 %45 = load i32, ptr %11, align 4 %46 = add nsw i32 %45, 1 %47 = load i32, ptr %8, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %56 49: ; preds = %44 %50 = load ptr, ptr %10, align 8 %51 = load i32, ptr %11, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %54) br label %63 56: ; preds = %44 %57 = load ptr, ptr %10, align 8 %58 = load i32, ptr %11, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = load i32, ptr %60, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %61) br label %63 63: ; preds = %56, %49 br label %64 64: ; preds = %63 %65 = load i32, ptr %11, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %11, align 4 %67 = load i32, ptr %11, align 4 %68 = load i32, ptr %8, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %35 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %12, align 4 %73 = load i32, ptr %12, align 4 %74 = load i32, ptr %8, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %.lr.ph2, label %102 .lr.ph2: ; preds = %70 br label %76 76: ; preds = %.lr.ph2, %96 %77 = load i32, ptr %12, align 4 %78 = add nsw i32 %77, 1 %79 = load i32, ptr %8, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %81, label %88 81: ; preds = %76 %82 = load ptr, ptr %9, align 8 %83 = load i32, ptr %12, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %82, i64 %84 %86 = load i32, ptr %85, align 4 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %86) br label %95 88: ; preds = %76 %89 = load ptr, ptr %9, align 8 %90 = load i32, ptr %12, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %89, i64 %91 %93 = load i32, ptr %92, align 4 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %93) br label %95 95: ; preds = %88, %81 br label %96 96: ; preds = %95 %97 = load i32, ptr %12, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %12, align 4 %99 = load i32, ptr %12, align 4 %100 = load i32, ptr %8, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %76, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %96 br label %102 102: ; preds = %._crit_edge3, %70 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %104 104: ; preds = %102 %105 = load i32, ptr %7, align 4 %106 = load i32, ptr %8, align 4 %107 = add nsw i32 %106, %105 store i32 %107, ptr %8, align 4 %108 = load i32, ptr %8, align 4 %109 = load i32, ptr %6, align 4 %110 = add nsw i32 %109, 1 %111 = icmp slt i32 %108, %110 br i1 %111, label %35, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %104 br label %112 112: ; preds = %._crit_edge6, %27 %113 = load i32, ptr %3, align 4 ret i32 %113 } declare i32 @numa_num_configured_cpus(...) #1 declare i32 @numa_max_node(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @placement(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp1zm8jxk9.c' source_filename = "/tmp/tmp1zm8jxk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @__aeabi_memset_impl2(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %6, align 4 %9 = load i64, ptr %5, align 8 %10 = call i32 @memset(ptr noundef %7, i32 noundef %8, i64 noundef %9) ret void } declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1zm8jxk9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @__aeabi_memset_impl2(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %6, align 4 %9 = load i64, ptr %5, align 8 %10 = call i32 @memset(ptr noundef %7, i32 noundef %8, i64 noundef %9) ret void } declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2katg241.c' source_filename = "/tmp/tmp2katg241.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @float_list_initial_fill(i32 noundef %0, float noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca float, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store float %1, ptr %4, align 4 %7 = call ptr (...) @float_list_initial() store ptr %7, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %16, %2 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %19 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load float, ptr %4, align 4 %15 = call i32 @float_list_add(ptr noundef %13, float noundef %14) br label %16 16: ; preds = %12 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 br label %8, !llvm.loop !6 19: ; preds = %8 %20 = load ptr, ptr %5, align 8 ret ptr %20 } declare ptr @float_list_initial(...) #1 declare i32 @float_list_add(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2katg241.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @float_list_initial_fill(i32 noundef %0, float noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca float, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store float %1, ptr %4, align 4 %7 = call ptr (...) @float_list_initial() store ptr %7, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %21 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %15 %12 = load ptr, ptr %5, align 8 %13 = load float, ptr %4, align 4 %14 = call i32 @float_list_add(ptr noundef %12, float noundef %13) 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 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %21 21: ; preds = %._crit_edge, %2 %22 = load ptr, ptr %5, align 8 ret ptr %22 } declare ptr @float_list_initial(...) #1 declare i32 @float_list_add(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo16x5kmy.c' source_filename = "/tmp/tmpo16x5kmy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c" [-c] dump code\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c" [-d] dump data\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c" [-x] dump code relocations\0A\00", align 1 @.str.4 = private unnamed_addr constant [49 x i8] c" [-y] dump data relocations\0A\00", align 1 @.str.5 = private unnamed_addr constant [45 x i8] c" [-s] dump symbol table\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c" [-a] dump all\0A\00", align 1 @.str.7 = private unnamed_addr constant [52 x i8] c" file object file to be dumped\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %12 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo16x5kmy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c" [-c] dump code\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c" [-d] dump data\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c" [-x] dump code relocations\0A\00", align 1 @.str.4 = private unnamed_addr constant [49 x i8] c" [-y] dump data relocations\0A\00", align 1 @.str.5 = private unnamed_addr constant [45 x i8] c" [-s] dump symbol table\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c" [-a] dump all\0A\00", align 1 @.str.7 = private unnamed_addr constant [52 x i8] c" file object file to be dumped\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %12 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8pp8nxq6.c' source_filename = "/tmp/tmp8pp8nxq6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sinpi(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @__nv_sinpi(double noundef %3) ret double %4 } declare double @__nv_sinpi(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/tmp8pp8nxq6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sinpi(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @__nv_sinpi(double noundef %3) ret double %4 } declare double @__nv_sinpi(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/tmppra5rlvr.c' source_filename = "/tmp/tmppra5rlvr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpucycles_sparccpuinfo_persecond() #0 { %1 = call i64 (...) @osfreq() ret i64 %1 } declare i64 @osfreq(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppra5rlvr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpucycles_sparccpuinfo_persecond() #0 { %1 = call i64 (...) @osfreq() ret i64 %1 } declare i64 @osfreq(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe2d6xa1g.c' source_filename = "/tmp/tmpe2d6xa1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Invalid or unsupported declaration\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errorDecl() #0 { %1 = call i32 @error(ptr noundef @.str) ret void } declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe2d6xa1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Invalid or unsupported declaration\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errorDecl() #0 { %1 = call i32 @error(ptr noundef @.str) ret void } declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvrzmq_rk.c' source_filename = "/tmp/tmpvrzmq_rk.c" target datalayout = "e-m:e-p270: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.RF_Parsing5.temp = private unnamed_addr constant [10 x i8] c"'\00',\00\00\00\00\00\00", align 1 @__const.RF_Parsing5.S_PID_P = private unnamed_addr constant [10 x i8] c"'\00',\00\00\00\00\00\00", align 1 @__const.RF_Parsing5.S_PID_I = private unnamed_addr constant [10 x i8] c"'\00',\00\00\00\00\00\00", align 1 @__const.RF_Parsing5.S_PID_D = private unnamed_addr constant [10 x i8] c"'\00',\00\00\00\00\00\00", align 1 @__const.RF_Parsing5.S_PID_cmd = private unnamed_addr constant [10 x i8] c"'\00',\00\00\00\00\00\00", align 1 @.str = private unnamed_addr constant [28 x i8] c"%s, %s, %s, %.4f,%.4f,%.4f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @RF_Parsing5(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [10 x i8], align 1 %18 = alloca [10 x i8], align 1 %19 = alloca [10 x i8], align 1 %20 = alloca [10 x i8], align 1 %21 = alloca [10 x i8], align 1 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %17, ptr align 1 @__const.RF_Parsing5.temp, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %18, ptr align 1 @__const.RF_Parsing5.S_PID_P, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 1 @__const.RF_Parsing5.S_PID_I, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %20, ptr align 1 @__const.RF_Parsing5.S_PID_D, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %21, ptr align 1 @__const.RF_Parsing5.S_PID_cmd, i64 10, i1 false) store i32 0, ptr %11, align 4 store i32 0, ptr %14, align 4 br label %22 22: ; preds = %169, %5 %23 = load i32, ptr %11, align 4 %24 = load ptr, ptr %6, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = icmp slt i32 %23, %25 br i1 %26, label %27, label %172 27: ; preds = %22 store i32 0, ptr %12, align 4 br label %28 28: ; preds = %69, %27 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %11, align 4 %31 = load i32, ptr %12, align 4 %32 = add nsw i32 %30, %31 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %29, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 44 br i1 %37, label %38, label %48 38: ; preds = %28 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %11, align 4 %41 = load i32, ptr %12, align 4 %42 = add nsw i32 %40, %41 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %39, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %46, 42 br label %48 48: ; preds = %38, %28 %49 = phi i1 [ false, %28 ], [ %47, %38 ] br i1 %49, label %50, label %72 50: ; preds = %48 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %11, align 4 %53 = load i32, ptr %12, align 4 %54 = add nsw i32 %52, %53 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %51, i64 %55 %57 = load i8, ptr %56, align 1 %58 = load i32, ptr %12, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 %59 store i8 %57, ptr %60, align 1 %61 = load i32, ptr %12, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 %62 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %50 br label %72 68: ; preds = %50 br label %69 69: ; preds = %68 %70 = load i32, ptr %12, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %12, align 4 br label %28, !llvm.loop !6 72: ; preds = %67, %48 %73 = load i32, ptr %12, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 %74 store i8 0, ptr %75, align 1 store i32 0, ptr %13, align 4 br label %76 76: ; preds = %104, %72 %77 = load i32, ptr %13, align 4 %78 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0 %79 = call i32 @strlen(ptr noundef %78) %80 = icmp slt i32 %77, %79 br i1 %80, label %81, label %107 81: ; preds = %76 %82 = load i32, ptr %13, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 %83 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 46 br i1 %87, label %88, label %89 88: ; preds = %81 store i32 1, ptr %15, align 4 br label %89 89: ; preds = %88, %81 %90 = load i32, ptr %15, align 4 %91 = icmp eq i32 %90, 1 br i1 %91, label %92, label %103 92: ; preds = %89 %93 = load i32, ptr %13, align 4 %94 = add nsw i32 %93, 1 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 %95 %97 = load i8, ptr %96, align 1 %98 = load i32, ptr %13, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 %99 store i8 %97, ptr %100, align 1 %101 = load i32, ptr %16, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %16, align 4 br label %103 103: ; preds = %92, %89 br label %104 104: ; preds = %103 %105 = load i32, ptr %13, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %13, align 4 br label %76, !llvm.loop !8 107: ; preds = %76 store i32 0, ptr %15, align 4 %108 = load i32, ptr %14, align 4 switch i32 %108, label %153 [ i32 1, label %109 i32 2, label %120 i32 3, label %131 i32 4, label %142 ] 109: ; preds = %107 %110 = getelementptr inbounds [10 x i8], ptr %18, i64 0, i64 0 %111 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0 %112 = call i32 @strcpy(ptr noundef %110, ptr noundef %111) %113 = getelementptr inbounds [10 x i8], ptr %18, i64 0, i64 0 %114 = call i64 @atoi(ptr noundef %113) %115 = sitofp i64 %114 to double %116 = load i32, ptr %16, align 4 %117 = call double @DecaPower(i32 noundef %116) %118 = fdiv double %115, %117 %119 = load ptr, ptr %7, align 8 store double %118, ptr %119, align 8 store i32 0, ptr %16, align 4 br label %153 120: ; preds = %107 %121 = getelementptr inbounds [10 x i8], ptr %19, i64 0, i64 0 %122 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0 %123 = call i32 @strcpy(ptr noundef %121, ptr noundef %122) %124 = getelementptr inbounds [10 x i8], ptr %19, i64 0, i64 0 %125 = call i64 @atoi(ptr noundef %124) %126 = sitofp i64 %125 to double %127 = load i32, ptr %16, align 4 %128 = call double @DecaPower(i32 noundef %127) %129 = fdiv double %126, %128 %130 = load ptr, ptr %8, align 8 store double %129, ptr %130, align 8 store i32 0, ptr %16, align 4 br label %153 131: ; preds = %107 %132 = getelementptr inbounds [10 x i8], ptr %20, i64 0, i64 0 %133 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0 %134 = call i32 @strcpy(ptr noundef %132, ptr noundef %133) %135 = getelementptr inbounds [10 x i8], ptr %20, i64 0, i64 0 %136 = call i64 @atoi(ptr noundef %135) %137 = sitofp i64 %136 to double %138 = load i32, ptr %16, align 4 %139 = call double @DecaPower(i32 noundef %138) %140 = fdiv double %137, %139 %141 = load ptr, ptr %9, align 8 store double %140, ptr %141, align 8 store i32 0, ptr %16, align 4 br label %153 142: ; preds = %107 %143 = getelementptr inbounds [10 x i8], ptr %21, i64 0, i64 0 %144 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0 %145 = call i32 @strcpy(ptr noundef %143, ptr noundef %144) %146 = getelementptr inbounds [10 x i8], ptr %21, i64 0, i64 0 %147 = call i64 @atoi(ptr noundef %146) %148 = sitofp i64 %147 to double %149 = load i32, ptr %16, align 4 %150 = call double @DecaPower(i32 noundef %149) %151 = fdiv double %148, %150 %152 = load ptr, ptr %10, align 8 store double %151, ptr %152, align 8 store i32 0, ptr %16, align 4 br label %153 153: ; preds = %107, %142, %131, %120, %109 %154 = load i32, ptr %14, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %14, align 4 %156 = load i32, ptr %12, align 4 %157 = load i32, ptr %11, align 4 %158 = add nsw i32 %157, %156 store i32 %158, ptr %11, align 4 %159 = getelementptr inbounds [10 x i8], ptr %18, i64 0, i64 0 %160 = getelementptr inbounds [10 x i8], ptr %19, i64 0, i64 0 %161 = getelementptr inbounds [10 x i8], ptr %20, i64 0, i64 0 %162 = load ptr, ptr %7, align 8 %163 = load double, ptr %162, align 8 %164 = load ptr, ptr %8, align 8 %165 = load double, ptr %164, align 8 %166 = load ptr, ptr %9, align 8 %167 = load double, ptr %166, align 8 %168 = call i32 @printf(ptr noundef @.str, ptr noundef %159, ptr noundef %160, ptr noundef %161, double noundef %163, double noundef %165, double noundef %167) br label %169 169: ; preds = %153 %170 = load i32, ptr %11, align 4 %171 = add nsw i32 %170, 1 store i32 %171, ptr %11, align 4 br label %22, !llvm.loop !9 172: ; preds = %22 ret void } ; 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 @strlen(ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i64 @atoi(ptr noundef) #2 declare double @DecaPower(i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvrzmq_rk.c" target datalayout = "e-m:e-p270: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.RF_Parsing5.temp = private unnamed_addr constant [10 x i8] c"'\00',\00\00\00\00\00\00", align 1 @__const.RF_Parsing5.S_PID_P = private unnamed_addr constant [10 x i8] c"'\00',\00\00\00\00\00\00", align 1 @__const.RF_Parsing5.S_PID_I = private unnamed_addr constant [10 x i8] c"'\00',\00\00\00\00\00\00", align 1 @__const.RF_Parsing5.S_PID_D = private unnamed_addr constant [10 x i8] c"'\00',\00\00\00\00\00\00", align 1 @__const.RF_Parsing5.S_PID_cmd = private unnamed_addr constant [10 x i8] c"'\00',\00\00\00\00\00\00", align 1 @.str = private unnamed_addr constant [28 x i8] c"%s, %s, %s, %.4f,%.4f,%.4f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @RF_Parsing5(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca [10 x i8], align 1 %18 = alloca [10 x i8], align 1 %19 = alloca [10 x i8], align 1 %20 = alloca [10 x i8], align 1 %21 = alloca [10 x i8], align 1 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %17, ptr align 1 @__const.RF_Parsing5.temp, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %18, ptr align 1 @__const.RF_Parsing5.S_PID_P, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %19, ptr align 1 @__const.RF_Parsing5.S_PID_I, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %20, ptr align 1 @__const.RF_Parsing5.S_PID_D, i64 10, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %21, ptr align 1 @__const.RF_Parsing5.S_PID_cmd, i64 10, i1 false) store i32 0, ptr %11, align 4 store i32 0, ptr %14, align 4 %22 = load i32, ptr %11, align 4 %23 = load ptr, ptr %6, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = icmp slt i32 %22, %24 br i1 %25, label %.lr.ph2, label %177 .lr.ph2: ; preds = %5 br label %26 26: ; preds = %.lr.ph2, %170 store i32 0, ptr %12, align 4 br label %27 27: ; preds = %68, %26 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %11, align 4 %30 = load i32, ptr %12, align 4 %31 = add nsw i32 %29, %30 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %28, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 44 br i1 %36, label %37, label %47 37: ; preds = %27 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %11, align 4 %40 = load i32, ptr %12, align 4 %41 = add nsw i32 %39, %40 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %38, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 42 br label %47 47: ; preds = %37, %27 %48 = phi i1 [ false, %27 ], [ %46, %37 ] br i1 %48, label %49, label %.loopexit 49: ; preds = %47 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %11, align 4 %52 = load i32, ptr %12, align 4 %53 = add nsw i32 %51, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %50, i64 %54 %56 = load i8, ptr %55, align 1 %57 = load i32, ptr %12, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 %58 store i8 %56, ptr %59, align 1 %60 = load i32, ptr %12, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %67 66: ; preds = %49 br label %71 67: ; preds = %49 br label %68 68: ; preds = %67 %69 = load i32, ptr %12, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %12, align 4 br label %27, !llvm.loop !6 .loopexit: ; preds = %47 br label %71 71: ; preds = %.loopexit, %66 %72 = load i32, ptr %12, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 %73 store i8 0, ptr %74, align 1 store i32 0, ptr %13, align 4 %75 = load i32, ptr %13, align 4 %76 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0 %77 = call i32 @strlen(ptr noundef %76) %78 = icmp slt i32 %75, %77 br i1 %78, label %.lr.ph, label %108 .lr.ph: ; preds = %71 br label %79 79: ; preds = %.lr.ph, %102 %80 = load i32, ptr %13, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 %81 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = icmp eq i32 %84, 46 br i1 %85, label %86, label %87 86: ; preds = %79 store i32 1, ptr %15, align 4 br label %87 87: ; preds = %86, %79 %88 = load i32, ptr %15, align 4 %89 = icmp eq i32 %88, 1 br i1 %89, label %90, label %101 90: ; preds = %87 %91 = load i32, ptr %13, align 4 %92 = add nsw i32 %91, 1 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 %93 %95 = load i8, ptr %94, align 1 %96 = load i32, ptr %13, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 %97 store i8 %95, ptr %98, align 1 %99 = load i32, ptr %16, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %16, align 4 br label %101 101: ; preds = %90, %87 br label %102 102: ; preds = %101 %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 = call i32 @strlen(ptr noundef %76) %107 = icmp slt i32 %105, %106 br i1 %107, label %79, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %102 br label %108 108: ; preds = %._crit_edge, %71 store i32 0, ptr %15, align 4 %109 = load i32, ptr %14, align 4 switch i32 %109, label %154 [ i32 1, label %110 i32 2, label %121 i32 3, label %132 i32 4, label %143 ] 110: ; preds = %108 %111 = getelementptr inbounds [10 x i8], ptr %18, i64 0, i64 0 %112 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0 %113 = call i32 @strcpy(ptr noundef %111, ptr noundef %112) %114 = getelementptr inbounds [10 x i8], ptr %18, i64 0, i64 0 %115 = call i64 @atoi(ptr noundef %114) %116 = sitofp i64 %115 to double %117 = load i32, ptr %16, align 4 %118 = call double @DecaPower(i32 noundef %117) %119 = fdiv double %116, %118 %120 = load ptr, ptr %7, align 8 store double %119, ptr %120, align 8 store i32 0, ptr %16, align 4 br label %154 121: ; preds = %108 %122 = getelementptr inbounds [10 x i8], ptr %19, i64 0, i64 0 %123 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0 %124 = call i32 @strcpy(ptr noundef %122, ptr noundef %123) %125 = getelementptr inbounds [10 x i8], ptr %19, i64 0, i64 0 %126 = call i64 @atoi(ptr noundef %125) %127 = sitofp i64 %126 to double %128 = load i32, ptr %16, align 4 %129 = call double @DecaPower(i32 noundef %128) %130 = fdiv double %127, %129 %131 = load ptr, ptr %8, align 8 store double %130, ptr %131, align 8 store i32 0, ptr %16, align 4 br label %154 132: ; preds = %108 %133 = getelementptr inbounds [10 x i8], ptr %20, i64 0, i64 0 %134 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0 %135 = call i32 @strcpy(ptr noundef %133, ptr noundef %134) %136 = getelementptr inbounds [10 x i8], ptr %20, i64 0, i64 0 %137 = call i64 @atoi(ptr noundef %136) %138 = sitofp i64 %137 to double %139 = load i32, ptr %16, align 4 %140 = call double @DecaPower(i32 noundef %139) %141 = fdiv double %138, %140 %142 = load ptr, ptr %9, align 8 store double %141, ptr %142, align 8 store i32 0, ptr %16, align 4 br label %154 143: ; preds = %108 %144 = getelementptr inbounds [10 x i8], ptr %21, i64 0, i64 0 %145 = getelementptr inbounds [10 x i8], ptr %17, i64 0, i64 0 %146 = call i32 @strcpy(ptr noundef %144, ptr noundef %145) %147 = getelementptr inbounds [10 x i8], ptr %21, i64 0, i64 0 %148 = call i64 @atoi(ptr noundef %147) %149 = sitofp i64 %148 to double %150 = load i32, ptr %16, align 4 %151 = call double @DecaPower(i32 noundef %150) %152 = fdiv double %149, %151 %153 = load ptr, ptr %10, align 8 store double %152, ptr %153, align 8 store i32 0, ptr %16, align 4 br label %154 154: ; preds = %143, %132, %121, %110, %108 %155 = load i32, ptr %14, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %14, align 4 %157 = load i32, ptr %12, align 4 %158 = load i32, ptr %11, align 4 %159 = add nsw i32 %158, %157 store i32 %159, ptr %11, align 4 %160 = getelementptr inbounds [10 x i8], ptr %18, i64 0, i64 0 %161 = getelementptr inbounds [10 x i8], ptr %19, i64 0, i64 0 %162 = getelementptr inbounds [10 x i8], ptr %20, i64 0, i64 0 %163 = load ptr, ptr %7, align 8 %164 = load double, ptr %163, align 8 %165 = load ptr, ptr %8, align 8 %166 = load double, ptr %165, align 8 %167 = load ptr, ptr %9, align 8 %168 = load double, ptr %167, align 8 %169 = call i32 @printf(ptr noundef @.str, ptr noundef %160, ptr noundef %161, ptr noundef %162, double noundef %164, double noundef %166, double noundef %168) br label %170 170: ; preds = %154 %171 = load i32, ptr %11, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %11, align 4 %173 = load i32, ptr %11, align 4 %174 = load ptr, ptr %6, align 8 %175 = call i32 @strlen(ptr noundef %174) %176 = icmp slt i32 %173, %175 br i1 %176, label %26, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %170 br label %177 177: ; preds = %._crit_edge3, %5 ret void } ; 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 @strlen(ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i64 @atoi(ptr noundef) #2 declare double @DecaPower(i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpa8f05nfy.c' source_filename = "/tmp/tmpa8f05nfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @strcpy(ptr noundef %3, ptr noundef @.str) %5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 1 %6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5) ret i32 0 } declare i32 @strcpy(ptr noundef, 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/tmpa8f05nfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i8], align 1 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @strcpy(ptr noundef %3, ptr noundef @.str) %5 = getelementptr inbounds [10 x i8], ptr %2, i64 0, i64 1 %6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5) ret i32 0 } declare i32 @strcpy(ptr noundef, 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/tmp__6wha3e.c' source_filename = "/tmp/tmp__6wha3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Hello from process getpid %ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Hello from process getppid %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 (...) @getpid() %3 = call i32 @printf(ptr noundef @.str, i64 noundef %2) %4 = call i64 (...) @getppid() %5 = call i32 @printf(ptr noundef @.str.1, i64 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, i64 noundef) #1 declare i64 @getpid(...) #1 declare i64 @getppid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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__6wha3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Hello from process getpid %ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Hello from process getppid %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 (...) @getpid() %3 = call i32 @printf(ptr noundef @.str, i64 noundef %2) %4 = call i64 (...) @getppid() %5 = call i32 @printf(ptr noundef @.str.1, i64 noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, i64 noundef) #1 declare i64 @getpid(...) #1 declare i64 @getppid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwnnfpsbu.c' source_filename = "/tmp/tmpwnnfpsbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quad_function2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load double, ptr %3, align 8 %5 = call double @quadpack_ctypes_function(double noundef %4) ret double %5 } declare double @quadpack_ctypes_function(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/tmpwnnfpsbu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quad_function2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load double, ptr %3, align 8 %5 = call double @quadpack_ctypes_function(double noundef %4) ret double %5 } declare double @quadpack_ctypes_function(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/tmps6zhlo1k.c' source_filename = "/tmp/tmps6zhlo1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @t1() %3 = call i32 (...) @t2() %4 = call i32 (...) @t3() %5 = call i32 (...) @test_sizeof() ret i32 0 } declare i32 @t1(...) #1 declare i32 @t2(...) #1 declare i32 @t3(...) #1 declare i32 @test_sizeof(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps6zhlo1k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @t1() %3 = call i32 (...) @t2() %4 = call i32 (...) @t3() %5 = call i32 (...) @test_sizeof() ret i32 0 } declare i32 @t1(...) #1 declare i32 @t2(...) #1 declare i32 @t3(...) #1 declare i32 @test_sizeof(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmproptodpa.c' source_filename = "/tmp/tmproptodpa.c" target datalayout = "e-m:e-p270: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/tmproptodpa.c" target datalayout = "e-m:e-p270: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/tmpiodzv4tf.c' source_filename = "/tmp/tmpiodzv4tf.c" target datalayout = "e-m:e-p270: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/tmpiodzv4tf.c" target datalayout = "e-m:e-p270: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/tmp4fqxeh0a.c' source_filename = "/tmp/tmp4fqxeh0a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIG_UNBLOCK = 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/tmp4fqxeh0a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIG_UNBLOCK = 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/tmpq8lyol2v.c' source_filename = "/tmp/tmpq8lyol2v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @catclose(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 8 %9 = load i32, ptr %8, align 4 %10 = call i64 @be32toh(i32 noundef %9) %11 = add nsw i64 %10, 20 %12 = call i32 @munmap(ptr noundef %6, i64 noundef %11) ret i32 0 } declare i32 @munmap(ptr noundef, i64 noundef) #1 declare i64 @be32toh(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/tmpq8lyol2v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @catclose(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = inttoptr i64 %4 to ptr store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 8 %9 = load i32, ptr %8, align 4 %10 = call i64 @be32toh(i32 noundef %9) %11 = add nsw i64 %10, 20 %12 = call i32 @munmap(ptr noundef %6, i64 noundef %11) ret i32 0 } declare i32 @munmap(ptr noundef, i64 noundef) #1 declare i64 @be32toh(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/tmp7trmtpr4.c' source_filename = "/tmp/tmp7trmtpr4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"%[^\0A]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @skip_comment_lines(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [500 x i8], align 16 store ptr %0, ptr %3, align 8 br label %7 7: ; preds = %42, %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @fgetc(ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr @EOF, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %7 store i32 0, ptr %2, align 4 br label %44 14: ; preds = %7 %15 = load i32, ptr %4, align 4 %16 = trunc i32 %15 to i8 %17 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 store i8 %16, ptr %17, align 16 %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %3, align 8 %20 = call i32 @ungetc(i32 noundef %18, ptr noundef %19) store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr @EOF, align 4 %23 = icmp eq i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %14 store i32 0, ptr %2, align 4 br label %44 25: ; preds = %14 %26 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %27 = load i8, ptr %26, align 16 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 35 br i1 %29, label %30, label %31 30: ; preds = %25 br label %43 31: ; preds = %25 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %34 = call i32 @fscanf(ptr noundef %32, ptr noundef @.str, ptr noundef %33) store i32 %34, ptr %5, align 4 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr @EOF, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %31 store i32 0, ptr %2, align 4 br label %44 39: ; preds = %31 %40 = load ptr, ptr %3, align 8 %41 = call i32 @fgetc(ptr noundef %40) store i32 %41, ptr %4, align 4 br label %42 42: ; preds = %39 br i1 true, label %7, label %43 43: ; preds = %42, %30 store i32 1, ptr %2, align 4 br label %44 44: ; preds = %43, %38, %24, %13 %45 = load i32, ptr %2, align 4 ret i32 %45 } declare i32 @fgetc(ptr noundef) #1 declare i32 @ungetc(i32 noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7trmtpr4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"%[^\0A]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @skip_comment_lines(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [500 x i8], align 16 store ptr %0, ptr %3, align 8 br label %7 7: ; preds = %42, %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @fgetc(ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr @EOF, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %7 store i32 0, ptr %2, align 4 br label %44 14: ; preds = %7 %15 = load i32, ptr %4, align 4 %16 = trunc i32 %15 to i8 %17 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 store i8 %16, ptr %17, align 16 %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %3, align 8 %20 = call i32 @ungetc(i32 noundef %18, ptr noundef %19) store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr @EOF, align 4 %23 = icmp eq i32 %21, %22 br i1 %23, label %24, label %25 24: ; preds = %14 store i32 0, ptr %2, align 4 br label %44 25: ; preds = %14 %26 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %27 = load i8, ptr %26, align 16 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 35 br i1 %29, label %30, label %31 30: ; preds = %25 br label %43 31: ; preds = %25 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %34 = call i32 @fscanf(ptr noundef %32, ptr noundef @.str, ptr noundef %33) store i32 %34, ptr %5, align 4 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr @EOF, align 4 %37 = icmp eq i32 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %31 store i32 0, ptr %2, align 4 br label %44 39: ; preds = %31 %40 = load ptr, ptr %3, align 8 %41 = call i32 @fgetc(ptr noundef %40) store i32 %41, ptr %4, align 4 br label %42 42: ; preds = %39 br i1 true, label %7, label %.loopexit .loopexit: ; preds = %42 br label %43 43: ; preds = %.loopexit, %30 store i32 1, ptr %2, align 4 br label %44 44: ; preds = %43, %38, %24, %13 %45 = load i32, ptr %2, align 4 ret i32 %45 } declare i32 @fgetc(ptr noundef) #1 declare i32 @ungetc(i32 noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc8m5qbcv.c' source_filename = "/tmp/tmpc8m5qbcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = 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 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 4, ptr %6, align 4 br label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) store i32 %15, ptr %6, align 4 br label %16 16: ; preds = %11, %10 %17 = load i32, ptr %6, align 4 %18 = icmp sle i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 -1, ptr %3, align 4 br label %27 20: ; preds = %16 %21 = load i32, ptr %6, align 4 %22 = call i32 @test1(i32 noundef %21) store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %20 store i32 -2, ptr %3, align 4 br label %27 26: ; preds = %20 store i32 0, ptr %3, align 4 br label %27 27: ; preds = %26, %25, %19 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @atoi(ptr noundef) #1 declare i32 @test1(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/tmpc8m5qbcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = 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 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 4, ptr %6, align 4 br label %16 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @atoi(ptr noundef %14) store i32 %15, ptr %6, align 4 br label %16 16: ; preds = %11, %10 %17 = load i32, ptr %6, align 4 %18 = icmp sle i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 -1, ptr %3, align 4 br label %27 20: ; preds = %16 %21 = load i32, ptr %6, align 4 %22 = call i32 @test1(i32 noundef %21) store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %20 store i32 -2, ptr %3, align 4 br label %27 26: ; preds = %20 store i32 0, ptr %3, align 4 br label %27 27: ; preds = %26, %25, %19 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @atoi(ptr noundef) #1 declare i32 @test1(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/tmp7d5fbjg1.c' source_filename = "/tmp/tmp7d5fbjg1.c" target datalayout = "e-m:e-p270: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 ptr null, align 8 @.str = private unnamed_addr constant [61 x i8] c"Usage: bin2c <output bin file> <output h file> <array name>\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Cannot open input file (%s).\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wt\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Cannot open output file (%s).\0A\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"unsigned char %s[] = {\0A \00", align 1 @EOF = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"\0A \00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"0x%02X\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"\0A};\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = 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 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 4 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load ptr, ptr @stderr, align 8 %14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str) store i32 1, ptr %3, align 4 br label %75 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.1) store ptr %19, ptr %6, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %27 21: ; preds = %15 %22 = load ptr, ptr @stderr, align 8 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef @.str.2, ptr noundef %25) store i32 1, ptr %3, align 4 br label %75 27: ; preds = %15 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call ptr @fopen(ptr noundef %30, ptr noundef @.str.3) store ptr %31, ptr %7, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %39 33: ; preds = %27 %34 = load ptr, ptr @stderr, align 8 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 2 %37 = load ptr, ptr %36, align 8 %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.4, ptr noundef %37) store i32 1, ptr %3, align 4 br label %75 39: ; preds = %27 store i32 0, ptr %8, align 4 %40 = load ptr, ptr %7, align 8 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 3 %43 = load ptr, ptr %42, align 8 %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.5, ptr noundef %43) br label %45 45: ; preds = %62, %39 %46 = load ptr, ptr %6, align 8 %47 = call i32 @fgetc(ptr noundef %46) store i32 %47, ptr %9, align 4 %48 = load i32, ptr @EOF, align 4 %49 = icmp ne i32 %47, %48 br i1 %49, label %50, label %68 50: ; preds = %45 %51 = load i32, ptr %8, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load ptr, ptr %7, align 8 %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.6) br label %56 56: ; preds = %53, %50 %57 = load i32, ptr %8, align 4 %58 = icmp sge i32 %57, 8 br i1 %58, label %59, label %62 59: ; preds = %56 %60 = load ptr, ptr %7, align 8 %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef @.str.7) store i32 0, ptr %8, align 4 br label %62 62: ; preds = %59, %56 %63 = load ptr, ptr %7, align 8 %64 = load i32, ptr %9, align 4 %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.8, i32 noundef %64) %66 = load i32, ptr %8, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %8, align 4 br label %45, !llvm.loop !6 68: ; preds = %45 %69 = load ptr, ptr %7, align 8 %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.9) %71 = load ptr, ptr %6, align 8 %72 = call i32 @fclose(ptr noundef %71) %73 = load ptr, ptr %7, align 8 %74 = call i32 @fclose(ptr noundef %73) store i32 0, ptr %3, align 4 br label %75 75: ; preds = %68, %33, %21, %12 %76 = load i32, ptr %3, align 4 ret i32 %76 } declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7d5fbjg1.c" target datalayout = "e-m:e-p270: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 ptr null, align 8 @.str = private unnamed_addr constant [61 x i8] c"Usage: bin2c <output bin file> <output h file> <array name>\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Cannot open input file (%s).\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wt\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"Cannot open output file (%s).\0A\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"unsigned char %s[] = {\0A \00", align 1 @EOF = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"\0A \00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"0x%02X\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"\0A};\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = 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 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 4 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load ptr, ptr @stderr, align 8 %14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str) store i32 1, ptr %3, align 4 br label %78 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.1) store ptr %19, ptr %6, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %27 21: ; preds = %15 %22 = load ptr, ptr @stderr, align 8 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef @.str.2, ptr noundef %25) store i32 1, ptr %3, align 4 br label %78 27: ; preds = %15 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call ptr @fopen(ptr noundef %30, ptr noundef @.str.3) store ptr %31, ptr %7, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %39 33: ; preds = %27 %34 = load ptr, ptr @stderr, align 8 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 2 %37 = load ptr, ptr %36, align 8 %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.4, ptr noundef %37) store i32 1, ptr %3, align 4 br label %78 39: ; preds = %27 store i32 0, ptr %8, align 4 %40 = load ptr, ptr %7, align 8 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 3 %43 = load ptr, ptr %42, align 8 %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.5, ptr noundef %43) %45 = load ptr, ptr %6, align 8 %46 = call i32 @fgetc(ptr noundef %45) store i32 %46, ptr %9, align 4 %47 = load i32, ptr @EOF, align 4 %48 = icmp ne i32 %46, %47 br i1 %48, label %.lr.ph, label %71 .lr.ph: ; preds = %39 br label %49 49: ; preds = %.lr.ph, %61 %50 = load i32, ptr %8, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %49 %53 = load ptr, ptr %7, align 8 %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.6) br label %55 55: ; preds = %52, %49 %56 = load i32, ptr %8, align 4 %57 = icmp sge i32 %56, 8 br i1 %57, label %58, label %61 58: ; preds = %55 %59 = load ptr, ptr %7, align 8 %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.7) store i32 0, ptr %8, align 4 br label %61 61: ; preds = %58, %55 %62 = load ptr, ptr %7, align 8 %63 = load i32, ptr %9, align 4 %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.8, i32 noundef %63) %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %8, align 4 %67 = load ptr, ptr %6, align 8 %68 = call i32 @fgetc(ptr noundef %67) store i32 %68, ptr %9, align 4 %69 = load i32, ptr @EOF, align 4 %70 = icmp ne i32 %68, %69 br i1 %70, label %49, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %71 71: ; preds = %._crit_edge, %39 %72 = load ptr, ptr %7, align 8 %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %72, ptr noundef @.str.9) %74 = load ptr, ptr %6, align 8 %75 = call i32 @fclose(ptr noundef %74) %76 = load ptr, ptr %7, align 8 %77 = call i32 @fclose(ptr noundef %76) store i32 0, ptr %3, align 4 br label %78 78: ; preds = %71, %33, %21, %12 %79 = load i32, ptr %3, align 4 ret i32 %79 } declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpaa3sy037.c' source_filename = "/tmp/tmpaa3sy037.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Locale_numeric_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaa3sy037.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Locale_numeric_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi4j502g8.c' source_filename = "/tmp/tmpi4j502g8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @c_regfree_(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @regfree(ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 @free(ptr noundef %7) ret void } declare i32 @regfree(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/tmpi4j502g8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @c_regfree_(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @regfree(ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 @free(ptr noundef %7) ret void } declare i32 @regfree(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/tmpr4n62je_.c' source_filename = "/tmp/tmpr4n62je_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHRT_MIN = dso_local global i16 0, align 2 @SHRT_MAX = dso_local global i16 0, align 2 @USHRT_MAX = dso_local global i16 0, align 2 @.str = private unnamed_addr constant [16 x i8] c"limit.h: short\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c" %19d\09min\0A%20d\09max\0A%20u\09umax\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"bitshift: short\0A\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @range_short() #0 { %1 = alloca i16, align 2 %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = alloca i32, align 4 store i32 16, ptr %4, align 4 %5 = load i16, ptr @SHRT_MIN, align 2 store i16 %5, ptr %3, align 2 %6 = load i16, ptr @SHRT_MAX, align 2 store i16 %6, ptr %1, align 2 %7 = load i16, ptr @USHRT_MAX, align 2 store i16 %7, ptr %2, align 2 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = load i16, ptr %3, align 2 %10 = sext i16 %9 to i32 %11 = load i16, ptr %1, align 2 %12 = zext i16 %11 to i32 %13 = load i16, ptr %2, align 2 %14 = zext i16 %13 to i32 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %12, i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 %16, 1 %18 = shl i32 -1, %17 %19 = trunc i32 %18 to i16 store i16 %19, ptr %3, align 2 %20 = load i32, ptr %4, align 4 %21 = sub nsw i32 %20, 1 %22 = shl i32 -1, %21 %23 = xor i32 %22, -1 %24 = trunc i32 %23 to i16 store i16 %24, ptr %1, align 2 store i16 -1, ptr %2, align 2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %26 = load i16, ptr %3, align 2 %27 = sext i16 %26 to i32 %28 = load i16, ptr %1, align 2 %29 = zext i16 %28 to i32 %30 = load i16, ptr %2, align 2 %31 = zext i16 %30 to i32 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27, i32 noundef %29, i32 noundef %31) %33 = call i32 @puts(ptr noundef @.str.3) ret void } declare i32 @printf(ptr 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/tmpr4n62je_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHRT_MIN = dso_local global i16 0, align 2 @SHRT_MAX = dso_local global i16 0, align 2 @USHRT_MAX = dso_local global i16 0, align 2 @.str = private unnamed_addr constant [16 x i8] c"limit.h: short\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c" %19d\09min\0A%20d\09max\0A%20u\09umax\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"bitshift: short\0A\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @range_short() #0 { %1 = alloca i16, align 2 %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = alloca i32, align 4 store i32 16, ptr %4, align 4 %5 = load i16, ptr @SHRT_MIN, align 2 store i16 %5, ptr %3, align 2 %6 = load i16, ptr @SHRT_MAX, align 2 store i16 %6, ptr %1, align 2 %7 = load i16, ptr @USHRT_MAX, align 2 store i16 %7, ptr %2, align 2 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = load i16, ptr %3, align 2 %10 = sext i16 %9 to i32 %11 = load i16, ptr %1, align 2 %12 = zext i16 %11 to i32 %13 = load i16, ptr %2, align 2 %14 = zext i16 %13 to i32 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %12, i32 noundef %14) %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 %16, 1 %18 = shl i32 -1, %17 %19 = trunc i32 %18 to i16 store i16 %19, ptr %3, align 2 %20 = load i32, ptr %4, align 4 %21 = sub nsw i32 %20, 1 %22 = shl i32 -1, %21 %23 = xor i32 %22, -1 %24 = trunc i32 %23 to i16 store i16 %24, ptr %1, align 2 store i16 -1, ptr %2, align 2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %26 = load i16, ptr %3, align 2 %27 = sext i16 %26 to i32 %28 = load i16, ptr %1, align 2 %29 = zext i16 %28 to i32 %30 = load i16, ptr %2, align 2 %31 = zext i16 %30 to i32 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27, i32 noundef %29, i32 noundef %31) %33 = call i32 @puts(ptr noundef @.str.3) ret void } declare i32 @printf(ptr 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/tmph24_wvly.c' source_filename = "/tmp/tmph24_wvly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Cal. with sensoron port #%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Cal: press Left when light on\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Cal: light on value is=%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"Cal: press Right when light off\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Cal: light off value is=%d\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"Good CalibrationDiff=%d Waiting\0A\00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"Bad Calibration Add Shielding!!\0A\00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c"Bad Calibration Aim sensor!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wait_for_light(i32 noundef %0) #0 { %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 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7) %9 = call i32 @sleep(i32 noundef 2) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %11 11: ; preds = %15, %1 %12 = call i32 (...) @left_button() %13 = icmp ne i32 %12, 0 %14 = xor i1 %13, true br i1 %14, label %15, label %16 15: ; preds = %11 br label %11, !llvm.loop !6 16: ; preds = %11 %17 = load i32, ptr %2, align 4 %18 = call i32 @analog(i32 noundef %17) store i32 %18, ptr %3, align 4 %19 = call i32 (...) @beep() %20 = load i32, ptr %3, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20) %22 = call i32 @sleep(i32 noundef 1) %23 = call i32 (...) @beep() %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %25 25: ; preds = %29, %16 %26 = call i32 (...) @right_button() %27 = icmp ne i32 %26, 0 %28 = xor i1 %27, true br i1 %28, label %29, label %30 29: ; preds = %25 br label %25, !llvm.loop !8 30: ; preds = %25 %31 = load i32, ptr %2, align 4 %32 = call i32 @analog(i32 noundef %31) store i32 %32, ptr %4, align 4 %33 = call i32 (...) @beep() %34 = load i32, ptr %4, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %34) %36 = call i32 @sleep(i32 noundef 1) %37 = call i32 (...) @beep() %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %3, align 4 %40 = sub nsw i32 %38, %39 %41 = icmp sge i32 %40, 15 br i1 %41, label %42, label %59 42: ; preds = %30 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %43, %44 %46 = sdiv i32 %45, 2 store i32 %46, ptr %5, align 4 %47 = load i32, ptr %4, align 4 %48 = load i32, ptr %3, align 4 %49 = sub nsw i32 %47, %48 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %49) br label %51 51: ; preds = %56, %42 %52 = load i32, ptr %2, align 4 %53 = call i32 @analog(i32 noundef %52) %54 = load i32, ptr %5, align 4 %55 = icmp sgt i32 %53, %54 br i1 %55, label %56, label %58 56: ; preds = %51 %57 = call i32 @tone(float noundef 4.400000e+02, double noundef 1.000000e-01) br label %51, !llvm.loop !9 58: ; preds = %51 br label %90 59: ; preds = %30 %60 = load i32, ptr %4, align 4 %61 = icmp slt i32 %60, 128 br i1 %61, label %62, label %76 62: ; preds = %59 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %64 64: ; preds = %62, %75 store i32 100, ptr %6, align 4 br label %65 65: ; preds = %72, %64 %66 = load i32, ptr %6, align 4 %67 = icmp slt i32 %66, 10000 br i1 %67, label %68, label %75 68: ; preds = %65 %69 = load i32, ptr %6, align 4 %70 = sitofp i32 %69 to float %71 = call i32 @tone(float noundef %70, double noundef 5.000000e-02) br label %72 72: ; preds = %68 %73 = load i32, ptr %6, align 4 %74 = add nsw i32 %73, 200 store i32 %74, ptr %6, align 4 br label %65, !llvm.loop !10 75: ; preds = %65 br label %64 76: ; preds = %59 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %78 78: ; preds = %76, %89 store i32 10000, ptr %6, align 4 br label %79 79: ; preds = %86, %78 %80 = load i32, ptr %6, align 4 %81 = icmp sgt i32 %80, 200 br i1 %81, label %82, label %89 82: ; preds = %79 %83 = load i32, ptr %6, align 4 %84 = sitofp i32 %83 to float %85 = call i32 @tone(float noundef %84, double noundef 5.000000e-02) br label %86 86: ; preds = %82 %87 = load i32, ptr %6, align 4 %88 = sub nsw i32 %87, 200 store i32 %88, ptr %6, align 4 br label %79, !llvm.loop !11 89: ; preds = %79 br label %78 90: ; preds = %58 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @left_button(...) #1 declare i32 @analog(i32 noundef) #1 declare i32 @beep(...) #1 declare i32 @right_button(...) #1 declare i32 @tone(float 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"} !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/tmph24_wvly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Cal. with sensoron port #%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"Cal: press Left when light on\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"Cal: light on value is=%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"Cal: press Right when light off\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Cal: light off value is=%d\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"Good CalibrationDiff=%d Waiting\0A\00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"Bad Calibration Add Shielding!!\0A\00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c"Bad Calibration Aim sensor!!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wait_for_light(i32 noundef %0) #0 { %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 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7) %9 = call i32 @sleep(i32 noundef 2) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %11 11: ; preds = %11, %1 %12 = call i32 (...) @left_button() %13 = icmp ne i32 %12, 0 %14 = xor i1 %13, true br i1 %14, label %11, label %15, !llvm.loop !6 15: ; preds = %11 %16 = load i32, ptr %2, align 4 %17 = call i32 @analog(i32 noundef %16) store i32 %17, ptr %3, align 4 %18 = call i32 (...) @beep() %19 = load i32, ptr %3, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19) %21 = call i32 @sleep(i32 noundef 1) %22 = call i32 (...) @beep() %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %24 24: ; preds = %24, %15 %25 = call i32 (...) @right_button() %26 = icmp ne i32 %25, 0 %27 = xor i1 %26, true br i1 %27, label %24, label %28, !llvm.loop !8 28: ; preds = %24 %29 = load i32, ptr %2, align 4 %30 = call i32 @analog(i32 noundef %29) store i32 %30, ptr %4, align 4 %31 = call i32 (...) @beep() %32 = load i32, ptr %4, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32) %34 = call i32 @sleep(i32 noundef 1) %35 = call i32 (...) @beep() %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %3, align 4 %38 = sub nsw i32 %36, %37 %39 = icmp sge i32 %38, 15 br i1 %39, label %40, label %60 40: ; preds = %28 %41 = load i32, ptr %3, align 4 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %41, %42 %44 = sdiv i32 %43, 2 store i32 %44, ptr %5, align 4 %45 = load i32, ptr %4, align 4 %46 = load i32, ptr %3, align 4 %47 = sub nsw i32 %45, %46 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %47) %49 = load i32, ptr %2, align 4 %50 = call i32 @analog(i32 noundef %49) %51 = load i32, ptr %5, align 4 %52 = icmp sgt i32 %50, %51 br i1 %52, label %.lr.ph5, label %59 .lr.ph5: ; preds = %40 br label %53 53: ; preds = %.lr.ph5, %53 %54 = call i32 @tone(float noundef 4.400000e+02, double noundef 1.000000e-01) %55 = load i32, ptr %2, align 4 %56 = call i32 @analog(i32 noundef %55) %57 = load i32, ptr %5, align 4 %58 = icmp sgt i32 %56, %57 br i1 %58, label %53, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %53 br label %59 59: ; preds = %._crit_edge6, %40 br label %93 60: ; preds = %28 %61 = load i32, ptr %4, align 4 %62 = icmp slt i32 %61, 128 br i1 %62, label %63, label %78 63: ; preds = %60 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %65 65: ; preds = %77, %63 store i32 100, ptr %6, align 4 %66 = load i32, ptr %6, align 4 %67 = icmp slt i32 %66, 10000 br i1 %67, label %.lr.ph2, label %77 .lr.ph2: ; preds = %65 br label %68 68: ; preds = %.lr.ph2, %72 %69 = load i32, ptr %6, align 4 %70 = sitofp i32 %69 to float %71 = call i32 @tone(float noundef %70, double noundef 5.000000e-02) br label %72 72: ; preds = %68 %73 = load i32, ptr %6, align 4 %74 = add nsw i32 %73, 200 store i32 %74, ptr %6, align 4 %75 = load i32, ptr %6, align 4 %76 = icmp slt i32 %75, 10000 br i1 %76, label %68, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %72 br label %77 77: ; preds = %._crit_edge3, %65 br label %65 78: ; preds = %60 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %80 80: ; preds = %92, %78 store i32 10000, ptr %6, align 4 %81 = load i32, ptr %6, align 4 %82 = icmp sgt i32 %81, 200 br i1 %82, label %.lr.ph, label %92 .lr.ph: ; preds = %80 br label %83 83: ; preds = %.lr.ph, %87 %84 = load i32, ptr %6, align 4 %85 = sitofp i32 %84 to float %86 = call i32 @tone(float noundef %85, double noundef 5.000000e-02) br label %87 87: ; preds = %83 %88 = load i32, ptr %6, align 4 %89 = sub nsw i32 %88, 200 store i32 %89, ptr %6, align 4 %90 = load i32, ptr %6, align 4 %91 = icmp sgt i32 %90, 200 br i1 %91, label %83, label %._crit_edge, !llvm.loop !11 ._crit_edge: ; preds = %87 br label %92 92: ; preds = %._crit_edge, %80 br label %80 93: ; preds = %59 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @left_button(...) #1 declare i32 @analog(i32 noundef) #1 declare i32 @beep(...) #1 declare i32 @right_button(...) #1 declare i32 @tone(float 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"} !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/tmpwa0wn6u2.c' source_filename = "/tmp/tmpwa0wn6u2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwa0wn6u2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbeeckvbv.c' source_filename = "/tmp/tmpbeeckvbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"/dev/sequencer\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"open (/dev/sequencer)\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @SEQ_MIDIPUTC = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"end res = %li\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca [4 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr @O_RDWR, align 4 %10 = call i32 @open(ptr noundef @.str, i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 @perror(ptr noundef @.str.1) %15 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %15, ptr %3, align 4 br label %40 16: ; preds = %2 %17 = load i8, ptr @SEQ_MIDIPUTC, align 1 %18 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 store i8 %17, ptr %18, align 1 %19 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 1 store i8 -2, ptr %19, align 1 %20 = load i32, ptr %4, align 4 %21 = icmp sgt i32 %20, 1 br i1 %21, label %22, label %28 22: ; preds = %16 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call zeroext i8 @atoi(ptr noundef %25) %27 = zext i8 %26 to i32 br label %29 28: ; preds = %16 br label %29 29: ; preds = %28, %22 %30 = phi i32 [ %27, %22 ], [ 0, %28 ] %31 = trunc i32 %30 to i8 %32 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 2 store i8 %31, ptr %32, align 1 %33 = load i32, ptr %6, align 4 %34 = call i64 @write(i32 noundef %33, ptr noundef %8, i32 noundef 4) store i64 %34, ptr %7, align 8 %35 = load i64, ptr %7, align 8 %36 = call i32 @printf(ptr noundef @.str.2, i64 noundef %35) %37 = load i32, ptr %6, align 4 %38 = call i32 @close(i32 noundef %37) %39 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %39, ptr %3, align 4 br label %40 40: ; preds = %29, %13 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare zeroext i8 @atoi(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbeeckvbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"/dev/sequencer\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"open (/dev/sequencer)\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @SEQ_MIDIPUTC = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"end res = %li\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca [4 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr @O_RDWR, align 4 %10 = call i32 @open(ptr noundef @.str, i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 @perror(ptr noundef @.str.1) %15 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %15, ptr %3, align 4 br label %40 16: ; preds = %2 %17 = load i8, ptr @SEQ_MIDIPUTC, align 1 %18 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 store i8 %17, ptr %18, align 1 %19 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 1 store i8 -2, ptr %19, align 1 %20 = load i32, ptr %4, align 4 %21 = icmp sgt i32 %20, 1 br i1 %21, label %22, label %28 22: ; preds = %16 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call zeroext i8 @atoi(ptr noundef %25) %27 = zext i8 %26 to i32 br label %29 28: ; preds = %16 br label %29 29: ; preds = %28, %22 %30 = phi i32 [ %27, %22 ], [ 0, %28 ] %31 = trunc i32 %30 to i8 %32 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 2 store i8 %31, ptr %32, align 1 %33 = load i32, ptr %6, align 4 %34 = call i64 @write(i32 noundef %33, ptr noundef %8, i32 noundef 4) store i64 %34, ptr %7, align 8 %35 = load i64, ptr %7, align 8 %36 = call i32 @printf(ptr noundef @.str.2, i64 noundef %35) %37 = load i32, ptr %6, align 4 %38 = call i32 @close(i32 noundef %37) %39 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %39, ptr %3, align 4 br label %40 40: ; preds = %29, %13 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare zeroext i8 @atoi(ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsdg3a0px.c' source_filename = "/tmp/tmpsdg3a0px.c" target datalayout = "e-m:e-p270: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/tmpsdg3a0px.c" target datalayout = "e-m:e-p270: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/tmp3r95seli.c' source_filename = "/tmp/tmp3r95seli.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"Usage: %s hex\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\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 i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 br label %16 16: ; preds = %20, %15 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %4, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %16 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i32 1 store ptr %22, ptr %5, align 8 %23 = load ptr, ptr %22, align 8 %24 = call i32 @hex2integer(ptr noundef %23) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %24) br label %16, !llvm.loop !6 26: ; preds = %16 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @hex2integer(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp3r95seli.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"Usage: %s hex\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\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 i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %4, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %.lr.ph, label %28 .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %19 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i32 1 store ptr %21, ptr %5, align 8 %22 = load ptr, ptr %21, align 8 %23 = call i32 @hex2integer(ptr noundef %22) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23) %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %4, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %28 28: ; preds = %._crit_edge, %15 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #1 declare i32 @hex2integer(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpp_nlgn8n.c' source_filename = "/tmp/tmpp_nlgn8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%ld %ld\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %4, align 8 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %11 = load i64, ptr %2, align 8 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %8, align 8 %13 = alloca i64, i64 %11, align 16 store i64 %11, ptr %9, align 8 store i64 0, ptr %5, align 8 br label %14 14: ; preds = %22, %0 %15 = load i64, ptr %5, align 8 %16 = load i64, ptr %2, align 8 %17 = icmp slt i64 %15, %16 br i1 %17, label %18, label %25 18: ; preds = %14 %19 = load i64, ptr %5, align 8 %20 = getelementptr inbounds i64, ptr %13, i64 %19 %21 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %18 %23 = load i64, ptr %5, align 8 %24 = add nsw i64 %23, 1 store i64 %24, ptr %5, align 8 br label %14, !llvm.loop !6 25: ; preds = %14 %26 = load i64, ptr %2, align 8 %27 = sub nsw i64 %26, 1 %28 = call i32 @quicksort(ptr noundef %13, i32 noundef 0, i64 noundef %27) store i64 0, ptr %5, align 8 br label %29 29: ; preds = %33, %25 %30 = load i64, ptr %4, align 8 %31 = load i64, ptr %3, align 8 %32 = icmp sle i64 %30, %31 br i1 %32, label %33, label %41 33: ; preds = %29 %34 = load i64, ptr %5, align 8 %35 = getelementptr inbounds i64, ptr %13, i64 %34 %36 = load i64, ptr %35, align 8 %37 = load i64, ptr %4, align 8 %38 = add nsw i64 %37, %36 store i64 %38, ptr %4, align 8 %39 = load i64, ptr %5, align 8 %40 = add nsw i64 %39, 1 store i64 %40, ptr %5, align 8 br label %29, !llvm.loop !8 41: ; preds = %29 %42 = load i64, ptr %5, align 8 %43 = sub nsw i64 %42, 1 %44 = call i32 @printf(ptr noundef @.str.1, i64 noundef %43) store i32 0, ptr %1, align 4 %45 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %45) %46 = load i32, ptr %1, align 4 ret i32 %46 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @quicksort(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp_nlgn8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%ld %ld\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %4, align 8 %10 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %11 = load i64, ptr %2, align 8 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %8, align 8 %13 = alloca i64, i64 %11, align 16 store i64 %11, ptr %9, align 8 store i64 0, ptr %5, align 8 %14 = load i64, ptr %5, align 8 %15 = load i64, ptr %2, align 8 %16 = icmp slt i64 %14, %15 br i1 %16, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %21 %18 = load i64, ptr %5, align 8 %19 = getelementptr inbounds i64, ptr %13, i64 %18 %20 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %17 %22 = load i64, ptr %5, align 8 %23 = add nsw i64 %22, 1 store i64 %23, ptr %5, align 8 %24 = load i64, ptr %5, align 8 %25 = load i64, ptr %2, align 8 %26 = icmp slt i64 %24, %25 br i1 %26, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %0 %28 = load i64, ptr %2, align 8 %29 = sub nsw i64 %28, 1 %30 = call i32 @quicksort(ptr noundef %13, i32 noundef 0, i64 noundef %29) store i64 0, ptr %5, align 8 %31 = load i64, ptr %4, align 8 %32 = load i64, ptr %3, align 8 %33 = icmp sle i64 %31, %32 br i1 %33, label %.lr.ph2, label %45 .lr.ph2: ; preds = %27 br label %34 34: ; preds = %.lr.ph2, %34 %35 = load i64, ptr %5, align 8 %36 = getelementptr inbounds i64, ptr %13, i64 %35 %37 = load i64, ptr %36, align 8 %38 = load i64, ptr %4, align 8 %39 = add nsw i64 %38, %37 store i64 %39, ptr %4, align 8 %40 = load i64, ptr %5, align 8 %41 = add nsw i64 %40, 1 store i64 %41, ptr %5, align 8 %42 = load i64, ptr %4, align 8 %43 = load i64, ptr %3, align 8 %44 = icmp sle i64 %42, %43 br i1 %44, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %45 45: ; preds = %._crit_edge3, %27 %46 = load i64, ptr %5, align 8 %47 = sub nsw i64 %46, 1 %48 = call i32 @printf(ptr noundef @.str.1, i64 noundef %47) store i32 0, ptr %1, align 4 %49 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %49) %50 = load i32, ptr %1, align 4 ret i32 %50 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @quicksort(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpc5wcz6c6.c' source_filename = "/tmp/tmpc5wcz6c6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8_to_utf16be(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %7, align 4 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %7, align 4 %13 = call i32 @utf8_count(ptr noundef %11, i32 noundef %12) %14 = load ptr, ptr %5, align 8 store i32 %13, ptr %14, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %15, align 4 %17 = add nsw i32 %16, 1 %18 = call i64 @calloc(i32 noundef %17, i32 noundef 4) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @utf8_to_utf16be_sub(ptr noundef %20, ptr noundef %21, i32 noundef %22, i32 noundef %23) %25 = load ptr, ptr %8, align 8 ret ptr %25 } declare i32 @strlen(ptr noundef) #1 declare i32 @utf8_count(ptr noundef, i32 noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @utf8_to_utf16be_sub(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc5wcz6c6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8_to_utf16be(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %7, align 4 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %7, align 4 %13 = call i32 @utf8_count(ptr noundef %11, i32 noundef %12) %14 = load ptr, ptr %5, align 8 store i32 %13, ptr %14, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %15, align 4 %17 = add nsw i32 %16, 1 %18 = call i64 @calloc(i32 noundef %17, i32 noundef 4) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %8, align 8 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %6, align 4 %24 = call i32 @utf8_to_utf16be_sub(ptr noundef %20, ptr noundef %21, i32 noundef %22, i32 noundef %23) %25 = load ptr, ptr %8, align 8 ret ptr %25 } declare i32 @strlen(ptr noundef) #1 declare i32 @utf8_count(ptr noundef, i32 noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @utf8_to_utf16be_sub(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkynfsv9l.c' source_filename = "/tmp/tmpkynfsv9l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @mtrace() %3 = call i32 (...) @k_core_dump() %4 = call i32 (...) @kmem_check_start() %5 = call i32 (...) @getchar() %6 = call i32 (...) @kmem_check_leak() %7 = call i32 (...) @getchar() %8 = call i32 (...) @kmem_check_stop() %9 = call i32 (...) @getchar() ret i32 0 } declare i32 @mtrace(...) #1 declare i32 @k_core_dump(...) #1 declare i32 @kmem_check_start(...) #1 declare i32 @getchar(...) #1 declare i32 @kmem_check_leak(...) #1 declare i32 @kmem_check_stop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkynfsv9l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @mtrace() %3 = call i32 (...) @k_core_dump() %4 = call i32 (...) @kmem_check_start() %5 = call i32 (...) @getchar() %6 = call i32 (...) @kmem_check_leak() %7 = call i32 (...) @getchar() %8 = call i32 (...) @kmem_check_stop() %9 = call i32 (...) @getchar() ret i32 0 } declare i32 @mtrace(...) #1 declare i32 @k_core_dump(...) #1 declare i32 @kmem_check_start(...) #1 declare i32 @getchar(...) #1 declare i32 @kmem_check_leak(...) #1 declare i32 @kmem_check_stop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaoz6z_oz.c' source_filename = "/tmp/tmpaoz6z_oz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"can't send_zipstats -- no zlib support!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_zipstats(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @send_error(ptr noundef @.str) ret void } declare i32 @send_error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaoz6z_oz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"can't send_zipstats -- no zlib support!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_zipstats(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @send_error(ptr noundef @.str) ret void } declare i32 @send_error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvjh0uec8.c' source_filename = "/tmp/tmpvjh0uec8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dns_to_host(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %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 %2, ptr %6, align 8 %13 = call i64 @malloc(i32 noundef 256) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %10, align 4 %15 = load ptr, ptr %6, align 8 store i32 1, ptr %15, align 4 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 0 store i8 0, ptr %17, align 1 br label %18 18: ; preds = %61, %3 %19 = load ptr, ptr %4, align 8 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %62 23: ; preds = %18 %24 = load ptr, ptr %4, align 8 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = icmp sge i32 %26, 192 br i1 %27, label %28, label %44 28: ; preds = %23 %29 = load ptr, ptr %4, align 8 %30 = load i8, ptr %29, align 1 %31 = zext i8 %30 to i32 %32 = mul nsw i32 %31, 256 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = add nsw i32 %32, %36 %38 = sub nsw i32 %37, 49152 store i32 %38, ptr %9, align 4 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %9, align 4 %41 = zext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = getelementptr inbounds i8, ptr %42, i64 -1 store ptr %43, ptr %4, align 8 store i32 1, ptr %10, align 4 br label %52 44: ; preds = %23 %45 = load ptr, ptr %4, align 8 %46 = load i8, ptr %45, align 1 %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr %8, align 4 %49 = add i32 %48, 1 store i32 %49, ptr %8, align 4 %50 = zext i32 %48 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 store i8 %46, ptr %51, align 1 br label %52 52: ; preds = %44, %28 %53 = load ptr, ptr %4, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 1 store ptr %54, ptr %4, align 8 %55 = load i32, ptr %10, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %61, label %57 57: ; preds = %52 %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %58, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %58, align 4 br label %61 61: ; preds = %57, %52 br label %18, !llvm.loop !6 62: ; preds = %18 %63 = load ptr, ptr %7, align 8 %64 = load i32, ptr %8, align 4 %65 = zext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 store i8 0, ptr %66, align 1 %67 = load i32, ptr %10, align 4 %68 = icmp ne i32 %67, 0 br i1 %68, label %69, label %73 69: ; preds = %62 %70 = load ptr, ptr %6, align 8 %71 = load i32, ptr %70, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %70, align 4 br label %73 73: ; preds = %69, %62 store i32 0, ptr %11, align 4 br label %74 74: ; preds = %112, %73 %75 = load i32, ptr %11, align 4 %76 = load ptr, ptr %7, align 8 %77 = call i64 @strlen(ptr noundef %76) %78 = trunc i64 %77 to i32 %79 = icmp slt i32 %75, %78 br i1 %79, label %80, label %115 80: ; preds = %74 %81 = load ptr, ptr %7, align 8 %82 = load i32, ptr %11, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 %85 = load i8, ptr %84, align 1 %86 = zext i8 %85 to i32 store i32 %86, ptr %8, align 4 store i32 0, ptr %12, align 4 br label %87 87: ; preds = %104, %80 %88 = load i32, ptr %12, align 4 %89 = load i32, ptr %8, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %91, label %107 91: ; preds = %87 %92 = load ptr, ptr %7, align 8 %93 = load i32, ptr %11, align 4 %94 = add nsw i32 %93, 1 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %92, i64 %95 %97 = load i8, ptr %96, align 1 %98 = load ptr, ptr %7, align 8 %99 = load i32, ptr %11, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %98, i64 %100 store i8 %97, ptr %101, align 1 %102 = load i32, ptr %11, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %11, align 4 br label %104 104: ; preds = %91 %105 = load i32, ptr %12, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %12, align 4 br label %87, !llvm.loop !8 107: ; preds = %87 %108 = load ptr, ptr %7, align 8 %109 = load i32, ptr %11, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %108, i64 %110 store i8 46, ptr %111, align 1 br label %112 112: ; preds = %107 %113 = load i32, ptr %11, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %11, align 4 br label %74, !llvm.loop !9 115: ; preds = %74 %116 = load ptr, ptr %7, align 8 %117 = load i32, ptr %11, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i8, ptr %116, i64 %118 store i8 0, ptr %119, align 1 %120 = load ptr, ptr %7, align 8 ret ptr %120 } declare i64 @malloc(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvjh0uec8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dns_to_host(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %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 %2, ptr %6, align 8 %13 = call i64 @malloc(i32 noundef 256) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %10, align 4 %15 = load ptr, ptr %6, align 8 store i32 1, ptr %15, align 4 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 0 store i8 0, ptr %17, align 1 %18 = load ptr, ptr %4, align 8 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %.lr.ph, label %65 .lr.ph: ; preds = %3 br label %22 22: ; preds = %.lr.ph, %60 %23 = load ptr, ptr %4, align 8 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = icmp sge i32 %25, 192 br i1 %26, label %27, label %43 27: ; preds = %22 %28 = load ptr, ptr %4, align 8 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = mul nsw i32 %30, 256 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 1 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = add nsw i32 %31, %35 %37 = sub nsw i32 %36, 49152 store i32 %37, ptr %9, align 4 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %9, align 4 %40 = zext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = getelementptr inbounds i8, ptr %41, i64 -1 store ptr %42, ptr %4, align 8 store i32 1, ptr %10, align 4 br label %51 43: ; preds = %22 %44 = load ptr, ptr %4, align 8 %45 = load i8, ptr %44, align 1 %46 = load ptr, ptr %7, align 8 %47 = load i32, ptr %8, align 4 %48 = add i32 %47, 1 store i32 %48, ptr %8, align 4 %49 = zext i32 %47 to i64 %50 = getelementptr inbounds i8, ptr %46, i64 %49 store i8 %45, ptr %50, align 1 br label %51 51: ; preds = %43, %27 %52 = load ptr, ptr %4, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 1 store ptr %53, ptr %4, align 8 %54 = load i32, ptr %10, align 4 %55 = icmp ne i32 %54, 0 br i1 %55, label %60, label %56 56: ; preds = %51 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %57, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %57, align 4 br label %60 60: ; preds = %56, %51 %61 = load ptr, ptr %4, align 8 %62 = load i8, ptr %61, align 1 %63 = zext i8 %62 to i32 %64 = icmp ne i32 %63, 0 br i1 %64, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %60 br label %65 65: ; preds = %._crit_edge, %3 %66 = load ptr, ptr %7, align 8 %67 = load i32, ptr %8, align 4 %68 = zext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 store i8 0, ptr %69, align 1 %70 = load i32, ptr %10, align 4 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %76 72: ; preds = %65 %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr %73, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %73, align 4 br label %76 76: ; preds = %72, %65 store i32 0, ptr %11, align 4 %77 = load i32, ptr %11, align 4 %78 = load ptr, ptr %7, align 8 %79 = call i64 @strlen(ptr noundef %78) %80 = trunc i64 %79 to i32 %81 = icmp slt i32 %77, %80 br i1 %81, label %.lr.ph5, label %124 .lr.ph5: ; preds = %76 br label %82 82: ; preds = %.lr.ph5, %116 %83 = load ptr, ptr %7, align 8 %84 = load i32, ptr %11, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = zext i8 %87 to i32 store i32 %88, ptr %8, align 4 store i32 0, ptr %12, align 4 %89 = load i32, ptr %12, align 4 %90 = load i32, ptr %8, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %.lr.ph2, label %111 .lr.ph2: ; preds = %82 br label %92 92: ; preds = %.lr.ph2, %105 %93 = load ptr, ptr %7, align 8 %94 = load i32, ptr %11, align 4 %95 = add nsw i32 %94, 1 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %93, i64 %96 %98 = load i8, ptr %97, align 1 %99 = load ptr, ptr %7, align 8 %100 = load i32, ptr %11, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %99, i64 %101 store i8 %98, ptr %102, align 1 %103 = load i32, ptr %11, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %11, align 4 br label %105 105: ; preds = %92 %106 = load i32, ptr %12, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %12, align 4 %108 = load i32, ptr %12, align 4 %109 = load i32, ptr %8, align 4 %110 = icmp slt i32 %108, %109 br i1 %110, label %92, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %105 br label %111 111: ; preds = %._crit_edge3, %82 %112 = load ptr, ptr %7, align 8 %113 = load i32, ptr %11, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i8, ptr %112, i64 %114 store i8 46, ptr %115, align 1 br label %116 116: ; preds = %111 %117 = load i32, ptr %11, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %11, align 4 %119 = load i32, ptr %11, align 4 %120 = load ptr, ptr %7, align 8 %121 = call i64 @strlen(ptr noundef %120) %122 = trunc i64 %121 to i32 %123 = icmp slt i32 %119, %122 br i1 %123, label %82, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %116 br label %124 124: ; preds = %._crit_edge6, %76 %125 = load ptr, ptr %7, align 8 %126 = load i32, ptr %11, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i8, ptr %125, i64 %127 store i8 0, ptr %128, align 1 %129 = load ptr, ptr %7, align 8 ret ptr %129 } declare i64 @malloc(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpmwn346u4.c' source_filename = "/tmp/tmpmwn346u4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store double -9.000000e+00, ptr %3, align 8 store double 0xBFED67F1C8489D6C, ptr %4, align 8 %7 = load double, ptr %3, align 8 store double %7, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %50, %1 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 721 br i1 %10, label %11, label %53 11: ; preds = %8 %12 = load double, ptr %5, align 8 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 0, %14 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds double, ptr %13, i64 %16 store double %12, ptr %17, align 8 %18 = load double, ptr %4, align 8 %19 = load double, ptr %5, align 8 %20 = load double, ptr %5, align 8 %21 = fmul double %19, %20 %22 = fneg double %21 %23 = call double @llvm.fmuladd.f64(double %22, double 5.000000e-01, double %18) %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 721, %25 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %24, i64 %27 store double %23, ptr %28, align 8 %29 = load double, ptr %5, align 8 %30 = call i32 @alnorm(double noundef %29, i32 noundef 1) %31 = call double @log(i32 noundef %30) %32 = load ptr, ptr %2, align 8 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 1442, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %32, i64 %35 store double %31, ptr %36, align 8 %37 = load double, ptr %5, align 8 %38 = call i32 @alnorm(double noundef %37, i32 noundef 0) %39 = call double @log(i32 noundef %38) %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 2163, %41 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %40, i64 %43 store double %39, ptr %44, align 8 %45 = load double, ptr %3, align 8 %46 = load i32, ptr %6, align 4 %47 = sitofp i32 %46 to double %48 = fadd double %47, 1.000000e+00 %49 = call double @llvm.fmuladd.f64(double 2.500000e-02, double %48, double %45) store double %49, ptr %5, align 8 br label %50 50: ; preds = %11 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %6, align 4 br label %8, !llvm.loop !6 53: ; preds = %8 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @log(i32 noundef) #2 declare i32 @alnorm(double noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmwn346u4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store double -9.000000e+00, ptr %3, align 8 store double 0xBFED67F1C8489D6C, ptr %4, align 8 %7 = load double, ptr %3, align 8 store double %7, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 721 br i1 %9, label %.lr.ph, label %54 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %49 %11 = load double, ptr %5, align 8 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %6, align 4 %14 = add nsw i32 0, %13 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds double, ptr %12, i64 %15 store double %11, ptr %16, align 8 %17 = load double, ptr %4, align 8 %18 = load double, ptr %5, align 8 %19 = load double, ptr %5, align 8 %20 = fmul double %18, %19 %21 = fneg double %20 %22 = call double @llvm.fmuladd.f64(double %21, double 5.000000e-01, double %17) %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 721, %24 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %23, i64 %26 store double %22, ptr %27, align 8 %28 = load double, ptr %5, align 8 %29 = call i32 @alnorm(double noundef %28, i32 noundef 1) %30 = call double @log(i32 noundef %29) %31 = load ptr, ptr %2, align 8 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 1442, %32 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds double, ptr %31, i64 %34 store double %30, ptr %35, align 8 %36 = load double, ptr %5, align 8 %37 = call i32 @alnorm(double noundef %36, i32 noundef 0) %38 = call double @log(i32 noundef %37) %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 2163, %40 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %39, i64 %42 store double %38, ptr %43, align 8 %44 = load double, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = sitofp i32 %45 to double %47 = fadd double %46, 1.000000e+00 %48 = call double @llvm.fmuladd.f64(double 2.500000e-02, double %47, double %44) store double %48, ptr %5, align 8 br label %49 49: ; preds = %10 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 %52 = load i32, ptr %6, align 4 %53 = icmp slt i32 %52, 721 br i1 %53, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %54 54: ; preds = %._crit_edge, %1 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @log(i32 noundef) #2 declare i32 @alnorm(double noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphpxc6oip.c' source_filename = "/tmp/tmphpxc6oip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/spidev.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @spidev_open(ptr noundef @.str, i32 noundef 0) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @gv7600_read_reg(i32 noundef %4, i32 noundef 0) %6 = load i32, ptr %2, align 4 %7 = call i32 @spidev_close(i32 noundef %6) ret i32 0 } declare i32 @spidev_open(ptr noundef, i32 noundef) #1 declare i32 @gv7600_read_reg(i32 noundef, i32 noundef) #1 declare i32 @spidev_close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphpxc6oip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/spidev.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @spidev_open(ptr noundef @.str, i32 noundef 0) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @gv7600_read_reg(i32 noundef %4, i32 noundef 0) %6 = load i32, ptr %2, align 4 %7 = call i32 @spidev_close(i32 noundef %6) ret i32 0 } declare i32 @spidev_open(ptr noundef, i32 noundef) #1 declare i32 @gv7600_read_reg(i32 noundef, i32 noundef) #1 declare i32 @spidev_close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx0emz3l9.c' source_filename = "/tmp/tmpx0emz3l9.c" target datalayout = "e-m:e-p270: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 @ENOENT = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @util_delete_path(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [1024 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 47 br i1 %13, label %14, label %25 14: ; preds = %2 br label %15 15: ; preds = %21, %14 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 1 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 47 br i1 %20, label %21, label %24 21: ; preds = %15 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %5, align 8 br label %15, !llvm.loop !6 24: ; preds = %15 br label %25 25: ; preds = %24, %2 %26 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %27 = load ptr, ptr %5, align 8 %28 = call i32 @util_strscpy(ptr noundef %26, i32 noundef 1024, ptr noundef %27) %29 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %30 = call ptr @strrchr(ptr noundef %29, i8 noundef signext 47) store ptr %30, ptr %7, align 8 %31 = load ptr, ptr %7, align 8 %32 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %33 = icmp eq ptr %31, %32 br i1 %33, label %37, label %34 34: ; preds = %25 %35 = load ptr, ptr %7, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %38 37: ; preds = %34, %25 store i32 0, ptr %3, align 4 br label %64 38: ; preds = %34 br label %39 39: ; preds = %61, %38 %40 = load ptr, ptr %7, align 8 store i8 0, ptr %40, align 1 %41 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %42 = call ptr @strrchr(ptr noundef %41, i8 noundef signext 47) store ptr %42, ptr %7, align 8 %43 = load ptr, ptr %7, align 8 %44 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %45 = icmp eq ptr %43, %44 br i1 %45, label %49, label %46 46: ; preds = %39 %47 = load ptr, ptr %7, align 8 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %50 49: ; preds = %46, %39 br label %62 50: ; preds = %46 %51 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %52 = call i32 @rmdir(ptr noundef %51) store i32 %52, ptr %8, align 4 %53 = load i32, ptr %8, align 4 %54 = icmp slt i32 %53, 0 br i1 %54, label %55, label %61 55: ; preds = %50 %56 = load i64, ptr @errno, align 8 %57 = load i64, ptr @ENOENT, align 8 %58 = icmp eq i64 %56, %57 br i1 %58, label %59, label %60 59: ; preds = %55 store i32 0, ptr %8, align 4 br label %60 60: ; preds = %59, %55 br label %62 61: ; preds = %50 br label %39 62: ; preds = %60, %49 %63 = load i32, ptr %8, align 4 store i32 %63, ptr %3, align 4 br label %64 64: ; preds = %62, %37 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare i32 @util_strscpy(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @rmdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx0emz3l9.c" target datalayout = "e-m:e-p270: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 @ENOENT = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @util_delete_path(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [1024 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 47 br i1 %13, label %14, label %29 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 1 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 47 br i1 %19, label %.lr.ph, label %28 .lr.ph: ; preds = %14 br label %20 20: ; preds = %.lr.ph, %20 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %5, align 8 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 47 br i1 %27, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %28 28: ; preds = %._crit_edge, %14 br label %29 29: ; preds = %28, %2 %30 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %31 = load ptr, ptr %5, align 8 %32 = call i32 @util_strscpy(ptr noundef %30, i32 noundef 1024, ptr noundef %31) %33 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %34 = call ptr @strrchr(ptr noundef %33, i8 noundef signext 47) store ptr %34, ptr %7, align 8 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %37 = icmp eq ptr %35, %36 br i1 %37, label %41, label %38 38: ; preds = %29 %39 = load ptr, ptr %7, align 8 %40 = icmp eq ptr %39, null br i1 %40, label %41, label %42 41: ; preds = %38, %29 store i32 0, ptr %3, align 4 br label %71 42: ; preds = %38 %43 = load ptr, ptr %7, align 8 store i8 0, ptr %43, align 1 %44 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %45 = call ptr @strrchr(ptr noundef %44, i8 noundef signext 47) store ptr %45, ptr %7, align 8 %46 = load ptr, ptr %7, align 8 %47 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %48 = icmp eq ptr %46, %47 br i1 %48, label %57, label %.lr.ph2 .lr.ph2: ; preds = %42 br label %54 49: ; preds = %58 %50 = load ptr, ptr %7, align 8 store i8 0, ptr %50, align 1 %51 = call ptr @strrchr(ptr noundef %44, i8 noundef signext 47) store ptr %51, ptr %7, align 8 %52 = load ptr, ptr %7, align 8 %53 = icmp eq ptr %52, %47 br i1 %53, label %._crit_edge4, label %54 54: ; preds = %.lr.ph2, %49 %55 = load ptr, ptr %7, align 8 %56 = icmp eq ptr %55, null br i1 %56, label %._crit_edge3, label %58 ._crit_edge3: ; preds = %54 br label %57 ._crit_edge4: ; preds = %49 br label %57 57: ; preds = %._crit_edge4, %._crit_edge3, %42 br label %69 58: ; preds = %54 %59 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %60 = call i32 @rmdir(ptr noundef %59) store i32 %60, ptr %8, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp slt i32 %61, 0 br i1 %62, label %63, label %49 63: ; preds = %58 %64 = load i64, ptr @errno, align 8 %65 = load i64, ptr @ENOENT, align 8 %66 = icmp eq i64 %64, %65 br i1 %66, label %67, label %68 67: ; preds = %63 store i32 0, ptr %8, align 4 br label %68 68: ; preds = %67, %63 br label %69 69: ; preds = %68, %57 %70 = load i32, ptr %8, align 4 store i32 %70, ptr %3, align 4 br label %71 71: ; preds = %69, %41 %72 = load i32, ptr %3, align 4 ret i32 %72 } declare i32 @util_strscpy(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @rmdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3e63b6o9.c' source_filename = "/tmp/tmp3e63b6o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @return_int32_2() #0 { ret i32 1073741823 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3e63b6o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @return_int32_2() #0 { ret i32 1073741823 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv_2um1qi.c' source_filename = "/tmp/tmpv_2um1qi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mask32bit(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = srem i32 %5, 32 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 -1, ptr %2, align 4 br label %20 9: ; preds = %1 br label %10 10: ; preds = %14, %9 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %3, align 4 %13 = icmp ne i32 %11, 0 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = load i32, ptr %4, align 4 %16 = ashr i32 %15, 1 %17 = xor i32 %16, -2147483648 store i32 %17, ptr %4, align 4 br label %10, !llvm.loop !6 18: ; preds = %10 %19 = load i32, ptr %4, align 4 store i32 %19, ptr %2, align 4 br label %20 20: ; preds = %18, %8 %21 = load i32, ptr %2, 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 = '<stdin>' source_filename = "/tmp/tmpv_2um1qi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mask32bit(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = srem i32 %5, 32 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 -1, ptr %2, align 4 br label %22 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %3, align 4 %12 = icmp ne i32 %10, 0 br i1 %12, label %.lr.ph, label %20 .lr.ph: ; preds = %9 br label %13 13: ; preds = %.lr.ph, %13 %14 = load i32, ptr %4, align 4 %15 = ashr i32 %14, 1 %16 = xor i32 %15, -2147483648 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %3, align 4 %19 = icmp ne i32 %17, 0 br i1 %19, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %20 20: ; preds = %._crit_edge, %9 %21 = load i32, ptr %4, align 4 store i32 %21, ptr %2, align 4 br label %22 22: ; preds = %20, %8 %23 = load i32, ptr %2, align 4 ret i32 %23 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpcy8e04gz.c' source_filename = "/tmp/tmpcy8e04gz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exp(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store double %0, ptr %3, align 8 %7 = load double, ptr %3, align 8 %8 = fcmp olt double %7, 0.000000e+00 br i1 %8, label %9, label %14 9: ; preds = %1 %10 = load double, ptr %3, align 8 %11 = fneg double %10 %12 = call double @exp(double noundef %11) #2 %13 = fdiv double 1.000000e+00, %12 store double %13, ptr %2, align 8 br label %37 14: ; preds = %1 %15 = load double, ptr %3, align 8 %16 = fcmp olt double %15, 0x3FE62E42FEAD449C br i1 %16, label %17, label %21 17: ; preds = %14 %18 = load double, ptr %3, align 8 %19 = call i32 @__exp_sub(double noundef %18) %20 = sitofp i32 %19 to double store double %20, ptr %2, align 8 br label %37 21: ; preds = %14 %22 = load double, ptr %3, align 8 %23 = call double @__frem_for_exp(double noundef %22, ptr noundef %5) store double %23, ptr %6, align 8 store i32 1, ptr %4, align 4 br label %24 24: ; preds = %28, %21 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %5, align 4 %27 = icmp sgt i32 %25, 0 br i1 %27, label %28, label %31 28: ; preds = %24 %29 = load i32, ptr %4, align 4 %30 = mul nsw i32 %29, 2 store i32 %30, ptr %4, align 4 br label %24, !llvm.loop !6 31: ; preds = %24 %32 = load i32, ptr %4, align 4 %33 = load double, ptr %6, align 8 %34 = call i32 @__exp_sub(double noundef %33) %35 = mul nsw i32 %32, %34 %36 = sitofp i32 %35 to double store double %36, ptr %2, align 8 br label %37 37: ; preds = %31, %17, %9 %38 = load double, ptr %2, align 8 ret double %38 } declare i32 @__exp_sub(double noundef) #1 declare double @__frem_for_exp(double 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcy8e04gz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exp(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store double %0, ptr %3, align 8 %7 = load double, ptr %3, align 8 %8 = fcmp olt double %7, 0.000000e+00 br i1 %8, label %9, label %14 9: ; preds = %1 %10 = load double, ptr %3, align 8 %11 = fneg double %10 %12 = call double @exp(double noundef %11) #2 %13 = fdiv double 1.000000e+00, %12 store double %13, ptr %2, align 8 br label %39 14: ; preds = %1 %15 = load double, ptr %3, align 8 %16 = fcmp olt double %15, 0x3FE62E42FEAD449C br i1 %16, label %17, label %21 17: ; preds = %14 %18 = load double, ptr %3, align 8 %19 = call i32 @__exp_sub(double noundef %18) %20 = sitofp i32 %19 to double store double %20, ptr %2, align 8 br label %39 21: ; preds = %14 %22 = load double, ptr %3, align 8 %23 = call double @__frem_for_exp(double noundef %22, ptr noundef %5) store double %23, ptr %6, align 8 store i32 1, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %5, align 4 %26 = icmp sgt i32 %24, 0 br i1 %26, label %.lr.ph, label %33 .lr.ph: ; preds = %21 br label %27 27: ; preds = %.lr.ph, %27 %28 = load i32, ptr %4, align 4 %29 = mul nsw i32 %28, 2 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %5, align 4 %32 = icmp sgt i32 %30, 0 br i1 %32, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %21 %34 = load i32, ptr %4, align 4 %35 = load double, ptr %6, align 8 %36 = call i32 @__exp_sub(double noundef %35) %37 = mul nsw i32 %34, %36 %38 = sitofp i32 %37 to double store double %38, ptr %2, align 8 br label %39 39: ; preds = %33, %17, %9 %40 = load double, ptr %2, align 8 ret double %40 } declare i32 @__exp_sub(double noundef) #1 declare double @__frem_for_exp(double 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpamp79uym.c' source_filename = "/tmp/tmpamp79uym.c" target datalayout = "e-m:e-p270: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/tmpamp79uym.c" target datalayout = "e-m:e-p270: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/tmp6gq770lp.c' source_filename = "/tmp/tmp6gq770lp.c" target datalayout = "e-m:e-p270: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/tmp6gq770lp.c" target datalayout = "e-m:e-p270: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/tmp7gj4gro5.c' source_filename = "/tmp/tmp7gj4gro5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %c\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" 123\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"\0A%2d%c\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c" %c%-2d\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c" 1234\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawbox(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %7, align 4 br label %10 10: ; preds = %32, %3 %11 = load i32, ptr %7, align 4 %12 = icmp sle i32 %11, 8 br i1 %12, label %13, label %35 13: ; preds = %10 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 2 br i1 %15, label %16, label %22 16: ; preds = %13 %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 32, %17 %19 = add nsw i32 %18, 1 %20 = sdiv i32 %19, 10 %21 = add nsw i32 48, %20 br label %29 22: ; preds = %13 %23 = load i32, ptr %7, align 4 %24 = sdiv i32 %23, 10 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [5 x i8], ptr @.str.2, i64 0, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 br label %29 29: ; preds = %22, %16 %30 = phi i32 [ %21, %16 ], [ %28, %22 ] %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30) br label %32 32: ; preds = %29 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 br label %10, !llvm.loop !6 35: ; preds = %10 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %7, align 4 br label %37 37: ; preds = %55, %35 %38 = load i32, ptr %7, align 4 %39 = icmp sle i32 %38, 8 br i1 %39, label %40, label %58 40: ; preds = %37 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %41, 2 br i1 %42, label %43, label %48 43: ; preds = %40 %44 = load i32, ptr %7, align 4 %45 = sub nsw i32 32, %44 %46 = add nsw i32 %45, 1 %47 = srem i32 %46, 10 br label %51 48: ; preds = %40 %49 = load i32, ptr %7, align 4 %50 = srem i32 %49, 10 br label %51 51: ; preds = %48, %43 %52 = phi i32 [ %47, %43 ], [ %50, %48 ] %53 = add nsw i32 48, %52 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %53) br label %55 55: ; preds = %51 %56 = load i32, ptr %7, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %7, align 4 br label %37, !llvm.loop !8 58: ; preds = %37 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %7, align 4 br label %60 60: ; preds = %72, %58 %61 = load i32, ptr %7, align 4 %62 = icmp sle i32 %61, 8 br i1 %62, label %63, label %75 63: ; preds = %60 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %7, align 4 %66 = sub nsw i32 32, %65 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %64, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %70) br label %72 72: ; preds = %63 %73 = load i32, ptr %7, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %7, align 4 br label %60, !llvm.loop !9 75: ; preds = %60 store i32 1, ptr %8, align 4 br label %76 76: ; preds = %139, %75 %77 = load i32, ptr %8, align 4 %78 = icmp sle i32 %77, 8 br i1 %78, label %79, label %142 79: ; preds = %76 %80 = load i32, ptr %8, align 4 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %8, align 4 %83 = sub nsw i32 %82, 1 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %81, i64 %84 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %80, i32 noundef %87) store i32 1, ptr %7, align 4 br label %89 89: ; preds = %111, %79 %90 = load i32, ptr %7, align 4 %91 = icmp sle i32 %90, 8 br i1 %91, label %92, label %114 92: ; preds = %89 %93 = load i32, ptr %6, align 4 %94 = icmp slt i32 %93, 3 br i1 %94, label %95, label %96 95: ; preds = %92 br label %108 96: ; preds = %92 %97 = load ptr, ptr %4, align 8 %98 = load i32, ptr %7, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [10 x i32], ptr %97, i64 %99 %101 = load i32, ptr %8, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [10 x i32], ptr %100, i64 0, i64 %102 %104 = load i32, ptr %103, align 4 %105 = icmp ne i32 %104, 0 %106 = zext i1 %105 to i64 %107 = select i1 %105, i32 79, i32 43 br label %108 108: ; preds = %96, %95 %109 = phi i32 [ 43, %95 ], [ %107, %96 ] %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %109) br label %111 111: ; preds = %108 %112 = load i32, ptr %7, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %7, align 4 br label %89, !llvm.loop !10 114: ; preds = %89 %115 = load i32, ptr %6, align 4 %116 = icmp slt i32 %115, 2 br i1 %116, label %117, label %129 117: ; preds = %114 %118 = load ptr, ptr %5, align 8 %119 = load i32, ptr %8, align 4 %120 = sub nsw i32 24, %119 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i8, ptr %118, i64 %121 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = load i32, ptr %8, align 4 %126 = sub nsw i32 24, %125 %127 = add nsw i32 %126, 1 %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %124, i32 noundef %127) br label %138 129: ; preds = %114 %130 = load ptr, ptr %5, align 8 %131 = load i32, ptr %8, align 4 %132 = sub nsw i32 24, %131 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i8, ptr %130, i64 %133 %135 = load i8, ptr %134, align 1 %136 = sext i8 %135 to i32 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %136) br label %138 138: ; preds = %129, %117 br label %139 139: ; preds = %138 %140 = load i32, ptr %8, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %8, align 4 br label %76, !llvm.loop !11 142: ; preds = %76 %143 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %7, align 4 br label %144 144: ; preds = %157, %142 %145 = load i32, ptr %7, align 4 %146 = icmp sle i32 %145, 8 br i1 %146, label %147, label %160 147: ; preds = %144 %148 = load ptr, ptr %5, align 8 %149 = load i32, ptr %7, align 4 %150 = add nsw i32 8, %149 %151 = sub nsw i32 %150, 1 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i8, ptr %148, i64 %152 %154 = load i8, ptr %153, align 1 %155 = sext i8 %154 to i32 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %155) br label %157 157: ; preds = %147 %158 = load i32, ptr %7, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %7, align 4 br label %144, !llvm.loop !12 160: ; preds = %144 %161 = load i32, ptr %6, align 4 %162 = icmp slt i32 %161, 2 br i1 %162, label %163, label %195 163: ; preds = %160 %164 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %7, align 4 br label %165 165: ; preds = %177, %163 %166 = load i32, ptr %7, align 4 %167 = icmp sle i32 %166, 8 br i1 %167, label %168, label %180 168: ; preds = %165 %169 = load i32, ptr %7, align 4 %170 = add nsw i32 8, %169 %171 = sdiv i32 %170, 10 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds [6 x i8], ptr @.str.5, i64 0, i64 %172 %174 = load i8, ptr %173, align 1 %175 = sext i8 %174 to i32 %176 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %175) br label %177 177: ; preds = %168 %178 = load i32, ptr %7, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %7, align 4 br label %165, !llvm.loop !13 180: ; preds = %165 %181 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %7, align 4 br label %182 182: ; preds = %191, %180 %183 = load i32, ptr %7, align 4 %184 = icmp sle i32 %183, 8 br i1 %184, label %185, label %194 185: ; preds = %182 %186 = load i32, ptr %7, align 4 %187 = add nsw i32 8, %186 %188 = srem i32 %187, 10 %189 = add nsw i32 48, %188 %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %189) br label %191 191: ; preds = %185 %192 = load i32, ptr %7, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %7, align 4 br label %182, !llvm.loop !14 194: ; preds = %182 br label %195 195: ; preds = %194, %160 %196 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) 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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7gj4gro5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %c\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c" 123\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"\0A%2d%c\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c" %c%-2d\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c" 1234\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawbox(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp sle i32 %10, 8 br i1 %11, label %.lr.ph, label %36 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %31 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %21 15: ; preds = %12 %16 = load i32, ptr %7, align 4 %17 = sub nsw i32 32, %16 %18 = add nsw i32 %17, 1 %19 = sdiv i32 %18, 10 %20 = add nsw i32 48, %19 br label %28 21: ; preds = %12 %22 = load i32, ptr %7, align 4 %23 = sdiv i32 %22, 10 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [5 x i8], ptr @.str.2, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 br label %28 28: ; preds = %21, %15 %29 = phi i32 [ %20, %15 ], [ %27, %21 ] %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29) br label %31 31: ; preds = %28 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp sle i32 %34, 8 br i1 %35, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %3 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp sle i32 %38, 8 br i1 %39, label %.lr.ph2, label %60 .lr.ph2: ; preds = %36 br label %40 40: ; preds = %.lr.ph2, %55 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %41, 2 br i1 %42, label %43, label %48 43: ; preds = %40 %44 = load i32, ptr %7, align 4 %45 = sub nsw i32 32, %44 %46 = add nsw i32 %45, 1 %47 = srem i32 %46, 10 br label %51 48: ; preds = %40 %49 = load i32, ptr %7, align 4 %50 = srem i32 %49, 10 br label %51 51: ; preds = %48, %43 %52 = phi i32 [ %47, %43 ], [ %50, %48 ] %53 = add nsw i32 48, %52 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %53) br label %55 55: ; preds = %51 %56 = load i32, ptr %7, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %7, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp sle i32 %58, 8 br i1 %59, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %60 60: ; preds = %._crit_edge3, %36 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %7, align 4 %62 = load i32, ptr %7, align 4 %63 = icmp sle i32 %62, 8 br i1 %63, label %.lr.ph5, label %78 .lr.ph5: ; preds = %60 br label %64 64: ; preds = %.lr.ph5, %73 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %7, align 4 %67 = sub nsw i32 32, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %65, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %71) br label %73 73: ; preds = %64 %74 = load i32, ptr %7, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %7, align 4 %76 = load i32, ptr %7, align 4 %77 = icmp sle i32 %76, 8 br i1 %77, label %64, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %73 br label %78 78: ; preds = %._crit_edge6, %60 store i32 1, ptr %8, align 4 %79 = load i32, ptr %8, align 4 %80 = icmp sle i32 %79, 8 br i1 %80, label %.lr.ph11, label %147 .lr.ph11: ; preds = %78 br label %81 81: ; preds = %.lr.ph11, %142 %82 = load i32, ptr %8, align 4 %83 = load ptr, ptr %5, align 8 %84 = load i32, ptr %8, align 4 %85 = sub nsw i32 %84, 1 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %83, i64 %86 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %82, i32 noundef %89) store i32 1, ptr %7, align 4 %91 = load i32, ptr %7, align 4 %92 = icmp sle i32 %91, 8 br i1 %92, label %.lr.ph8, label %117 .lr.ph8: ; preds = %81 br label %93 93: ; preds = %.lr.ph8, %112 %94 = load i32, ptr %6, align 4 %95 = icmp slt i32 %94, 3 br i1 %95, label %96, label %97 96: ; preds = %93 br label %109 97: ; preds = %93 %98 = load ptr, ptr %4, align 8 %99 = load i32, ptr %7, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [10 x i32], ptr %98, i64 %100 %102 = load i32, ptr %8, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [10 x i32], ptr %101, i64 0, i64 %103 %105 = load i32, ptr %104, align 4 %106 = icmp ne i32 %105, 0 %107 = zext i1 %106 to i64 %108 = select i1 %106, i32 79, i32 43 br label %109 109: ; preds = %97, %96 %110 = phi i32 [ 43, %96 ], [ %108, %97 ] %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %110) br label %112 112: ; preds = %109 %113 = load i32, ptr %7, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %7, align 4 %115 = load i32, ptr %7, align 4 %116 = icmp sle i32 %115, 8 br i1 %116, label %93, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %112 br label %117 117: ; preds = %._crit_edge9, %81 %118 = load i32, ptr %6, align 4 %119 = icmp slt i32 %118, 2 br i1 %119, label %120, label %132 120: ; preds = %117 %121 = load ptr, ptr %5, align 8 %122 = load i32, ptr %8, align 4 %123 = sub nsw i32 24, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %121, i64 %124 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = load i32, ptr %8, align 4 %129 = sub nsw i32 24, %128 %130 = add nsw i32 %129, 1 %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %127, i32 noundef %130) br label %141 132: ; preds = %117 %133 = load ptr, ptr %5, align 8 %134 = load i32, ptr %8, align 4 %135 = sub nsw i32 24, %134 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i8, ptr %133, i64 %136 %138 = load i8, ptr %137, align 1 %139 = sext i8 %138 to i32 %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %139) br label %141 141: ; preds = %132, %120 br label %142 142: ; preds = %141 %143 = load i32, ptr %8, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %8, align 4 %145 = load i32, ptr %8, align 4 %146 = icmp sle i32 %145, 8 br i1 %146, label %81, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %142 br label %147 147: ; preds = %._crit_edge12, %78 %148 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %7, align 4 %149 = load i32, ptr %7, align 4 %150 = icmp sle i32 %149, 8 br i1 %150, label %.lr.ph14, label %166 .lr.ph14: ; preds = %147 br label %151 151: ; preds = %.lr.ph14, %161 %152 = load ptr, ptr %5, align 8 %153 = load i32, ptr %7, align 4 %154 = add nsw i32 8, %153 %155 = sub nsw i32 %154, 1 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i8, ptr %152, i64 %156 %158 = load i8, ptr %157, align 1 %159 = sext i8 %158 to i32 %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %159) br label %161 161: ; preds = %151 %162 = load i32, ptr %7, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %7, align 4 %164 = load i32, ptr %7, align 4 %165 = icmp sle i32 %164, 8 br i1 %165, label %151, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %161 br label %166 166: ; preds = %._crit_edge15, %147 %167 = load i32, ptr %6, align 4 %168 = icmp slt i32 %167, 2 br i1 %168, label %169, label %203 169: ; preds = %166 %170 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %7, align 4 %171 = load i32, ptr %7, align 4 %172 = icmp sle i32 %171, 8 br i1 %172, label %.lr.ph17, label %187 .lr.ph17: ; preds = %169 br label %173 173: ; preds = %.lr.ph17, %182 %174 = load i32, ptr %7, align 4 %175 = add nsw i32 8, %174 %176 = sdiv i32 %175, 10 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds [6 x i8], ptr @.str.5, i64 0, i64 %177 %179 = load i8, ptr %178, align 1 %180 = sext i8 %179 to i32 %181 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %180) br label %182 182: ; preds = %173 %183 = load i32, ptr %7, align 4 %184 = add nsw i32 %183, 1 store i32 %184, ptr %7, align 4 %185 = load i32, ptr %7, align 4 %186 = icmp sle i32 %185, 8 br i1 %186, label %173, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %182 br label %187 187: ; preds = %._crit_edge18, %169 %188 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %7, align 4 %189 = load i32, ptr %7, align 4 %190 = icmp sle i32 %189, 8 br i1 %190, label %.lr.ph20, label %202 .lr.ph20: ; preds = %187 br label %191 191: ; preds = %.lr.ph20, %197 %192 = load i32, ptr %7, align 4 %193 = add nsw i32 8, %192 %194 = srem i32 %193, 10 %195 = add nsw i32 48, %194 %196 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %195) br label %197 197: ; preds = %191 %198 = load i32, ptr %7, align 4 %199 = add nsw i32 %198, 1 store i32 %199, ptr %7, align 4 %200 = load i32, ptr %7, align 4 %201 = icmp sle i32 %200, 8 br i1 %201, label %191, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %197 br label %202 202: ; preds = %._crit_edge21, %187 br label %203 203: ; preds = %202, %166 %204 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) 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} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmpagyn9006.c' source_filename = "/tmp/tmpagyn9006.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BSP_Init() #0 { %1 = call i32 (...) @RCC_Configuration() %2 = call i32 (...) @GPIO_Configuration() %3 = call i32 (...) @NVIC_Configuration() ret void } declare i32 @RCC_Configuration(...) #1 declare i32 @GPIO_Configuration(...) #1 declare i32 @NVIC_Configuration(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpagyn9006.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BSP_Init() #0 { %1 = call i32 (...) @RCC_Configuration() %2 = call i32 (...) @GPIO_Configuration() %3 = call i32 (...) @NVIC_Configuration() ret void } declare i32 @RCC_Configuration(...) #1 declare i32 @GPIO_Configuration(...) #1 declare i32 @NVIC_Configuration(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp47yuc1c5.c' source_filename = "/tmp/tmp47yuc1c5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test8() #0 { ret i32 8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp47yuc1c5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test8() #0 { ret i32 8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo0fg_trx.c' source_filename = "/tmp/tmpo0fg_trx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Mixing %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Cant open\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @openfiles(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %33, %3 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %36 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = call i32 @lg(ptr noundef @.str, ptr noundef %17) %19 = load ptr, ptr %5, 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 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.1) %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 store ptr %24, ptr %28, align 8 %29 = icmp eq ptr null, %24 br i1 %29, label %30, label %32 30: ; preds = %12 %31 = call i32 @error(ptr noundef @.str.2) br label %32 32: ; preds = %30, %12 br label %33 33: ; preds = %32 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %8, !llvm.loop !6 36: ; preds = %8 ret void } declare i32 @lg(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo0fg_trx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Mixing %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Cant open\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @openfiles(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %38 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %32 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i32 @lg(ptr noundef @.str, ptr noundef %16) %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1) %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 store ptr %23, ptr %27, align 8 %28 = icmp eq ptr null, %23 br i1 %28, label %29, label %31 29: ; preds = %11 %30 = call i32 @error(ptr noundef @.str.2) br label %31 31: ; preds = %29, %11 br label %32 32: ; preds = %31 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %3 ret void } declare i32 @lg(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1qeny032.c' source_filename = "/tmp/tmp1qeny032.c" target datalayout = "e-m:e-p270: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/tmp1qeny032.c" target datalayout = "e-m:e-p270: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/tmpafcf0hk3.c' source_filename = "/tmp/tmpafcf0hk3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @snmp_clone_pdu(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 ptr @_clone_pdu(ptr noundef %3, i32 noundef 0) ret ptr %4 } declare ptr @_clone_pdu(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/tmpafcf0hk3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @snmp_clone_pdu(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 ptr @_clone_pdu(ptr noundef %3, i32 noundef 0) ret ptr %4 } declare ptr @_clone_pdu(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/tmpp8tgrz64.c' source_filename = "/tmp/tmpp8tgrz64.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 1 %9 = load ptr, ptr %8, align 8 %10 = call i32 @atoi(ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %12, 1 %14 = mul nsw i32 %11, %13 %15 = sdiv i32 %14, 2 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp8tgrz64.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 1 %9 = load ptr, ptr %8, align 8 %10 = call i32 @atoi(ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = add nsw i32 %12, 1 %14 = mul nsw i32 %11, %13 %15 = sdiv i32 %14, 2 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv_nbj8m6.c' source_filename = "/tmp/tmpv_nbj8m6.c" target datalayout = "e-m:e-p270: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/tmpv_nbj8m6.c" target datalayout = "e-m:e-p270: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/tmpcnuzp9un.c' source_filename = "/tmp/tmpcnuzp9un.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"server could not connect to client\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket_accept(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 4, ptr %6, align 4 %7 = load i32, ptr %3, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @accept(i32 noundef %7, ptr noundef %8, ptr noundef %6) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @perror(ptr noundef @.str) br label %14 14: ; preds = %12, %2 %15 = load i32, ptr %5, align 4 ret i32 %15 } declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcnuzp9un.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"server could not connect to client\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket_accept(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 4, ptr %6, align 4 %7 = load i32, ptr %3, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @accept(i32 noundef %7, ptr noundef %8, ptr noundef %6) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @perror(ptr noundef @.str) br label %14 14: ; preds = %12, %2 %15 = load i32, ptr %5, align 4 ret i32 %15 } declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp9ga6jxv.c' source_filename = "/tmp/tmpp9ga6jxv.c" target datalayout = "e-m:e-p270: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_2 = dso_local constant double 0.000000e+00, align 8 @M_PI = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @calcGreatCircleCourse(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store double %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 %10 = load double, ptr %8, align 8 %11 = load double, ptr @M_PI_2, align 8 %12 = fcmp oeq double %10, %11 br i1 %12, label %13, label %17 13: ; preds = %4 %14 = load i32, ptr @M_PI, align 4 %15 = mul nsw i32 2, %14 %16 = sitofp i32 %15 to double store double %16, ptr %5, align 8 br label %66 17: ; preds = %4 %18 = load double, ptr %8, align 8 %19 = load double, ptr @M_PI_2, align 8 %20 = fneg double %19 %21 = fcmp oeq double %18, %20 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load i32, ptr @M_PI, align 4 %24 = sitofp i32 %23 to double store double %24, ptr %5, align 8 br label %66 25: ; preds = %17 %26 = load double, ptr %7, align 8 %27 = load double, ptr %9, align 8 %28 = fcmp oeq double %26, %27 br i1 %28, label %29, label %40 29: ; preds = %25 %30 = load double, ptr %6, align 8 %31 = load double, ptr %8, align 8 %32 = fcmp ogt double %30, %31 br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load i32, ptr @M_PI, align 4 %35 = sitofp i32 %34 to double store double %35, ptr %5, align 8 br label %66 36: ; preds = %29 %37 = load i32, ptr @M_PI, align 4 %38 = mul nsw i32 2, %37 %39 = sitofp i32 %38 to double store double %39, ptr %5, align 8 br label %66 40: ; preds = %25 %41 = load double, ptr %7, align 8 %42 = load double, ptr %9, align 8 %43 = fsub double %41, %42 %44 = call i32 @sin(double noundef %43) %45 = load double, ptr %8, align 8 %46 = call i32 @cos(double noundef %45) %47 = mul nsw i32 %44, %46 %48 = load double, ptr %6, align 8 %49 = call i32 @cos(double noundef %48) %50 = load double, ptr %8, align 8 %51 = call i32 @sin(double noundef %50) %52 = mul nsw i32 %49, %51 %53 = load double, ptr %6, align 8 %54 = call i32 @sin(double noundef %53) %55 = load double, ptr %8, align 8 %56 = call i32 @cos(double noundef %55) %57 = mul nsw i32 %54, %56 %58 = load double, ptr %7, align 8 %59 = load double, ptr %9, align 8 %60 = fsub double %58, %59 %61 = call i32 @cos(double noundef %60) %62 = mul nsw i32 %57, %61 %63 = sub nsw i32 %52, %62 %64 = call i32 @atan2(i32 noundef %47, i32 noundef %63) %65 = call double @absAngle(i32 noundef %64) store double %65, ptr %5, align 8 br label %66 66: ; preds = %40, %36, %33, %22, %13 %67 = load double, ptr %5, align 8 ret double %67 } declare double @absAngle(i32 noundef) #1 declare i32 @atan2(i32 noundef, i32 noundef) #1 declare i32 @sin(double noundef) #1 declare i32 @cos(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/tmpp9ga6jxv.c" target datalayout = "e-m:e-p270: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_2 = dso_local constant double 0.000000e+00, align 8 @M_PI = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @calcGreatCircleCourse(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store double %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 %10 = load double, ptr %8, align 8 %11 = load double, ptr @M_PI_2, align 8 %12 = fcmp oeq double %10, %11 br i1 %12, label %13, label %17 13: ; preds = %4 %14 = load i32, ptr @M_PI, align 4 %15 = mul nsw i32 2, %14 %16 = sitofp i32 %15 to double store double %16, ptr %5, align 8 br label %66 17: ; preds = %4 %18 = load double, ptr %8, align 8 %19 = load double, ptr @M_PI_2, align 8 %20 = fneg double %19 %21 = fcmp oeq double %18, %20 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load i32, ptr @M_PI, align 4 %24 = sitofp i32 %23 to double store double %24, ptr %5, align 8 br label %66 25: ; preds = %17 %26 = load double, ptr %7, align 8 %27 = load double, ptr %9, align 8 %28 = fcmp oeq double %26, %27 br i1 %28, label %29, label %40 29: ; preds = %25 %30 = load double, ptr %6, align 8 %31 = load double, ptr %8, align 8 %32 = fcmp ogt double %30, %31 br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load i32, ptr @M_PI, align 4 %35 = sitofp i32 %34 to double store double %35, ptr %5, align 8 br label %66 36: ; preds = %29 %37 = load i32, ptr @M_PI, align 4 %38 = mul nsw i32 2, %37 %39 = sitofp i32 %38 to double store double %39, ptr %5, align 8 br label %66 40: ; preds = %25 %41 = load double, ptr %7, align 8 %42 = load double, ptr %9, align 8 %43 = fsub double %41, %42 %44 = call i32 @sin(double noundef %43) %45 = load double, ptr %8, align 8 %46 = call i32 @cos(double noundef %45) %47 = mul nsw i32 %44, %46 %48 = load double, ptr %6, align 8 %49 = call i32 @cos(double noundef %48) %50 = load double, ptr %8, align 8 %51 = call i32 @sin(double noundef %50) %52 = mul nsw i32 %49, %51 %53 = load double, ptr %6, align 8 %54 = call i32 @sin(double noundef %53) %55 = load double, ptr %8, align 8 %56 = call i32 @cos(double noundef %55) %57 = mul nsw i32 %54, %56 %58 = load double, ptr %7, align 8 %59 = load double, ptr %9, align 8 %60 = fsub double %58, %59 %61 = call i32 @cos(double noundef %60) %62 = mul nsw i32 %57, %61 %63 = sub nsw i32 %52, %62 %64 = call i32 @atan2(i32 noundef %47, i32 noundef %63) %65 = call double @absAngle(i32 noundef %64) store double %65, ptr %5, align 8 br label %66 66: ; preds = %40, %36, %33, %22, %13 %67 = load double, ptr %5, align 8 ret double %67 } declare double @absAngle(i32 noundef) #1 declare i32 @atan2(i32 noundef, i32 noundef) #1 declare i32 @sin(double noundef) #1 declare i32 @cos(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/tmpdweytr2g.c' source_filename = "/tmp/tmpdweytr2g.c" target datalayout = "e-m:e-p270: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/tmpdweytr2g.c" target datalayout = "e-m:e-p270: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/tmpcs4_q0i2.c' source_filename = "/tmp/tmpcs4_q0i2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TIM6_DAC_ISR() #0 { %1 = call i32 (...) @TIM6_ISR() %2 = call i32 (...) @DAC_ISR() ret void } declare i32 @TIM6_ISR(...) #1 declare i32 @DAC_ISR(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcs4_q0i2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TIM6_DAC_ISR() #0 { %1 = call i32 (...) @TIM6_ISR() %2 = call i32 (...) @DAC_ISR() ret void } declare i32 @TIM6_ISR(...) #1 declare i32 @DAC_ISR(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8wrbes0r.c' source_filename = "/tmp/tmp8wrbes0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cm_argvarg(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %2 store ptr null, ptr %3, align 8 br label %49 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %22, label %12 12: ; preds = %9 br label %13 13: ; preds = %17, %12 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %14, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %13 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds ptr, ptr %18, i32 1 store ptr %19, ptr %4, align 8 br label %13, !llvm.loop !6 20: ; preds = %13 %21 = load ptr, ptr %4, align 8 store ptr %21, ptr %3, align 8 br label %49 22: ; preds = %9 br label %23 23: ; preds = %47, %22 %24 = load ptr, ptr %4, align 8 %25 = load ptr, ptr %24, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %48 27: ; preds = %23 %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %28, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %31, %34 br i1 %35, label %36, label %44 36: ; preds = %27 %37 = load ptr, ptr %4, align 8 %38 = load ptr, ptr %37, align 8 %39 = load ptr, ptr %5, align 8 %40 = call i32 @strcmp(ptr noundef %38, ptr noundef %39) %41 = icmp ne i32 %40, 0 br i1 %41, label %44, label %42 42: ; preds = %36 %43 = load ptr, ptr %4, align 8 store ptr %43, ptr %3, align 8 br label %49 44: ; preds = %36, %27 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds ptr, ptr %45, i32 1 store ptr %46, ptr %4, align 8 br label %47 47: ; preds = %44 br label %23, !llvm.loop !8 48: ; preds = %23 store ptr null, ptr %3, align 8 br label %49 49: ; preds = %48, %42, %20, %8 %50 = load ptr, ptr %3, align 8 ret ptr %50 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8wrbes0r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cm_argvarg(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %2 store ptr null, ptr %3, align 8 br label %53 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %24, label %12 12: ; preds = %9 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %13, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %.lr.ph, label %22 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds ptr, ptr %17, i32 1 store ptr %18, ptr %4, align 8 %19 = load ptr, ptr %4, align 8 %20 = load ptr, ptr %19, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %12 %23 = load ptr, ptr %4, align 8 store ptr %23, ptr %3, align 8 br label %53 24: ; preds = %9 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %25, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %.lr.ph2, label %52 .lr.ph2: ; preds = %24 br label %28 28: ; preds = %.lr.ph2, %48 %29 = load ptr, ptr %4, align 8 %30 = load ptr, ptr %29, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = load ptr, ptr %5, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %32, %35 br i1 %36, label %37, label %45 37: ; preds = %28 %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %38, align 8 %40 = load ptr, ptr %5, align 8 %41 = call i32 @strcmp(ptr noundef %39, ptr noundef %40) %42 = icmp ne i32 %41, 0 br i1 %42, label %45, label %43 43: ; preds = %37 %44 = load ptr, ptr %4, align 8 store ptr %44, ptr %3, align 8 br label %53 45: ; preds = %37, %28 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds ptr, ptr %46, i32 1 store ptr %47, ptr %4, align 8 br label %48 48: ; preds = %45 %49 = load ptr, ptr %4, align 8 %50 = load ptr, ptr %49, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %52 52: ; preds = %._crit_edge3, %24 store ptr null, ptr %3, align 8 br label %53 53: ; preds = %52, %43, %22, %8 %54 = load ptr, ptr %3, align 8 ret ptr %54 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpn63ixbrr.c' source_filename = "/tmp/tmpn63ixbrr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sigpending(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @EINVAL, align 4 %8 = call i32 @__set_errno(i32 noundef %7) store i32 -1, ptr %2, align 4 br label %12 9: ; preds = %1 %10 = load i32, ptr @ENOSYS, align 4 %11 = call i32 @__set_errno(i32 noundef %10) store i32 -1, ptr %2, align 4 br label %12 12: ; preds = %9, %6 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn63ixbrr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sigpending(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr @EINVAL, align 4 %8 = call i32 @__set_errno(i32 noundef %7) store i32 -1, ptr %2, align 4 br label %12 9: ; preds = %1 %10 = load i32, ptr @ENOSYS, align 4 %11 = call i32 @__set_errno(i32 noundef %10) store i32 -1, ptr %2, align 4 br label %12 12: ; preds = %9, %6 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd52xr5r7.c' source_filename = "/tmp/tmpd52xr5r7.c" target datalayout = "e-m:e-p270: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/tmpd52xr5r7.c" target datalayout = "e-m:e-p270: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/tmpqsq94rze.c' source_filename = "/tmp/tmpqsq94rze.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"#\09Play\09Rec\09Quality\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"PlayMedia\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"RecMedia\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"RecQualityModes\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Caps:\09%s\09%s\09%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @GetDeviceCapabilities(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [256 x i8], align 16 %4 = alloca [256 x i8], align 16 %5 = alloca [256 x i8], align 16 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = load i32, ptr @stderr, align 4 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str) %9 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %10 = load ptr, ptr %2, align 8 %11 = call ptr @extract_xml(ptr noundef %9, ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %6, align 8 %12 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %13 = load ptr, ptr %6, align 8 %14 = call ptr @extract_xml(ptr noundef %12, ptr noundef %13, ptr noundef @.str.2) store ptr %14, ptr %6, align 8 %15 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %16 = load ptr, ptr %6, align 8 %17 = call ptr @extract_xml(ptr noundef %15, ptr noundef %16, ptr noundef @.str.3) store ptr %17, ptr %6, align 8 %18 = load i32, ptr @stderr, align 4 %19 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %20 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %21 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.4, ptr noundef %19, ptr noundef %20, ptr noundef %21) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @extract_xml(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqsq94rze.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"#\09Play\09Rec\09Quality\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"PlayMedia\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"RecMedia\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"RecQualityModes\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Caps:\09%s\09%s\09%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @GetDeviceCapabilities(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [256 x i8], align 16 %4 = alloca [256 x i8], align 16 %5 = alloca [256 x i8], align 16 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = load i32, ptr @stderr, align 4 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str) %9 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %10 = load ptr, ptr %2, align 8 %11 = call ptr @extract_xml(ptr noundef %9, ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %6, align 8 %12 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %13 = load ptr, ptr %6, align 8 %14 = call ptr @extract_xml(ptr noundef %12, ptr noundef %13, ptr noundef @.str.2) store ptr %14, ptr %6, align 8 %15 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %16 = load ptr, ptr %6, align 8 %17 = call ptr @extract_xml(ptr noundef %15, ptr noundef %16, ptr noundef @.str.3) store ptr %17, ptr %6, align 8 %18 = load i32, ptr @stderr, align 4 %19 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0 %20 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %21 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.4, ptr noundef %19, ptr noundef %20, ptr noundef %21) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @extract_xml(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq1d8sjn5.c' source_filename = "/tmp/tmpq1d8sjn5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32 } @stdout = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getch() #0 { %1 = alloca [1 x i8], align 1 %2 = alloca %struct.termios, align 4 %3 = alloca %struct.termios, align 4 %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fflush(i32 noundef %4) %6 = call i32 @tcgetattr(i32 noundef 0, ptr noundef %2) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %2, i64 4, i1 false) %7 = load i32, ptr @ICANON, align 4 %8 = xor i32 %7, -1 %9 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = and i32 %10, %8 store i32 %11, ptr %9, align 4 %12 = load i32, ptr @ECHO, align 4 %13 = xor i32 %12, -1 %14 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = and i32 %15, %13 store i32 %16, ptr %14, align 4 %17 = load i32, ptr @TCSANOW, align 4 %18 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %17, ptr noundef %3) %19 = call i32 @read(i32 noundef 0, ptr noundef %1, i32 noundef 1) %20 = load i32, ptr @TCSANOW, align 4 %21 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %20, ptr noundef %2) %22 = getelementptr inbounds [1 x i8], ptr %1, i64 0, i64 0 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 ret i32 %24 } declare i32 @fflush(i32 noundef) #1 declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 ; 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) #2 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr 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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq1d8sjn5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32 } @stdout = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getch() #0 { %1 = alloca [1 x i8], align 1 %2 = alloca %struct.termios, align 4 %3 = alloca %struct.termios, align 4 %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fflush(i32 noundef %4) %6 = call i32 @tcgetattr(i32 noundef 0, ptr noundef %2) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %2, i64 4, i1 false) %7 = load i32, ptr @ICANON, align 4 %8 = xor i32 %7, -1 %9 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %10 = load i32, ptr %9, align 4 %11 = and i32 %10, %8 store i32 %11, ptr %9, align 4 %12 = load i32, ptr @ECHO, align 4 %13 = xor i32 %12, -1 %14 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = and i32 %15, %13 store i32 %16, ptr %14, align 4 %17 = load i32, ptr @TCSANOW, align 4 %18 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %17, ptr noundef %3) %19 = call i32 @read(i32 noundef 0, ptr noundef %1, i32 noundef 1) %20 = load i32, ptr @TCSANOW, align 4 %21 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %20, ptr noundef %2) %22 = getelementptr inbounds [1 x i8], ptr %1, i64 0, i64 0 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 ret i32 %24 } declare i32 @fflush(i32 noundef) #1 declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 ; 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) #2 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr 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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe8i_670w.c' source_filename = "/tmp/tmpe8i_670w.c" target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [8 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00, double 5.000000e+00, double 6.000000e+00, double 7.000000e+00, double 8.000000e+00], align 16 @.str = private unnamed_addr constant [33 x i8] c"standard error of the mean: %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [8 x double], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 64, i1 false) store i32 4, ptr %2, align 4 store i32 2, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [8 x double], ptr %1, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call double @stdlib_strided_dsemwd(i32 noundef %5, i32 noundef 1, ptr noundef %6, i32 noundef %7) store double %8, ptr %4, align 8 %9 = load double, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str, double noundef %9) 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 double @stdlib_strided_dsemwd(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmpe8i_670w.c" target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [8 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00, double 5.000000e+00, double 6.000000e+00, double 7.000000e+00, double 8.000000e+00], align 16 @.str = private unnamed_addr constant [33 x i8] c"standard error of the mean: %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [8 x double], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 64, i1 false) store i32 4, ptr %2, align 4 store i32 2, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = getelementptr inbounds [8 x double], ptr %1, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call double @stdlib_strided_dsemwd(i32 noundef %5, i32 noundef 1, ptr noundef %6, i32 noundef %7) store double %8, ptr %4, align 8 %9 = load double, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str, double noundef %9) 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 double @stdlib_strided_dsemwd(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmpq8zfhmhx.c' source_filename = "/tmp/tmpq8zfhmhx.c" target datalayout = "e-m:e-p270: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 [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grep_error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #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/tmpq8zfhmhx.c" target datalayout = "e-m:e-p270: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 [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grep_error(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #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/tmpc4h98g1x.c' source_filename = "/tmp/tmpc4h98g1x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @output(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @output_char(i8 noundef signext %3) ret void } declare i32 @output_char(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/tmpc4h98g1x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @output(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @output_char(i8 noundef signext %3) ret void } declare i32 @output_char(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/tmpj3obwfnv.c' source_filename = "/tmp/tmpj3obwfnv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [98 x i8] c"Gmem_test: you must specify either read or write\0APlease type gmem_test -help for further details\0A\00", align 1 @.str.2 = private unnamed_addr constant [81 x i8] c"Gmem_test: too many arguments\0APlease type gmem_test -help for usage information\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %6, align 4 store ptr @.str, ptr %7, align 8 %8 = load i32, ptr %4, align 4 switch i32 %8, label %25 [ i32 1, label %9 i32 2, label %11 i32 3, label %11 ] 9: ; preds = %2 %10 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %27 11: ; preds = %2, %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @determine_command(ptr noundef %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp sgt i32 %16, 2 br i1 %17, label %18, label %22 18: ; preds = %11 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 2 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %7, align 8 br label %22 22: ; preds = %18, %11 %23 = load i32, ptr %6, align 4 %24 = load ptr, ptr %7, align 8 call void @format_output(i32 noundef %23, ptr noundef %24) store i32 0, ptr %3, align 4 br label %27 25: ; preds = %2 %26 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %27 27: ; preds = %25, %22, %9 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @printf(ptr noundef) #1 declare i32 @determine_command(ptr noundef) #1 declare void @format_output(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/tmpj3obwfnv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [98 x i8] c"Gmem_test: you must specify either read or write\0APlease type gmem_test -help for further details\0A\00", align 1 @.str.2 = private unnamed_addr constant [81 x i8] c"Gmem_test: too many arguments\0APlease type gmem_test -help for usage information\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %6, align 4 store ptr @.str, ptr %7, align 8 %8 = load i32, ptr %4, align 4 switch i32 %8, label %25 [ i32 1, label %9 i32 2, label %11 i32 3, label %11 ] 9: ; preds = %2 %10 = call i32 @printf(ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %27 11: ; preds = %2, %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i32 @determine_command(ptr noundef %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp sgt i32 %16, 2 br i1 %17, label %18, label %22 18: ; preds = %11 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 2 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %7, align 8 br label %22 22: ; preds = %18, %11 %23 = load i32, ptr %6, align 4 %24 = load ptr, ptr %7, align 8 call void @format_output(i32 noundef %23, ptr noundef %24) store i32 0, ptr %3, align 4 br label %27 25: ; preds = %2 %26 = call i32 @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %27 27: ; preds = %25, %22, %9 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @printf(ptr noundef) #1 declare i32 @determine_command(ptr noundef) #1 declare void @format_output(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/tmpy9_ijeq6.c' source_filename = "/tmp/tmpy9_ijeq6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c" usage %s [options]\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"./b2k\00", align 1 @.str.2 = private unnamed_addr constant [122 x i8] c"All input are un hexdecimal text without 0x prefix. All internal \0Asize are static, so be carful about each options size.\0A\00", align 1 @.str.3 = private unnamed_addr constant [299 x i8] c" -k \0A Generates key and iv from password, exit just after. This option \0A uses the EVP_BytesToKey of openssl lib with sha512 digest. You can \0A set the number of iteration with -C (default is 150000) and salt \0A with -S ( default is f71c71c050ab2ec0 ).\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [88 x i8] c" -p \0A Generates the public key associated to a private key set with -K.\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c" -e \0A Encrypt data.\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c" -d \0A Decrypt data.\0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [63 x i8] c" -z \0A Print a compressed format of public key.\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c" -M <master_key> \0A\00", align 1 @.str.9 = private unnamed_addr constant [171 x i8] c" -N <crypted_master_key> \0A Sets the master key or crypted master key of aes encryption. \0A master_key 32 bytes, and crypted_master_key 48 bytes.\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [71 x i8] c" -K <key> \0A Uses with -d and -e to set the key. See -I\0A\0A\00", align 1 @.str.11 = private unnamed_addr constant [284 x i8] c" -I <iv> \0A Uses with -d and -e to set the initialization vector to crypt and\0A and decrypt master key ( set with -M ). You can use the password \0A generation to internaly generate key and iv instead of use -K and\0A -I option. (16 bytes) \0A\0A\00", align 1 @.str.12 = private unnamed_addr constant [23 x i8] c" -P <private_key> \0A\00", align 1 @.str.13 = private unnamed_addr constant [218 x i8] c" -Q <crypted_private_key> \0A Sets the decrypted and crypted bitcoin private key. You crypt and\0A decrypt with -e and -d options. private_key 32 bytes, \0A crypted_private_key 48 bytes\0A\0A\00", align 1 @.str.14 = private unnamed_addr constant [119 x i8] c" -C <count> \0A Sets the number of iterations to pass to EVP_BytesToKey. \0A (default: 150000).\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [152 x i8] c" -S <salt> \0A Sets the salt to EVP_BytesToKey. Default salt is f71c71c050ab2ec0.\0A Salt is 8 bytes long ( 16 hexa characters).\0A\0A\00", align 1 @.str.16 = private unnamed_addr constant [294 x i8] c" -U <public_key> \0A Sets the bitcoin public key in hexadecimal. Public is used when \0A you want to encrypt or decrypt a private key. Public is double \0A hased to get the iv parameter for aes cipher. (33 or 65 bytes \0A depends on format compression\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) 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/tmpy9_ijeq6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c" usage %s [options]\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"./b2k\00", align 1 @.str.2 = private unnamed_addr constant [122 x i8] c"All input are un hexdecimal text without 0x prefix. All internal \0Asize are static, so be carful about each options size.\0A\00", align 1 @.str.3 = private unnamed_addr constant [299 x i8] c" -k \0A Generates key and iv from password, exit just after. This option \0A uses the EVP_BytesToKey of openssl lib with sha512 digest. You can \0A set the number of iteration with -C (default is 150000) and salt \0A with -S ( default is f71c71c050ab2ec0 ).\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [88 x i8] c" -p \0A Generates the public key associated to a private key set with -K.\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c" -e \0A Encrypt data.\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c" -d \0A Decrypt data.\0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [63 x i8] c" -z \0A Print a compressed format of public key.\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c" -M <master_key> \0A\00", align 1 @.str.9 = private unnamed_addr constant [171 x i8] c" -N <crypted_master_key> \0A Sets the master key or crypted master key of aes encryption. \0A master_key 32 bytes, and crypted_master_key 48 bytes.\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [71 x i8] c" -K <key> \0A Uses with -d and -e to set the key. See -I\0A\0A\00", align 1 @.str.11 = private unnamed_addr constant [284 x i8] c" -I <iv> \0A Uses with -d and -e to set the initialization vector to crypt and\0A and decrypt master key ( set with -M ). You can use the password \0A generation to internaly generate key and iv instead of use -K and\0A -I option. (16 bytes) \0A\0A\00", align 1 @.str.12 = private unnamed_addr constant [23 x i8] c" -P <private_key> \0A\00", align 1 @.str.13 = private unnamed_addr constant [218 x i8] c" -Q <crypted_private_key> \0A Sets the decrypted and crypted bitcoin private key. You crypt and\0A decrypt with -e and -d options. private_key 32 bytes, \0A crypted_private_key 48 bytes\0A\0A\00", align 1 @.str.14 = private unnamed_addr constant [119 x i8] c" -C <count> \0A Sets the number of iterations to pass to EVP_BytesToKey. \0A (default: 150000).\0A\0A\00", align 1 @.str.15 = private unnamed_addr constant [152 x i8] c" -S <salt> \0A Sets the salt to EVP_BytesToKey. Default salt is f71c71c050ab2ec0.\0A Salt is 8 bytes long ( 16 hexa characters).\0A\0A\00", align 1 @.str.16 = private unnamed_addr constant [294 x i8] c" -U <public_key> \0A Sets the bitcoin public key in hexadecimal. Public is used when \0A you want to encrypt or decrypt a private key. Public is double \0A hased to get the iv parameter for aes cipher. (33 or 65 bytes \0A depends on format compression\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) 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/tmp0ziefezk.c' source_filename = "/tmp/tmp0ziefezk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %35, %2 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %11, label %19 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br label %19 19: ; preds = %11, %6 %20 = phi i1 [ false, %6 ], [ %18, %11 ] br i1 %20, label %21, label %38 21: ; preds = %19 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 10 br i1 %28, label %29, label %34 29: ; preds = %21 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 0, ptr %33, align 1 br label %38 34: ; preds = %21 br label %35 35: ; preds = %34 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 br label %6, !llvm.loop !6 38: ; preds = %29, %19 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ziefezk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %35, %2 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %11, label %19 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br label %19 19: ; preds = %11, %6 %20 = phi i1 [ false, %6 ], [ %18, %11 ] br i1 %20, label %21, label %.loopexit 21: ; preds = %19 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 10 br i1 %28, label %29, label %34 29: ; preds = %21 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 0, ptr %33, align 1 br label %38 34: ; preds = %21 br label %35 35: ; preds = %34 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 br label %6, !llvm.loop !6 .loopexit: ; preds = %19 br label %38 38: ; preds = %.loopexit, %29 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3xdkfk1y.c' source_filename = "/tmp/tmp3xdkfk1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%H:%M\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @utc_time(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %7 = call i32 @time(ptr noundef %5) %8 = call ptr @localtime(ptr noundef %5) store ptr %8, ptr %4, align 8 %9 = load i64, ptr %2, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = load ptr, ptr %4, align 8 br label %15 13: ; preds = %1 %14 = call ptr @localtime(ptr noundef %2) br label %15 15: ; preds = %13, %11 %16 = phi ptr [ %12, %11 ], [ %14, %13 ] store ptr %16, ptr %3, align 8 %17 = call ptr @malloc(i32 noundef 32) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %3, align 8 %20 = call i32 @strftime(ptr noundef %18, i32 noundef 32, ptr noundef @.str, ptr noundef %19) %21 = load ptr, ptr %6, align 8 ret ptr %21 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3xdkfk1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%H:%M\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @utc_time(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %7 = call i32 @time(ptr noundef %5) %8 = call ptr @localtime(ptr noundef %5) store ptr %8, ptr %4, align 8 %9 = load i64, ptr %2, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = load ptr, ptr %4, align 8 br label %15 13: ; preds = %1 %14 = call ptr @localtime(ptr noundef %2) br label %15 15: ; preds = %13, %11 %16 = phi ptr [ %12, %11 ], [ %14, %13 ] store ptr %16, ptr %3, align 8 %17 = call ptr @malloc(i32 noundef 32) store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %3, align 8 %20 = call i32 @strftime(ptr noundef %18, i32 noundef 32, ptr noundef @.str, ptr noundef %19) %21 = load ptr, ptr %6, align 8 ret ptr %21 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0_w_3ocm.c' source_filename = "/tmp/tmp0_w_3ocm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"signo id = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ngx_signal_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0_w_3ocm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"signo id = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ngx_signal_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp16rjs6q7.c' source_filename = "/tmp/tmp16rjs6q7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"course 1:%s average score:%7.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @avcour1(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store float 0.000000e+00, ptr %6, align 4 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %20, %2 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 4 br i1 %10, label %11, label %23 11: ; preds = %8 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = mul nsw i32 5, %13 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds float, ptr %12, i64 %15 %17 = load float, ptr %16, align 4 %18 = load float, ptr %6, align 4 %19 = fadd float %18, %17 store float %19, ptr %6, align 4 br label %20 20: ; preds = %11 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %8, !llvm.loop !6 23: ; preds = %8 %24 = load float, ptr %6, align 4 %25 = fdiv float %24, 4.000000e+00 store float %25, ptr %7, align 4 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds [10 x i8], ptr %26, i64 0, i64 0 %28 = load float, ptr %7, align 4 %29 = call i32 @printf(ptr noundef @.str, ptr noundef %27, float noundef %28) ret void } declare i32 @printf(ptr noundef, ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp16rjs6q7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"course 1:%s average score:%7.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @avcour1(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store float 0.000000e+00, ptr %6, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 4 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %19 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = mul nsw i32 5, %12 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds float, ptr %11, i64 %14 %16 = load float, ptr %15, align 4 %17 = load float, ptr %6, align 4 %18 = fadd float %17, %16 store float %18, ptr %6, align 4 br label %19 19: ; preds = %10 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %22, 4 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 %25 = load float, ptr %6, align 4 %26 = fdiv float %25, 4.000000e+00 store float %26, ptr %7, align 4 %27 = load ptr, ptr %3, align 8 %28 = getelementptr inbounds [10 x i8], ptr %27, i64 0, i64 0 %29 = load float, ptr %7, align 4 %30 = call i32 @printf(ptr noundef @.str, ptr noundef %28, float noundef %29) ret void } declare i32 @printf(ptr noundef, ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6l1czww6.c' source_filename = "/tmp/tmp6l1czww6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %0 store i32 3, ptr %2, align 4 store i32 5, ptr %3, align 4 br label %9 8: ; preds = %0 store i32 4, ptr %2, align 4 store i32 6, ptr %3, align 4 br label %9 9: ; preds = %8, %7 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = sub nsw i32 %15, %16 %18 = icmp eq i32 %17, 2 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = call i32 (...) @foo() %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %22, %23 %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %2, align 4 %29 = sub nsw i32 %27, %28 %30 = icmp eq i32 %29, 2 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6l1czww6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %0 store i32 3, ptr %2, align 4 store i32 5, ptr %3, align 4 br label %9 8: ; preds = %0 store i32 4, ptr %2, align 4 store i32 6, ptr %3, align 4 br label %9 9: ; preds = %8, %7 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = sub nsw i32 %15, %16 %18 = icmp eq i32 %17, 2 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = call i32 (...) @foo() %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %22, %23 %25 = zext i1 %24 to i32 %26 = call i32 @assert(i32 noundef %25) %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %2, align 4 %29 = sub nsw i32 %27, %28 %30 = icmp eq i32 %29, 2 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz3eq62on.c' source_filename = "/tmp/tmpz3eq62on.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NP_abssum(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store double 0.000000e+00, ptr %11, align 8 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %39, %4 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %42 16: ; preds = %12 store i32 0, ptr %10, align 4 br label %17 17: ; preds = %35, %16 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %38 21: ; preds = %17 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %6, align 4 %25 = mul nsw i32 %23, %24 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %22, i64 %28 %30 = load double, ptr %29, align 8 %31 = call i64 @fabs(double noundef %30) %32 = sitofp i64 %31 to double %33 = load double, ptr %11, align 8 %34 = fadd double %33, %32 store double %34, ptr %11, align 8 br label %35 35: ; preds = %21 %36 = load i32, ptr %10, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %10, align 4 br label %17, !llvm.loop !6 38: ; preds = %17 br label %39 39: ; preds = %38 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %9, align 4 br label %12, !llvm.loop !8 42: ; preds = %12 %43 = load double, ptr %11, align 8 ret double %43 } declare i64 @fabs(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz3eq62on.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @NP_abssum(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store double 0.000000e+00, ptr %11, align 8 store i32 0, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph2, label %46 .lr.ph2: ; preds = %4 br label %15 15: ; preds = %.lr.ph2, %40 store i32 0, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %39 .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %33 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %6, align 4 %23 = mul nsw i32 %21, %22 %24 = load i32, ptr %10, align 4 %25 = add nsw i32 %23, %24 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %20, i64 %26 %28 = load double, ptr %27, align 8 %29 = call i64 @fabs(double noundef %28) %30 = sitofp i64 %29 to double %31 = load double, ptr %11, align 8 %32 = fadd double %31, %30 store double %32, ptr %11, align 8 br label %33 33: ; preds = %19 %34 = load i32, ptr %10, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %10, align 4 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %8, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %15 br label %40 40: ; preds = %39 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %9, align 4 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %46 46: ; preds = %._crit_edge3, %4 %47 = load double, ptr %11, align 8 ret double %47 } declare i64 @fabs(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd03fb03n.c' source_filename = "/tmp/tmpd03fb03n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuidShowVendor() #0 { %1 = call i32 (...) @cpuidVendor() %2 = call i32 @uioPrint(i32 noundef %1) %3 = call i32 @uioPrintChar(i8 noundef signext 10) ret void } declare i32 @uioPrint(i32 noundef) #1 declare i32 @cpuidVendor(...) #1 declare i32 @uioPrintChar(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/tmpd03fb03n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuidShowVendor() #0 { %1 = call i32 (...) @cpuidVendor() %2 = call i32 @uioPrint(i32 noundef %1) %3 = call i32 @uioPrintChar(i8 noundef signext 10) ret void } declare i32 @uioPrint(i32 noundef) #1 declare i32 @cpuidVendor(...) #1 declare i32 @uioPrintChar(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/tmpied19ncu.c' source_filename = "/tmp/tmpied19ncu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"oh no, can't fork()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 %3 = call i64 (...) @fork() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %1, align 4 br label %16 8: ; preds = %0 %9 = load i64, ptr %2, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 (...) @be_child() store i32 %12, ptr %1, align 4 br label %16 13: ; preds = %8 %14 = load i64, ptr %2, align 8 %15 = call i32 @be_parent(i64 noundef %14) store i32 %15, ptr %1, align 4 br label %16 16: ; preds = %13, %11, %6 %17 = load i32, ptr %1, align 4 ret i32 %17 } declare i64 @fork(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @be_child(...) #1 declare i32 @be_parent(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/tmpied19ncu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"oh no, can't fork()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 %3 = call i64 (...) @fork() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) store i32 1, ptr %1, align 4 br label %16 8: ; preds = %0 %9 = load i64, ptr %2, align 8 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 (...) @be_child() store i32 %12, ptr %1, align 4 br label %16 13: ; preds = %8 %14 = load i64, ptr %2, align 8 %15 = call i32 @be_parent(i64 noundef %14) store i32 %15, ptr %1, align 4 br label %16 16: ; preds = %13, %11, %6 %17 = load i32, ptr %1, align 4 ret i32 %17 } declare i64 @fork(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @be_child(...) #1 declare i32 @be_parent(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/tmp8bcyc328.c' source_filename = "/tmp/tmp8bcyc328.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = call i32 (...) @toBeTested() %2 = icmp eq i32 %1, 2 br i1 %2, label %3, label %5 3: ; preds = %0 %4 = call i32 @putchar(i8 noundef signext 65) br label %7 5: ; preds = %0 %6 = call i32 @putchar(i8 noundef signext 66) br label %7 7: ; preds = %5, %3 ret void } declare i32 @toBeTested(...) #1 declare i32 @putchar(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/tmp8bcyc328.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = call i32 (...) @toBeTested() %2 = icmp eq i32 %1, 2 br i1 %2, label %3, label %5 3: ; preds = %0 %4 = call i32 @putchar(i8 noundef signext 65) br label %7 5: ; preds = %0 %6 = call i32 @putchar(i8 noundef signext 66) br label %7 7: ; preds = %5, %3 ret void } declare i32 @toBeTested(...) #1 declare i32 @putchar(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/tmpkc41cp2x.c' source_filename = "/tmp/tmpkc41cp2x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dst_rcfilterN_reset(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 @dst_filter1_reset(ptr noundef %3) ret void } declare i32 @dst_filter1_reset(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkc41cp2x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dst_rcfilterN_reset(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 @dst_filter1_reset(ptr noundef %3) ret void } declare i32 @dst_filter1_reset(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy0tx9ljl.c' source_filename = "/tmp/tmpy0tx9ljl.c" target datalayout = "e-m:e-p270: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.dvb_frontend_info = type { ptr, i8 } @.str = private unnamed_addr constant [19 x i8] c"/dev/dvb/adapter%d\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"/dev/dvb/adapter%d/frontend0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @FE_GET_INFO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [21 x i8] c"Rading frontend info\00", align 1 @errno = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"Closing frontend\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Device enum buffer too small\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"Device enum buffer to small\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dvbres_listdevices(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [32 x i8], align 16 %9 = alloca [32 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca %struct.dvb_frontend_info, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef %18) %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, -1 store i32 %22, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 store i8 0, ptr %24, align 1 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 store i8 0, ptr %26, align 1 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 br label %27 27: ; preds = %176, %3 %28 = load i32, ptr %11, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %194 31: ; preds = %27 %32 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %33 = load i32, ptr %12, align 4 %34 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str, i32 noundef %33) %35 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %36 = load i32, ptr %12, align 4 %37 = call i32 @sprintf(ptr noundef %35, ptr noundef @.str.1, i32 noundef %36) %38 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %39 = load i32, ptr @O_RDWR, align 4 %40 = call i32 @open(ptr noundef %38, i32 noundef %39) store i32 %40, ptr %13, align 4 %41 = load i32, ptr %13, align 4 %42 = icmp eq i32 %41, -1 br i1 %42, label %43, label %47 43: ; preds = %31 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %11, align 4 %46 = call i32 @_dvbres_ok_retval(ptr noundef %44, i32 noundef %45) store i32 %46, ptr %4, align 4 br label %197 47: ; preds = %31 %48 = load i32, ptr %13, align 4 %49 = load i32, ptr @FE_GET_INFO, align 4 %50 = call i32 @ioctl(i32 noundef %48, i32 noundef %49, ptr noundef %14) store i32 %50, ptr %10, align 4 %51 = load i32, ptr %10, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %59 53: ; preds = %47 %54 = load i32, ptr %13, align 4 %55 = call i32 @close(i32 noundef %54) %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr @errno, align 4 %58 = call i32 @_dvbres_error(ptr noundef %56, ptr noundef @.str.2, i32 noundef %57) store i32 %58, ptr %4, align 4 br label %197 59: ; preds = %47 %60 = load i32, ptr %13, align 4 %61 = call i32 @close(i32 noundef %60) store i32 %61, ptr %10, align 4 %62 = load i32, ptr %10, align 4 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %68 64: ; preds = %59 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr @errno, align 4 %67 = call i32 @_dvbres_error(ptr noundef %65, ptr noundef @.str.3, i32 noundef %66) store i32 %67, ptr %4, align 4 br label %197 68: ; preds = %59 store i32 0, ptr %15, align 4 br label %69 69: ; preds = %89, %68 %70 = load i32, ptr %15, align 4 %71 = zext i32 %70 to i64 %72 = icmp ult i64 %71, 8 br i1 %72, label %73, label %92 73: ; preds = %69 %74 = getelementptr inbounds %struct.dvb_frontend_info, ptr %14, i32 0, i32 0 %75 = load ptr, ptr %74, align 8 %76 = load i32, ptr %15, align 4 %77 = zext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp eq i32 %80, 9 br i1 %81, label %82, label %88 82: ; preds = %73 %83 = getelementptr inbounds %struct.dvb_frontend_info, ptr %14, i32 0, i32 0 %84 = load ptr, ptr %83, align 8 %85 = load i32, ptr %15, align 4 %86 = zext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %84, i64 %86 store i8 32, ptr %87, align 1 br label %88 88: ; preds = %82, %73 br label %89 89: ; preds = %88 %90 = load i32, ptr %15, align 4 %91 = add i32 %90, 1 store i32 %91, ptr %15, align 4 br label %69, !llvm.loop !6 92: ; preds = %69 %93 = load i32, ptr %12, align 4 %94 = icmp sgt i32 %93, 0 br i1 %94, label %95, label %108 95: ; preds = %92 %96 = load i32, ptr %11, align 4 %97 = load i32, ptr %7, align 4 %98 = icmp sge i32 %96, %97 br i1 %98, label %99, label %102 99: ; preds = %95 %100 = load ptr, ptr %5, align 8 %101 = call i32 @_dvbres_error(ptr noundef %100, ptr noundef @.str.4, i32 noundef -1) store i32 %101, ptr %4, align 4 br label %197 102: ; preds = %95 %103 = load ptr, ptr %6, align 8 %104 = load i32, ptr %11, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %11, align 4 %106 = sext i32 %104 to i64 %107 = getelementptr inbounds i8, ptr %103, i64 %106 store i8 9, ptr %107, align 1 br label %108 108: ; preds = %102, %92 %109 = getelementptr inbounds %struct.dvb_frontend_info, ptr %14, i32 0, i32 0 %110 = load ptr, ptr %109, align 8 %111 = call i32 @strlen(ptr noundef %110) store i32 %111, ptr %16, align 4 %112 = load i32, ptr %11, align 4 %113 = load i32, ptr %16, align 4 %114 = add nsw i32 %112, %113 %115 = load i32, ptr %7, align 4 %116 = icmp sge i32 %114, %115 br i1 %116, label %117, label %120 117: ; preds = %108 %118 = load ptr, ptr %5, align 8 %119 = call i32 @_dvbres_error(ptr noundef %118, ptr noundef @.str.4, i32 noundef -1) store i32 %119, ptr %4, align 4 br label %197 120: ; preds = %108 %121 = load ptr, ptr %6, align 8 %122 = load i32, ptr %11, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i8, ptr %121, i64 %123 %125 = getelementptr inbounds %struct.dvb_frontend_info, ptr %14, i32 0, i32 0 %126 = load ptr, ptr %125, align 8 %127 = load i32, ptr %7, align 4 %128 = load i32, ptr %11, align 4 %129 = sub nsw i32 %127, %128 %130 = call i32 @strncpy(ptr noundef %124, ptr noundef %126, i32 noundef %129) %131 = load i32, ptr %16, align 4 %132 = load i32, ptr %11, align 4 %133 = add nsw i32 %132, %131 store i32 %133, ptr %11, align 4 %134 = load i32, ptr %11, align 4 %135 = load i32, ptr %7, align 4 %136 = icmp sge i32 %134, %135 br i1 %136, label %137, label %140 137: ; preds = %120 %138 = load ptr, ptr %5, align 8 %139 = call i32 @_dvbres_error(ptr noundef %138, ptr noundef @.str.4, i32 noundef -1) store i32 %139, ptr %4, align 4 br label %197 140: ; preds = %120 %141 = load ptr, ptr %6, align 8 %142 = load i32, ptr %11, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %11, align 4 %144 = sext i32 %142 to i64 %145 = getelementptr inbounds i8, ptr %141, i64 %144 store i8 9, ptr %145, align 1 %146 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %147 = call i32 @strlen(ptr noundef %146) store i32 %147, ptr %16, align 4 %148 = load i32, ptr %11, align 4 %149 = load i32, ptr %16, align 4 %150 = add nsw i32 %148, %149 %151 = load i32, ptr %7, align 4 %152 = icmp sge i32 %150, %151 br i1 %152, label %153, label %156 153: ; preds = %140 %154 = load ptr, ptr %5, align 8 %155 = call i32 @_dvbres_error(ptr noundef %154, ptr noundef @.str.4, i32 noundef -1) store i32 %155, ptr %4, align 4 br label %197 156: ; preds = %140 %157 = load ptr, ptr %6, align 8 %158 = load i32, ptr %11, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i8, ptr %157, i64 %159 %161 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %162 = load i32, ptr %7, align 4 %163 = load i32, ptr %11, align 4 %164 = sub nsw i32 %162, %163 %165 = call i32 @strncpy(ptr noundef %160, ptr noundef %161, i32 noundef %164) %166 = load i32, ptr %16, align 4 %167 = load i32, ptr %11, align 4 %168 = add nsw i32 %167, %166 store i32 %168, ptr %11, align 4 %169 = load i32, ptr %11, align 4 %170 = add nsw i32 %169, 1 %171 = load i32, ptr %7, align 4 %172 = icmp sge i32 %170, %171 br i1 %172, label %173, label %176 173: ; preds = %156 %174 = load ptr, ptr %5, align 8 %175 = call i32 @_dvbres_error(ptr noundef %174, ptr noundef @.str.4, i32 noundef -1) store i32 %175, ptr %4, align 4 br label %197 176: ; preds = %156 %177 = load ptr, ptr %6, align 8 %178 = load i32, ptr %11, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %11, align 4 %180 = sext i32 %178 to i64 %181 = getelementptr inbounds i8, ptr %177, i64 %180 store i8 9, ptr %181, align 1 %182 = getelementptr inbounds %struct.dvb_frontend_info, ptr %14, i32 0, i32 1 %183 = load i8, ptr %182, align 8 %184 = sext i8 %183 to i32 %185 = add nsw i32 48, %184 %186 = trunc i32 %185 to i8 %187 = load ptr, ptr %6, align 8 %188 = load i32, ptr %11, align 4 %189 = add nsw i32 %188, 1 store i32 %189, ptr %11, align 4 %190 = sext i32 %188 to i64 %191 = getelementptr inbounds i8, ptr %187, i64 %190 store i8 %186, ptr %191, align 1 %192 = load i32, ptr %12, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %12, align 4 br label %27, !llvm.loop !8 194: ; preds = %27 %195 = load ptr, ptr %5, align 8 %196 = call i32 @_dvbres_error(ptr noundef %195, ptr noundef @.str.5, i32 noundef -1) store i32 %196, ptr %4, align 4 br label %197 197: ; preds = %194, %173, %153, %137, %117, %99, %64, %53, %43 %198 = load i32, ptr %4, align 4 ret i32 %198 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @_dvbres_ok_retval(ptr noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @_dvbres_error(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy0tx9ljl.c" target datalayout = "e-m:e-p270: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.dvb_frontend_info = type { ptr, i8 } @.str = private unnamed_addr constant [19 x i8] c"/dev/dvb/adapter%d\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"/dev/dvb/adapter%d/frontend0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @FE_GET_INFO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [21 x i8] c"Rading frontend info\00", align 1 @errno = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"Closing frontend\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Device enum buffer too small\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"Device enum buffer to small\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dvbres_listdevices(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca [32 x i8], align 16 %9 = alloca [32 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca %struct.dvb_frontend_info, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef %18) %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, -1 store i32 %22, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 store i8 0, ptr %24, align 1 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 0 store i8 0, ptr %26, align 1 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph2, label %198 .lr.ph2: ; preds = %3 br label %30 30: ; preds = %.lr.ph2, %177 %31 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %32 = load i32, ptr %12, align 4 %33 = call i32 @sprintf(ptr noundef %31, ptr noundef @.str, i32 noundef %32) %34 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %35 = load i32, ptr %12, align 4 %36 = call i32 @sprintf(ptr noundef %34, ptr noundef @.str.1, i32 noundef %35) %37 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0 %38 = load i32, ptr @O_RDWR, align 4 %39 = call i32 @open(ptr noundef %37, i32 noundef %38) store i32 %39, ptr %13, align 4 %40 = load i32, ptr %13, align 4 %41 = icmp eq i32 %40, -1 br i1 %41, label %42, label %46 42: ; preds = %30 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %11, align 4 %45 = call i32 @_dvbres_ok_retval(ptr noundef %43, i32 noundef %44) store i32 %45, ptr %4, align 4 br label %201 46: ; preds = %30 %47 = load i32, ptr %13, align 4 %48 = load i32, ptr @FE_GET_INFO, align 4 %49 = call i32 @ioctl(i32 noundef %47, i32 noundef %48, ptr noundef %14) store i32 %49, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %58 52: ; preds = %46 %53 = load i32, ptr %13, align 4 %54 = call i32 @close(i32 noundef %53) %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr @errno, align 4 %57 = call i32 @_dvbres_error(ptr noundef %55, ptr noundef @.str.2, i32 noundef %56) store i32 %57, ptr %4, align 4 br label %201 58: ; preds = %46 %59 = load i32, ptr %13, align 4 %60 = call i32 @close(i32 noundef %59) store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %67 63: ; preds = %58 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr @errno, align 4 %66 = call i32 @_dvbres_error(ptr noundef %64, ptr noundef @.str.3, i32 noundef %65) store i32 %66, ptr %4, align 4 br label %201 67: ; preds = %58 store i32 0, ptr %15, align 4 %68 = load i32, ptr %15, align 4 %69 = zext i32 %68 to i64 %70 = icmp ult i64 %69, 8 br i1 %70, label %.lr.ph, label %93 .lr.ph: ; preds = %67 br label %71 71: ; preds = %.lr.ph, %87 %72 = getelementptr inbounds %struct.dvb_frontend_info, ptr %14, i32 0, i32 0 %73 = load ptr, ptr %72, align 8 %74 = load i32, ptr %15, align 4 %75 = zext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 9 br i1 %79, label %80, label %86 80: ; preds = %71 %81 = getelementptr inbounds %struct.dvb_frontend_info, ptr %14, i32 0, i32 0 %82 = load ptr, ptr %81, align 8 %83 = load i32, ptr %15, align 4 %84 = zext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 store i8 32, ptr %85, align 1 br label %86 86: ; preds = %80, %71 br label %87 87: ; preds = %86 %88 = load i32, ptr %15, align 4 %89 = add i32 %88, 1 store i32 %89, ptr %15, align 4 %90 = load i32, ptr %15, align 4 %91 = zext i32 %90 to i64 %92 = icmp ult i64 %91, 8 br i1 %92, label %71, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %87 br label %93 93: ; preds = %._crit_edge, %67 %94 = load i32, ptr %12, align 4 %95 = icmp sgt i32 %94, 0 br i1 %95, label %96, label %109 96: ; preds = %93 %97 = load i32, ptr %11, align 4 %98 = load i32, ptr %7, align 4 %99 = icmp sge i32 %97, %98 br i1 %99, label %100, label %103 100: ; preds = %96 %101 = load ptr, ptr %5, align 8 %102 = call i32 @_dvbres_error(ptr noundef %101, ptr noundef @.str.4, i32 noundef -1) store i32 %102, ptr %4, align 4 br label %201 103: ; preds = %96 %104 = load ptr, ptr %6, align 8 %105 = load i32, ptr %11, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %11, align 4 %107 = sext i32 %105 to i64 %108 = getelementptr inbounds i8, ptr %104, i64 %107 store i8 9, ptr %108, align 1 br label %109 109: ; preds = %103, %93 %110 = getelementptr inbounds %struct.dvb_frontend_info, ptr %14, i32 0, i32 0 %111 = load ptr, ptr %110, align 8 %112 = call i32 @strlen(ptr noundef %111) store i32 %112, ptr %16, align 4 %113 = load i32, ptr %11, align 4 %114 = load i32, ptr %16, align 4 %115 = add nsw i32 %113, %114 %116 = load i32, ptr %7, align 4 %117 = icmp sge i32 %115, %116 br i1 %117, label %118, label %121 118: ; preds = %109 %119 = load ptr, ptr %5, align 8 %120 = call i32 @_dvbres_error(ptr noundef %119, ptr noundef @.str.4, i32 noundef -1) store i32 %120, ptr %4, align 4 br label %201 121: ; preds = %109 %122 = load ptr, ptr %6, align 8 %123 = load i32, ptr %11, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %122, i64 %124 %126 = getelementptr inbounds %struct.dvb_frontend_info, ptr %14, i32 0, i32 0 %127 = load ptr, ptr %126, align 8 %128 = load i32, ptr %7, align 4 %129 = load i32, ptr %11, align 4 %130 = sub nsw i32 %128, %129 %131 = call i32 @strncpy(ptr noundef %125, ptr noundef %127, i32 noundef %130) %132 = load i32, ptr %16, align 4 %133 = load i32, ptr %11, align 4 %134 = add nsw i32 %133, %132 store i32 %134, ptr %11, align 4 %135 = load i32, ptr %11, align 4 %136 = load i32, ptr %7, align 4 %137 = icmp sge i32 %135, %136 br i1 %137, label %138, label %141 138: ; preds = %121 %139 = load ptr, ptr %5, align 8 %140 = call i32 @_dvbres_error(ptr noundef %139, ptr noundef @.str.4, i32 noundef -1) store i32 %140, ptr %4, align 4 br label %201 141: ; preds = %121 %142 = load ptr, ptr %6, align 8 %143 = load i32, ptr %11, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %11, align 4 %145 = sext i32 %143 to i64 %146 = getelementptr inbounds i8, ptr %142, i64 %145 store i8 9, ptr %146, align 1 %147 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %148 = call i32 @strlen(ptr noundef %147) store i32 %148, ptr %16, align 4 %149 = load i32, ptr %11, align 4 %150 = load i32, ptr %16, align 4 %151 = add nsw i32 %149, %150 %152 = load i32, ptr %7, align 4 %153 = icmp sge i32 %151, %152 br i1 %153, label %154, label %157 154: ; preds = %141 %155 = load ptr, ptr %5, align 8 %156 = call i32 @_dvbres_error(ptr noundef %155, ptr noundef @.str.4, i32 noundef -1) store i32 %156, ptr %4, align 4 br label %201 157: ; preds = %141 %158 = load ptr, ptr %6, align 8 %159 = load i32, ptr %11, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i8, ptr %158, i64 %160 %162 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %163 = load i32, ptr %7, align 4 %164 = load i32, ptr %11, align 4 %165 = sub nsw i32 %163, %164 %166 = call i32 @strncpy(ptr noundef %161, ptr noundef %162, i32 noundef %165) %167 = load i32, ptr %16, align 4 %168 = load i32, ptr %11, align 4 %169 = add nsw i32 %168, %167 store i32 %169, ptr %11, align 4 %170 = load i32, ptr %11, align 4 %171 = add nsw i32 %170, 1 %172 = load i32, ptr %7, align 4 %173 = icmp sge i32 %171, %172 br i1 %173, label %174, label %177 174: ; preds = %157 %175 = load ptr, ptr %5, align 8 %176 = call i32 @_dvbres_error(ptr noundef %175, ptr noundef @.str.4, i32 noundef -1) store i32 %176, ptr %4, align 4 br label %201 177: ; preds = %157 %178 = load ptr, ptr %6, align 8 %179 = load i32, ptr %11, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %11, align 4 %181 = sext i32 %179 to i64 %182 = getelementptr inbounds i8, ptr %178, i64 %181 store i8 9, ptr %182, align 1 %183 = getelementptr inbounds %struct.dvb_frontend_info, ptr %14, i32 0, i32 1 %184 = load i8, ptr %183, align 8 %185 = sext i8 %184 to i32 %186 = add nsw i32 48, %185 %187 = trunc i32 %186 to i8 %188 = load ptr, ptr %6, align 8 %189 = load i32, ptr %11, align 4 %190 = add nsw i32 %189, 1 store i32 %190, ptr %11, align 4 %191 = sext i32 %189 to i64 %192 = getelementptr inbounds i8, ptr %188, i64 %191 store i8 %187, ptr %192, align 1 %193 = load i32, ptr %12, align 4 %194 = add nsw i32 %193, 1 store i32 %194, ptr %12, align 4 %195 = load i32, ptr %11, align 4 %196 = load i32, ptr %7, align 4 %197 = icmp slt i32 %195, %196 br i1 %197, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %177 br label %198 198: ; preds = %._crit_edge3, %3 %199 = load ptr, ptr %5, align 8 %200 = call i32 @_dvbres_error(ptr noundef %199, ptr noundef @.str.5, i32 noundef -1) store i32 %200, ptr %4, align 4 br label %201 201: ; preds = %198, %174, %154, %138, %118, %100, %63, %52, %42 %202 = load i32, ptr %4, align 4 ret i32 %202 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @_dvbres_ok_retval(ptr noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @_dvbres_error(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpms0mdns7.c' source_filename = "/tmp/tmpms0mdns7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [8 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 32, i1 false) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %8 8: ; preds = %16, %0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) br label %10 10: ; preds = %8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 1 br label %16 16: ; preds = %13, %10 %17 = phi i1 [ true, %10 ], [ %15, %13 ] br i1 %17, label %8, label %18, !llvm.loop !6 18: ; preds = %16 br label %19 19: ; preds = %27, %18 %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) br label %21 21: ; preds = %19 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = icmp sgt i32 %25, 7 br label %27 27: ; preds = %24, %21 %28 = phi i1 [ true, %21 ], [ %26, %24 ] br i1 %28, label %19, label %29, !llvm.loop !8 29: ; preds = %27 %30 = load i32, ptr %2, align 4 %31 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0 %32 = call i32 @db_conv(i32 noundef %30, ptr noundef %31) %33 = load i32, ptr %4, align 4 %34 = load i32, ptr %3, align 4 %35 = sub nsw i32 7, %34 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %36 store i32 %33, ptr %37, align 4 %38 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0 %39 = load i32, ptr %38, align 16 %40 = mul nsw i32 %39, 2 store i32 %40, ptr %2, align 4 store i32 1, ptr %5, align 4 br label %41 41: ; preds = %52, %29 %42 = load i32, ptr %5, align 4 %43 = icmp slt i32 %42, 7 br i1 %43, label %44, label %55 44: ; preds = %41 %45 = load i32, ptr %2, align 4 %46 = load i32, ptr %5, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = add nsw i32 %45, %49 %51 = mul nsw i32 %50, 2 store i32 %51, ptr %2, align 4 br label %52 52: ; preds = %44 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %5, align 4 br label %41, !llvm.loop !9 55: ; preds = %41 %56 = load i32, ptr %2, align 4 %57 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 7 %58 = load i32, ptr %57, align 4 %59 = add nsw i32 %56, %58 store i32 %59, ptr %2, align 4 %60 = load i32, ptr %2, align 4 %61 = call i32 @printf(ptr noundef @.str.1, i32 noundef %60) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @db_conv(i32 noundef, ptr noundef) #2 declare i32 @printf(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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpms0mdns7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [8 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 32, i1 false) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %8 8: ; preds = %16, %0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) br label %10 10: ; preds = %8 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 1 br label %16 16: ; preds = %13, %10 %17 = phi i1 [ true, %10 ], [ %15, %13 ] br i1 %17, label %8, label %18, !llvm.loop !6 18: ; preds = %16 br label %19 19: ; preds = %27, %18 %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) br label %21 21: ; preds = %19 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = icmp sgt i32 %25, 7 br label %27 27: ; preds = %24, %21 %28 = phi i1 [ true, %21 ], [ %26, %24 ] br i1 %28, label %19, label %29, !llvm.loop !8 29: ; preds = %27 %30 = load i32, ptr %2, align 4 %31 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0 %32 = call i32 @db_conv(i32 noundef %30, ptr noundef %31) %33 = load i32, ptr %4, align 4 %34 = load i32, ptr %3, align 4 %35 = sub nsw i32 7, %34 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %36 store i32 %33, ptr %37, align 4 %38 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0 %39 = load i32, ptr %38, align 16 %40 = mul nsw i32 %39, 2 store i32 %40, ptr %2, align 4 store i32 1, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp slt i32 %41, 7 br i1 %42, label %.lr.ph, label %56 .lr.ph: ; preds = %29 br label %43 43: ; preds = %.lr.ph, %51 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %44, %48 %50 = mul nsw i32 %49, 2 store i32 %50, ptr %2, align 4 br label %51 51: ; preds = %43 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 %54 = load i32, ptr %5, align 4 %55 = icmp slt i32 %54, 7 br i1 %55, label %43, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %51 br label %56 56: ; preds = %._crit_edge, %29 %57 = load i32, ptr %2, align 4 %58 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 7 %59 = load i32, ptr %58, align 4 %60 = add nsw i32 %57, %59 store i32 %60, ptr %2, align 4 %61 = load i32, ptr %2, align 4 %62 = call i32 @printf(ptr noundef @.str.1, i32 noundef %61) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @db_conv(i32 noundef, ptr noundef) #2 declare i32 @printf(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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp874zjlb0.c' source_filename = "/tmp/tmp874zjlb0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c" \09\0A\0B\0C\0D[]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @searchDuplicitySections(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %6, align 8 %12 = call ptr @strtok(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %13 13: ; preds = %30, %3 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp ult i32 %14, %15 br i1 %16, label %17, label %33 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %9, align 4 %20 = zext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = call ptr @strtok(ptr noundef %22, ptr noundef @.str) store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %10, align 8 %25 = load ptr, ptr %8, align 8 %26 = call i64 @strcmp(ptr noundef %24, ptr noundef %25) %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %17 store i32 1, ptr %4, align 4 br label %34 29: ; preds = %17 br label %30 30: ; preds = %29 %31 = load i32, ptr %9, align 4 %32 = add i32 %31, 1 store i32 %32, ptr %9, align 4 br label %13, !llvm.loop !6 33: ; preds = %13 store i32 0, ptr %4, align 4 br label %34 34: ; preds = %33, %28 %35 = load i32, ptr %4, align 4 ret i32 %35 } declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp874zjlb0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c" \09\0A\0B\0C\0D[]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @searchDuplicitySections(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %6, align 8 %12 = call ptr @strtok(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %8, align 8 store i32 0, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp ult i32 %13, %14 br i1 %15, label %.lr.ph, label %35 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %29 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %9, align 4 %19 = zext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call ptr @strtok(ptr noundef %21, ptr noundef @.str) store ptr %22, ptr %10, align 8 %23 = load ptr, ptr %10, align 8 %24 = load ptr, ptr %8, align 8 %25 = call i64 @strcmp(ptr noundef %23, ptr noundef %24) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %16 store i32 1, ptr %4, align 4 br label %36 28: ; preds = %16 br label %29 29: ; preds = %28 %30 = load i32, ptr %9, align 4 %31 = add i32 %30, 1 store i32 %31, ptr %9, align 4 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp ult i32 %32, %33 br i1 %34, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %36 36: ; preds = %35, %27 %37 = load i32, ptr %4, align 4 ret i32 %37 } declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8pml01em.c' source_filename = "/tmp/tmp8pml01em.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @floppy_gettype(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = call i32 @CMOS_read(i32 noundef 16, i32 noundef 0) store i32 %5, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = load i32, ptr %4, align 4 %10 = ashr i32 %9, 4 store i32 %10, ptr %2, align 4 br label %14 11: ; preds = %1 %12 = load i32, ptr %4, align 4 %13 = and i32 %12, 15 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %11, %8 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @CMOS_read(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/tmp8pml01em.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @floppy_gettype(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = call i32 @CMOS_read(i32 noundef 16, i32 noundef 0) store i32 %5, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = load i32, ptr %4, align 4 %10 = ashr i32 %9, 4 store i32 %10, ptr %2, align 4 br label %14 11: ; preds = %1 %12 = load i32, ptr %4, align 4 %13 = and i32 %12, 15 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %11, %8 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i32 @CMOS_read(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/tmp6ff20st8.c' source_filename = "/tmp/tmp6ff20st8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%d %d %d %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @__const.main.tab = private unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9], align 16 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [10 x i32], align 16 store i32 0, ptr %1, 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 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 10, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.tab, i64 40, i1 false) store i32 0, ptr %6, align 4 br label %15 15: ; preds = %25, %0 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %31 19: ; preds = %15 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %21 %23 = load i32, ptr %22, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23) br label %25 25: ; preds = %19 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = sext i32 %27 to i64 %30 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %29 store i32 %26, ptr %30, align 4 br label %15, !llvm.loop !6 31: ; preds = %15 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %33 33: ; preds = %43, %31 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %49 37: ; preds = %33 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %41) br label %43 43: ; preds = %37 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %47 store i32 %44, ptr %48, align 4 br label %33, !llvm.loop !8 49: ; preds = %33 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %6, align 4 br label %51 51: ; preds = %56, %49 %52 = load i32, ptr %6, align 4 %53 = mul nsw i32 %52, 2 store i32 %53, ptr %6, align 4 %54 = load i32, ptr %7, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %57 56: ; preds = %51 br label %51, !llvm.loop !9 57: ; preds = %51 %58 = load i32, ptr %6, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %58) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; 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) #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 nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6ff20st8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%d %d %d %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @__const.main.tab = private unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9], align 16 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [10 x i32], align 16 store i32 0, ptr %1, 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 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 10, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.tab, i64 40, i1 false) store i32 0, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %33 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %24 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %20 %22 = load i32, ptr %21, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22) br label %24 24: ; preds = %18 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = sext i32 %26 to i64 %29 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %28 store i32 %25, ptr %29, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %33 33: ; preds = %._crit_edge, %0 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %7, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph2, label %53 .lr.ph2: ; preds = %33 br label %38 38: ; preds = %.lr.ph2, %44 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %42) br label %44 44: ; preds = %38 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %48 store i32 %45, ptr %49, align 4 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %53 53: ; preds = %._crit_edge3, %33 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %6, align 4 br label %55 55: ; preds = %55, %53 %56 = load i32, ptr %6, align 4 %57 = mul nsw i32 %56, 2 store i32 %57, ptr %6, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %55, label %60, !llvm.loop !9 60: ; preds = %55 %61 = load i32, ptr %6, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %61) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; 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) #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 nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpq6kblljt.c' source_filename = "/tmp/tmpq6kblljt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dhcp\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"?\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.3 = private unnamed_addr constant [214 x i8] c"\0A{Hip dhcp} [{UOPTION}]\0A Attempt to obtain IPv4 address, mask, gateway and DNS via DHCP\0A OPTION:\0A {H-d} Show DHCP packet decode\0A {H-r} Renew DHCP lease\0A {H-x} Release DHCP lease\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"dns\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"dns6\00", align 1 @.str.6 = private unnamed_addr constant [75 x i8] c"\0A{Hip [dns | dns6]} {Uip}\0A Set DNS server {Uip}, delete if {Uip} is '0'.\0A\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"domain\00", align 1 @.str.8 = private unnamed_addr constant [264 x i8] c"\0A{Hip domain} {Uname}\0A Sets local domain name. \0A If there's no '.' in the host name: the name is assumed within the local\0A domain, it is a short name relative to the local domain. The resolver\0A will append the local domain name to the hostname to resolve it.\0A\00", align 1 @.str.9 = private unnamed_addr constant [1213 x i8] c"\0A{Hip} {UARG} ... [{UOPTION}]\0A Configure the current VPC's IP settings\0A ARG ...:\0A {Uaddress} [{Umask}] [{Ugateway}]\0A {Uaddress} [{Ugateway}] [{Umask}]\0A Set the VPC's ip, default gateway ip and network mask\0A Default IPv4 mask is /24, IPv6 is /64. Example:\0A {Hip 10.1.1.70/26 10.1.1.65} set the VPC's ip to 10.1.1.70,\0A the gateway to 10.1.1.65, the netmask to 255.255.255.192.\0A In tap mode, the ip of the tapx is the maximum host ID\0A of the subnet. In the example above the tapx ip would be \0A 10.1.1.126\0A {Umask} may be written as /26, 26 or 255.255.255.192\0A {Hauto} Attempt to obtain IPv6 address, mask and gateway using SLAAC\0A {Hdhcp} [{UOPTION}] Attempt to obtain IPv4 address, mask, gateway, DNS via DHCP\0A {H-d} Show DHCP packet decode\0A {H-r} Renew DHCP lease\0A {H-x} Release DHCP lease\0A {Hdns} {Uip} Set DNS server {Uip}, delete if {Uip} is '0'\0A {Hdns6} {Uipv6} Set DNS server {Uipv6}, delete if {Uipv6} is '0'\0A {Hdomain} {UNAME} Set local domain name to {UNAME}\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @help_ip(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 0 %8 = load ptr, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = call i32 @strncmp(ptr noundef %8, ptr noundef @.str, i32 noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %44 15: ; preds = %2 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 3 br i1 %17, label %18, label %46 18: ; preds = %15 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = call i32 @strncmp(ptr noundef %21, ptr noundef @.str, i32 noundef %25) %27 = icmp ne i32 %26, 0 br i1 %27, label %46, label %28 28: ; preds = %18 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.1) %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %44 34: ; preds = %28 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 2 %37 = load ptr, ptr %36, align 8 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 2 %40 = load ptr, ptr %39, align 8 %41 = call i32 @strlen(ptr noundef %40) %42 = call i32 @strncmp(ptr noundef %37, ptr noundef @.str.2, i32 noundef %41) %43 = icmp ne i32 %42, 0 br i1 %43, label %46, label %44 44: ; preds = %34, %28, %2 %45 = call i32 @esc_prn(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %120 46: ; preds = %34, %18, %15 %47 = load i32, ptr %4, align 4 %48 = icmp eq i32 %47, 3 br i1 %48, label %49, label %87 49: ; preds = %46 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds ptr, ptr %50, i64 1 %52 = load ptr, ptr %51, align 8 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 1 %55 = load ptr, ptr %54, align 8 %56 = call i32 @strlen(ptr noundef %55) %57 = call i32 @strncmp(ptr noundef %52, ptr noundef @.str.4, i32 noundef %56) %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %69 59: ; preds = %49 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 1 %62 = load ptr, ptr %61, align 8 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds ptr, ptr %63, i64 1 %65 = load ptr, ptr %64, align 8 %66 = call i32 @strlen(ptr noundef %65) %67 = call i32 @strncmp(ptr noundef %62, ptr noundef @.str.5, i32 noundef %66) %68 = icmp ne i32 %67, 0 br i1 %68, label %87, label %69 69: ; preds = %59, %49 %70 = load ptr, ptr %5, align 8 %71 = getelementptr inbounds ptr, ptr %70, i64 2 %72 = load ptr, ptr %71, align 8 %73 = call i32 @strcmp(ptr noundef %72, ptr noundef @.str.1) %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %85 75: ; preds = %69 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 2 %78 = load ptr, ptr %77, align 8 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds ptr, ptr %79, i64 2 %81 = load ptr, ptr %80, align 8 %82 = call i32 @strlen(ptr noundef %81) %83 = call i32 @strncmp(ptr noundef %78, ptr noundef @.str.2, i32 noundef %82) %84 = icmp ne i32 %83, 0 br i1 %84, label %87, label %85 85: ; preds = %75, %69 %86 = call i32 @esc_prn(ptr noundef @.str.6) store i32 1, ptr %3, align 4 br label %120 87: ; preds = %75, %59, %46 %88 = load i32, ptr %4, align 4 %89 = icmp eq i32 %88, 3 br i1 %89, label %90, label %118 90: ; preds = %87 %91 = load ptr, ptr %5, align 8 %92 = getelementptr inbounds ptr, ptr %91, i64 1 %93 = load ptr, ptr %92, align 8 %94 = load ptr, ptr %5, align 8 %95 = getelementptr inbounds ptr, ptr %94, i64 1 %96 = load ptr, ptr %95, align 8 %97 = call i32 @strlen(ptr noundef %96) %98 = call i32 @strncmp(ptr noundef %93, ptr noundef @.str.7, i32 noundef %97) %99 = icmp ne i32 %98, 0 br i1 %99, label %118, label %100 100: ; preds = %90 %101 = load ptr, ptr %5, align 8 %102 = getelementptr inbounds ptr, ptr %101, i64 2 %103 = load ptr, ptr %102, align 8 %104 = call i32 @strcmp(ptr noundef %103, ptr noundef @.str.1) %105 = icmp ne i32 %104, 0 br i1 %105, label %106, label %116 106: ; preds = %100 %107 = load ptr, ptr %5, align 8 %108 = getelementptr inbounds ptr, ptr %107, i64 2 %109 = load ptr, ptr %108, align 8 %110 = load ptr, ptr %5, align 8 %111 = getelementptr inbounds ptr, ptr %110, i64 2 %112 = load ptr, ptr %111, align 8 %113 = call i32 @strlen(ptr noundef %112) %114 = call i32 @strncmp(ptr noundef %109, ptr noundef @.str.2, i32 noundef %113) %115 = icmp ne i32 %114, 0 br i1 %115, label %118, label %116 116: ; preds = %106, %100 %117 = call i32 @esc_prn(ptr noundef @.str.8) store i32 1, ptr %3, align 4 br label %120 118: ; preds = %106, %90, %87 %119 = call i32 @esc_prn(ptr noundef @.str.9) store i32 1, ptr %3, align 4 br label %120 120: ; preds = %118, %116, %85, %44 %121 = load i32, ptr %3, align 4 ret i32 %121 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @esc_prn(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq6kblljt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dhcp\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"?\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"help\00", align 1 @.str.3 = private unnamed_addr constant [214 x i8] c"\0A{Hip dhcp} [{UOPTION}]\0A Attempt to obtain IPv4 address, mask, gateway and DNS via DHCP\0A OPTION:\0A {H-d} Show DHCP packet decode\0A {H-r} Renew DHCP lease\0A {H-x} Release DHCP lease\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"dns\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"dns6\00", align 1 @.str.6 = private unnamed_addr constant [75 x i8] c"\0A{Hip [dns | dns6]} {Uip}\0A Set DNS server {Uip}, delete if {Uip} is '0'.\0A\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"domain\00", align 1 @.str.8 = private unnamed_addr constant [264 x i8] c"\0A{Hip domain} {Uname}\0A Sets local domain name. \0A If there's no '.' in the host name: the name is assumed within the local\0A domain, it is a short name relative to the local domain. The resolver\0A will append the local domain name to the hostname to resolve it.\0A\00", align 1 @.str.9 = private unnamed_addr constant [1213 x i8] c"\0A{Hip} {UARG} ... [{UOPTION}]\0A Configure the current VPC's IP settings\0A ARG ...:\0A {Uaddress} [{Umask}] [{Ugateway}]\0A {Uaddress} [{Ugateway}] [{Umask}]\0A Set the VPC's ip, default gateway ip and network mask\0A Default IPv4 mask is /24, IPv6 is /64. Example:\0A {Hip 10.1.1.70/26 10.1.1.65} set the VPC's ip to 10.1.1.70,\0A the gateway to 10.1.1.65, the netmask to 255.255.255.192.\0A In tap mode, the ip of the tapx is the maximum host ID\0A of the subnet. In the example above the tapx ip would be \0A 10.1.1.126\0A {Umask} may be written as /26, 26 or 255.255.255.192\0A {Hauto} Attempt to obtain IPv6 address, mask and gateway using SLAAC\0A {Hdhcp} [{UOPTION}] Attempt to obtain IPv4 address, mask, gateway, DNS via DHCP\0A {H-d} Show DHCP packet decode\0A {H-r} Renew DHCP lease\0A {H-x} Release DHCP lease\0A {Hdns} {Uip} Set DNS server {Uip}, delete if {Uip} is '0'\0A {Hdns6} {Uipv6} Set DNS server {Uipv6}, delete if {Uipv6} is '0'\0A {Hdomain} {UNAME} Set local domain name to {UNAME}\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @help_ip(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 0 %8 = load ptr, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = call i32 @strncmp(ptr noundef %8, ptr noundef @.str, i32 noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %44 15: ; preds = %2 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 3 br i1 %17, label %18, label %46 18: ; preds = %15 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = call i32 @strncmp(ptr noundef %21, ptr noundef @.str, i32 noundef %25) %27 = icmp ne i32 %26, 0 br i1 %27, label %46, label %28 28: ; preds = %18 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.1) %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %44 34: ; preds = %28 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 2 %37 = load ptr, ptr %36, align 8 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 2 %40 = load ptr, ptr %39, align 8 %41 = call i32 @strlen(ptr noundef %40) %42 = call i32 @strncmp(ptr noundef %37, ptr noundef @.str.2, i32 noundef %41) %43 = icmp ne i32 %42, 0 br i1 %43, label %46, label %44 44: ; preds = %34, %28, %2 %45 = call i32 @esc_prn(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %120 46: ; preds = %34, %18, %15 %47 = load i32, ptr %4, align 4 %48 = icmp eq i32 %47, 3 br i1 %48, label %49, label %87 49: ; preds = %46 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds ptr, ptr %50, i64 1 %52 = load ptr, ptr %51, align 8 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds ptr, ptr %53, i64 1 %55 = load ptr, ptr %54, align 8 %56 = call i32 @strlen(ptr noundef %55) %57 = call i32 @strncmp(ptr noundef %52, ptr noundef @.str.4, i32 noundef %56) %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %69 59: ; preds = %49 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 1 %62 = load ptr, ptr %61, align 8 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds ptr, ptr %63, i64 1 %65 = load ptr, ptr %64, align 8 %66 = call i32 @strlen(ptr noundef %65) %67 = call i32 @strncmp(ptr noundef %62, ptr noundef @.str.5, i32 noundef %66) %68 = icmp ne i32 %67, 0 br i1 %68, label %87, label %69 69: ; preds = %59, %49 %70 = load ptr, ptr %5, align 8 %71 = getelementptr inbounds ptr, ptr %70, i64 2 %72 = load ptr, ptr %71, align 8 %73 = call i32 @strcmp(ptr noundef %72, ptr noundef @.str.1) %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %85 75: ; preds = %69 %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds ptr, ptr %76, i64 2 %78 = load ptr, ptr %77, align 8 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds ptr, ptr %79, i64 2 %81 = load ptr, ptr %80, align 8 %82 = call i32 @strlen(ptr noundef %81) %83 = call i32 @strncmp(ptr noundef %78, ptr noundef @.str.2, i32 noundef %82) %84 = icmp ne i32 %83, 0 br i1 %84, label %87, label %85 85: ; preds = %75, %69 %86 = call i32 @esc_prn(ptr noundef @.str.6) store i32 1, ptr %3, align 4 br label %120 87: ; preds = %75, %59, %46 %88 = load i32, ptr %4, align 4 %89 = icmp eq i32 %88, 3 br i1 %89, label %90, label %118 90: ; preds = %87 %91 = load ptr, ptr %5, align 8 %92 = getelementptr inbounds ptr, ptr %91, i64 1 %93 = load ptr, ptr %92, align 8 %94 = load ptr, ptr %5, align 8 %95 = getelementptr inbounds ptr, ptr %94, i64 1 %96 = load ptr, ptr %95, align 8 %97 = call i32 @strlen(ptr noundef %96) %98 = call i32 @strncmp(ptr noundef %93, ptr noundef @.str.7, i32 noundef %97) %99 = icmp ne i32 %98, 0 br i1 %99, label %118, label %100 100: ; preds = %90 %101 = load ptr, ptr %5, align 8 %102 = getelementptr inbounds ptr, ptr %101, i64 2 %103 = load ptr, ptr %102, align 8 %104 = call i32 @strcmp(ptr noundef %103, ptr noundef @.str.1) %105 = icmp ne i32 %104, 0 br i1 %105, label %106, label %116 106: ; preds = %100 %107 = load ptr, ptr %5, align 8 %108 = getelementptr inbounds ptr, ptr %107, i64 2 %109 = load ptr, ptr %108, align 8 %110 = load ptr, ptr %5, align 8 %111 = getelementptr inbounds ptr, ptr %110, i64 2 %112 = load ptr, ptr %111, align 8 %113 = call i32 @strlen(ptr noundef %112) %114 = call i32 @strncmp(ptr noundef %109, ptr noundef @.str.2, i32 noundef %113) %115 = icmp ne i32 %114, 0 br i1 %115, label %118, label %116 116: ; preds = %106, %100 %117 = call i32 @esc_prn(ptr noundef @.str.8) store i32 1, ptr %3, align 4 br label %120 118: ; preds = %106, %90, %87 %119 = call i32 @esc_prn(ptr noundef @.str.9) store i32 1, ptr %3, align 4 br label %120 120: ; preds = %118, %116, %85, %44 %121 = load i32, ptr %3, align 4 ret i32 %121 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @esc_prn(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf4ov7ufs.c' source_filename = "/tmp/tmpf4ov7ufs.c" target datalayout = "e-m:e-p270: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/tmpf4ov7ufs.c" target datalayout = "e-m:e-p270: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/tmp3ouueqlk.c' source_filename = "/tmp/tmp3ouueqlk.c" target datalayout = "e-m:e-p270: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/tmp3ouueqlk.c" target datalayout = "e-m:e-p270: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/tmp29crn11g.c' source_filename = "/tmp/tmp29crn11g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setup() #0 { %1 = call i32 @textSize(i32 noundef 24) %2 = call i32 @fill(i32 noundef 255, i32 noundef 255, i32 noundef 255) ret void } declare i32 @textSize(i32 noundef) #1 declare i32 @fill(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/tmp29crn11g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setup() #0 { %1 = call i32 @textSize(i32 noundef 24) %2 = call i32 @fill(i32 noundef 255, i32 noundef 255, i32 noundef 255) ret void } declare i32 @textSize(i32 noundef) #1 declare i32 @fill(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"}