llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpx4gvkxlp.c' source_filename = "/tmp/tmpx4gvkxlp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @schedule_callback5(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store double %3, ptr %12, align 8 store double %4, ptr %13, align 8 store double %5, ptr %14, align 8 store double %6, ptr %15, align 8 store double %7, ptr %16, align 8 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %10, align 8 %19 = load ptr, ptr %11, align 8 %20 = load double, ptr %12, align 8 %21 = load double, ptr %13, align 8 %22 = load double, ptr %14, align 8 %23 = load double, ptr %15, align 8 %24 = load double, ptr %16, align 8 %25 = call i32 @schedule_callback8(ptr noundef %17, ptr noundef %18, ptr noundef %19, double noundef %20, double noundef %21, double noundef %22, double noundef %23, double noundef %24, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00) ret void } declare i32 @schedule_callback8(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx4gvkxlp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @schedule_callback5(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store double %3, ptr %12, align 8 store double %4, ptr %13, align 8 store double %5, ptr %14, align 8 store double %6, ptr %15, align 8 store double %7, ptr %16, align 8 %17 = load ptr, ptr %9, align 8 %18 = load ptr, ptr %10, align 8 %19 = load ptr, ptr %11, align 8 %20 = load double, ptr %12, align 8 %21 = load double, ptr %13, align 8 %22 = load double, ptr %14, align 8 %23 = load double, ptr %15, align 8 %24 = load double, ptr %16, align 8 %25 = call i32 @schedule_callback8(ptr noundef %17, ptr noundef %18, ptr noundef %19, double noundef %20, double noundef %21, double noundef %22, double noundef %23, double noundef %24, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00) ret void } declare i32 @schedule_callback8(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwwgdz0o9.c' source_filename = "/tmp/tmpwwgdz0o9.c" target datalayout = "e-m:e-p270: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/tmpwwgdz0o9.c" target datalayout = "e-m:e-p270: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/tmph5zfcs5w.c' source_filename = "/tmp/tmph5zfcs5w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"res/input1.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"res/input2.txt\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"res/result.txt\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = 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 ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [1000 x i32], align 16 %5 = alloca [1000 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store i32 0, ptr %1, align 4 %16 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %16, ptr %2, align 8 %17 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1) store ptr %17, ptr %3, align 8 store i32 0, ptr %6, align 4 br label %18 18: ; preds = %32, %0 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 1000 br i1 %20, label %21, label %35 21: ; preds = %18 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 %24 %26 = call i32 @fscanf(ptr noundef %22, ptr noundef @.str.3, ptr noundef %25) %27 = load ptr, ptr %2, align 8 %28 = call i64 @feof(ptr noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %21 br label %35 31: ; preds = %21 br label %32 32: ; preds = %31 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 br label %18, !llvm.loop !6 35: ; preds = %30, %18 store i32 0, ptr %7, align 4 br label %36 36: ; preds = %50, %35 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %37, 1000 br i1 %38, label %39, label %53 39: ; preds = %36 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [1000 x i32], ptr %5, i64 0, i64 %42 %44 = call i32 @fscanf(ptr noundef %40, ptr noundef @.str.3, ptr noundef %43) %45 = load ptr, ptr %3, align 8 %46 = call i64 @feof(ptr noundef %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %48, label %49 48: ; preds = %39 br label %53 49: ; preds = %39 br label %50 50: ; preds = %49 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 br label %36, !llvm.loop !8 53: ; preds = %48, %36 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %7, align 4 %56 = add nsw i32 %54, %55 store i32 %56, ptr %8, align 4 %57 = load i32, ptr %8, align 4 %58 = zext i32 %57 to i64 %59 = call ptr @llvm.stacksave() store ptr %59, ptr %9, align 8 %60 = alloca i32, i64 %58, align 16 store i64 %58, ptr %10, align 8 store i32 0, ptr %13, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %13, align 4 br label %61 61: ; preds = %111, %53 %62 = load i32, ptr %13, align 4 %63 = load i32, ptr %8, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %65, label %112 65: ; preds = %61 br label %66 66: ; preds = %76, %65 %67 = load i32, ptr %11, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = load i32, ptr %12, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [1000 x i32], ptr %5, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = icmp sle i32 %70, %74 br i1 %75, label %76, label %88 76: ; preds = %66 %77 = load i32, ptr %11, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 %78 %80 = load i32, ptr %79, align 4 %81 = load i32, ptr %13, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %60, i64 %82 store i32 %80, ptr %83, align 4 %84 = load i32, ptr %11, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %11, align 4 %86 = load i32, ptr %13, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %13, align 4 br label %66, !llvm.loop !9 88: ; preds = %66 br label %89 89: ; preds = %99, %88 %90 = load i32, ptr %11, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 %91 %93 = load i32, ptr %92, align 4 %94 = load i32, ptr %12, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [1000 x i32], ptr %5, i64 0, i64 %95 %97 = load i32, ptr %96, align 4 %98 = icmp sge i32 %93, %97 br i1 %98, label %99, label %111 99: ; preds = %89 %100 = load i32, ptr %12, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds [1000 x i32], ptr %5, i64 0, i64 %101 %103 = load i32, ptr %102, align 4 %104 = load i32, ptr %13, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %60, i64 %105 store i32 %103, ptr %106, align 4 %107 = load i32, ptr %12, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %12, align 4 %109 = load i32, ptr %13, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %13, align 4 br label %89, !llvm.loop !10 111: ; preds = %89 br label %61, !llvm.loop !11 112: ; preds = %61 %113 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %113, ptr %14, align 8 store i32 0, ptr %15, align 4 br label %114 114: ; preds = %125, %112 %115 = load i32, ptr %15, align 4 %116 = load i32, ptr %8, align 4 %117 = icmp slt i32 %115, %116 br i1 %117, label %118, label %128 118: ; preds = %114 %119 = load ptr, ptr %14, align 8 %120 = load i32, ptr %15, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i32, ptr %60, i64 %121 %123 = load i32, ptr %122, align 4 %124 = call i32 @fprintf(ptr noundef %119, ptr noundef @.str.6, i32 noundef %123) br label %125 125: ; preds = %118 %126 = load i32, ptr %15, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %15, align 4 br label %114, !llvm.loop !12 128: ; preds = %114 store i32 0, ptr %1, align 4 %129 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %129) %130 = load i32, ptr %1, align 4 ret i32 %130 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph5zfcs5w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"res/input1.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"res/input2.txt\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"res/result.txt\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = 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 ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca [1000 x i32], align 16 %5 = alloca [1000 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store i32 0, ptr %1, align 4 %16 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %16, ptr %2, align 8 %17 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1) store ptr %17, ptr %3, align 8 store i32 0, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %18, 1000 br i1 %19, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %0 br label %20 20: ; preds = %.lr.ph, %31 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 %23 %25 = call i32 @fscanf(ptr noundef %21, ptr noundef @.str.3, ptr noundef %24) %26 = load ptr, ptr %2, align 8 %27 = call i64 @feof(ptr noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %20 br label %36 30: ; preds = %20 br label %31 31: ; preds = %30 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp slt i32 %34, 1000 br i1 %35, label %20, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %31 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %0 br label %36 36: ; preds = %.loopexit1, %29 store i32 0, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %37, 1000 br i1 %38, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %36 br label %39 39: ; preds = %.lr.ph2, %50 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [1000 x i32], ptr %5, i64 0, i64 %42 %44 = call i32 @fscanf(ptr noundef %40, ptr noundef @.str.3, ptr noundef %43) %45 = load ptr, ptr %3, align 8 %46 = call i64 @feof(ptr noundef %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %48, label %49 48: ; preds = %39 br label %55 49: ; preds = %39 br label %50 50: ; preds = %49 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 %53 = load i32, ptr %7, align 4 %54 = icmp slt i32 %53, 1000 br i1 %54, label %39, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %50 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %36 br label %55 55: ; preds = %.loopexit, %48 %56 = load i32, ptr %6, align 4 %57 = load i32, ptr %7, align 4 %58 = add nsw i32 %56, %57 store i32 %58, ptr %8, align 4 %59 = load i32, ptr %8, align 4 %60 = zext i32 %59 to i64 %61 = call ptr @llvm.stacksave() store ptr %61, ptr %9, align 8 %62 = alloca i32, i64 %60, align 16 store i64 %60, ptr %10, align 8 store i32 0, ptr %13, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %13, align 4 %63 = load i32, ptr %13, align 4 %64 = load i32, ptr %8, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %.lr.ph8, label %132 .lr.ph8: ; preds = %55 br label %66 66: ; preds = %.lr.ph8, %128 %67 = load i32, ptr %11, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = load i32, ptr %12, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [1000 x i32], ptr %5, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = icmp sle i32 %70, %74 br i1 %75, label %.lr.ph3, label %97 .lr.ph3: ; preds = %66 br label %76 76: ; preds = %.lr.ph3, %76 %77 = load i32, ptr %11, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 %78 %80 = load i32, ptr %79, align 4 %81 = load i32, ptr %13, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %62, i64 %82 store i32 %80, ptr %83, align 4 %84 = load i32, ptr %11, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %11, align 4 %86 = load i32, ptr %13, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %13, align 4 %88 = load i32, ptr %11, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 %89 %91 = load i32, ptr %90, align 4 %92 = load i32, ptr %12, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [1000 x i32], ptr %5, i64 0, i64 %93 %95 = load i32, ptr %94, align 4 %96 = icmp sle i32 %91, %95 br i1 %96, label %76, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %76 br label %97 97: ; preds = %._crit_edge, %66 %98 = load i32, ptr %11, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 %99 %101 = load i32, ptr %100, align 4 %102 = load i32, ptr %12, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [1000 x i32], ptr %5, i64 0, i64 %103 %105 = load i32, ptr %104, align 4 %106 = icmp sge i32 %101, %105 br i1 %106, label %.lr.ph5, label %128 .lr.ph5: ; preds = %97 br label %107 107: ; preds = %.lr.ph5, %107 %108 = load i32, ptr %12, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [1000 x i32], ptr %5, i64 0, i64 %109 %111 = load i32, ptr %110, align 4 %112 = load i32, ptr %13, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i32, ptr %62, i64 %113 store i32 %111, ptr %114, align 4 %115 = load i32, ptr %12, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %12, align 4 %117 = load i32, ptr %13, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %13, align 4 %119 = load i32, ptr %11, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 %120 %122 = load i32, ptr %121, align 4 %123 = load i32, ptr %12, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [1000 x i32], ptr %5, i64 0, i64 %124 %126 = load i32, ptr %125, align 4 %127 = icmp sge i32 %122, %126 br i1 %127, label %107, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %107 br label %128 128: ; preds = %._crit_edge6, %97 %129 = load i32, ptr %13, align 4 %130 = load i32, ptr %8, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %66, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %128 br label %132 132: ; preds = %._crit_edge9, %55 %133 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %133, ptr %14, align 8 store i32 0, ptr %15, align 4 %134 = load i32, ptr %15, align 4 %135 = load i32, ptr %8, align 4 %136 = icmp slt i32 %134, %135 br i1 %136, label %.lr.ph11, label %150 .lr.ph11: ; preds = %132 br label %137 137: ; preds = %.lr.ph11, %144 %138 = load ptr, ptr %14, align 8 %139 = load i32, ptr %15, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i32, ptr %62, i64 %140 %142 = load i32, ptr %141, align 4 %143 = call i32 @fprintf(ptr noundef %138, ptr noundef @.str.6, i32 noundef %142) br label %144 144: ; preds = %137 %145 = load i32, ptr %15, align 4 %146 = add nsw i32 %145, 1 store i32 %146, ptr %15, align 4 %147 = load i32, ptr %15, align 4 %148 = load i32, ptr %8, align 4 %149 = icmp slt i32 %147, %148 br i1 %149, label %137, label %._crit_edge12, !llvm.loop !12 ._crit_edge12: ; preds = %144 br label %150 150: ; preds = %._crit_edge12, %132 store i32 0, ptr %1, align 4 %151 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %151) %152 = load i32, ptr %1, align 4 ret i32 %152 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @feof(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpd6l5x640.c' source_filename = "/tmp/tmpd6l5x640.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @perf_callchain_start(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 @os_perf_callchain_start(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @os_perf_callchain_start(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/tmpd6l5x640.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @perf_callchain_start(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 @os_perf_callchain_start(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @os_perf_callchain_start(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/tmpzk69otwu.c' source_filename = "/tmp/tmpzk69otwu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Enter the letter of your choice:\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"a. advice\09\09b. bell\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"c. count\09\09q. quit\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"Please respond with a, b, c, or q.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @get_choice() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 @printf(ptr noundef @.str.2) %5 = call i32 (...) @get_first() store i32 %5, ptr %1, align 4 br label %6 6: ; preds = %17, %0 %7 = load i32, ptr %1, align 4 %8 = icmp slt i32 %7, 97 br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i32, ptr %1, align 4 %11 = icmp sgt i32 %10, 99 br i1 %11, label %12, label %15 12: ; preds = %9, %6 %13 = load i32, ptr %1, align 4 %14 = icmp ne i32 %13, 113 br label %15 15: ; preds = %12, %9 %16 = phi i1 [ false, %9 ], [ %14, %12 ] br i1 %16, label %17, label %20 17: ; preds = %15 %18 = call i32 @printf(ptr noundef @.str.3) %19 = call i32 (...) @get_first() store i32 %19, ptr %1, align 4 br label %6, !llvm.loop !6 20: ; preds = %15 %21 = load i32, ptr %1, align 4 %22 = trunc i32 %21 to i8 ret i8 %22 } declare i32 @printf(ptr noundef) #1 declare i32 @get_first(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzk69otwu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Enter the letter of your choice:\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"a. advice\09\09b. bell\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"c. count\09\09q. quit\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"Please respond with a, b, c, or q.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @get_choice() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @printf(ptr noundef @.str.1) %4 = call i32 @printf(ptr noundef @.str.2) %5 = call i32 (...) @get_first() store i32 %5, ptr %1, align 4 br label %6 6: ; preds = %17, %0 %7 = load i32, ptr %1, align 4 %8 = icmp slt i32 %7, 97 br i1 %8, label %12, label %9 9: ; preds = %6 %10 = load i32, ptr %1, align 4 %11 = icmp sgt i32 %10, 99 br i1 %11, label %12, label %15 12: ; preds = %9, %6 %13 = load i32, ptr %1, align 4 %14 = icmp ne i32 %13, 113 br label %15 15: ; preds = %12, %9 %16 = phi i1 [ false, %9 ], [ %14, %12 ] br i1 %16, label %17, label %20 17: ; preds = %15 %18 = call i32 @printf(ptr noundef @.str.3) %19 = call i32 (...) @get_first() store i32 %19, ptr %1, align 4 br label %6, !llvm.loop !6 20: ; preds = %15 %21 = load i32, ptr %1, align 4 %22 = trunc i32 %21 to i8 ret i8 %22 } declare i32 @printf(ptr noundef) #1 declare i32 @get_first(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppbpz5q8z.c' source_filename = "/tmp/tmppbpz5q8z.c" target datalayout = "e-m:e-p270: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/tmppbpz5q8z.c" target datalayout = "e-m:e-p270: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/tmp7ut9egqi.c' source_filename = "/tmp/tmp7ut9egqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Podaj liczbe: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"Dzien = %d, Miesiac = %d, Rok = %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 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %7 = load i32, ptr %1, align 4 %8 = and i32 %7, 31 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %1, align 4 %10 = and i32 %9, 480 %11 = ashr i32 %10, 5 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %1, align 4 %13 = and i32 %12, -512 %14 = lshr i32 %13, 9 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15, i32 noundef %16, i32 noundef %17) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7ut9egqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Podaj liczbe: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"Dzien = %d, Miesiac = %d, Rok = %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 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %7 = load i32, ptr %1, align 4 %8 = and i32 %7, 31 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %1, align 4 %10 = and i32 %9, 480 %11 = ashr i32 %10, 5 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %1, align 4 %13 = and i32 %12, -512 %14 = lshr i32 %13, 9 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15, i32 noundef %16, i32 noundef %17) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp864ghh8e.c' source_filename = "/tmp/tmp864ghh8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = sub nsw i32 %3, 1 %5 = call i32 @foo(i32 noundef %4) ret i32 %5 } declare i32 @foo(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp864ghh8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = sub nsw i32 %3, 1 %5 = call i32 @foo(i32 noundef %4) ret i32 %5 } declare i32 @foo(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyrrt9t56.c' source_filename = "/tmp/tmpyrrt9t56.c" target datalayout = "e-m:e-p270: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 [14 x i8] c"thread 1: %u\0A\00", align 1 @SIGQUIT = dso_local global i32 0, align 4 @SIG_BLOCK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"sigprocmask failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load i32, ptr @stderr, align 4 %7 = call i64 (...) @pthread_self() %8 = trunc i64 %7 to i32 %9 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, i32 noundef %8) %10 = call i32 @sigemptyset(ptr noundef %4) %11 = load i32, ptr @SIGQUIT, align 4 %12 = call i32 @sigaddset(ptr noundef %4, i32 noundef %11) %13 = load i32, ptr @SIG_BLOCK, align 4 %14 = call i32 @sigprocmask(i32 noundef %13, ptr noundef %4, ptr noundef null) store i32 %14, ptr %5, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %1 %17 = call i32 @perror_exit(ptr noundef @.str.1) br label %18 18: ; preds = %16, %1 %19 = call i32 (...) @pause() %20 = call i32 @pthread_exit(i32 noundef 0) %21 = load ptr, ptr %2, align 8 ret ptr %21 } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @pthread_self(...) #1 declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror_exit(ptr noundef) #1 declare i32 @pause(...) #1 declare i32 @pthread_exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyrrt9t56.c" target datalayout = "e-m:e-p270: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 [14 x i8] c"thread 1: %u\0A\00", align 1 @SIGQUIT = dso_local global i32 0, align 4 @SIG_BLOCK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [19 x i8] c"sigprocmask failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load i32, ptr @stderr, align 4 %7 = call i64 (...) @pthread_self() %8 = trunc i64 %7 to i32 %9 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, i32 noundef %8) %10 = call i32 @sigemptyset(ptr noundef %4) %11 = load i32, ptr @SIGQUIT, align 4 %12 = call i32 @sigaddset(ptr noundef %4, i32 noundef %11) %13 = load i32, ptr @SIG_BLOCK, align 4 %14 = call i32 @sigprocmask(i32 noundef %13, ptr noundef %4, ptr noundef null) store i32 %14, ptr %5, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %1 %17 = call i32 @perror_exit(ptr noundef @.str.1) br label %18 18: ; preds = %16, %1 %19 = call i32 (...) @pause() %20 = call i32 @pthread_exit(i32 noundef 0) %21 = load ptr, ptr %2, align 8 ret ptr %21 } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @pthread_self(...) #1 declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror_exit(ptr noundef) #1 declare i32 @pause(...) #1 declare i32 @pthread_exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3r87solv.c' source_filename = "/tmp/tmp3r87solv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Brainfuck Compiler V0.05c, Mar 16 2022\0A\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"\09This program is free software; you can redistribute it\0A\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c"\09and/or modify under the terms of GNU GPLv3 or later \0A\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"\09version. This program has absolutely no warranty\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [58 x i8] c"Please don't report any bugs. Or I will fuck you brains!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @exit(i32 noundef 0) #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/tmp3r87solv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Brainfuck Compiler V0.05c, Mar 16 2022\0A\00", align 1 @.str.1 = private unnamed_addr constant [57 x i8] c"\09This program is free software; you can redistribute it\0A\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c"\09and/or modify under the terms of GNU GPLv3 or later \0A\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"\09version. This program has absolutely no warranty\0A\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [58 x i8] c"Please don't report any bugs. Or I will fuck you brains!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @exit(i32 noundef 0) #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/tmpf0z18fsr.c' source_filename = "/tmp/tmpf0z18fsr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"\0ACreating a system from coefficients and supports.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Give the number of variables : \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Give the number of equations : \00", align 1 @.str.4 = private unnamed_addr constant [56 x i8] c"Reading the number of monomials in every polynomial...\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c" Give #monomials in polynomial %d : \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_cosup_poly_system() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %12 = load i32, ptr %2, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %4, align 8 %15 = alloca i32, i64 %13, align 16 store i64 %13, ptr %5, align 8 store i32 0, ptr %6, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %17 17: ; preds = %29, %0 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %32 21: ; preds = %17 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %23) %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %15, i64 %26 %28 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %27) br label %29 29: ; preds = %21 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %3, align 4 br label %17, !llvm.loop !6 32: ; preds = %17 store i32 0, ptr %3, align 4 br label %33 33: ; preds = %44, %32 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %47 37: ; preds = %33 %38 = load i32, ptr %3, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %15, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, %41 store i32 %43, ptr %6, align 4 br label %44 44: ; preds = %37 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 br label %33, !llvm.loop !8 47: ; preds = %33 %48 = load i32, ptr %1, align 4 %49 = load i32, ptr %2, align 4 %50 = load i32, ptr %6, align 4 %51 = call i32 @read_data_system(i32 noundef %48, i32 noundef %49, i32 noundef %50, ptr noundef %15) %52 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %52) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @read_data_system(i32 noundef, i32 noundef, i32 noundef, ptr 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/tmpf0z18fsr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"\0ACreating a system from coefficients and supports.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"Give the number of variables : \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"Give the number of equations : \00", align 1 @.str.4 = private unnamed_addr constant [56 x i8] c"Reading the number of monomials in every polynomial...\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c" Give #monomials in polynomial %d : \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_cosup_poly_system() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %1) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %12 = load i32, ptr %2, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %4, align 8 %15 = alloca i32, i64 %13, align 16 store i64 %13, ptr %5, align 8 store i32 0, ptr %6, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %20 20: ; preds = %.lr.ph, %28 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %22) %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %15, i64 %25 %27 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %26) br label %28 28: ; preds = %20 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %2, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph2, label %51 .lr.ph2: ; preds = %34 br label %38 38: ; preds = %.lr.ph2, %45 %39 = load i32, ptr %3, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %15, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, %42 store i32 %44, ptr %6, align 4 br label %45 45: ; preds = %38 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = load i32, ptr %2, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %51 51: ; preds = %._crit_edge3, %34 %52 = load i32, ptr %1, align 4 %53 = load i32, ptr %2, align 4 %54 = load i32, ptr %6, align 4 %55 = call i32 @read_data_system(i32 noundef %52, i32 noundef %53, i32 noundef %54, ptr noundef %15) %56 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %56) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @read_data_system(i32 noundef, i32 noundef, i32 noundef, ptr 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/tmp249h3un6.c' source_filename = "/tmp/tmp249h3un6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_all(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %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 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %16 16: ; preds = %27, %6 %17 = load i32, ptr %13, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %30 20: ; preds = %16 %21 = call i32 (...) @rand() %22 = srem i32 %21, 65536 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %13, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 store i32 %22, ptr %26, align 4 br label %27 27: ; preds = %20 %28 = load i32, ptr %13, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %13, align 4 br label %16, !llvm.loop !6 30: ; preds = %16 store i32 0, ptr %14, align 4 br label %31 31: ; preds = %42, %30 %32 = load i32, ptr %14, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %45 35: ; preds = %31 %36 = call i32 (...) @rand() %37 = srem i32 %36, 65536 %38 = load ptr, ptr %9, align 8 %39 = load i32, ptr %14, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 store i32 %37, ptr %41, align 4 br label %42 42: ; preds = %35 %43 = load i32, ptr %14, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %14, align 4 br label %31, !llvm.loop !8 45: ; preds = %31 store i32 0, ptr %15, align 4 br label %46 46: ; preds = %57, %45 %47 = load i32, ptr %15, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %60 50: ; preds = %46 %51 = call i32 (...) @rand() %52 = srem i32 %51, 65536 %53 = load ptr, ptr %10, align 8 %54 = load i32, ptr %15, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 store i32 %52, ptr %56, align 4 br label %57 57: ; preds = %50 %58 = load i32, ptr %15, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %15, align 4 br label %46, !llvm.loop !9 60: ; preds = %46 ret void } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp249h3un6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_all(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %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 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 store i32 0, ptr %13, align 4 %16 = load i32, ptr %13, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %32 .lr.ph: ; preds = %6 br label %19 19: ; preds = %.lr.ph, %26 %20 = call i32 (...) @rand() %21 = srem i32 %20, 65536 %22 = load ptr, ptr %8, align 8 %23 = load i32, ptr %13, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 store i32 %21, ptr %25, align 4 br label %26 26: ; preds = %19 %27 = load i32, ptr %13, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %13, align 4 %29 = load i32, ptr %13, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %6 store i32 0, ptr %14, align 4 %33 = load i32, ptr %14, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph2, label %49 .lr.ph2: ; preds = %32 br label %36 36: ; preds = %.lr.ph2, %43 %37 = call i32 (...) @rand() %38 = srem i32 %37, 65536 %39 = load ptr, ptr %9, align 8 %40 = load i32, ptr %14, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 store i32 %38, ptr %42, align 4 br label %43 43: ; preds = %36 %44 = load i32, ptr %14, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %14, align 4 %46 = load i32, ptr %14, align 4 %47 = load i32, ptr %7, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %49 49: ; preds = %._crit_edge3, %32 store i32 0, ptr %15, align 4 %50 = load i32, ptr %15, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %.lr.ph5, label %66 .lr.ph5: ; preds = %49 br label %53 53: ; preds = %.lr.ph5, %60 %54 = call i32 (...) @rand() %55 = srem i32 %54, 65536 %56 = load ptr, ptr %10, align 8 %57 = load i32, ptr %15, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 store i32 %55, ptr %59, align 4 br label %60 60: ; preds = %53 %61 = load i32, ptr %15, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %15, align 4 %63 = load i32, ptr %15, align 4 %64 = load i32, ptr %7, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %53, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %60 br label %66 66: ; preds = %._crit_edge6, %49 ret void } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpbq21yjqc.c' source_filename = "/tmp/tmpbq21yjqc.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbq21yjqc.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnehv1kw4.c' source_filename = "/tmp/tmpnehv1kw4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Bad command args\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Creating %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"wb\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 i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %43 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16) %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.2) store ptr %21, ptr %6, align 8 store i32 0, ptr %8, align 4 br label %22 22: ; preds = %37, %13 %23 = load i32, ptr %8, align 4 %24 = icmp ule i32 %23, 255 br i1 %24, label %25, label %40 25: ; preds = %22 store i32 0, ptr %7, align 4 br label %26 26: ; preds = %33, %25 %27 = load i32, ptr %7, align 4 %28 = icmp ule i32 %27, 255 br i1 %28, label %29, label %36 29: ; preds = %26 %30 = load i32, ptr %7, align 4 %31 = load ptr, ptr %6, align 8 %32 = call i32 @fputc(i32 noundef %30, ptr noundef %31) br label %33 33: ; preds = %29 %34 = load i32, ptr %7, align 4 %35 = add i32 %34, 1 store i32 %35, ptr %7, align 4 br label %26, !llvm.loop !6 36: ; preds = %26 br label %37 37: ; preds = %36 %38 = load i32, ptr %8, align 4 %39 = add i32 %38, 1 store i32 %39, ptr %8, align 4 br label %22, !llvm.loop !8 40: ; preds = %22 %41 = load ptr, ptr %6, align 8 %42 = call i32 @fclose(ptr noundef %41) store i32 0, ptr %3, align 4 br label %43 43: ; preds = %40, %11 %44 = load i32, ptr %3, align 4 ret i32 %44 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnehv1kw4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Bad command args\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Creating %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"wb\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 i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %45 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16) %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.2) store ptr %21, ptr %6, align 8 store i32 0, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp ule i32 %22, 255 br i1 %23, label %.lr.ph2, label %42 .lr.ph2: ; preds = %13 br label %24 24: ; preds = %.lr.ph2, %37 store i32 0, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp ule i32 %25, 255 br i1 %26, label %.lr.ph, label %36 .lr.ph: ; preds = %24 br label %27 27: ; preds = %.lr.ph, %31 %28 = load i32, ptr %7, align 4 %29 = load ptr, ptr %6, align 8 %30 = call i32 @fputc(i32 noundef %28, ptr noundef %29) br label %31 31: ; preds = %27 %32 = load i32, ptr %7, align 4 %33 = add i32 %32, 1 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp ule i32 %34, 255 br i1 %35, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %24 br label %37 37: ; preds = %36 %38 = load i32, ptr %8, align 4 %39 = add i32 %38, 1 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = icmp ule i32 %40, 255 br i1 %41, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %42 42: ; preds = %._crit_edge3, %13 %43 = load ptr, ptr %6, align 8 %44 = call i32 @fclose(ptr noundef %43) store i32 0, ptr %3, align 4 br label %45 45: ; preds = %42, %11 %46 = load i32, ptr %3, align 4 ret i32 %46 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6rc9_wvn.c' source_filename = "/tmp/tmp6rc9_wvn.c" target datalayout = "e-m:e-p270: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/tmp6rc9_wvn.c" target datalayout = "e-m:e-p270: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/tmpy249e9me.c' source_filename = "/tmp/tmpy249e9me.c" target datalayout = "e-m:e-p270: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/tmpy249e9me.c" target datalayout = "e-m:e-p270: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/tmpdqtjz9jk.c' source_filename = "/tmp/tmpdqtjz9jk.c" target datalayout = "e-m:e-p270: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 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wait_for_process(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 br label %7 7: ; preds = %32, %2 %8 = load i32, ptr %4, align 4 %9 = call i32 @waitpid(i32 noundef %8, ptr noundef %5, i32 noundef 0) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %17 12: ; preds = %7 %13 = load i64, ptr @errno, align 8 %14 = load i64, ptr @EINTR, align 8 %15 = icmp ne i64 %13, %14 br i1 %15, label %16, label %17 16: ; preds = %12 br label %35 17: ; preds = %12, %7 br label %18 18: ; preds = %17 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %32 22: ; preds = %18 %23 = load i32, ptr %5, align 4 %24 = call i64 @WIFEXITED(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %22 %27 = load i32, ptr %5, align 4 %28 = call i64 @WIFSIGNALED(i32 noundef %27) %29 = icmp ne i64 %28, 0 br label %30 30: ; preds = %26, %22 %31 = phi i1 [ true, %22 ], [ %29, %26 ] br label %32 32: ; preds = %30, %18 %33 = phi i1 [ false, %18 ], [ %31, %30 ] %34 = xor i1 %33, true br i1 %34, label %7, label %35, !llvm.loop !6 35: ; preds = %32, %16 ret void } declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(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/tmpdqtjz9jk.c" target datalayout = "e-m:e-p270: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 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wait_for_process(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 br label %7 7: ; preds = %32, %2 %8 = load i32, ptr %4, align 4 %9 = call i32 @waitpid(i32 noundef %8, ptr noundef %5, i32 noundef 0) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %17 12: ; preds = %7 %13 = load i64, ptr @errno, align 8 %14 = load i64, ptr @EINTR, align 8 %15 = icmp ne i64 %13, %14 br i1 %15, label %16, label %17 16: ; preds = %12 br label %35 17: ; preds = %12, %7 br label %18 18: ; preds = %17 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %32 22: ; preds = %18 %23 = load i32, ptr %5, align 4 %24 = call i64 @WIFEXITED(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %22 %27 = load i32, ptr %5, align 4 %28 = call i64 @WIFSIGNALED(i32 noundef %27) %29 = icmp ne i64 %28, 0 br label %30 30: ; preds = %26, %22 %31 = phi i1 [ true, %22 ], [ %29, %26 ] br label %32 32: ; preds = %30, %18 %33 = phi i1 [ false, %18 ], [ %31, %30 ] %34 = xor i1 %33, true br i1 %34, label %7, label %.loopexit, !llvm.loop !6 .loopexit: ; preds = %32 br label %35 35: ; preds = %.loopexit, %16 ret void } declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(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/tmp92kuhktd.c' source_filename = "/tmp/tmp92kuhktd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EEXIST = dso_local global i64 0, align 8 @O_RDONLY = dso_local global i32 0, align 4 @S_IFBLK = dso_local global i32 0, align 4 @S_IRWXU = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92kuhktd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EEXIST = dso_local global i64 0, align 8 @O_RDONLY = dso_local global i32 0, align 4 @S_IFBLK = dso_local global i32 0, align 4 @S_IRWXU = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp53uoi4gc.c' source_filename = "/tmp/tmp53uoi4gc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AInserisci il voto numero %d: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"\0ALa media dei voti \C3\A8: %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"pause\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 float, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 br label %10 10: ; preds = %22, %2 %11 = load i32, ptr %8, align 4 %12 = icmp slt i32 %11, 10 br i1 %12, label %13, label %25 13: ; preds = %10 %14 = load i32, ptr %8, align 4 %15 = add nsw i32 %14, 1 %16 = sitofp i32 %15 to float %17 = call i32 @printf(ptr noundef @.str, float noundef %16) %18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, %19 store i32 %21, ptr %6, align 4 br label %22 22: ; preds = %13 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %8, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = load i32, ptr %6, align 4 %27 = sitofp i32 %26 to double %28 = fdiv double %27, 1.000000e+01 %29 = fptrunc double %28 to float store float %29, ptr %9, align 4 %30 = load float, ptr %9, align 4 %31 = call i32 @printf(ptr noundef @.str.2, float noundef %30) %32 = call i32 @system(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, float noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp53uoi4gc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AInserisci il voto numero %d: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"\0ALa media dei voti \C3\A8: %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"pause\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 float, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = icmp slt i32 %10, 10 br i1 %11, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %21 %13 = load i32, ptr %8, align 4 %14 = add nsw i32 %13, 1 %15 = sitofp i32 %14 to float %16 = call i32 @printf(ptr noundef @.str, float noundef %15) %17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7) %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, %18 store i32 %20, ptr %6, align 4 br label %21 21: ; preds = %12 %22 = load i32, ptr %8, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp slt i32 %24, 10 br i1 %25, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %2 %27 = load i32, ptr %6, align 4 %28 = sitofp i32 %27 to double %29 = fdiv double %28, 1.000000e+01 %30 = fptrunc double %29 to float store float %30, ptr %9, align 4 %31 = load float, ptr %9, align 4 %32 = call i32 @printf(ptr noundef @.str.2, float noundef %31) %33 = call i32 @system(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, float noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpgtn3zvgj.c' source_filename = "/tmp/tmpgtn3zvgj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"+0\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"+x\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"+x%d\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"-x\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"-x%d\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"%dx\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"%dx%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 101, ptr %4, align 4 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %5, align 8 %14 = alloca i32, i64 101, align 16 store i32 0, ptr %6, align 4 br label %15 15: ; preds = %23, %0 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = icmp ult i64 %17, 101 br i1 %18, label %19, label %26 19: ; preds = %15 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %14, i64 %21 store i32 0, ptr %22, align 4 br label %23 23: ; preds = %19 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 br label %15, !llvm.loop !6 26: ; preds = %15 store i32 0, ptr %7, align 4 br label %27 27: ; preds = %50, %26 %28 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %51 30: ; preds = %27 %31 = load i32, ptr %2, align 4 %32 = sub nsw i32 101, %31 %33 = sub nsw i32 %32, 1 store i32 %33, ptr %8, align 4 %34 = call i64 @scanf(ptr noundef @.str, ptr noundef %3) %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %14, i64 %37 %39 = load i32, ptr %38, align 4 %40 = add nsw i32 %39, %35 store i32 %40, ptr %38, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %30 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %46 46: ; preds = %43, %30 %47 = load i32, ptr %7, align 4 %48 = icmp eq i32 %47, 2 br i1 %48, label %49, label %50 49: ; preds = %46 br label %51 50: ; preds = %46 br label %27, !llvm.loop !8 51: ; preds = %49, %27 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %52 52: ; preds = %154, %51 %53 = load i32, ptr %11, align 4 %54 = icmp slt i32 %53, 101 br i1 %54, label %55, label %157 55: ; preds = %52 %56 = load i32, ptr %11, align 4 %57 = sub nsw i32 100, %56 store i32 %57, ptr %12, align 4 %58 = load i32, ptr %12, align 4 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %87 60: ; preds = %55 %61 = load i32, ptr %11, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %14, i64 %62 %64 = load i32, ptr %63, align 4 switch i32 %64, label %73 [ i32 0, label %65 ] 65: ; preds = %60 %66 = load i32, ptr %9, align 4 %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %70 68: ; preds = %65 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %72 70: ; preds = %65 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0) br label %72 72: ; preds = %70, %68 br label %86 73: ; preds = %60 %74 = load i32, ptr %11, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %14, i64 %75 %77 = load i32, ptr %76, align 4 %78 = icmp sgt i32 %77, 0 br i1 %78, label %79, label %85 79: ; preds = %73 %80 = load i32, ptr %11, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %14, i64 %81 %83 = load i32, ptr %82, align 4 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %83) br label %85 85: ; preds = %79, %73 br label %86 86: ; preds = %85, %72 br label %153 87: ; preds = %55 %88 = load i32, ptr %11, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %14, i64 %89 %91 = load i32, ptr %90, align 4 switch i32 %91, label %111 [ i32 0, label %92 i32 1, label %93 i32 -1, label %102 ] 92: ; preds = %87 br label %139 93: ; preds = %87 %94 = load i32, ptr %12, align 4 %95 = icmp eq i32 %94, 1 br i1 %95, label %96, label %98 96: ; preds = %93 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %101 98: ; preds = %93 %99 = load i32, ptr %12, align 4 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %99) br label %101 101: ; preds = %98, %96 br label %139 102: ; preds = %87 %103 = load i32, ptr %12, align 4 %104 = icmp eq i32 %103, 1 br i1 %104, label %105, label %107 105: ; preds = %102 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %110 107: ; preds = %102 %108 = load i32, ptr %12, align 4 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %108) br label %110 110: ; preds = %107, %105 br label %139 111: ; preds = %87 %112 = load i32, ptr %11, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i32, ptr %14, i64 %113 %115 = load i32, ptr %114, align 4 %116 = icmp sgt i32 %115, 0 br i1 %116, label %117, label %122 117: ; preds = %111 %118 = load i32, ptr %10, align 4 %119 = icmp sgt i32 %118, 0 br i1 %119, label %120, label %122 120: ; preds = %117 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %122 122: ; preds = %120, %117, %111 %123 = load i32, ptr %12, align 4 %124 = icmp eq i32 %123, 1 br i1 %124, label %125, label %131 125: ; preds = %122 %126 = load i32, ptr %11, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i32, ptr %14, i64 %127 %129 = load i32, ptr %128, align 4 %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %129) br label %138 131: ; preds = %122 %132 = load i32, ptr %11, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i32, ptr %14, i64 %133 %135 = load i32, ptr %134, align 4 %136 = load i32, ptr %12, align 4 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %135, i32 noundef %136) br label %138 138: ; preds = %131, %125 br label %139 139: ; preds = %138, %110, %101, %92 %140 = load i32, ptr %11, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds i32, ptr %14, i64 %141 %143 = load i32, ptr %142, align 4 %144 = icmp ne i32 %143, 0 br i1 %144, label %145, label %152 145: ; preds = %139 %146 = load i32, ptr %11, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i32, ptr %14, i64 %147 %149 = load i32, ptr %148, align 4 store i32 %149, ptr %9, align 4 %150 = load i32, ptr %10, align 4 %151 = add nsw i32 %150, 1 store i32 %151, ptr %10, align 4 br label %152 152: ; preds = %145, %139 br label %153 153: ; preds = %152, %86 br label %154 154: ; preds = %153 %155 = load i32, ptr %11, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %11, align 4 br label %52, !llvm.loop !9 157: ; preds = %52 store i32 0, ptr %1, align 4 %158 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %158) %159 = load i32, ptr %1, align 4 ret i32 %159 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i64 @scanf(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgtn3zvgj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"+0\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"+x\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"+x%d\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"-x\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"-x%d\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"%dx\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"%dx%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 101, ptr %4, align 4 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %5, align 8 %14 = alloca i32, i64 101, align 16 store i32 0, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = icmp ult i64 %16, 101 br i1 %17, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %22 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %14, i64 %20 store i32 0, ptr %21, align 4 br label %22 22: ; preds = %18 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = icmp ult i64 %26, 101 br i1 %27, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %0 store i32 0, ptr %7, align 4 %29 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %30 = icmp ne i64 %29, 0 br i1 %30, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %28 br label %34 31: ; preds = %50 %32 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %..loopexit_crit_edge, !llvm.loop !8 34: ; preds = %.lr.ph2, %31 %35 = load i32, ptr %2, align 4 %36 = sub nsw i32 101, %35 %37 = sub nsw i32 %36, 1 store i32 %37, ptr %8, align 4 %38 = call i64 @scanf(ptr noundef @.str, ptr noundef %3) %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %14, i64 %41 %43 = load i32, ptr %42, align 4 %44 = add nsw i32 %43, %39 store i32 %44, ptr %42, align 4 %45 = load i32, ptr %2, align 4 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %50 47: ; preds = %34 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 br label %50 50: ; preds = %47, %34 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %51, 2 br i1 %52, label %53, label %31 53: ; preds = %50 br label %54 ..loopexit_crit_edge: ; preds = %31 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %28 br label %54 54: ; preds = %.loopexit, %53 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %55 = load i32, ptr %11, align 4 %56 = icmp slt i32 %55, 101 br i1 %56, label %.lr.ph4, label %161 .lr.ph4: ; preds = %54 br label %57 57: ; preds = %.lr.ph4, %156 %58 = load i32, ptr %11, align 4 %59 = sub nsw i32 100, %58 store i32 %59, ptr %12, align 4 %60 = load i32, ptr %12, align 4 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %89 62: ; preds = %57 %63 = load i32, ptr %11, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %14, i64 %64 %66 = load i32, ptr %65, align 4 switch i32 %66, label %75 [ i32 0, label %67 ] 67: ; preds = %62 %68 = load i32, ptr %9, align 4 %69 = icmp ne i32 %68, 0 br i1 %69, label %70, label %72 70: ; preds = %67 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %74 72: ; preds = %67 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0) br label %74 74: ; preds = %72, %70 br label %88 75: ; preds = %62 %76 = load i32, ptr %11, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %14, i64 %77 %79 = load i32, ptr %78, align 4 %80 = icmp sgt i32 %79, 0 br i1 %80, label %81, label %87 81: ; preds = %75 %82 = load i32, ptr %11, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %14, i64 %83 %85 = load i32, ptr %84, align 4 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %85) br label %87 87: ; preds = %81, %75 br label %88 88: ; preds = %87, %74 br label %155 89: ; preds = %57 %90 = load i32, ptr %11, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %14, i64 %91 %93 = load i32, ptr %92, align 4 switch i32 %93, label %113 [ i32 0, label %94 i32 1, label %95 i32 -1, label %104 ] 94: ; preds = %89 br label %141 95: ; preds = %89 %96 = load i32, ptr %12, align 4 %97 = icmp eq i32 %96, 1 br i1 %97, label %98, label %100 98: ; preds = %95 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %103 100: ; preds = %95 %101 = load i32, ptr %12, align 4 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %101) br label %103 103: ; preds = %100, %98 br label %141 104: ; preds = %89 %105 = load i32, ptr %12, align 4 %106 = icmp eq i32 %105, 1 br i1 %106, label %107, label %109 107: ; preds = %104 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %112 109: ; preds = %104 %110 = load i32, ptr %12, align 4 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %110) br label %112 112: ; preds = %109, %107 br label %141 113: ; preds = %89 %114 = load i32, ptr %11, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %14, i64 %115 %117 = load i32, ptr %116, align 4 %118 = icmp sgt i32 %117, 0 br i1 %118, label %119, label %124 119: ; preds = %113 %120 = load i32, ptr %10, align 4 %121 = icmp sgt i32 %120, 0 br i1 %121, label %122, label %124 122: ; preds = %119 %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %124 124: ; preds = %122, %119, %113 %125 = load i32, ptr %12, align 4 %126 = icmp eq i32 %125, 1 br i1 %126, label %127, label %133 127: ; preds = %124 %128 = load i32, ptr %11, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds i32, ptr %14, i64 %129 %131 = load i32, ptr %130, align 4 %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %131) br label %140 133: ; preds = %124 %134 = load i32, ptr %11, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds i32, ptr %14, i64 %135 %137 = load i32, ptr %136, align 4 %138 = load i32, ptr %12, align 4 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %137, i32 noundef %138) br label %140 140: ; preds = %133, %127 br label %141 141: ; preds = %140, %112, %103, %94 %142 = load i32, ptr %11, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i32, ptr %14, i64 %143 %145 = load i32, ptr %144, align 4 %146 = icmp ne i32 %145, 0 br i1 %146, label %147, label %154 147: ; preds = %141 %148 = load i32, ptr %11, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds i32, ptr %14, i64 %149 %151 = load i32, ptr %150, align 4 store i32 %151, ptr %9, align 4 %152 = load i32, ptr %10, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %10, align 4 br label %154 154: ; preds = %147, %141 br label %155 155: ; preds = %154, %88 br label %156 156: ; preds = %155 %157 = load i32, ptr %11, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %11, align 4 %159 = load i32, ptr %11, align 4 %160 = icmp slt i32 %159, 101 br i1 %160, label %57, label %._crit_edge5, !llvm.loop !9 ._crit_edge5: ; preds = %156 br label %161 161: ; preds = %._crit_edge5, %54 store i32 0, ptr %1, align 4 %162 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %162) %163 = load i32, ptr %1, align 4 ret i32 %163 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i64 @scanf(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpfmfi6789.c' source_filename = "/tmp/tmpfmfi6789.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"# c::cephes::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"sici\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %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 (...) @print_version() store i32 0, ptr %3, align 4 br label %7 7: ; preds = %18, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %21 10: ; preds = %7 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %12 = call double (...) @benchmark() store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call i32 @print_results(double noundef %13) %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(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/tmpfmfi6789.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"# c::cephes::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"sici\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %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 (...) @print_version() store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %17 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %11 = call double (...) @benchmark() store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call i32 @print_results(double noundef %12) %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(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/tmp7np395m7.c' source_filename = "/tmp/tmp7np395m7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pyi_setenv(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @setenv(ptr noundef %6, ptr noundef %7, i32 noundef 1) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7np395m7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pyi_setenv(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @setenv(ptr noundef %6, ptr noundef %7, i32 noundef 1) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_m5g0p8g.c' source_filename = "/tmp/tmp_m5g0p8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AT24C02_WriteBytes(i8 noundef zeroext %0, ptr noundef %1, i8 noundef zeroext %2) #0 { %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 store i8 0, ptr %7, align 1 br label %8 8: ; preds = %23, %3 %9 = load i8, ptr %7, align 1 %10 = zext i8 %9 to i32 %11 = load i8, ptr %6, align 1 %12 = zext i8 %11 to i32 %13 = icmp slt i32 %10, %12 br i1 %13, label %14, label %26 14: ; preds = %8 %15 = load i8, ptr %4, align 1 %16 = load ptr, ptr %5, align 8 %17 = call i32 @I2C_WriteByte(i32 noundef 80, i8 noundef zeroext %15, ptr noundef %16) %18 = load i8, ptr %4, align 1 %19 = add i8 %18, 1 store i8 %19, ptr %4, align 1 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %5, align 8 %22 = call i32 @DelayXms(i32 noundef 5) br label %23 23: ; preds = %14 %24 = load i8, ptr %7, align 1 %25 = add i8 %24, 1 store i8 %25, ptr %7, align 1 br label %8, !llvm.loop !6 26: ; preds = %8 ret void } declare i32 @I2C_WriteByte(i32 noundef, i8 noundef zeroext, ptr noundef) #1 declare i32 @DelayXms(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_m5g0p8g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AT24C02_WriteBytes(i8 noundef zeroext %0, ptr noundef %1, i8 noundef zeroext %2) #0 { %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 store i8 0, ptr %7, align 1 %8 = load i8, ptr %7, align 1 %9 = zext i8 %8 to i32 %10 = load i8, ptr %6, align 1 %11 = zext i8 %10 to i32 %12 = icmp slt i32 %9, %11 br i1 %12, label %.lr.ph, label %30 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %22 %14 = load i8, ptr %4, align 1 %15 = load ptr, ptr %5, align 8 %16 = call i32 @I2C_WriteByte(i32 noundef 80, i8 noundef zeroext %14, ptr noundef %15) %17 = load i8, ptr %4, align 1 %18 = add i8 %17, 1 store i8 %18, ptr %4, align 1 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %5, align 8 %21 = call i32 @DelayXms(i32 noundef 5) br label %22 22: ; preds = %13 %23 = load i8, ptr %7, align 1 %24 = add i8 %23, 1 store i8 %24, ptr %7, align 1 %25 = load i8, ptr %7, align 1 %26 = zext i8 %25 to i32 %27 = load i8, ptr %6, align 1 %28 = zext i8 %27 to i32 %29 = icmp slt i32 %26, %28 br i1 %29, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %30 30: ; preds = %._crit_edge, %3 ret void } declare i32 @I2C_WriteByte(i32 noundef, i8 noundef zeroext, ptr noundef) #1 declare i32 @DelayXms(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/tmpe58lx7m1.c' source_filename = "/tmp/tmpe58lx7m1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c" \\ ^__^\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c" (oo)\\_______\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c" (__)\\ )\\/\\\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c" ||----w |\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c" || ||\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cow(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 @dprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr %2, align 4 %6 = call i32 @dprintf(i32 noundef %5, ptr noundef @.str.1) %7 = load i32, ptr %2, align 4 %8 = call i32 @dprintf(i32 noundef %7, ptr noundef @.str.2) %9 = load i32, ptr %2, align 4 %10 = call i32 @dprintf(i32 noundef %9, ptr noundef @.str.3) %11 = load i32, ptr %2, align 4 %12 = call i32 @dprintf(i32 noundef %11, ptr noundef @.str.4) ret void } declare i32 @dprintf(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/tmpe58lx7m1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c" \\ ^__^\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c" (oo)\\_______\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c" (__)\\ )\\/\\\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c" ||----w |\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c" || ||\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cow(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 @dprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr %2, align 4 %6 = call i32 @dprintf(i32 noundef %5, ptr noundef @.str.1) %7 = load i32, ptr %2, align 4 %8 = call i32 @dprintf(i32 noundef %7, ptr noundef @.str.2) %9 = load i32, ptr %2, align 4 %10 = call i32 @dprintf(i32 noundef %9, ptr noundef @.str.3) %11 = load i32, ptr %2, align 4 %12 = call i32 @dprintf(i32 noundef %11, ptr noundef @.str.4) ret void } declare i32 @dprintf(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/tmp21bw7dnf.c' source_filename = "/tmp/tmp21bw7dnf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT32_MIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rconvfpofxp(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 500000000, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr @INT32_MIN, align 4 store i32 %6, ptr %5, align 4 br label %7 7: ; preds = %29, %1 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = add i32 %14, %15 %17 = icmp ult i32 %16, 999999999 br label %18 18: ; preds = %13, %10, %7 %19 = phi i1 [ false, %10 ], [ false, %7 ], [ %17, %13 ] br i1 %19, label %20, label %34 20: ; preds = %18 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %5, align 4 %23 = and i32 %21, %22 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = add i32 %27, %26 store i32 %28, ptr %4, align 4 br label %29 29: ; preds = %25, %20 %30 = load i32, ptr %2, align 4 %31 = shl i32 %30, 1 store i32 %31, ptr %2, align 4 %32 = load i32, ptr %3, align 4 %33 = lshr i32 %32, 1 store i32 %33, ptr %3, align 4 br label %7, !llvm.loop !6 34: ; preds = %18 %35 = load i32, ptr %4, align 4 ret i32 %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp21bw7dnf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT32_MIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rconvfpofxp(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 500000000, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr @INT32_MIN, align 4 store i32 %6, ptr %5, align 4 br label %7 7: ; preds = %29, %1 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = add i32 %14, %15 %17 = icmp ult i32 %16, 999999999 br label %18 18: ; preds = %13, %10, %7 %19 = phi i1 [ false, %10 ], [ false, %7 ], [ %17, %13 ] br i1 %19, label %20, label %34 20: ; preds = %18 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %5, align 4 %23 = and i32 %21, %22 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = add i32 %27, %26 store i32 %28, ptr %4, align 4 br label %29 29: ; preds = %25, %20 %30 = load i32, ptr %2, align 4 %31 = shl i32 %30, 1 store i32 %31, ptr %2, align 4 %32 = load i32, ptr %3, align 4 %33 = lshr i32 %32, 1 store i32 %33, ptr %3, align 4 br label %7, !llvm.loop !6 34: ; preds = %18 %35 = load i32, ptr %4, align 4 ret i32 %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpa3ke9qhv.c' source_filename = "/tmp/tmpa3ke9qhv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @asciihex2int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @sscanf(ptr noundef %4, ptr noundef @.str, ptr noundef %3) %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @sscanf(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/tmpa3ke9qhv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @asciihex2int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @sscanf(ptr noundef %4, ptr noundef @.str, ptr noundef %3) %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @sscanf(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/tmp3hzvnibt.c' source_filename = "/tmp/tmp3hzvnibt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"++ testdlr_plugin: START ++\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"++ testdlr_plugin: END ++\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @testdlr_plugin_func() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @testdlr_lib1_func() %3 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @testdlr_lib1_func(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3hzvnibt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"++ testdlr_plugin: START ++\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"++ testdlr_plugin: END ++\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @testdlr_plugin_func() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @testdlr_lib1_func() %3 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @testdlr_lib1_func(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8brgb613.c' source_filename = "/tmp/tmp8brgb613.c" target datalayout = "e-m:e-p270: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/tmp8brgb613.c" target datalayout = "e-m:e-p270: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/tmpb7fsy8c8.c' source_filename = "/tmp/tmpb7fsy8c8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysCtlADCSpeedSet(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load volatile i32, ptr inttoptr (i64 1074782464 to ptr), align 4 %4 = and i32 %3, -3841 %5 = load i32, ptr %2, align 4 %6 = or i32 %4, %5 store volatile i32 %6, ptr inttoptr (i64 1074782464 to ptr), align 4 %7 = load volatile i32, ptr inttoptr (i64 1074782480 to ptr), align 4 %8 = and i32 %7, -3841 %9 = load i32, ptr %2, align 4 %10 = or i32 %8, %9 store volatile i32 %10, ptr inttoptr (i64 1074782480 to ptr), align 4 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/tmpb7fsy8c8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysCtlADCSpeedSet(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load volatile i32, ptr inttoptr (i64 1074782464 to ptr), align 4 %4 = and i32 %3, -3841 %5 = load i32, ptr %2, align 4 %6 = or i32 %4, %5 store volatile i32 %6, ptr inttoptr (i64 1074782464 to ptr), align 4 %7 = load volatile i32, ptr inttoptr (i64 1074782480 to ptr), align 4 %8 = and i32 %7, -3841 %9 = load i32, ptr %2, align 4 %10 = or i32 %8, %9 store volatile i32 %10, ptr inttoptr (i64 1074782480 to ptr), align 4 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/tmpoy_iikz8.c' source_filename = "/tmp/tmpoy_iikz8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @message_putstringz(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @ascii_lengthz(ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = call i32 @message_putbuffer(ptr noundef %7, i32 noundef %9, ptr noundef %10, i32 noundef %11) ret i32 %12 } declare i32 @message_putbuffer(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @ascii_lengthz(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoy_iikz8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @message_putstringz(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @ascii_lengthz(ptr noundef %8) %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = call i32 @message_putbuffer(ptr noundef %7, i32 noundef %9, ptr noundef %10, i32 noundef %11) ret i32 %12 } declare i32 @message_putbuffer(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @ascii_lengthz(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2qqaoq05.c' source_filename = "/tmp/tmp2qqaoq05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Usage: mkbl1 <source file> <destination file>\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Alloc buffer failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"source file open error\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [24 x i8] c"source file read error\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"destination file open error\0A\00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c"destination file write error\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 ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 %15, 3 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %129 19: ; preds = %2 store i32 8192, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = call i64 @malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %27, label %25 25: ; preds = %19 %26 = call i32 @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %129 27: ; preds = %19 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %9, align 4 %30 = call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %29) %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.2) store ptr %34, ptr %6, align 8 %35 = load ptr, ptr %6, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %41 37: ; preds = %27 %38 = call i32 @printf(ptr noundef @.str.3) %39 = load ptr, ptr %7, align 8 %40 = call i32 @free(ptr noundef %39) store i32 -1, ptr %3, align 4 br label %129 41: ; preds = %27 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr @SEEK_END, align 4 %44 = call i32 @fseek(ptr noundef %42, i64 noundef 0, i32 noundef %43) %45 = load ptr, ptr %6, align 8 %46 = call i32 @ftell(ptr noundef %45) store i32 %46, ptr %11, align 4 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr @SEEK_SET, align 4 %49 = call i32 @fseek(ptr noundef %47, i64 noundef 0, i32 noundef %48) %50 = load i32, ptr %11, align 4 %51 = icmp slt i32 %50, 8176 br i1 %51, label %52, label %54 52: ; preds = %41 %53 = load i32, ptr %11, align 4 br label %55 54: ; preds = %41 br label %55 55: ; preds = %54, %52 %56 = phi i32 [ %53, %52 ], [ 8176, %54 ] store i32 %56, ptr %13, align 4 %57 = load ptr, ptr %7, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 0 store i8 0, ptr %58, align 1 %59 = load ptr, ptr %7, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 store i8 32, ptr %60, align 1 %61 = load ptr, ptr %7, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 16 %63 = load i32, ptr %13, align 4 %64 = load ptr, ptr %6, align 8 %65 = call i32 @fread(ptr noundef %62, i32 noundef 1, i32 noundef %63, ptr noundef %64) store i32 %65, ptr %10, align 4 %66 = load i32, ptr %10, align 4 %67 = load i32, ptr %13, align 4 %68 = icmp ne i32 %66, %67 br i1 %68, label %69, label %75 69: ; preds = %55 %70 = call i32 @printf(ptr noundef @.str.4) %71 = load ptr, ptr %7, align 8 %72 = call i32 @free(ptr noundef %71) %73 = load ptr, ptr %6, align 8 %74 = call i32 @fclose(ptr noundef %73) store i32 -1, ptr %3, align 4 br label %129 75: ; preds = %55 %76 = load ptr, ptr %6, align 8 %77 = call i32 @fclose(ptr noundef %76) %78 = load ptr, ptr %7, align 8 %79 = getelementptr inbounds i8, ptr %78, i64 16 store ptr %79, ptr %8, align 8 store i32 0, ptr %14, align 4 store i32 0, ptr %12, align 4 br label %80 80: ; preds = %91, %75 %81 = load i32, ptr %14, align 4 %82 = icmp slt i32 %81, 8176 br i1 %82, label %83, label %94 83: ; preds = %80 %84 = load ptr, ptr %8, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %8, align 8 %86 = load i8, ptr %84, align 1 %87 = sext i8 %86 to i32 %88 = and i32 255, %87 %89 = load i32, ptr %12, align 4 %90 = add i32 %89, %88 store i32 %90, ptr %12, align 4 br label %91 91: ; preds = %83 %92 = load i32, ptr %14, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %14, align 4 br label %80, !llvm.loop !6 94: ; preds = %80 %95 = load ptr, ptr %7, align 8 %96 = getelementptr inbounds i8, ptr %95, i64 8 store ptr %96, ptr %8, align 8 %97 = load i32, ptr %12, align 4 %98 = load ptr, ptr %8, align 8 store i32 %97, ptr %98, align 4 %99 = load ptr, ptr %5, align 8 %100 = getelementptr inbounds ptr, ptr %99, i64 2 %101 = load ptr, ptr %100, align 8 %102 = call ptr @fopen(ptr noundef %101, ptr noundef @.str.5) store ptr %102, ptr %6, align 8 %103 = load ptr, ptr %6, align 8 %104 = icmp eq ptr %103, null br i1 %104, label %105, label %109 105: ; preds = %94 %106 = call i32 @printf(ptr noundef @.str.6) %107 = load ptr, ptr %7, align 8 %108 = call i32 @free(ptr noundef %107) store i32 -1, ptr %3, align 4 br label %129 109: ; preds = %94 %110 = load ptr, ptr %7, align 8 store ptr %110, ptr %8, align 8 %111 = load ptr, ptr %8, align 8 %112 = load i32, ptr %9, align 4 %113 = load ptr, ptr %6, align 8 %114 = call i32 @fwrite(ptr noundef %111, i32 noundef 1, i32 noundef %112, ptr noundef %113) store i32 %114, ptr %10, align 4 %115 = load i32, ptr %10, align 4 %116 = load i32, ptr %9, align 4 %117 = icmp ne i32 %115, %116 br i1 %117, label %118, label %124 118: ; preds = %109 %119 = call i32 @printf(ptr noundef @.str.7) %120 = load ptr, ptr %7, align 8 %121 = call i32 @free(ptr noundef %120) %122 = load ptr, ptr %6, align 8 %123 = call i32 @fclose(ptr noundef %122) store i32 -1, ptr %3, align 4 br label %129 124: ; preds = %109 %125 = load ptr, ptr %7, align 8 %126 = call i32 @free(ptr noundef %125) %127 = load ptr, ptr %6, align 8 %128 = call i32 @fclose(ptr noundef %127) store i32 0, ptr %3, align 4 br label %129 129: ; preds = %124, %118, %105, %69, %37, %25, %17 %130 = load i32, ptr %3, align 4 ret i32 %130 } declare i32 @printf(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2qqaoq05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Usage: mkbl1 <source file> <destination file>\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Alloc buffer failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"source file open error\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [24 x i8] c"source file read error\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"destination file open error\0A\00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c"destination file write error\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 ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 %15, 3 br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %130 19: ; preds = %2 store i32 8192, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = call i64 @malloc(i32 noundef %20) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %27, label %25 25: ; preds = %19 %26 = call i32 @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %130 27: ; preds = %19 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %9, align 4 %30 = call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %29) %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.2) store ptr %34, ptr %6, align 8 %35 = load ptr, ptr %6, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %41 37: ; preds = %27 %38 = call i32 @printf(ptr noundef @.str.3) %39 = load ptr, ptr %7, align 8 %40 = call i32 @free(ptr noundef %39) store i32 -1, ptr %3, align 4 br label %130 41: ; preds = %27 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr @SEEK_END, align 4 %44 = call i32 @fseek(ptr noundef %42, i64 noundef 0, i32 noundef %43) %45 = load ptr, ptr %6, align 8 %46 = call i32 @ftell(ptr noundef %45) store i32 %46, ptr %11, align 4 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr @SEEK_SET, align 4 %49 = call i32 @fseek(ptr noundef %47, i64 noundef 0, i32 noundef %48) %50 = load i32, ptr %11, align 4 %51 = icmp slt i32 %50, 8176 br i1 %51, label %52, label %54 52: ; preds = %41 %53 = load i32, ptr %11, align 4 br label %55 54: ; preds = %41 br label %55 55: ; preds = %54, %52 %56 = phi i32 [ %53, %52 ], [ 8176, %54 ] store i32 %56, ptr %13, align 4 %57 = load ptr, ptr %7, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 0 store i8 0, ptr %58, align 1 %59 = load ptr, ptr %7, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 store i8 32, ptr %60, align 1 %61 = load ptr, ptr %7, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 16 %63 = load i32, ptr %13, align 4 %64 = load ptr, ptr %6, align 8 %65 = call i32 @fread(ptr noundef %62, i32 noundef 1, i32 noundef %63, ptr noundef %64) store i32 %65, ptr %10, align 4 %66 = load i32, ptr %10, align 4 %67 = load i32, ptr %13, align 4 %68 = icmp ne i32 %66, %67 br i1 %68, label %69, label %75 69: ; preds = %55 %70 = call i32 @printf(ptr noundef @.str.4) %71 = load ptr, ptr %7, align 8 %72 = call i32 @free(ptr noundef %71) %73 = load ptr, ptr %6, align 8 %74 = call i32 @fclose(ptr noundef %73) store i32 -1, ptr %3, align 4 br label %130 75: ; preds = %55 %76 = load ptr, ptr %6, align 8 %77 = call i32 @fclose(ptr noundef %76) %78 = load ptr, ptr %7, align 8 %79 = getelementptr inbounds i8, ptr %78, i64 16 store ptr %79, ptr %8, align 8 store i32 0, ptr %14, align 4 store i32 0, ptr %12, align 4 %80 = load i32, ptr %14, align 4 %81 = icmp slt i32 %80, 8176 br i1 %81, label %.lr.ph, label %95 .lr.ph: ; preds = %75 br label %82 82: ; preds = %.lr.ph, %90 %83 = load ptr, ptr %8, align 8 %84 = getelementptr inbounds i8, ptr %83, i32 1 store ptr %84, ptr %8, align 8 %85 = load i8, ptr %83, align 1 %86 = sext i8 %85 to i32 %87 = and i32 255, %86 %88 = load i32, ptr %12, align 4 %89 = add i32 %88, %87 store i32 %89, ptr %12, align 4 br label %90 90: ; preds = %82 %91 = load i32, ptr %14, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %14, align 4 %93 = load i32, ptr %14, align 4 %94 = icmp slt i32 %93, 8176 br i1 %94, label %82, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %90 br label %95 95: ; preds = %._crit_edge, %75 %96 = load ptr, ptr %7, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 8 store ptr %97, ptr %8, align 8 %98 = load i32, ptr %12, align 4 %99 = load ptr, ptr %8, align 8 store i32 %98, ptr %99, align 4 %100 = load ptr, ptr %5, align 8 %101 = getelementptr inbounds ptr, ptr %100, i64 2 %102 = load ptr, ptr %101, align 8 %103 = call ptr @fopen(ptr noundef %102, ptr noundef @.str.5) store ptr %103, ptr %6, align 8 %104 = load ptr, ptr %6, align 8 %105 = icmp eq ptr %104, null br i1 %105, label %106, label %110 106: ; preds = %95 %107 = call i32 @printf(ptr noundef @.str.6) %108 = load ptr, ptr %7, align 8 %109 = call i32 @free(ptr noundef %108) store i32 -1, ptr %3, align 4 br label %130 110: ; preds = %95 %111 = load ptr, ptr %7, align 8 store ptr %111, ptr %8, align 8 %112 = load ptr, ptr %8, align 8 %113 = load i32, ptr %9, align 4 %114 = load ptr, ptr %6, align 8 %115 = call i32 @fwrite(ptr noundef %112, i32 noundef 1, i32 noundef %113, ptr noundef %114) store i32 %115, ptr %10, align 4 %116 = load i32, ptr %10, align 4 %117 = load i32, ptr %9, align 4 %118 = icmp ne i32 %116, %117 br i1 %118, label %119, label %125 119: ; preds = %110 %120 = call i32 @printf(ptr noundef @.str.7) %121 = load ptr, ptr %7, align 8 %122 = call i32 @free(ptr noundef %121) %123 = load ptr, ptr %6, align 8 %124 = call i32 @fclose(ptr noundef %123) store i32 -1, ptr %3, align 4 br label %130 125: ; preds = %110 %126 = load ptr, ptr %7, align 8 %127 = call i32 @free(ptr noundef %126) %128 = load ptr, ptr %6, align 8 %129 = call i32 @fclose(ptr noundef %128) store i32 0, ptr %3, align 4 br label %130 130: ; preds = %125, %119, %106, %69, %37, %25, %17 %131 = load i32, ptr %3, align 4 ret i32 %131 } declare i32 @printf(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpftorva16.c' source_filename = "/tmp/tmpftorva16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Convert_Geodetic_To_GEOREF(double noundef %0, double noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca [5 x i64], align 16 %14 = alloca [6 x i8], align 1 %15 = alloca [6 x i8], align 1 %16 = alloca i64, align 8 %17 = alloca i64, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i64 0, ptr %17, align 8 %18 = load double, ptr %5, align 8 %19 = fmul double %18, 0x404CA5DC1A63C1F8 store double %19, ptr %5, align 8 %20 = load double, ptr %6, align 8 %21 = fmul double %20, 0x404CA5DC1A63C1F8 store double %21, ptr %6, align 8 %22 = load double, ptr %5, align 8 %23 = fcmp olt double %22, -9.000000e+01 br i1 %23, label %27, label %24 24: ; preds = %4 %25 = load double, ptr %5, align 8 %26 = fcmp ogt double %25, 9.000000e+01 br i1 %26, label %27, label %30 27: ; preds = %24, %4 %28 = load i64, ptr %17, align 8 %29 = or i64 %28, 1 store i64 %29, ptr %17, align 8 br label %30 30: ; preds = %27, %24 %31 = load double, ptr %6, align 8 %32 = fcmp olt double %31, -1.800000e+02 br i1 %32, label %36, label %33 33: ; preds = %30 %34 = load double, ptr %6, align 8 %35 = fcmp ogt double %34, 3.600000e+02 br i1 %35, label %36, label %39 36: ; preds = %33, %30 %37 = load i64, ptr %17, align 8 %38 = or i64 %37, 2 store i64 %38, ptr %17, align 8 br label %39 39: ; preds = %36, %33 %40 = load i64, ptr %7, align 8 %41 = icmp slt i64 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %39 %43 = load i64, ptr %7, align 8 %44 = icmp sgt i64 %43, 5 br i1 %44, label %45, label %48 45: ; preds = %42, %39 %46 = load i64, ptr %17, align 8 %47 = or i64 %46, 128 store i64 %47, ptr %17, align 8 br label %48 48: ; preds = %45, %42 %49 = load i64, ptr %17, align 8 %50 = icmp ne i64 %49, 0 br i1 %50, label %180, label %51 51: ; preds = %48 %52 = load double, ptr %6, align 8 %53 = fcmp ogt double %52, 1.800000e+02 br i1 %53, label %54, label %57 54: ; preds = %51 %55 = load double, ptr %6, align 8 %56 = fsub double %55, 3.600000e+02 store double %56, ptr %6, align 8 br label %57 57: ; preds = %54, %51 store double -1.800000e+02, ptr %11, align 8 store double -9.000000e+01, ptr %12, align 8 %58 = load double, ptr %6, align 8 %59 = load double, ptr %11, align 8 %60 = fsub double %58, %59 %61 = fdiv double %60, 1.500000e+01 %62 = fadd double %61, 5.000000e-07 %63 = fptosi double %62 to i64 %64 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 0 store i64 %63, ptr %64, align 16 %65 = load double, ptr %6, align 8 %66 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 0 %67 = load i64, ptr %66, align 16 %68 = sitofp i64 %67 to double %69 = load double, ptr %11, align 8 %70 = call double @llvm.fmuladd.f64(double %68, double 1.500000e+01, double %69) %71 = fsub double %65, %70 store double %71, ptr %6, align 8 %72 = load double, ptr %6, align 8 %73 = fadd double %72, 5.000000e-07 %74 = fptosi double %73 to i64 %75 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 2 store i64 %74, ptr %75, align 16 %76 = load double, ptr %6, align 8 %77 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 2 %78 = load i64, ptr %77, align 16 %79 = sitofp i64 %78 to double %80 = fsub double %76, %79 %81 = fmul double %80, 6.000000e+01 store double %81, ptr %9, align 8 %82 = load double, ptr %5, align 8 %83 = load double, ptr %12, align 8 %84 = fsub double %82, %83 %85 = fdiv double %84, 1.500000e+01 %86 = fadd double %85, 5.000000e-07 %87 = fptosi double %86 to i64 %88 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 1 store i64 %87, ptr %88, align 8 %89 = load double, ptr %5, align 8 %90 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 1 %91 = load i64, ptr %90, align 8 %92 = sitofp i64 %91 to double %93 = load double, ptr %12, align 8 %94 = call double @llvm.fmuladd.f64(double %92, double 1.500000e+01, double %93) %95 = fsub double %89, %94 store double %95, ptr %5, align 8 %96 = load double, ptr %5, align 8 %97 = fadd double %96, 5.000000e-07 %98 = fptosi double %97 to i64 %99 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 3 store i64 %98, ptr %99, align 8 %100 = load double, ptr %5, align 8 %101 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 3 %102 = load i64, ptr %101, align 8 %103 = sitofp i64 %102 to double %104 = fsub double %100, %103 %105 = fmul double %104, 6.000000e+01 store double %105, ptr %10, align 8 store i64 0, ptr %16, align 8 br label %106 106: ; preds = %130, %57 %107 = load i64, ptr %16, align 8 %108 = icmp slt i64 %107, 4 br i1 %108, label %109, label %133 109: ; preds = %106 %110 = load i64, ptr %16, align 8 %111 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 %110 %112 = load i64, ptr %111, align 8 %113 = icmp sge i64 %112, 8 br i1 %113, label %114, label %119 114: ; preds = %109 %115 = load i64, ptr %16, align 8 %116 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 %115 %117 = load i64, ptr %116, align 8 %118 = add nsw i64 %117, 1 store i64 %118, ptr %116, align 8 br label %119 119: ; preds = %114, %109 %120 = load i64, ptr %16, align 8 %121 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 %120 %122 = load i64, ptr %121, align 8 %123 = icmp sge i64 %122, 14 br i1 %123, label %124, label %129 124: ; preds = %119 %125 = load i64, ptr %16, align 8 %126 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 %125 %127 = load i64, ptr %126, align 8 %128 = add nsw i64 %127, 1 store i64 %128, ptr %126, align 8 br label %129 129: ; preds = %124, %119 br label %130 130: ; preds = %129 %131 = load i64, ptr %16, align 8 %132 = add nsw i64 %131, 1 store i64 %132, ptr %16, align 8 br label %106, !llvm.loop !6 133: ; preds = %106 %134 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 0 %135 = load i64, ptr %134, align 16 %136 = icmp eq i64 %135, 26 br i1 %136, label %137, label %140 137: ; preds = %133 %138 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 0 store i64 25, ptr %138, align 16 %139 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 2 store i64 16, ptr %139, align 16 store double 5.999900e+01, ptr %9, align 8 br label %140 140: ; preds = %137, %133 %141 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 1 %142 = load i64, ptr %141, align 8 %143 = icmp eq i64 %142, 13 br i1 %143, label %144, label %147 144: ; preds = %140 %145 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 1 store i64 12, ptr %145, align 8 %146 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 3 store i64 16, ptr %146, align 8 store double 5.999900e+01, ptr %10, align 8 br label %147 147: ; preds = %144, %140 store i64 0, ptr %16, align 8 br label %148 148: ; preds = %160, %147 %149 = load i64, ptr %16, align 8 %150 = icmp slt i64 %149, 4 br i1 %150, label %151, label %163 151: ; preds = %148 %152 = load i64, ptr %16, align 8 %153 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 %152 %154 = load i64, ptr %153, align 8 %155 = add nsw i64 %154, 65 %156 = trunc i64 %155 to i8 %157 = load ptr, ptr %8, align 8 %158 = load i64, ptr %16, align 8 %159 = getelementptr inbounds i8, ptr %157, i64 %158 store i8 %156, ptr %159, align 1 br label %160 160: ; preds = %151 %161 = load i64, ptr %16, align 8 %162 = add nsw i64 %161, 1 store i64 %162, ptr %16, align 8 br label %148, !llvm.loop !8 163: ; preds = %148 %164 = load ptr, ptr %8, align 8 %165 = getelementptr inbounds i8, ptr %164, i64 4 store i8 0, ptr %165, align 1 %166 = load double, ptr %9, align 8 %167 = load i64, ptr %7, align 8 %168 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %169 = call i32 @Convert_Minutes_To_String(double noundef %166, i64 noundef %167, ptr noundef %168) %170 = load double, ptr %10, align 8 %171 = load i64, ptr %7, align 8 %172 = getelementptr inbounds [6 x i8], ptr %15, i64 0, i64 0 %173 = call i32 @Convert_Minutes_To_String(double noundef %170, i64 noundef %171, ptr noundef %172) %174 = load ptr, ptr %8, align 8 %175 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %176 = call i32 @strcat(ptr noundef %174, ptr noundef %175) %177 = load ptr, ptr %8, align 8 %178 = getelementptr inbounds [6 x i8], ptr %15, i64 0, i64 0 %179 = call i32 @strcat(ptr noundef %177, ptr noundef %178) br label %180 180: ; preds = %163, %48 %181 = load i64, ptr %17, align 8 ret i64 %181 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @Convert_Minutes_To_String(double noundef, i64 noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpftorva16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Convert_Geodetic_To_GEOREF(double noundef %0, double noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca [5 x i64], align 16 %14 = alloca [6 x i8], align 1 %15 = alloca [6 x i8], align 1 %16 = alloca i64, align 8 %17 = alloca i64, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i64 0, ptr %17, align 8 %18 = load double, ptr %5, align 8 %19 = fmul double %18, 0x404CA5DC1A63C1F8 store double %19, ptr %5, align 8 %20 = load double, ptr %6, align 8 %21 = fmul double %20, 0x404CA5DC1A63C1F8 store double %21, ptr %6, align 8 %22 = load double, ptr %5, align 8 %23 = fcmp olt double %22, -9.000000e+01 br i1 %23, label %27, label %24 24: ; preds = %4 %25 = load double, ptr %5, align 8 %26 = fcmp ogt double %25, 9.000000e+01 br i1 %26, label %27, label %30 27: ; preds = %24, %4 %28 = load i64, ptr %17, align 8 %29 = or i64 %28, 1 store i64 %29, ptr %17, align 8 br label %30 30: ; preds = %27, %24 %31 = load double, ptr %6, align 8 %32 = fcmp olt double %31, -1.800000e+02 br i1 %32, label %36, label %33 33: ; preds = %30 %34 = load double, ptr %6, align 8 %35 = fcmp ogt double %34, 3.600000e+02 br i1 %35, label %36, label %39 36: ; preds = %33, %30 %37 = load i64, ptr %17, align 8 %38 = or i64 %37, 2 store i64 %38, ptr %17, align 8 br label %39 39: ; preds = %36, %33 %40 = load i64, ptr %7, align 8 %41 = icmp slt i64 %40, 0 br i1 %41, label %45, label %42 42: ; preds = %39 %43 = load i64, ptr %7, align 8 %44 = icmp sgt i64 %43, 5 br i1 %44, label %45, label %48 45: ; preds = %42, %39 %46 = load i64, ptr %17, align 8 %47 = or i64 %46, 128 store i64 %47, ptr %17, align 8 br label %48 48: ; preds = %45, %42 %49 = load i64, ptr %17, align 8 %50 = icmp ne i64 %49, 0 br i1 %50, label %182, label %51 51: ; preds = %48 %52 = load double, ptr %6, align 8 %53 = fcmp ogt double %52, 1.800000e+02 br i1 %53, label %54, label %57 54: ; preds = %51 %55 = load double, ptr %6, align 8 %56 = fsub double %55, 3.600000e+02 store double %56, ptr %6, align 8 br label %57 57: ; preds = %54, %51 store double -1.800000e+02, ptr %11, align 8 store double -9.000000e+01, ptr %12, align 8 %58 = load double, ptr %6, align 8 %59 = load double, ptr %11, align 8 %60 = fsub double %58, %59 %61 = fdiv double %60, 1.500000e+01 %62 = fadd double %61, 5.000000e-07 %63 = fptosi double %62 to i64 %64 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 0 store i64 %63, ptr %64, align 16 %65 = load double, ptr %6, align 8 %66 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 0 %67 = load i64, ptr %66, align 16 %68 = sitofp i64 %67 to double %69 = load double, ptr %11, align 8 %70 = call double @llvm.fmuladd.f64(double %68, double 1.500000e+01, double %69) %71 = fsub double %65, %70 store double %71, ptr %6, align 8 %72 = load double, ptr %6, align 8 %73 = fadd double %72, 5.000000e-07 %74 = fptosi double %73 to i64 %75 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 2 store i64 %74, ptr %75, align 16 %76 = load double, ptr %6, align 8 %77 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 2 %78 = load i64, ptr %77, align 16 %79 = sitofp i64 %78 to double %80 = fsub double %76, %79 %81 = fmul double %80, 6.000000e+01 store double %81, ptr %9, align 8 %82 = load double, ptr %5, align 8 %83 = load double, ptr %12, align 8 %84 = fsub double %82, %83 %85 = fdiv double %84, 1.500000e+01 %86 = fadd double %85, 5.000000e-07 %87 = fptosi double %86 to i64 %88 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 1 store i64 %87, ptr %88, align 8 %89 = load double, ptr %5, align 8 %90 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 1 %91 = load i64, ptr %90, align 8 %92 = sitofp i64 %91 to double %93 = load double, ptr %12, align 8 %94 = call double @llvm.fmuladd.f64(double %92, double 1.500000e+01, double %93) %95 = fsub double %89, %94 store double %95, ptr %5, align 8 %96 = load double, ptr %5, align 8 %97 = fadd double %96, 5.000000e-07 %98 = fptosi double %97 to i64 %99 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 3 store i64 %98, ptr %99, align 8 %100 = load double, ptr %5, align 8 %101 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 3 %102 = load i64, ptr %101, align 8 %103 = sitofp i64 %102 to double %104 = fsub double %100, %103 %105 = fmul double %104, 6.000000e+01 store double %105, ptr %10, align 8 store i64 0, ptr %16, align 8 %106 = load i64, ptr %16, align 8 %107 = icmp slt i64 %106, 4 br i1 %107, label %.lr.ph, label %134 .lr.ph: ; preds = %57 br label %108 108: ; preds = %.lr.ph, %129 %109 = load i64, ptr %16, align 8 %110 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 %109 %111 = load i64, ptr %110, align 8 %112 = icmp sge i64 %111, 8 br i1 %112, label %113, label %118 113: ; preds = %108 %114 = load i64, ptr %16, align 8 %115 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 %114 %116 = load i64, ptr %115, align 8 %117 = add nsw i64 %116, 1 store i64 %117, ptr %115, align 8 br label %118 118: ; preds = %113, %108 %119 = load i64, ptr %16, align 8 %120 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 %119 %121 = load i64, ptr %120, align 8 %122 = icmp sge i64 %121, 14 br i1 %122, label %123, label %128 123: ; preds = %118 %124 = load i64, ptr %16, align 8 %125 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 %124 %126 = load i64, ptr %125, align 8 %127 = add nsw i64 %126, 1 store i64 %127, ptr %125, align 8 br label %128 128: ; preds = %123, %118 br label %129 129: ; preds = %128 %130 = load i64, ptr %16, align 8 %131 = add nsw i64 %130, 1 store i64 %131, ptr %16, align 8 %132 = load i64, ptr %16, align 8 %133 = icmp slt i64 %132, 4 br i1 %133, label %108, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %129 br label %134 134: ; preds = %._crit_edge, %57 %135 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 0 %136 = load i64, ptr %135, align 16 %137 = icmp eq i64 %136, 26 br i1 %137, label %138, label %141 138: ; preds = %134 %139 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 0 store i64 25, ptr %139, align 16 %140 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 2 store i64 16, ptr %140, align 16 store double 5.999900e+01, ptr %9, align 8 br label %141 141: ; preds = %138, %134 %142 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 1 %143 = load i64, ptr %142, align 8 %144 = icmp eq i64 %143, 13 br i1 %144, label %145, label %148 145: ; preds = %141 %146 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 1 store i64 12, ptr %146, align 8 %147 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 3 store i64 16, ptr %147, align 8 store double 5.999900e+01, ptr %10, align 8 br label %148 148: ; preds = %145, %141 store i64 0, ptr %16, align 8 %149 = load i64, ptr %16, align 8 %150 = icmp slt i64 %149, 4 br i1 %150, label %.lr.ph2, label %165 .lr.ph2: ; preds = %148 br label %151 151: ; preds = %.lr.ph2, %160 %152 = load i64, ptr %16, align 8 %153 = getelementptr inbounds [5 x i64], ptr %13, i64 0, i64 %152 %154 = load i64, ptr %153, align 8 %155 = add nsw i64 %154, 65 %156 = trunc i64 %155 to i8 %157 = load ptr, ptr %8, align 8 %158 = load i64, ptr %16, align 8 %159 = getelementptr inbounds i8, ptr %157, i64 %158 store i8 %156, ptr %159, align 1 br label %160 160: ; preds = %151 %161 = load i64, ptr %16, align 8 %162 = add nsw i64 %161, 1 store i64 %162, ptr %16, align 8 %163 = load i64, ptr %16, align 8 %164 = icmp slt i64 %163, 4 br i1 %164, label %151, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %160 br label %165 165: ; preds = %._crit_edge3, %148 %166 = load ptr, ptr %8, align 8 %167 = getelementptr inbounds i8, ptr %166, i64 4 store i8 0, ptr %167, align 1 %168 = load double, ptr %9, align 8 %169 = load i64, ptr %7, align 8 %170 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %171 = call i32 @Convert_Minutes_To_String(double noundef %168, i64 noundef %169, ptr noundef %170) %172 = load double, ptr %10, align 8 %173 = load i64, ptr %7, align 8 %174 = getelementptr inbounds [6 x i8], ptr %15, i64 0, i64 0 %175 = call i32 @Convert_Minutes_To_String(double noundef %172, i64 noundef %173, ptr noundef %174) %176 = load ptr, ptr %8, align 8 %177 = getelementptr inbounds [6 x i8], ptr %14, i64 0, i64 0 %178 = call i32 @strcat(ptr noundef %176, ptr noundef %177) %179 = load ptr, ptr %8, align 8 %180 = getelementptr inbounds [6 x i8], ptr %15, i64 0, i64 0 %181 = call i32 @strcat(ptr noundef %179, ptr noundef %180) br label %182 182: ; preds = %165, %48 %183 = load i64, ptr %17, align 8 ret i64 %183 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @Convert_Minutes_To_String(double noundef, i64 noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6yf1ru4t.c' source_filename = "/tmp/tmp6yf1ru4t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Digite um n\C3\BAmero inteiro: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"N\C3\BAmeros pares digitados: \00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"\0A\09%d -> par \00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"\0A\09\09%d -> \C3\ADmpar \00", align 1 @.str.5 = private unnamed_addr constant [85 x i8] c"\0A\0A A quantidade de n\C3\BAmeros \C3\ADmpares digitados foi %d, e de n\C3\BAmeros pares foi %d.\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [6 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %15, %0 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 6 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %12 %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %13) br label %15 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %6, !llvm.loop !6 18: ; preds = %6 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %20 20: ; preds = %47, %18 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 6 br i1 %22, label %23, label %50 23: ; preds = %20 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = srem i32 %27, 2 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %38 30: ; preds = %23 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34) %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %4, align 4 br label %46 38: ; preds = %23 %39 = load i32, ptr %3, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42) %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 br label %46 46: ; preds = %38, %30 br label %47 47: ; preds = %46 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %3, align 4 br label %20, !llvm.loop !8 50: ; preds = %20 %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %4, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %51, i32 noundef %52) %54 = call i32 @system(ptr noundef @.str.6) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp6yf1ru4t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Digite um n\C3\BAmero inteiro: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"N\C3\BAmeros pares digitados: \00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"\0A\09%d -> par \00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"\0A\09\09%d -> \C3\ADmpar \00", align 1 @.str.5 = private unnamed_addr constant [85 x i8] c"\0A\0A A quantidade de n\C3\BAmeros \C3\ADmpares digitados foi %d, e de n\C3\BAmeros pares foi %d.\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [6 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 6 br i1 %7, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %11 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12) br label %14 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 6 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 6 br i1 %22, label %.lr.ph2, label %52 .lr.ph2: ; preds = %19 br label %23 23: ; preds = %.lr.ph2, %47 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = srem i32 %27, 2 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %38 30: ; preds = %23 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34) %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %4, align 4 br label %46 38: ; preds = %23 %39 = load i32, ptr %3, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42) %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 br label %46 46: ; preds = %38, %30 br label %47 47: ; preds = %46 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %3, align 4 %50 = load i32, ptr %3, align 4 %51 = icmp slt i32 %50, 6 br i1 %51, label %23, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %47 br label %52 52: ; preds = %._crit_edge3, %19 %53 = load i32, ptr %5, align 4 %54 = load i32, ptr %4, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %53, i32 noundef %54) %56 = call i32 @system(ptr noundef @.str.6) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpw76a9y32.c' source_filename = "/tmp/tmpw76a9y32.c" target datalayout = "e-m:e-p270: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/tmpw76a9y32.c" target datalayout = "e-m:e-p270: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/tmp29s1r5wh.c' source_filename = "/tmp/tmp29s1r5wh.c" target datalayout = "e-m:e-p270: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/tmp29s1r5wh.c" target datalayout = "e-m:e-p270: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/tmpk51d3fxh.c' source_filename = "/tmp/tmpk51d3fxh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Hello World 2!\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 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk51d3fxh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Hello World 2!\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 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2e507wg4.c' source_filename = "/tmp/tmp2e507wg4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0A\0DAbout QFSemu\0A\0D\00", align 1 @.str.1 = private unnamed_addr constant [80 x i8] c"\0A\0DQFSemu v1.00\0A\0DQuick File System emulator\0A\0DWithout dynamic memory allocation\0A\0D\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"\0A\0D(c) Copyright 2005, vbmacher\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @about() #0 { %1 = call i32 @textattr(i32 noundef 10) %2 = call i32 @cprintf(ptr noundef @.str) %3 = call i32 @textattr(i32 noundef 15) %4 = call i32 @cprintf(ptr noundef @.str.1) %5 = call i32 @cprintf(ptr noundef @.str.2) ret void } declare i32 @textattr(i32 noundef) #1 declare i32 @cprintf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2e507wg4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"\0A\0DAbout QFSemu\0A\0D\00", align 1 @.str.1 = private unnamed_addr constant [80 x i8] c"\0A\0DQFSemu v1.00\0A\0DQuick File System emulator\0A\0DWithout dynamic memory allocation\0A\0D\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"\0A\0D(c) Copyright 2005, vbmacher\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @about() #0 { %1 = call i32 @textattr(i32 noundef 10) %2 = call i32 @cprintf(ptr noundef @.str) %3 = call i32 @textattr(i32 noundef 15) %4 = call i32 @cprintf(ptr noundef @.str.1) %5 = call i32 @cprintf(ptr noundef @.str.2) ret void } declare i32 @textattr(i32 noundef) #1 declare i32 @cprintf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpinm5alet.c' source_filename = "/tmp/tmpinm5alet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %3, align 4 br label %6 6: ; preds = %14, %0 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %10, label %17 10: ; preds = %6 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %11, %12 store i32 %13, ptr %4, align 4 br label %14 14: ; preds = %10 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %6, !llvm.loop !6 17: ; preds = %6 %18 = load i32, ptr %4, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpinm5alet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 1, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %13 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %10, %11 store i32 %12, ptr %4, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %0 %20 = load i32, ptr %4, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %20) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpegby5akg.c' source_filename = "/tmp/tmpegby5akg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @egs_exit_(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 @my_exit(ptr noundef %3) ret void } declare i32 @my_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpegby5akg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @egs_exit_(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 @my_exit(ptr noundef %3) ret void } declare i32 @my_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmgj9903_.c' source_filename = "/tmp/tmpmgj9903_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage:\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c" %s loops\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"test loops=%lu\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"Success\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14) store i32 1, ptr %3, align 4 br label %39 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @sscanf(ptr noundef %19, ptr noundef @.str.2, ptr noundef %7) %21 = load i32, ptr %7, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21) %23 = call i32 (...) @simple() %24 = load i32, ptr %6, align 4 %25 = or i32 %24, %23 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = call i32 @perf(i32 noundef %26) %28 = load i32, ptr %6, align 4 %29 = or i32 %28, %27 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %34, label %32 32: ; preds = %16 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %34 34: ; preds = %32, %16 %35 = load i32, ptr %6, align 4 %36 = icmp ne i32 %35, 0 %37 = zext i1 %36 to i64 %38 = select i1 %36, i32 1, i32 0 store i32 %38, ptr %3, align 4 br label %39 39: ; preds = %34, %10 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @simple(...) #1 declare i32 @perf(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/tmpmgj9903_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage:\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c" %s loops\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"test loops=%lu\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"Success\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14) store i32 1, ptr %3, align 4 br label %39 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @sscanf(ptr noundef %19, ptr noundef @.str.2, ptr noundef %7) %21 = load i32, ptr %7, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21) %23 = call i32 (...) @simple() %24 = load i32, ptr %6, align 4 %25 = or i32 %24, %23 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = call i32 @perf(i32 noundef %26) %28 = load i32, ptr %6, align 4 %29 = or i32 %28, %27 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %34, label %32 32: ; preds = %16 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %34 34: ; preds = %32, %16 %35 = load i32, ptr %6, align 4 %36 = icmp ne i32 %35, 0 %37 = zext i1 %36 to i64 %38 = select i1 %36, i32 1, i32 0 store i32 %38, ptr %3, align 4 br label %39 39: ; preds = %34, %10 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @simple(...) #1 declare i32 @perf(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/tmp_g3_orpv.c' source_filename = "/tmp/tmp_g3_orpv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Hello Git World!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_g3_orpv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Hello Git World!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp44nii0un.c' source_filename = "/tmp/tmp44nii0un.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error writing\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @maestroSetTarget(i32 noundef %0, i8 noundef zeroext %1, i16 noundef zeroext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i16, align 2 %8 = alloca [4 x i8], align 1 store i32 %0, ptr %5, align 4 store i8 %1, ptr %6, align 1 store i16 %2, ptr %7, align 2 %9 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 store i8 -124, ptr %9, align 1 %10 = getelementptr inbounds i8, ptr %9, i64 1 %11 = load i8, ptr %6, align 1 store i8 %11, ptr %10, align 1 %12 = getelementptr inbounds i8, ptr %10, i64 1 %13 = load i16, ptr %7, align 2 %14 = zext i16 %13 to i32 %15 = and i32 %14, 127 %16 = trunc i32 %15 to i8 store i8 %16, ptr %12, align 1 %17 = getelementptr inbounds i8, ptr %12, i64 1 %18 = load i16, ptr %7, align 2 %19 = zext i16 %18 to i32 %20 = ashr i32 %19, 7 %21 = and i32 %20, 127 %22 = trunc i32 %21 to i8 store i8 %22, ptr %17, align 1 %23 = load i32, ptr %5, align 4 %24 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %25 = call i32 @write(i32 noundef %23, ptr noundef %24, i32 noundef 4) %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %29 27: ; preds = %3 %28 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %30 29: ; preds = %3 store i32 0, ptr %4, align 4 br label %30 30: ; preds = %29, %27 %31 = load i32, ptr %4, align 4 ret i32 %31 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp44nii0un.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error writing\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @maestroSetTarget(i32 noundef %0, i8 noundef zeroext %1, i16 noundef zeroext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i16, align 2 %8 = alloca [4 x i8], align 1 store i32 %0, ptr %5, align 4 store i8 %1, ptr %6, align 1 store i16 %2, ptr %7, align 2 %9 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 store i8 -124, ptr %9, align 1 %10 = getelementptr inbounds i8, ptr %9, i64 1 %11 = load i8, ptr %6, align 1 store i8 %11, ptr %10, align 1 %12 = getelementptr inbounds i8, ptr %10, i64 1 %13 = load i16, ptr %7, align 2 %14 = zext i16 %13 to i32 %15 = and i32 %14, 127 %16 = trunc i32 %15 to i8 store i8 %16, ptr %12, align 1 %17 = getelementptr inbounds i8, ptr %12, i64 1 %18 = load i16, ptr %7, align 2 %19 = zext i16 %18 to i32 %20 = ashr i32 %19, 7 %21 = and i32 %20, 127 %22 = trunc i32 %21 to i8 store i8 %22, ptr %17, align 1 %23 = load i32, ptr %5, align 4 %24 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %25 = call i32 @write(i32 noundef %23, ptr noundef %24, i32 noundef 4) %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %29 27: ; preds = %3 %28 = call i32 @perror(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %30 29: ; preds = %3 store i32 0, ptr %4, align 4 br label %30 30: ; preds = %29, %27 %31 = load i32, ptr %4, align 4 ret i32 %31 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9u1izc_z.c' source_filename = "/tmp/tmp9u1izc_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"00_%s.txt\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"####################################\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"#\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"# -- TEXTPATGEN GENERATED FILE --\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"# -- Epoch Time: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [55 x i8] c"%04X:The_Quick_Brown_Fox_Jumps_over_the_Lazy_Dog:%04d\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"# -- End of file.\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 ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [32 x i8], align 16 %11 = alloca [32 x i8], align 16 %12 = 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 %13 = call i32 @time(ptr noundef %9) %14 = call ptr @localtime(ptr noundef %9) store ptr %14, ptr %12, align 8 %15 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %16 = load ptr, ptr %12, align 8 %17 = call i32 @strftime(ptr noundef %15, i32 noundef 32, ptr noundef @.str, ptr noundef %16) %18 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %19 = load ptr, ptr %12, align 8 %20 = call i32 @strftime(ptr noundef %18, i32 noundef 32, ptr noundef @.str.1, ptr noundef %19) %21 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.2) store ptr %22, ptr %8, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.3) %25 = load ptr, ptr %8, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.4) %27 = load ptr, ptr %8, align 8 %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.5) %29 = load ptr, ptr %8, align 8 %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.4) %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.6, ptr noundef %32) %34 = load ptr, ptr %8, align 8 %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.4) %36 = load ptr, ptr %8, align 8 %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.3) store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %38 38: ; preds = %48, %2 %39 = load i32, ptr %7, align 4 %40 = icmp slt i32 %39, 25 br i1 %40, label %41, label %51 41: ; preds = %38 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.7, i32 noundef %43, i32 noundef %44) %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %6, align 4 br label %48 48: ; preds = %41 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 br label %38, !llvm.loop !6 51: ; preds = %38 %52 = load ptr, ptr %8, align 8 %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.8) %54 = load ptr, ptr %8, align 8 %55 = call i32 @fclose(ptr noundef %54) ret i32 0 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9u1izc_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"00_%s.txt\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"####################################\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"#\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"# -- TEXTPATGEN GENERATED FILE --\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"# -- Epoch Time: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [55 x i8] c"%04X:The_Quick_Brown_Fox_Jumps_over_the_Lazy_Dog:%04d\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"# -- End of file.\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 ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [32 x i8], align 16 %11 = alloca [32 x i8], align 16 %12 = 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 %13 = call i32 @time(ptr noundef %9) %14 = call ptr @localtime(ptr noundef %9) store ptr %14, ptr %12, align 8 %15 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %16 = load ptr, ptr %12, align 8 %17 = call i32 @strftime(ptr noundef %15, i32 noundef 32, ptr noundef @.str, ptr noundef %16) %18 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %19 = load ptr, ptr %12, align 8 %20 = call i32 @strftime(ptr noundef %18, i32 noundef 32, ptr noundef @.str.1, ptr noundef %19) %21 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0 %22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.2) store ptr %22, ptr %8, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.3) %25 = load ptr, ptr %8, align 8 %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.4) %27 = load ptr, ptr %8, align 8 %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.5) %29 = load ptr, ptr %8, align 8 %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.4) %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.6, ptr noundef %32) %34 = load ptr, ptr %8, align 8 %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.4) %36 = load ptr, ptr %8, align 8 %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.3) store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %38, 25 br i1 %39, label %.lr.ph, label %52 .lr.ph: ; preds = %2 br label %40 40: ; preds = %.lr.ph, %47 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.7, i32 noundef %42, i32 noundef %43) %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 br label %47 47: ; preds = %40 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = icmp slt i32 %50, 25 br i1 %51, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %52 52: ; preds = %._crit_edge, %2 %53 = load ptr, ptr %8, align 8 %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.8) %55 = load ptr, ptr %8, align 8 %56 = call i32 @fclose(ptr noundef %55) ret i32 0 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3gdv4kgr.c' source_filename = "/tmp/tmp3gdv4kgr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MatMul331(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 [3 x double], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds [3 x double], ptr %8, i64 0 %10 = getelementptr inbounds [3 x double], ptr %9, i64 0, i64 0 %11 = load double, ptr %10, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds double, ptr %12, i64 0 %14 = load double, ptr %13, align 8 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds [3 x double], ptr %15, i64 0 %17 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1 %18 = load double, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds double, ptr %19, i64 1 %21 = load double, ptr %20, align 8 %22 = fmul double %18, %21 %23 = call double @llvm.fmuladd.f64(double %11, double %14, double %22) %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds [3 x double], ptr %24, i64 0 %26 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 2 %27 = load double, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds double, ptr %28, i64 2 %30 = load double, ptr %29, align 8 %31 = call double @llvm.fmuladd.f64(double %27, double %30, double %23) %32 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0 store double %31, ptr %32, align 16 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds [3 x double], ptr %33, i64 1 %35 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0 %36 = load double, ptr %35, align 8 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds double, ptr %37, i64 0 %39 = load double, ptr %38, align 8 %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds [3 x double], ptr %40, i64 1 %42 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 1 %43 = load double, ptr %42, align 8 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds double, ptr %44, i64 1 %46 = load double, ptr %45, align 8 %47 = fmul double %43, %46 %48 = call double @llvm.fmuladd.f64(double %36, double %39, double %47) %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds [3 x double], ptr %49, i64 1 %51 = getelementptr inbounds [3 x double], ptr %50, i64 0, i64 2 %52 = load double, ptr %51, align 8 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds double, ptr %53, i64 2 %55 = load double, ptr %54, align 8 %56 = call double @llvm.fmuladd.f64(double %52, double %55, double %48) %57 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 1 store double %56, ptr %57, align 8 %58 = load ptr, ptr %4, align 8 %59 = getelementptr inbounds [3 x double], ptr %58, i64 2 %60 = getelementptr inbounds [3 x double], ptr %59, i64 0, i64 0 %61 = load double, ptr %60, align 8 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds double, ptr %62, i64 0 %64 = load double, ptr %63, align 8 %65 = load ptr, ptr %4, align 8 %66 = getelementptr inbounds [3 x double], ptr %65, i64 2 %67 = getelementptr inbounds [3 x double], ptr %66, i64 0, i64 1 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds double, ptr %69, i64 1 %71 = load double, ptr %70, align 8 %72 = fmul double %68, %71 %73 = call double @llvm.fmuladd.f64(double %61, double %64, double %72) %74 = load ptr, ptr %4, align 8 %75 = getelementptr inbounds [3 x double], ptr %74, i64 2 %76 = getelementptr inbounds [3 x double], ptr %75, i64 0, i64 2 %77 = load double, ptr %76, align 8 %78 = load ptr, ptr %5, align 8 %79 = getelementptr inbounds double, ptr %78, i64 2 %80 = load double, ptr %79, align 8 %81 = call double @llvm.fmuladd.f64(double %77, double %80, double %73) %82 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 2 store double %81, ptr %82, align 16 %83 = load ptr, ptr %6, align 8 %84 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0 %85 = call i32 @memcpy(ptr noundef %83, ptr noundef %84, i32 noundef 24) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3gdv4kgr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MatMul331(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 [3 x double], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds [3 x double], ptr %8, i64 0 %10 = getelementptr inbounds [3 x double], ptr %9, i64 0, i64 0 %11 = load double, ptr %10, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds double, ptr %12, i64 0 %14 = load double, ptr %13, align 8 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds [3 x double], ptr %15, i64 0 %17 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1 %18 = load double, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds double, ptr %19, i64 1 %21 = load double, ptr %20, align 8 %22 = fmul double %18, %21 %23 = call double @llvm.fmuladd.f64(double %11, double %14, double %22) %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds [3 x double], ptr %24, i64 0 %26 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 2 %27 = load double, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds double, ptr %28, i64 2 %30 = load double, ptr %29, align 8 %31 = call double @llvm.fmuladd.f64(double %27, double %30, double %23) %32 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0 store double %31, ptr %32, align 16 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds [3 x double], ptr %33, i64 1 %35 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0 %36 = load double, ptr %35, align 8 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds double, ptr %37, i64 0 %39 = load double, ptr %38, align 8 %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds [3 x double], ptr %40, i64 1 %42 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 1 %43 = load double, ptr %42, align 8 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds double, ptr %44, i64 1 %46 = load double, ptr %45, align 8 %47 = fmul double %43, %46 %48 = call double @llvm.fmuladd.f64(double %36, double %39, double %47) %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds [3 x double], ptr %49, i64 1 %51 = getelementptr inbounds [3 x double], ptr %50, i64 0, i64 2 %52 = load double, ptr %51, align 8 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds double, ptr %53, i64 2 %55 = load double, ptr %54, align 8 %56 = call double @llvm.fmuladd.f64(double %52, double %55, double %48) %57 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 1 store double %56, ptr %57, align 8 %58 = load ptr, ptr %4, align 8 %59 = getelementptr inbounds [3 x double], ptr %58, i64 2 %60 = getelementptr inbounds [3 x double], ptr %59, i64 0, i64 0 %61 = load double, ptr %60, align 8 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds double, ptr %62, i64 0 %64 = load double, ptr %63, align 8 %65 = load ptr, ptr %4, align 8 %66 = getelementptr inbounds [3 x double], ptr %65, i64 2 %67 = getelementptr inbounds [3 x double], ptr %66, i64 0, i64 1 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds double, ptr %69, i64 1 %71 = load double, ptr %70, align 8 %72 = fmul double %68, %71 %73 = call double @llvm.fmuladd.f64(double %61, double %64, double %72) %74 = load ptr, ptr %4, align 8 %75 = getelementptr inbounds [3 x double], ptr %74, i64 2 %76 = getelementptr inbounds [3 x double], ptr %75, i64 0, i64 2 %77 = load double, ptr %76, align 8 %78 = load ptr, ptr %5, align 8 %79 = getelementptr inbounds double, ptr %78, i64 2 %80 = load double, ptr %79, align 8 %81 = call double @llvm.fmuladd.f64(double %77, double %80, double %73) %82 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 2 store double %81, ptr %82, align 16 %83 = load ptr, ptr %6, align 8 %84 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0 %85 = call i32 @memcpy(ptr noundef %83, ptr noundef %84, i32 noundef 24) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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"}
; ModuleID = '/tmp/tmp80kbwmh_.c' source_filename = "/tmp/tmp80kbwmh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @bnldev.pold = internal global float -1.000000e+00, align 4 @bnldev.pc = internal global float 0.000000e+00, align 4 @bnldev.plog = internal global float 0.000000e+00, align 4 @bnldev.pclog = internal global float 0.000000e+00, align 4 @bnldev.en = internal global float 0.000000e+00, align 4 @bnldev.oldg = internal global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @bnldev(float noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 store float %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i64 -1, ptr %8, align 8 %18 = load float, ptr %4, align 4 %19 = fpext float %18 to double %20 = fcmp ole double %19, 5.000000e-01 br i1 %20, label %21, label %24 21: ; preds = %3 %22 = load float, ptr %4, align 4 %23 = fpext float %22 to double br label %28 24: ; preds = %3 %25 = load float, ptr %4, align 4 %26 = fpext float %25 to double %27 = fsub double 1.000000e+00, %26 br label %28 28: ; preds = %24, %21 %29 = phi double [ %23, %21 ], [ %27, %24 ] %30 = fptrunc double %29 to float store float %30, ptr %13, align 4 %31 = load i32, ptr %5, align 4 %32 = sitofp i32 %31 to float %33 = load float, ptr %13, align 4 %34 = fmul float %32, %33 store float %34, ptr %9, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %35, 25 br i1 %36, label %37, label %57 37: ; preds = %28 store float 0.000000e+00, ptr %14, align 4 store i64 1, ptr %7, align 8 br label %38 38: ; preds = %53, %37 %39 = load i64, ptr %7, align 8 %40 = load i32, ptr %5, align 4 %41 = sext i32 %40 to i64 %42 = icmp sle i64 %39, %41 br i1 %42, label %43, label %56 43: ; preds = %38 %44 = load ptr, ptr %6, align 8 %45 = call double @ran3(ptr noundef %44) %46 = load float, ptr %13, align 4 %47 = fpext float %46 to double %48 = fcmp olt double %45, %47 br i1 %48, label %49, label %52 49: ; preds = %43 %50 = load float, ptr %14, align 4 %51 = fadd float %50, 1.000000e+00 store float %51, ptr %14, align 4 br label %52 52: ; preds = %49, %43 br label %53 53: ; preds = %52 %54 = load i64, ptr %7, align 8 %55 = add nsw i64 %54, 1 store i64 %55, ptr %7, align 8 br label %38, !llvm.loop !6 56: ; preds = %38 br label %208 57: ; preds = %28 %58 = load float, ptr %9, align 4 %59 = fpext float %58 to double %60 = fcmp olt double %59, 1.000000e+00 br i1 %60, label %61, label %99 61: ; preds = %57 %62 = load float, ptr %9, align 4 %63 = fneg float %62 %64 = call double @exp(float noundef %63) %65 = fptrunc double %64 to float store float %65, ptr %11, align 4 store float 1.000000e+00, ptr %16, align 4 store i64 0, ptr %7, align 8 br label %66 66: ; preds = %83, %61 %67 = load i64, ptr %7, align 8 %68 = load i32, ptr %5, align 4 %69 = sext i32 %68 to i64 %70 = icmp sle i64 %67, %69 br i1 %70, label %71, label %86 71: ; preds = %66 %72 = load ptr, ptr %6, align 8 %73 = call double @ran3(ptr noundef %72) %74 = load float, ptr %16, align 4 %75 = fpext float %74 to double %76 = fmul double %75, %73 %77 = fptrunc double %76 to float store float %77, ptr %16, align 4 %78 = load float, ptr %16, align 4 %79 = load float, ptr %11, align 4 %80 = fcmp olt float %78, %79 br i1 %80, label %81, label %82 81: ; preds = %71 br label %86 82: ; preds = %71 br label %83 83: ; preds = %82 %84 = load i64, ptr %7, align 8 %85 = add nsw i64 %84, 1 store i64 %85, ptr %7, align 8 br label %66, !llvm.loop !8 86: ; preds = %81, %66 %87 = load i64, ptr %7, align 8 %88 = load i32, ptr %5, align 4 %89 = sext i32 %88 to i64 %90 = icmp sle i64 %87, %89 br i1 %90, label %91, label %93 91: ; preds = %86 %92 = load i64, ptr %7, align 8 br label %96 93: ; preds = %86 %94 = load i32, ptr %5, align 4 %95 = sext i32 %94 to i64 br label %96 96: ; preds = %93, %91 %97 = phi i64 [ %92, %91 ], [ %95, %93 ] %98 = sitofp i64 %97 to float store float %98, ptr %14, align 4 br label %207 99: ; preds = %57 %100 = load i32, ptr %5, align 4 %101 = sext i32 %100 to i64 %102 = load i64, ptr %8, align 8 %103 = icmp ne i64 %101, %102 br i1 %103, label %104, label %114 104: ; preds = %99 %105 = load i32, ptr %5, align 4 %106 = sitofp i32 %105 to float store float %106, ptr @bnldev.en, align 4 %107 = load float, ptr @bnldev.en, align 4 %108 = fpext float %107 to double %109 = fadd double %108, 1.000000e+00 %110 = fptrunc double %109 to float %111 = call float @gammln(float noundef %110) store float %111, ptr @bnldev.oldg, align 4 %112 = load i32, ptr %5, align 4 %113 = sext i32 %112 to i64 store i64 %113, ptr %8, align 8 br label %114 114: ; preds = %104, %99 %115 = load float, ptr %13, align 4 %116 = load float, ptr @bnldev.pold, align 4 %117 = fcmp une float %115, %116 br i1 %117, label %118, label %128 118: ; preds = %114 %119 = load float, ptr %13, align 4 %120 = fpext float %119 to double %121 = fsub double 1.000000e+00, %120 %122 = fptrunc double %121 to float store float %122, ptr @bnldev.pc, align 4 %123 = load float, ptr %13, align 4 %124 = call float @log(float noundef %123) store float %124, ptr @bnldev.plog, align 4 %125 = load float, ptr @bnldev.pc, align 4 %126 = call float @log(float noundef %125) store float %126, ptr @bnldev.pclog, align 4 %127 = load float, ptr %13, align 4 store float %127, ptr @bnldev.pold, align 4 br label %128 128: ; preds = %118, %114 %129 = load float, ptr %9, align 4 %130 = fpext float %129 to double %131 = fmul double 2.000000e+00, %130 %132 = load float, ptr @bnldev.pc, align 4 %133 = fpext float %132 to double %134 = fmul double %131, %133 %135 = call float @sqrt(double noundef %134) store float %135, ptr %15, align 4 br label %136 136: ; preds = %199, %128 br label %137 137: ; preds = %159, %136 %138 = load ptr, ptr %6, align 8 %139 = call double @ran3(ptr noundef %138) %140 = fmul double 0x400921FB54524550, %139 %141 = fptrunc double %140 to float store float %141, ptr %12, align 4 %142 = load float, ptr %12, align 4 %143 = call float @tan(float noundef %142) store float %143, ptr %17, align 4 %144 = load float, ptr %15, align 4 %145 = load float, ptr %17, align 4 %146 = load float, ptr %9, align 4 %147 = call float @llvm.fmuladd.f32(float %144, float %145, float %146) store float %147, ptr %10, align 4 br label %148 148: ; preds = %137 %149 = load float, ptr %10, align 4 %150 = fpext float %149 to double %151 = fcmp olt double %150, 0.000000e+00 br i1 %151, label %159, label %152 152: ; preds = %148 %153 = load float, ptr %10, align 4 %154 = fpext float %153 to double %155 = load float, ptr @bnldev.en, align 4 %156 = fpext float %155 to double %157 = fadd double %156, 1.000000e+00 %158 = fcmp oge double %154, %157 br label %159 159: ; preds = %152, %148 %160 = phi i1 [ true, %148 ], [ %158, %152 ] br i1 %160, label %137, label %161, !llvm.loop !9 161: ; preds = %159 %162 = load float, ptr %10, align 4 %163 = call float @floor(float noundef %162) store float %163, ptr %10, align 4 %164 = load float, ptr %15, align 4 %165 = fpext float %164 to double %166 = fmul double 1.200000e+00, %165 %167 = load float, ptr %17, align 4 %168 = load float, ptr %17, align 4 %169 = fmul float %167, %168 %170 = fpext float %169 to double %171 = fadd double 1.000000e+00, %170 %172 = fmul double %166, %171 %173 = load float, ptr @bnldev.oldg, align 4 %174 = load float, ptr %10, align 4 %175 = fpext float %174 to double %176 = fadd double %175, 1.000000e+00 %177 = fptrunc double %176 to float %178 = call float @gammln(float noundef %177) %179 = fsub float %173, %178 %180 = load float, ptr @bnldev.en, align 4 %181 = load float, ptr %10, align 4 %182 = fsub float %180, %181 %183 = fpext float %182 to double %184 = fadd double %183, 1.000000e+00 %185 = fptrunc double %184 to float %186 = call float @gammln(float noundef %185) %187 = fsub float %179, %186 %188 = load float, ptr %10, align 4 %189 = load float, ptr @bnldev.plog, align 4 %190 = call float @llvm.fmuladd.f32(float %188, float %189, float %187) %191 = load float, ptr @bnldev.en, align 4 %192 = load float, ptr %10, align 4 %193 = fsub float %191, %192 %194 = load float, ptr @bnldev.pclog, align 4 %195 = call float @llvm.fmuladd.f32(float %193, float %194, float %190) %196 = call double @exp(float noundef %195) %197 = fmul double %172, %196 %198 = fptrunc double %197 to float store float %198, ptr %16, align 4 br label %199 199: ; preds = %161 %200 = load ptr, ptr %6, align 8 %201 = call double @ran3(ptr noundef %200) %202 = load float, ptr %16, align 4 %203 = fpext float %202 to double %204 = fcmp ogt double %201, %203 br i1 %204, label %136, label %205, !llvm.loop !10 205: ; preds = %199 %206 = load float, ptr %10, align 4 store float %206, ptr %14, align 4 br label %207 207: ; preds = %205, %96 br label %208 208: ; preds = %207, %56 %209 = load float, ptr %13, align 4 %210 = load float, ptr %4, align 4 %211 = fcmp une float %209, %210 br i1 %211, label %212, label %217 212: ; preds = %208 %213 = load i32, ptr %5, align 4 %214 = sitofp i32 %213 to float %215 = load float, ptr %14, align 4 %216 = fsub float %214, %215 store float %216, ptr %14, align 4 br label %217 217: ; preds = %212, %208 %218 = load float, ptr %14, align 4 ret float %218 } declare double @ran3(ptr noundef) #1 declare double @exp(float noundef) #1 declare float @gammln(float noundef) #1 declare float @log(float noundef) #1 declare float @sqrt(double noundef) #1 declare float @tan(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare float @floor(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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp80kbwmh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @bnldev.pold = internal global float -1.000000e+00, align 4 @bnldev.pc = internal global float 0.000000e+00, align 4 @bnldev.plog = internal global float 0.000000e+00, align 4 @bnldev.pclog = internal global float 0.000000e+00, align 4 @bnldev.en = internal global float 0.000000e+00, align 4 @bnldev.oldg = internal global float 0.000000e+00, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @bnldev(float noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 store float %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i64 -1, ptr %8, align 8 %18 = load float, ptr %4, align 4 %19 = fpext float %18 to double %20 = fcmp ole double %19, 5.000000e-01 br i1 %20, label %21, label %24 21: ; preds = %3 %22 = load float, ptr %4, align 4 %23 = fpext float %22 to double br label %28 24: ; preds = %3 %25 = load float, ptr %4, align 4 %26 = fpext float %25 to double %27 = fsub double 1.000000e+00, %26 br label %28 28: ; preds = %24, %21 %29 = phi double [ %23, %21 ], [ %27, %24 ] %30 = fptrunc double %29 to float store float %30, ptr %13, align 4 %31 = load i32, ptr %5, align 4 %32 = sitofp i32 %31 to float %33 = load float, ptr %13, align 4 %34 = fmul float %32, %33 store float %34, ptr %9, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %35, 25 br i1 %36, label %37, label %60 37: ; preds = %28 store float 0.000000e+00, ptr %14, align 4 store i64 1, ptr %7, align 8 %38 = load i64, ptr %7, align 8 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = icmp sle i64 %38, %40 br i1 %41, label %.lr.ph1, label %59 .lr.ph1: ; preds = %37 br label %42 42: ; preds = %.lr.ph1, %52 %43 = load ptr, ptr %6, align 8 %44 = call double @ran3(ptr noundef %43) %45 = load float, ptr %13, align 4 %46 = fpext float %45 to double %47 = fcmp olt double %44, %46 br i1 %47, label %48, label %51 48: ; preds = %42 %49 = load float, ptr %14, align 4 %50 = fadd float %49, 1.000000e+00 store float %50, ptr %14, align 4 br label %51 51: ; preds = %48, %42 br label %52 52: ; preds = %51 %53 = load i64, ptr %7, align 8 %54 = add nsw i64 %53, 1 store i64 %54, ptr %7, align 8 %55 = load i64, ptr %7, align 8 %56 = load i32, ptr %5, align 4 %57 = sext i32 %56 to i64 %58 = icmp sle i64 %55, %57 br i1 %58, label %42, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %59 59: ; preds = %._crit_edge, %37 br label %214 60: ; preds = %28 %61 = load float, ptr %9, align 4 %62 = fpext float %61 to double %63 = fcmp olt double %62, 1.000000e+00 br i1 %63, label %64, label %105 64: ; preds = %60 %65 = load float, ptr %9, align 4 %66 = fneg float %65 %67 = call double @exp(float noundef %66) %68 = fptrunc double %67 to float store float %68, ptr %11, align 4 store float 1.000000e+00, ptr %16, align 4 store i64 0, ptr %7, align 8 %69 = load i64, ptr %7, align 8 %70 = load i32, ptr %5, align 4 %71 = sext i32 %70 to i64 %72 = icmp sle i64 %69, %71 br i1 %72, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %64 br label %73 73: ; preds = %.lr.ph, %85 %74 = load ptr, ptr %6, align 8 %75 = call double @ran3(ptr noundef %74) %76 = load float, ptr %16, align 4 %77 = fpext float %76 to double %78 = fmul double %77, %75 %79 = fptrunc double %78 to float store float %79, ptr %16, align 4 %80 = load float, ptr %16, align 4 %81 = load float, ptr %11, align 4 %82 = fcmp olt float %80, %81 br i1 %82, label %83, label %84 83: ; preds = %73 br label %92 84: ; preds = %73 br label %85 85: ; preds = %84 %86 = load i64, ptr %7, align 8 %87 = add nsw i64 %86, 1 store i64 %87, ptr %7, align 8 %88 = load i64, ptr %7, align 8 %89 = load i32, ptr %5, align 4 %90 = sext i32 %89 to i64 %91 = icmp sle i64 %88, %90 br i1 %91, label %73, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %85 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %64 br label %92 92: ; preds = %.loopexit, %83 %93 = load i64, ptr %7, align 8 %94 = load i32, ptr %5, align 4 %95 = sext i32 %94 to i64 %96 = icmp sle i64 %93, %95 br i1 %96, label %97, label %99 97: ; preds = %92 %98 = load i64, ptr %7, align 8 br label %102 99: ; preds = %92 %100 = load i32, ptr %5, align 4 %101 = sext i32 %100 to i64 br label %102 102: ; preds = %99, %97 %103 = phi i64 [ %98, %97 ], [ %101, %99 ] %104 = sitofp i64 %103 to float store float %104, ptr %14, align 4 br label %213 105: ; preds = %60 %106 = load i32, ptr %5, align 4 %107 = sext i32 %106 to i64 %108 = load i64, ptr %8, align 8 %109 = icmp ne i64 %107, %108 br i1 %109, label %110, label %120 110: ; preds = %105 %111 = load i32, ptr %5, align 4 %112 = sitofp i32 %111 to float store float %112, ptr @bnldev.en, align 4 %113 = load float, ptr @bnldev.en, align 4 %114 = fpext float %113 to double %115 = fadd double %114, 1.000000e+00 %116 = fptrunc double %115 to float %117 = call float @gammln(float noundef %116) store float %117, ptr @bnldev.oldg, align 4 %118 = load i32, ptr %5, align 4 %119 = sext i32 %118 to i64 store i64 %119, ptr %8, align 8 br label %120 120: ; preds = %110, %105 %121 = load float, ptr %13, align 4 %122 = load float, ptr @bnldev.pold, align 4 %123 = fcmp une float %121, %122 br i1 %123, label %124, label %134 124: ; preds = %120 %125 = load float, ptr %13, align 4 %126 = fpext float %125 to double %127 = fsub double 1.000000e+00, %126 %128 = fptrunc double %127 to float store float %128, ptr @bnldev.pc, align 4 %129 = load float, ptr %13, align 4 %130 = call float @log(float noundef %129) store float %130, ptr @bnldev.plog, align 4 %131 = load float, ptr @bnldev.pc, align 4 %132 = call float @log(float noundef %131) store float %132, ptr @bnldev.pclog, align 4 %133 = load float, ptr %13, align 4 store float %133, ptr @bnldev.pold, align 4 br label %134 134: ; preds = %124, %120 %135 = load float, ptr %9, align 4 %136 = fpext float %135 to double %137 = fmul double 2.000000e+00, %136 %138 = load float, ptr @bnldev.pc, align 4 %139 = fpext float %138 to double %140 = fmul double %137, %139 %141 = call float @sqrt(double noundef %140) store float %141, ptr %15, align 4 br label %142 142: ; preds = %205, %134 br label %143 143: ; preds = %165, %142 %144 = load ptr, ptr %6, align 8 %145 = call double @ran3(ptr noundef %144) %146 = fmul double 0x400921FB54524550, %145 %147 = fptrunc double %146 to float store float %147, ptr %12, align 4 %148 = load float, ptr %12, align 4 %149 = call float @tan(float noundef %148) store float %149, ptr %17, align 4 %150 = load float, ptr %15, align 4 %151 = load float, ptr %17, align 4 %152 = load float, ptr %9, align 4 %153 = call float @llvm.fmuladd.f32(float %150, float %151, float %152) store float %153, ptr %10, align 4 br label %154 154: ; preds = %143 %155 = load float, ptr %10, align 4 %156 = fpext float %155 to double %157 = fcmp olt double %156, 0.000000e+00 br i1 %157, label %165, label %158 158: ; preds = %154 %159 = load float, ptr %10, align 4 %160 = fpext float %159 to double %161 = load float, ptr @bnldev.en, align 4 %162 = fpext float %161 to double %163 = fadd double %162, 1.000000e+00 %164 = fcmp oge double %160, %163 br label %165 165: ; preds = %158, %154 %166 = phi i1 [ true, %154 ], [ %164, %158 ] br i1 %166, label %143, label %167, !llvm.loop !9 167: ; preds = %165 %168 = load float, ptr %10, align 4 %169 = call float @floor(float noundef %168) store float %169, ptr %10, align 4 %170 = load float, ptr %15, align 4 %171 = fpext float %170 to double %172 = fmul double 1.200000e+00, %171 %173 = load float, ptr %17, align 4 %174 = load float, ptr %17, align 4 %175 = fmul float %173, %174 %176 = fpext float %175 to double %177 = fadd double 1.000000e+00, %176 %178 = fmul double %172, %177 %179 = load float, ptr @bnldev.oldg, align 4 %180 = load float, ptr %10, align 4 %181 = fpext float %180 to double %182 = fadd double %181, 1.000000e+00 %183 = fptrunc double %182 to float %184 = call float @gammln(float noundef %183) %185 = fsub float %179, %184 %186 = load float, ptr @bnldev.en, align 4 %187 = load float, ptr %10, align 4 %188 = fsub float %186, %187 %189 = fpext float %188 to double %190 = fadd double %189, 1.000000e+00 %191 = fptrunc double %190 to float %192 = call float @gammln(float noundef %191) %193 = fsub float %185, %192 %194 = load float, ptr %10, align 4 %195 = load float, ptr @bnldev.plog, align 4 %196 = call float @llvm.fmuladd.f32(float %194, float %195, float %193) %197 = load float, ptr @bnldev.en, align 4 %198 = load float, ptr %10, align 4 %199 = fsub float %197, %198 %200 = load float, ptr @bnldev.pclog, align 4 %201 = call float @llvm.fmuladd.f32(float %199, float %200, float %196) %202 = call double @exp(float noundef %201) %203 = fmul double %178, %202 %204 = fptrunc double %203 to float store float %204, ptr %16, align 4 br label %205 205: ; preds = %167 %206 = load ptr, ptr %6, align 8 %207 = call double @ran3(ptr noundef %206) %208 = load float, ptr %16, align 4 %209 = fpext float %208 to double %210 = fcmp ogt double %207, %209 br i1 %210, label %142, label %211, !llvm.loop !10 211: ; preds = %205 %212 = load float, ptr %10, align 4 store float %212, ptr %14, align 4 br label %213 213: ; preds = %211, %102 br label %214 214: ; preds = %213, %59 %215 = load float, ptr %13, align 4 %216 = load float, ptr %4, align 4 %217 = fcmp une float %215, %216 br i1 %217, label %218, label %223 218: ; preds = %214 %219 = load i32, ptr %5, align 4 %220 = sitofp i32 %219 to float %221 = load float, ptr %14, align 4 %222 = fsub float %220, %221 store float %222, ptr %14, align 4 br label %223 223: ; preds = %218, %214 %224 = load float, ptr %14, align 4 ret float %224 } declare double @ran3(ptr noundef) #1 declare double @exp(float noundef) #1 declare float @gammln(float noundef) #1 declare float @log(float noundef) #1 declare float @sqrt(double noundef) #1 declare float @tan(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare float @floor(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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp7b8lz81k.c' source_filename = "/tmp/tmp7b8lz81k.c" target datalayout = "e-m:e-p270: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.taskstats = type { i32, i32, i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [126 x i8] c"\0A\0ACPU %15s%15s%15s%15s\0A %15llu%15llu%15llu%15llu\0AIO %15s%15s\0A %15llu%15llu\0AMEM %15s%15s\0A %15llu%15llu\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"count\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"real total\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"virtual total\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"delay total\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_delayacct(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.taskstats, ptr %3, i32 0, i32 7 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds %struct.taskstats, ptr %6, i32 0, i32 6 %8 = load i32, ptr %7, align 4 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds %struct.taskstats, ptr %9, i32 0, i32 5 %11 = load i32, ptr %10, align 4 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds %struct.taskstats, ptr %12, i32 0, i32 4 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds %struct.taskstats, ptr %15, i32 0, i32 3 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds %struct.taskstats, ptr %18, i32 0, i32 2 %20 = load i32, ptr %19, align 4 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds %struct.taskstats, ptr %21, i32 0, i32 1 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %2, align 8 %25 = getelementptr inbounds %struct.taskstats, ptr %24, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef %5, i32 noundef %8, i32 noundef %11, i32 noundef %14, ptr noundef @.str.1, ptr noundef @.str.4, i32 noundef %17, i32 noundef %20, ptr noundef @.str.1, ptr noundef @.str.4, i32 noundef %23, i32 noundef %26) ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, 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/tmp7b8lz81k.c" target datalayout = "e-m:e-p270: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.taskstats = type { i32, i32, i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [126 x i8] c"\0A\0ACPU %15s%15s%15s%15s\0A %15llu%15llu%15llu%15llu\0AIO %15s%15s\0A %15llu%15llu\0AMEM %15s%15s\0A %15llu%15llu\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"count\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"real total\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"virtual total\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"delay total\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_delayacct(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.taskstats, ptr %3, i32 0, i32 7 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds %struct.taskstats, ptr %6, i32 0, i32 6 %8 = load i32, ptr %7, align 4 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds %struct.taskstats, ptr %9, i32 0, i32 5 %11 = load i32, ptr %10, align 4 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds %struct.taskstats, ptr %12, i32 0, i32 4 %14 = load i32, ptr %13, align 4 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds %struct.taskstats, ptr %15, i32 0, i32 3 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds %struct.taskstats, ptr %18, i32 0, i32 2 %20 = load i32, ptr %19, align 4 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds %struct.taskstats, ptr %21, i32 0, i32 1 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %2, align 8 %25 = getelementptr inbounds %struct.taskstats, ptr %24, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef %5, i32 noundef %8, i32 noundef %11, i32 noundef %14, ptr noundef @.str.1, ptr noundef @.str.4, i32 noundef %17, i32 noundef %20, ptr noundef @.str.1, ptr noundef @.str.4, i32 noundef %23, i32 noundef %26) ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, 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/tmpxibblo5g.c' source_filename = "/tmp/tmpxibblo5g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writenum(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %13 = load i32, ptr %9, align 4 %14 = sub nsw i32 %13, 1 %15 = mul nsw i32 %14, 12 %16 = load i32, ptr %7, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %12, align 4 br label %18 18: ; preds = %36, %5 %19 = load i32, ptr %9, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %43 21: ; preds = %18 %22 = load i32, ptr %6, align 4 %23 = srem i32 %22, 10 store i32 %23, ptr %11, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp sgt i32 %24, 1 br i1 %25, label %29, label %26 26: ; preds = %21 %27 = load i32, ptr %11, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %26, %21 %30 = load i32, ptr %12, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %11, align 4 %33 = add nsw i32 %32, 48 %34 = load i32, ptr %10, align 4 %35 = call i32 @gwrite(i32 noundef %30, i32 noundef %31, i32 noundef %33, i32 noundef %34) br label %36 36: ; preds = %29, %26 %37 = load i32, ptr %6, align 4 %38 = sdiv i32 %37, 10 store i32 %38, ptr %6, align 4 %39 = load i32, ptr %9, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %9, align 4 %41 = load i32, ptr %12, align 4 %42 = sub nsw i32 %41, 12 store i32 %42, ptr %12, align 4 br label %18, !llvm.loop !6 43: ; preds = %18 ret void } declare i32 @gwrite(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxibblo5g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writenum(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %13 = load i32, ptr %9, align 4 %14 = sub nsw i32 %13, 1 %15 = mul nsw i32 %14, 12 %16 = load i32, ptr %7, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %12, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %.lr.ph, label %44 .lr.ph: ; preds = %5 br label %20 20: ; preds = %.lr.ph, %35 %21 = load i32, ptr %6, align 4 %22 = srem i32 %21, 10 store i32 %22, ptr %11, align 4 %23 = load i32, ptr %9, align 4 %24 = icmp sgt i32 %23, 1 br i1 %24, label %28, label %25 25: ; preds = %20 %26 = load i32, ptr %11, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %25, %20 %29 = load i32, ptr %12, align 4 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %11, align 4 %32 = add nsw i32 %31, 48 %33 = load i32, ptr %10, align 4 %34 = call i32 @gwrite(i32 noundef %29, i32 noundef %30, i32 noundef %32, i32 noundef %33) br label %35 35: ; preds = %28, %25 %36 = load i32, ptr %6, align 4 %37 = sdiv i32 %36, 10 store i32 %37, ptr %6, align 4 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %9, align 4 %40 = load i32, ptr %12, align 4 %41 = sub nsw i32 %40, 12 store i32 %41, ptr %12, align 4 %42 = load i32, ptr %9, align 4 %43 = icmp sgt i32 %42, 0 br i1 %43, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %44 44: ; preds = %._crit_edge, %5 ret void } declare i32 @gwrite(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2i2kt2ng.c' source_filename = "/tmp/tmp2i2kt2ng.c" target datalayout = "e-m:e-p270: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.coins = private unnamed_addr constant [7 x i32] [i32 500, i32 100, i32 50, i32 10, i32 5, i32 1, i32 0], align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.coins, i64 28, i1 false) br label %7 7: ; preds = %0, %40 store i32 1000, ptr %6, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %7 br label %43 12: ; preds = %7 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %6, align 4 %15 = sub nsw i32 %14, %13 store i32 %15, ptr %6, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %16 16: ; preds = %37, %12 %17 = load i32, ptr %6, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %19, label %40 19: ; preds = %16 br label %20 20: ; preds = %27, %19 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = icmp slt i32 %21, %25 br i1 %26, label %27, label %30 27: ; preds = %20 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %20, !llvm.loop !6 30: ; preds = %20 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load i32, ptr %6, align 4 %36 = sub nsw i32 %35, %34 store i32 %36, ptr %6, align 4 br label %37 37: ; preds = %30 %38 = load i32, ptr %4, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %4, align 4 br label %16, !llvm.loop !8 40: ; preds = %16 %41 = load i32, ptr %4, align 4 %42 = call i32 @printf(ptr noundef @.str.1, i32 noundef %41) br label %7 43: ; preds = %11 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @scanf(ptr 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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2i2kt2ng.c" target datalayout = "e-m:e-p270: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.coins = private unnamed_addr constant [7 x i32] [i32 500, i32 100, i32 50, i32 10, i32 5, i32 1, i32 0], align 16 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.coins, i64 28, i1 false) store i32 1000, ptr %6, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %8 = load i32, ptr %3, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %.lr.ph5 .lr.ph5: ; preds = %0 br label %11 ._crit_edge6: ; preds = %45 br label %10 10: ; preds = %._crit_edge6, %0 br label %51 11: ; preds = %.lr.ph5, %45 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %6, align 4 %14 = sub nsw i32 %13, %12 store i32 %14, ptr %6, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %.lr.ph2, label %45 .lr.ph2: ; preds = %11 br label %17 17: ; preds = %.lr.ph2, %40 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %20 %22 = load i32, ptr %21, align 4 %23 = icmp slt i32 %18, %22 br i1 %23, label %.lr.ph, label %33 .lr.ph: ; preds = %17 br label %24 24: ; preds = %.lr.ph, %24 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %29 %31 = load i32, ptr %30, align 4 %32 = icmp slt i32 %27, %31 br i1 %32, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %33 33: ; preds = %._crit_edge, %17 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr %6, align 4 %39 = sub nsw i32 %38, %37 store i32 %39, ptr %6, align 4 br label %40 40: ; preds = %33 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %4, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp sgt i32 %43, 0 br i1 %44, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %45 45: ; preds = %._crit_edge3, %11 %46 = load i32, ptr %4, align 4 %47 = call i32 @printf(ptr noundef @.str.1, i32 noundef %46) store i32 1000, ptr %6, align 4 %48 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %49 = load i32, ptr %3, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %._crit_edge6, label %11 51: ; preds = %10 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @scanf(ptr 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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpdpc4y260.c' source_filename = "/tmp/tmpdpc4y260.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sjson_countSecialCharacter(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 ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %1 store i32 0, ptr %2, align 4 br label %36 11: ; preds = %1 br label %12 12: ; preds = %31, %11 %13 = load ptr, ptr %6, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %34 17: ; preds = %12 %18 = load ptr, ptr %6, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 34 br i1 %21, label %27, label %22 22: ; preds = %17 %23 = load ptr, ptr %6, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 92 br i1 %26, label %27, label %30 27: ; preds = %22, %17 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %4, align 4 br label %30 30: ; preds = %27, %22 br label %31 31: ; preds = %30 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %6, align 8 br label %12, !llvm.loop !6 34: ; preds = %12 %35 = load i32, ptr %4, align 4 store i32 %35, ptr %2, align 4 br label %36 36: ; preds = %34, %10 %37 = load i32, ptr %2, align 4 ret i32 %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpdpc4y260.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sjson_countSecialCharacter(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 ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %1 store i32 0, ptr %2, align 4 br label %39 11: ; preds = %1 %12 = load ptr, ptr %6, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph, label %37 .lr.ph: ; preds = %11 br label %16 16: ; preds = %.lr.ph, %30 %17 = load ptr, ptr %6, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 34 br i1 %20, label %26, label %21 21: ; preds = %16 %22 = load ptr, ptr %6, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 92 br i1 %25, label %26, label %29 26: ; preds = %21, %16 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 br label %29 29: ; preds = %26, %21 br label %30 30: ; preds = %29 %31 = load ptr, ptr %6, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %6, align 8 %33 = load ptr, ptr %6, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br i1 %36, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %37 37: ; preds = %._crit_edge, %11 %38 = load i32, ptr %4, align 4 store i32 %38, ptr %2, align 4 br label %39 39: ; preds = %37, %10 %40 = load i32, ptr %2, align 4 ret i32 %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_o0pxilr.c' source_filename = "/tmp/tmp_o0pxilr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_o0pxilr.c" target datalayout = "e-m:e-p270: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/tmpjjylo0pg.c' source_filename = "/tmp/tmpjjylo0pg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"testfile\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @mknod(ptr noundef @.str, i8 noundef signext 98, i32 noundef 0) ret i32 0 } declare i32 @mknod(ptr noundef, i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjjylo0pg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"testfile\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @mknod(ptr noundef @.str, i8 noundef signext 98, i32 noundef 0) ret i32 0 } declare i32 @mknod(ptr noundef, i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppkn00jdc.c' source_filename = "/tmp/tmppkn00jdc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display_full_command(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call ptr @malloc(i32 noundef 514) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6) %8 = load i32, ptr @STDOUT_FILENO, align 4 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %11) %13 = load ptr, ptr %3, align 8 %14 = call i32 @free(ptr noundef %13) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(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/tmppkn00jdc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display_full_command(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call ptr @malloc(i32 noundef 514) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6) %8 = load i32, ptr @STDOUT_FILENO, align 4 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %11) %13 = load ptr, ptr %3, align 8 %14 = call i32 @free(ptr noundef %13) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(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/tmpjgbzmah8.c' source_filename = "/tmp/tmpjgbzmah8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @c(i32 noundef %9, i32 noundef %10) %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @c(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/tmpjgbzmah8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @c(i32 noundef %9, i32 noundef %10) %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @c(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/tmpn0c39u9p.c' source_filename = "/tmp/tmpn0c39u9p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Brute force module for PcAnywhere sessions\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"2.0\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"%s : version %s\00", align 1 @.str.3 = private unnamed_addr constant [77 x i8] c"%s reports an error in summaryUsage() : ppszSummary must be NULL when called\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"pcanywhere.mod\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @summaryUsage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %4, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %26 7: ; preds = %1 %8 = call i32 @strlen(ptr noundef @.str) %9 = call i32 @strlen(ptr noundef @.str.1) %10 = add nsw i32 %8, %9 %11 = call i32 @strlen(ptr noundef @.str.2) %12 = add nsw i32 %10, %11 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr %17 = load ptr, ptr %2, align 8 store ptr %16, ptr %17, align 8 %18 = load ptr, ptr %2, align 8 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr %3, align 4 %21 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %3, align 4 %25 = call i32 @snprintf(ptr noundef %23, i32 noundef %24, ptr noundef @.str.2, ptr noundef @.str, ptr noundef @.str.1) br label %28 26: ; preds = %1 %27 = call i32 @writeError(i32 noundef 3, ptr noundef @.str.3, ptr noundef @.str.4) br label %28 28: ; preds = %26, %7 ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @writeError(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/tmpn0c39u9p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Brute force module for PcAnywhere sessions\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"2.0\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"%s : version %s\00", align 1 @.str.3 = private unnamed_addr constant [77 x i8] c"%s reports an error in summaryUsage() : ppszSummary must be NULL when called\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"pcanywhere.mod\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @summaryUsage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %4, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %26 7: ; preds = %1 %8 = call i32 @strlen(ptr noundef @.str) %9 = call i32 @strlen(ptr noundef @.str.1) %10 = add nsw i32 %8, %9 %11 = call i32 @strlen(ptr noundef @.str.2) %12 = add nsw i32 %10, %11 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = call i64 @malloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr %17 = load ptr, ptr %2, align 8 store ptr %16, ptr %17, align 8 %18 = load ptr, ptr %2, align 8 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr %3, align 4 %21 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %3, align 4 %25 = call i32 @snprintf(ptr noundef %23, i32 noundef %24, ptr noundef @.str.2, ptr noundef @.str, ptr noundef @.str.1) br label %28 26: ; preds = %1 %27 = call i32 @writeError(i32 noundef 3, ptr noundef @.str.3, ptr noundef @.str.4) br label %28 28: ; preds = %26, %7 ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @writeError(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/tmpb4eqg9a2.c' source_filename = "/tmp/tmpb4eqg9a2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @ANT_OpenChannel(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = call zeroext i8 @msg_send(i32 noundef 75, ptr noundef %2, i32 noundef 1) ret i8 %3 } declare zeroext i8 @msg_send(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb4eqg9a2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @ANT_OpenChannel(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = call zeroext i8 @msg_send(i32 noundef 75, ptr noundef %2, i32 noundef 1) ret i8 %3 } declare zeroext i8 @msg_send(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdmys5w6d.c' source_filename = "/tmp/tmpdmys5w6d.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [6 x i8] c"avgll\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.2f\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 i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %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 store i64 0, ptr %6, align 8 store i64 0, ptr %7, align 8 store ptr null, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %14, %2 %11 = load i32, ptr @stdin, align 4 %12 = call i32 @cmn_getline(i32 noundef %11, ptr noundef %8) store i32 %12, ptr %9, align 4 %13 = icmp sge i32 %12, 0 br i1 %13, label %14, label %25 14: ; preds = %10 %15 = load ptr, ptr %8, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = sub nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = load i64, ptr %7, align 8 %20 = add i64 %19, %18 store i64 %20, ptr %7, align 8 %21 = load i64, ptr %6, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %6, align 8 %23 = load ptr, ptr %8, align 8 %24 = call i32 @free(ptr noundef %23) br label %10, !llvm.loop !6 25: ; preds = %10 %26 = load i32, ptr %9, align 4 %27 = icmp eq i32 %26, -2 br i1 %27, label %28, label %30 28: ; preds = %25 %29 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %37 30: ; preds = %25 %31 = load i64, ptr %7, align 8 %32 = uitofp i64 %31 to double %33 = load i64, ptr %6, align 8 %34 = uitofp i64 %33 to double %35 = fdiv double %32, %34 %36 = call i32 @printf(ptr noundef @.str.1, double noundef %35) store i32 0, ptr %3, align 4 br label %37 37: ; preds = %30, %28 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i32 @cmn_getline(i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdmys5w6d.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [6 x i8] c"avgll\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.2f\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 i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %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 store i64 0, ptr %6, align 8 store i64 0, ptr %7, align 8 store ptr null, ptr %8, align 8 store i32 0, ptr %9, align 4 %10 = load i32, ptr @stdin, align 4 %11 = call i32 @cmn_getline(i32 noundef %10, ptr noundef %8) store i32 %11, ptr %9, align 4 %12 = icmp sge i32 %11, 0 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %13 %14 = load ptr, ptr %8, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = sub nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = load i64, ptr %7, align 8 %19 = add i64 %18, %17 store i64 %19, ptr %7, align 8 %20 = load i64, ptr %6, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %6, align 8 %22 = load ptr, ptr %8, align 8 %23 = call i32 @free(ptr noundef %22) %24 = load i32, ptr @stdin, align 4 %25 = call i32 @cmn_getline(i32 noundef %24, ptr noundef %8) store i32 %25, ptr %9, align 4 %26 = icmp sge i32 %25, 0 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %27 27: ; preds = %._crit_edge, %2 %28 = load i32, ptr %9, align 4 %29 = icmp eq i32 %28, -2 br i1 %29, label %30, label %32 30: ; preds = %27 %31 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %39 32: ; preds = %27 %33 = load i64, ptr %7, align 8 %34 = uitofp i64 %33 to double %35 = load i64, ptr %6, align 8 %36 = uitofp i64 %35 to double %37 = fdiv double %34, %36 %38 = call i32 @printf(ptr noundef @.str.1, double noundef %37) store i32 0, ptr %3, align 4 br label %39 39: ; preds = %32, %30 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i32 @cmn_getline(i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr 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"}
; ModuleID = '/tmp/tmp0mq9qozi.c' source_filename = "/tmp/tmp0mq9qozi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"How many nodes does the graph contain?\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [96 x i8] c"Please enter the values for the distance matrix of the directed graph. Enter 999 for infinity.\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"The entered matrix is : \0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%d \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [53 x i8] c"The resultant all-pairs shortest-paths matrix is : \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 ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store ptr null, ptr %5, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 8 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %5, align 8 store i32 0, ptr %3, align 4 br label %13 13: ; preds = %27, %0 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %30 17: ; preds = %13 %18 = load i32, ptr %2, align 4 %19 = sext i32 %18 to i64 %20 = mul i64 %19, 4 %21 = trunc i64 %20 to i32 %22 = call ptr @malloc(i32 noundef %21) %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 store ptr %22, ptr %26, align 8 br label %27 27: ; preds = %17 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %13, !llvm.loop !6 30: ; preds = %13 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %32 32: ; preds = %55, %30 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %58 36: ; preds = %32 store i32 0, ptr %4, align 4 br label %37 37: ; preds = %51, %36 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %54 41: ; preds = %37 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %49) br label %51 51: ; preds = %41 %52 = load i32, ptr %4, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %4, align 4 br label %37, !llvm.loop !8 54: ; preds = %37 br label %55 55: ; preds = %54 %56 = load i32, ptr %3, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %3, align 4 br label %32, !llvm.loop !9 58: ; preds = %32 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %3, align 4 br label %60 60: ; preds = %85, %58 %61 = load i32, ptr %3, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %88 64: ; preds = %60 store i32 0, ptr %4, align 4 br label %65 65: ; preds = %80, %64 %66 = load i32, ptr %4, align 4 %67 = load i32, ptr %2, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %69, label %83 69: ; preds = %65 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %3, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds ptr, ptr %70, i64 %72 %74 = load ptr, ptr %73, align 8 %75 = load i32, ptr %4, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 %78 = load i32, ptr %77, align 4 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %78) br label %80 80: ; preds = %69 %81 = load i32, ptr %4, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %4, align 4 br label %65, !llvm.loop !10 83: ; preds = %65 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %85 85: ; preds = %83 %86 = load i32, ptr %3, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %3, align 4 br label %60, !llvm.loop !11 88: ; preds = %60 %89 = load ptr, ptr %5, align 8 %90 = load i32, ptr %2, align 4 %91 = call i32 @floyd(ptr noundef %89, i32 noundef %90) %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %3, align 4 br label %93 93: ; preds = %118, %88 %94 = load i32, ptr %3, align 4 %95 = load i32, ptr %2, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %97, label %121 97: ; preds = %93 store i32 0, ptr %4, align 4 br label %98 98: ; preds = %113, %97 %99 = load i32, ptr %4, align 4 %100 = load i32, ptr %2, align 4 %101 = icmp slt i32 %99, %100 br i1 %101, label %102, label %116 102: ; preds = %98 %103 = load ptr, ptr %5, align 8 %104 = load i32, ptr %3, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds ptr, ptr %103, i64 %105 %107 = load ptr, ptr %106, align 8 %108 = load i32, ptr %4, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %107, i64 %109 %111 = load i32, ptr %110, align 4 %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %111) br label %113 113: ; preds = %102 %114 = load i32, ptr %4, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %4, align 4 br label %98, !llvm.loop !12 116: ; preds = %98 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %118 118: ; preds = %116 %119 = load i32, ptr %3, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %3, align 4 br label %93, !llvm.loop !13 121: ; preds = %93 %122 = load ptr, ptr %5, align 8 %123 = call i32 @delMat(ptr noundef %122) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @floyd(ptr noundef, i32 noundef) #1 declare i32 @delMat(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0mq9qozi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"How many nodes does the graph contain?\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [96 x i8] c"Please enter the values for the distance matrix of the directed graph. Enter 999 for infinity.\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"The entered matrix is : \0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%d \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [53 x i8] c"The resultant all-pairs shortest-paths matrix is : \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 ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store ptr null, ptr %5, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = sext i32 %8 to i64 %10 = mul i64 %9, 8 %11 = trunc i64 %10 to i32 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %5, align 8 store i32 0, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %26 %17 = load i32, ptr %2, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 4 %20 = trunc i64 %19 to i32 %21 = call ptr @malloc(i32 noundef %20) %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 store ptr %21, ptr %25, align 8 br label %26 26: ; preds = %16 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %0 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph5, label %64 .lr.ph5: ; preds = %32 br label %37 37: ; preds = %.lr.ph5, %58 store i32 0, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph2, label %57 .lr.ph2: ; preds = %37 br label %41 41: ; preds = %.lr.ph2, %51 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %49) br label %51 51: ; preds = %41 %52 = load i32, ptr %4, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %4, align 4 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %2, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %57 57: ; preds = %._crit_edge3, %37 br label %58 58: ; preds = %57 %59 = load i32, ptr %3, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %3, align 4 %61 = load i32, ptr %3, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %37, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %58 br label %64 64: ; preds = %._crit_edge6, %32 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %3, align 4 %66 = load i32, ptr %3, align 4 %67 = load i32, ptr %2, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %.lr.ph11, label %98 .lr.ph11: ; preds = %64 br label %69 69: ; preds = %.lr.ph11, %92 store i32 0, ptr %4, align 4 %70 = load i32, ptr %4, align 4 %71 = load i32, ptr %2, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %.lr.ph8, label %90 .lr.ph8: ; preds = %69 br label %73 73: ; preds = %.lr.ph8, %84 %74 = load ptr, ptr %5, align 8 %75 = load i32, ptr %3, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds ptr, ptr %74, i64 %76 %78 = load ptr, ptr %77, align 8 %79 = load i32, ptr %4, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 %82 = load i32, ptr %81, align 4 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %82) br label %84 84: ; preds = %73 %85 = load i32, ptr %4, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %4, align 4 %87 = load i32, ptr %4, align 4 %88 = load i32, ptr %2, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %73, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %84 br label %90 90: ; preds = %._crit_edge9, %69 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %92 92: ; preds = %90 %93 = load i32, ptr %3, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %3, align 4 %95 = load i32, ptr %3, align 4 %96 = load i32, ptr %2, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %69, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %92 br label %98 98: ; preds = %._crit_edge12, %64 %99 = load ptr, ptr %5, align 8 %100 = load i32, ptr %2, align 4 %101 = call i32 @floyd(ptr noundef %99, i32 noundef %100) %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %3, align 4 %103 = load i32, ptr %3, align 4 %104 = load i32, ptr %2, align 4 %105 = icmp slt i32 %103, %104 br i1 %105, label %.lr.ph17, label %135 .lr.ph17: ; preds = %98 br label %106 106: ; preds = %.lr.ph17, %129 store i32 0, ptr %4, align 4 %107 = load i32, ptr %4, align 4 %108 = load i32, ptr %2, align 4 %109 = icmp slt i32 %107, %108 br i1 %109, label %.lr.ph14, label %127 .lr.ph14: ; preds = %106 br label %110 110: ; preds = %.lr.ph14, %121 %111 = load ptr, ptr %5, align 8 %112 = load i32, ptr %3, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds ptr, ptr %111, i64 %113 %115 = load ptr, ptr %114, align 8 %116 = load i32, ptr %4, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %115, i64 %117 %119 = load i32, ptr %118, align 4 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %119) br label %121 121: ; preds = %110 %122 = load i32, ptr %4, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %4, align 4 %124 = load i32, ptr %4, align 4 %125 = load i32, ptr %2, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %110, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %121 br label %127 127: ; preds = %._crit_edge15, %106 %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %129 129: ; preds = %127 %130 = load i32, ptr %3, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %3, align 4 %132 = load i32, ptr %3, align 4 %133 = load i32, ptr %2, align 4 %134 = icmp slt i32 %132, %133 br i1 %134, label %106, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %129 br label %135 135: ; preds = %._crit_edge18, %98 %136 = load ptr, ptr %5, align 8 %137 = call i32 @delMat(ptr noundef %136) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @floyd(ptr noundef, i32 noundef) #1 declare i32 @delMat(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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}
; ModuleID = '/tmp/tmpx8ivj3f3.c' source_filename = "/tmp/tmpx8ivj3f3.c" target datalayout = "e-m:e-p270: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/tmpx8ivj3f3.c" target datalayout = "e-m:e-p270: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/tmpahvkge6x.c' source_filename = "/tmp/tmpahvkge6x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GMP_RNDU = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @sub_hi(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load i32, ptr @GMP_RNDU, align 4 %6 = call i32 @mpfr_set_default_rounding_mode(i32 noundef %5) %7 = load double, ptr %3, align 8 %8 = load double, ptr %4, align 8 %9 = fsub double %7, %8 ret double %9 } declare i32 @mpfr_set_default_rounding_mode(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/tmpahvkge6x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GMP_RNDU = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @sub_hi(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load i32, ptr @GMP_RNDU, align 4 %6 = call i32 @mpfr_set_default_rounding_mode(i32 noundef %5) %7 = load double, ptr %3, align 8 %8 = load double, ptr %4, align 8 %9 = fsub double %7, %8 ret double %9 } declare i32 @mpfr_set_default_rounding_mode(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/tmp6wygo2oo.c' source_filename = "/tmp/tmp6wygo2oo.c" target datalayout = "e-m:e-p270: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/tmp6wygo2oo.c" target datalayout = "e-m:e-p270: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/tmpyo7c7n_3.c' source_filename = "/tmp/tmpyo7c7n_3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigalrm_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyo7c7n_3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigalrm_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @exit(i32 noundef 0) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnliwegmk.c' source_filename = "/tmp/tmpnliwegmk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\09\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\0A\09\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_seq_from_to(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca ptr, align 8 %19 = alloca i8, align 1 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store i64 %2, ptr %12, align 8 store i64 %3, ptr %13, align 8 store i64 %4, ptr %14, align 8 store i64 %5, ptr %15, align 8 store i64 %6, ptr %16, align 8 store i64 %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %23 = load ptr, ptr %10, align 8 %24 = load i64, ptr %14, align 8 %25 = load i32, ptr @SEEK_SET, align 4 %26 = call i32 @fseek(ptr noundef %23, i64 noundef %24, i32 noundef %25) %27 = load ptr, ptr %10, align 8 %28 = call signext i8 @fgetc(ptr noundef %27) store i8 %28, ptr %19, align 1 br label %29 29: ; preds = %33, %9 %30 = load i8, ptr %19, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 10 br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load ptr, ptr %10, align 8 %35 = call signext i8 @fgetc(ptr noundef %34) store i8 %35, ptr %19, align 1 br label %29, !llvm.loop !6 36: ; preds = %29 %37 = load i64, ptr %12, align 8 %38 = load i64, ptr %15, align 8 %39 = sub nsw i64 %37, %38 store i64 %39, ptr %20, align 8 store i64 0, ptr %21, align 8 br label %40 40: ; preds = %53, %36 %41 = load i64, ptr %21, align 8 %42 = load i64, ptr %20, align 8 %43 = icmp slt i64 %41, %42 br i1 %43, label %44, label %54 44: ; preds = %40 %45 = load ptr, ptr %10, align 8 %46 = call signext i8 @fgetc(ptr noundef %45) store i8 %46, ptr %19, align 1 %47 = load i8, ptr %19, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 10 br i1 %49, label %50, label %53 50: ; preds = %44 %51 = load i64, ptr %21, align 8 %52 = add nsw i64 %51, 1 store i64 %52, ptr %21, align 8 br label %53 53: ; preds = %50, %44 br label %40, !llvm.loop !8 54: ; preds = %40 store i64 0, ptr %21, align 8 %55 = load ptr, ptr %10, align 8 %56 = call signext i8 @fgetc(ptr noundef %55) store i8 %56, ptr %19, align 1 %57 = load ptr, ptr %18, align 8 %58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef @.str) store i64 0, ptr %22, align 8 br label %59 59: ; preds = %93, %54 %60 = load i64, ptr %21, align 8 %61 = load i64, ptr %17, align 8 %62 = icmp slt i64 %60, %61 br i1 %62, label %63, label %94 63: ; preds = %59 %64 = load i8, ptr %19, align 1 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %65, 10 br i1 %66, label %67, label %72 67: ; preds = %63 %68 = load ptr, ptr %18, align 8 %69 = load i8, ptr %19, align 1 %70 = sext i8 %69 to i32 %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.1, i32 noundef %70) br label %72 72: ; preds = %67, %63 %73 = load ptr, ptr %10, align 8 %74 = call signext i8 @fgetc(ptr noundef %73) store i8 %74, ptr %19, align 1 %75 = load i8, ptr %19, align 1 %76 = sext i8 %75 to i32 %77 = icmp ne i32 %76, 10 br i1 %77, label %82, label %78 78: ; preds = %72 %79 = load ptr, ptr %10, align 8 %80 = call i64 @feof(ptr noundef %79) %81 = icmp ne i64 %80, 0 br i1 %81, label %82, label %87 82: ; preds = %78, %72 %83 = load i64, ptr %21, align 8 %84 = add nsw i64 %83, 1 store i64 %84, ptr %21, align 8 %85 = load i64, ptr %22, align 8 %86 = add nsw i64 %85, 1 store i64 %86, ptr %22, align 8 br label %87 87: ; preds = %82, %78 %88 = load i64, ptr %22, align 8 %89 = icmp eq i64 %88, 70 br i1 %89, label %90, label %93 90: ; preds = %87 %91 = load ptr, ptr %18, align 8 %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef @.str.2) store i64 0, ptr %22, align 8 br label %93 93: ; preds = %90, %87 br label %59, !llvm.loop !9 94: ; preds = %59 %95 = load ptr, ptr %18, align 8 %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.3) ret void } declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i64 @feof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpnliwegmk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\09\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\0A\09\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_seq_from_to(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca ptr, align 8 %19 = alloca i8, align 1 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca i64, align 8 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store i64 %2, ptr %12, align 8 store i64 %3, ptr %13, align 8 store i64 %4, ptr %14, align 8 store i64 %5, ptr %15, align 8 store i64 %6, ptr %16, align 8 store i64 %7, ptr %17, align 8 store ptr %8, ptr %18, align 8 %23 = load ptr, ptr %10, align 8 %24 = load i64, ptr %14, align 8 %25 = load i32, ptr @SEEK_SET, align 4 %26 = call i32 @fseek(ptr noundef %23, i64 noundef %24, i32 noundef %25) %27 = load ptr, ptr %10, align 8 %28 = call signext i8 @fgetc(ptr noundef %27) store i8 %28, ptr %19, align 1 %29 = load i8, ptr %19, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 10 br i1 %31, label %.lr.ph, label %38 .lr.ph: ; preds = %9 br label %32 32: ; preds = %.lr.ph, %32 %33 = load ptr, ptr %10, align 8 %34 = call signext i8 @fgetc(ptr noundef %33) store i8 %34, ptr %19, align 1 %35 = load i8, ptr %19, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 10 br i1 %37, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %9 %39 = load i64, ptr %12, align 8 %40 = load i64, ptr %15, align 8 %41 = sub nsw i64 %39, %40 store i64 %41, ptr %20, align 8 store i64 0, ptr %21, align 8 %42 = load i64, ptr %21, align 8 %43 = load i64, ptr %20, align 8 %44 = icmp slt i64 %42, %43 br i1 %44, label %.lr.ph2, label %58 .lr.ph2: ; preds = %38 br label %45 45: ; preds = %.lr.ph2, %54 %46 = load ptr, ptr %10, align 8 %47 = call signext i8 @fgetc(ptr noundef %46) store i8 %47, ptr %19, align 1 %48 = load i8, ptr %19, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 %49, 10 br i1 %50, label %51, label %54 51: ; preds = %45 %52 = load i64, ptr %21, align 8 %53 = add nsw i64 %52, 1 store i64 %53, ptr %21, align 8 br label %54 54: ; preds = %51, %45 %55 = load i64, ptr %21, align 8 %56 = load i64, ptr %20, align 8 %57 = icmp slt i64 %55, %56 br i1 %57, label %45, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %58 58: ; preds = %._crit_edge3, %38 store i64 0, ptr %21, align 8 %59 = load ptr, ptr %10, align 8 %60 = call signext i8 @fgetc(ptr noundef %59) store i8 %60, ptr %19, align 1 %61 = load ptr, ptr %18, align 8 %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str) store i64 0, ptr %22, align 8 %63 = load i64, ptr %21, align 8 %64 = load i64, ptr %17, align 8 %65 = icmp slt i64 %63, %64 br i1 %65, label %.lr.ph5, label %100 .lr.ph5: ; preds = %58 br label %66 66: ; preds = %.lr.ph5, %96 %67 = load i8, ptr %19, align 1 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %68, 10 br i1 %69, label %70, label %75 70: ; preds = %66 %71 = load ptr, ptr %18, align 8 %72 = load i8, ptr %19, align 1 %73 = sext i8 %72 to i32 %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.1, i32 noundef %73) br label %75 75: ; preds = %70, %66 %76 = load ptr, ptr %10, align 8 %77 = call signext i8 @fgetc(ptr noundef %76) store i8 %77, ptr %19, align 1 %78 = load i8, ptr %19, align 1 %79 = sext i8 %78 to i32 %80 = icmp ne i32 %79, 10 br i1 %80, label %85, label %81 81: ; preds = %75 %82 = load ptr, ptr %10, align 8 %83 = call i64 @feof(ptr noundef %82) %84 = icmp ne i64 %83, 0 br i1 %84, label %85, label %90 85: ; preds = %81, %75 %86 = load i64, ptr %21, align 8 %87 = add nsw i64 %86, 1 store i64 %87, ptr %21, align 8 %88 = load i64, ptr %22, align 8 %89 = add nsw i64 %88, 1 store i64 %89, ptr %22, align 8 br label %90 90: ; preds = %85, %81 %91 = load i64, ptr %22, align 8 %92 = icmp eq i64 %91, 70 br i1 %92, label %93, label %96 93: ; preds = %90 %94 = load ptr, ptr %18, align 8 %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.2) store i64 0, ptr %22, align 8 br label %96 96: ; preds = %93, %90 %97 = load i64, ptr %21, align 8 %98 = load i64, ptr %17, align 8 %99 = icmp slt i64 %97, %98 br i1 %99, label %66, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %96 br label %100 100: ; preds = %._crit_edge6, %58 %101 = load ptr, ptr %18, align 8 %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef @.str.3) ret void } declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i64 @feof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp2zxgpegb.c' source_filename = "/tmp/tmp2zxgpegb.c" target datalayout = "e-m:e-p270: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/tmp2zxgpegb.c" target datalayout = "e-m:e-p270: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/tmpwdfjdxql.c' source_filename = "/tmp/tmpwdfjdxql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"test: %.2X\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @LLVMFuzzerTestOneInput(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca [4 x i8], align 1 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load i64, ptr %5, align 8 %8 = icmp ult i64 %7, 8 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 0, ptr %3, align 4 br label %37 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 %13 = load i8, ptr %12, align 1 %14 = zext i8 %13 to i32 %15 = icmp eq i32 %14, 104 br i1 %15, label %16, label %36 16: ; preds = %10 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = icmp eq i32 %20, 105 br i1 %21, label %22, label %36 22: ; preds = %16 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 2 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = icmp eq i32 %26, 33 br i1 %27, label %28, label %36 28: ; preds = %22 %29 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %30 = load ptr, ptr %4, align 8 %31 = load i64, ptr %5, align 8 %32 = call i32 @memcpy(ptr noundef %29, ptr noundef %30, i64 noundef %31) %33 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %34 = load i8, ptr %33, align 1 %35 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %34) br label %36 36: ; preds = %28, %22, %16, %10 store i32 0, ptr %3, align 4 br label %37 37: ; preds = %36, %9 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwdfjdxql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"test: %.2X\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @LLVMFuzzerTestOneInput(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca [4 x i8], align 1 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load i64, ptr %5, align 8 %8 = icmp ult i64 %7, 8 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 0, ptr %3, align 4 br label %37 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 %13 = load i8, ptr %12, align 1 %14 = zext i8 %13 to i32 %15 = icmp eq i32 %14, 104 br i1 %15, label %16, label %36 16: ; preds = %10 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = icmp eq i32 %20, 105 br i1 %21, label %22, label %36 22: ; preds = %16 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 2 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = icmp eq i32 %26, 33 br i1 %27, label %28, label %36 28: ; preds = %22 %29 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %30 = load ptr, ptr %4, align 8 %31 = load i64, ptr %5, align 8 %32 = call i32 @memcpy(ptr noundef %29, ptr noundef %30, i64 noundef %31) %33 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0 %34 = load i8, ptr %33, align 1 %35 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %34) br label %36 36: ; preds = %28, %22, %16, %10 store i32 0, ptr %3, align 4 br label %37 37: ; preds = %36, %9 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2ayu21xr.c' source_filename = "/tmp/tmp2ayu21xr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FNM_NOESCAPE = 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/tmp2ayu21xr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FNM_NOESCAPE = 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/tmp8vhtafol.c' source_filename = "/tmp/tmp8vhtafol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%02x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %24, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 28 br i1 %6, label %7, label %27 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = zext i8 %12 to i32 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %7 %18 = load i32, ptr %3, align 4 %19 = and i32 %18, 3 %20 = icmp eq i32 %19, 3 br i1 %20, label %21, label %23 21: ; preds = %17 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %23 23: ; preds = %21, %17, %7 br label %24 24: ; preds = %23 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %4, !llvm.loop !6 27: ; preds = %4 store i32 0, ptr %3, align 4 br label %28 28: ; preds = %49, %27 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %29, 80 br i1 %30, label %31, label %52 31: ; preds = %28 %32 = load ptr, ptr %2, align 8 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 28 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %38) %40 = load i32, ptr %3, align 4 %41 = icmp sgt i32 %40, 0 br i1 %41, label %42, label %48 42: ; preds = %31 %43 = load i32, ptr %3, align 4 %44 = srem i32 %43, 10 %45 = icmp eq i32 %44, 9 br i1 %45, label %46, label %48 46: ; preds = %42 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 48: ; preds = %46, %42, %31 br label %49 49: ; preds = %48 %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %3, align 4 br label %28, !llvm.loop !8 52: ; preds = %28 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8vhtafol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%02x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 28 br i1 %5, label %.lr.ph, label %28 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %23 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %7, i64 %9 %11 = load i8, ptr %10, align 1 %12 = zext i8 %11 to i32 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr %3, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %6 %17 = load i32, ptr %3, align 4 %18 = and i32 %17, 3 %19 = icmp eq i32 %18, 3 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %22 22: ; preds = %20, %16, %6 br label %23 23: ; preds = %22 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %26, 28 br i1 %27, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %1 store i32 0, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %29, 80 br i1 %30, label %.lr.ph2, label %54 .lr.ph2: ; preds = %28 br label %31 31: ; preds = %.lr.ph2, %49 %32 = load ptr, ptr %2, align 8 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 28 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %38) %40 = load i32, ptr %3, align 4 %41 = icmp sgt i32 %40, 0 br i1 %41, label %42, label %48 42: ; preds = %31 %43 = load i32, ptr %3, align 4 %44 = srem i32 %43, 10 %45 = icmp eq i32 %44, 9 br i1 %45, label %46, label %48 46: ; preds = %42 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 48: ; preds = %46, %42, %31 br label %49 49: ; preds = %48 %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %3, align 4 %52 = load i32, ptr %3, align 4 %53 = icmp slt i32 %52, 80 br i1 %53, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %49 br label %54 54: ; preds = %._crit_edge3, %28 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6cbh77ls.c' source_filename = "/tmp/tmp6cbh77ls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCReferenceGet(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 56 %5 = sext i32 %4 to i64 %6 = inttoptr i64 %5 to ptr %7 = load volatile i32, ptr %6, align 4 %8 = and i32 %7, 3 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/tmp6cbh77ls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ADCReferenceGet(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 56 %5 = sext i32 %4 to i64 %6 = inttoptr i64 %5 to ptr %7 = load volatile i32, ptr %6, align 4 %8 = and i32 %7, 3 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/tmp0z763p00.c' source_filename = "/tmp/tmp0z763p00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_directory_order(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 i64 @isalnum(i8 noundef signext %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = call i64 @isspace(i8 noundef signext %7) %9 = icmp ne i64 %8, 0 br label %10 10: ; preds = %6, %1 %11 = phi i1 [ true, %1 ], [ %9, %6 ] %12 = zext i1 %11 to i64 %13 = select i1 %11, i32 1, i32 0 ret i32 %13 } declare i64 @isalnum(i8 noundef signext) #1 declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0z763p00.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_directory_order(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 i64 @isalnum(i8 noundef signext %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = call i64 @isspace(i8 noundef signext %7) %9 = icmp ne i64 %8, 0 br label %10 10: ; preds = %6, %1 %11 = phi i1 [ true, %1 ], [ %9, %6 ] %12 = zext i1 %11 to i64 %13 = select i1 %11, i32 1, i32 0 ret i32 %13 } declare i64 @isalnum(i8 noundef signext) #1 declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpblcph7b4.c' source_filename = "/tmp/tmpblcph7b4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } %struct.pollfd = type { i32, i32, i32 } @EFAULT = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @POLLIN = dso_local global i32 0, align 4 @POLLRDNORM = dso_local global i32 0, align 4 @POLLOUT = dso_local global i32 0, align 4 @POLLWRNORM = dso_local global i32 0, align 4 @POLLWRBAND = dso_local global i32 0, align 4 @POLLPRI = dso_local global i32 0, align 4 @POLLRDBAND = dso_local global i32 0, align 4 @FD_SETSIZE = dso_local global i32 0, align 4 @EOVERFLOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @poll(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca %struct.timeval, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i64, align 8 %16 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %17 = load ptr, ptr %5, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %24, label %19 19: ; preds = %3 %20 = load i64, ptr %6, align 8 %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = load i32, ptr @EFAULT, align 4 store i32 %23, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %225 24: ; preds = %19, %3 %25 = load i32, ptr %7, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %24 store ptr %11, ptr %12, align 8 %28 = load ptr, ptr %12, align 8 %29 = getelementptr inbounds %struct.timeval, ptr %28, i32 0, i32 0 store i32 0, ptr %29, align 4 %30 = load ptr, ptr %12, align 8 %31 = getelementptr inbounds %struct.timeval, ptr %30, i32 0, i32 1 store i32 0, ptr %31, align 4 br label %53 32: ; preds = %24 %33 = load i32, ptr %7, align 4 %34 = icmp sgt i32 %33, 0 br i1 %34, label %35, label %45 35: ; preds = %32 store ptr %11, ptr %12, align 8 %36 = load i32, ptr %7, align 4 %37 = sdiv i32 %36, 1000 %38 = load ptr, ptr %12, align 8 %39 = getelementptr inbounds %struct.timeval, ptr %38, i32 0, i32 0 store i32 %37, ptr %39, align 4 %40 = load i32, ptr %7, align 4 %41 = srem i32 %40, 1000 %42 = mul nsw i32 %41, 1000 %43 = load ptr, ptr %12, align 8 %44 = getelementptr inbounds %struct.timeval, ptr %43, i32 0, i32 1 store i32 %42, ptr %44, align 4 br label %52 45: ; preds = %32 %46 = load i32, ptr %7, align 4 %47 = icmp eq i32 %46, -1 br i1 %47, label %48, label %49 48: ; preds = %45 store ptr null, ptr %12, align 8 br label %51 49: ; preds = %45 %50 = load i32, ptr @EINVAL, align 4 store i32 %50, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %225 51: ; preds = %48 br label %52 52: ; preds = %51, %35 br label %53 53: ; preds = %52, %27 store i32 -1, ptr %13, align 4 %54 = call i32 @FD_ZERO(ptr noundef %8) %55 = call i32 @FD_ZERO(ptr noundef %9) %56 = call i32 @FD_ZERO(ptr noundef %10) store i64 0, ptr %15, align 8 br label %57 57: ; preds = %167, %53 %58 = load i64, ptr %15, align 8 %59 = load i64, ptr %6, align 8 %60 = icmp ult i64 %58, %59 br i1 %60, label %61, label %170 61: ; preds = %57 %62 = load ptr, ptr %5, align 8 %63 = load i64, ptr %15, align 8 %64 = getelementptr inbounds %struct.pollfd, ptr %62, i64 %63 %65 = getelementptr inbounds %struct.pollfd, ptr %64, i32 0, i32 0 %66 = load i32, ptr %65, align 4 %67 = icmp slt i32 %66, 0 br i1 %67, label %68, label %69 68: ; preds = %61 br label %167 69: ; preds = %61 %70 = load ptr, ptr %5, align 8 %71 = load i64, ptr %15, align 8 %72 = getelementptr inbounds %struct.pollfd, ptr %70, i64 %71 %73 = getelementptr inbounds %struct.pollfd, ptr %72, i32 0, i32 1 %74 = load i32, ptr %73, align 4 %75 = load i32, ptr @POLLIN, align 4 %76 = load i32, ptr @POLLRDNORM, align 4 %77 = or i32 %75, %76 %78 = and i32 %74, %77 %79 = icmp ne i32 %78, 0 br i1 %79, label %80, label %87 80: ; preds = %69 %81 = load ptr, ptr %5, align 8 %82 = load i64, ptr %15, align 8 %83 = getelementptr inbounds %struct.pollfd, ptr %81, i64 %82 %84 = getelementptr inbounds %struct.pollfd, ptr %83, i32 0, i32 0 %85 = load i32, ptr %84, align 4 %86 = call i32 @FD_SET(i32 noundef %85, ptr noundef %8) br label %87 87: ; preds = %80, %69 %88 = load ptr, ptr %5, align 8 %89 = load i64, ptr %15, align 8 %90 = getelementptr inbounds %struct.pollfd, ptr %88, i64 %89 %91 = getelementptr inbounds %struct.pollfd, ptr %90, i32 0, i32 1 %92 = load i32, ptr %91, align 4 %93 = load i32, ptr @POLLOUT, align 4 %94 = load i32, ptr @POLLWRNORM, align 4 %95 = or i32 %93, %94 %96 = load i32, ptr @POLLWRBAND, align 4 %97 = or i32 %95, %96 %98 = and i32 %92, %97 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %107 100: ; preds = %87 %101 = load ptr, ptr %5, align 8 %102 = load i64, ptr %15, align 8 %103 = getelementptr inbounds %struct.pollfd, ptr %101, i64 %102 %104 = getelementptr inbounds %struct.pollfd, ptr %103, i32 0, i32 0 %105 = load i32, ptr %104, align 4 %106 = call i32 @FD_SET(i32 noundef %105, ptr noundef %9) br label %107 107: ; preds = %100, %87 %108 = load ptr, ptr %5, align 8 %109 = load i64, ptr %15, align 8 %110 = getelementptr inbounds %struct.pollfd, ptr %108, i64 %109 %111 = getelementptr inbounds %struct.pollfd, ptr %110, i32 0, i32 1 %112 = load i32, ptr %111, align 4 %113 = load i32, ptr @POLLPRI, align 4 %114 = load i32, ptr @POLLRDBAND, align 4 %115 = or i32 %113, %114 %116 = and i32 %112, %115 %117 = icmp ne i32 %116, 0 br i1 %117, label %118, label %125 118: ; preds = %107 %119 = load ptr, ptr %5, align 8 %120 = load i64, ptr %15, align 8 %121 = getelementptr inbounds %struct.pollfd, ptr %119, i64 %120 %122 = getelementptr inbounds %struct.pollfd, ptr %121, i32 0, i32 0 %123 = load i32, ptr %122, align 4 %124 = call i32 @FD_SET(i32 noundef %123, ptr noundef %10) br label %125 125: ; preds = %118, %107 %126 = load ptr, ptr %5, align 8 %127 = load i64, ptr %15, align 8 %128 = getelementptr inbounds %struct.pollfd, ptr %126, i64 %127 %129 = getelementptr inbounds %struct.pollfd, ptr %128, i32 0, i32 0 %130 = load i32, ptr %129, align 4 %131 = load i32, ptr %13, align 4 %132 = icmp sge i32 %130, %131 br i1 %132, label %133, label %166 133: ; preds = %125 %134 = load ptr, ptr %5, align 8 %135 = load i64, ptr %15, align 8 %136 = getelementptr inbounds %struct.pollfd, ptr %134, i64 %135 %137 = getelementptr inbounds %struct.pollfd, ptr %136, i32 0, i32 1 %138 = load i32, ptr %137, align 4 %139 = load i32, ptr @POLLIN, align 4 %140 = load i32, ptr @POLLOUT, align 4 %141 = or i32 %139, %140 %142 = load i32, ptr @POLLPRI, align 4 %143 = or i32 %141, %142 %144 = load i32, ptr @POLLRDNORM, align 4 %145 = or i32 %143, %144 %146 = load i32, ptr @POLLRDBAND, align 4 %147 = or i32 %145, %146 %148 = load i32, ptr @POLLWRNORM, align 4 %149 = or i32 %147, %148 %150 = load i32, ptr @POLLWRBAND, align 4 %151 = or i32 %149, %150 %152 = and i32 %138, %151 %153 = icmp ne i32 %152, 0 br i1 %153, label %154, label %166 154: ; preds = %133 %155 = load ptr, ptr %5, align 8 %156 = load i64, ptr %15, align 8 %157 = getelementptr inbounds %struct.pollfd, ptr %155, i64 %156 %158 = getelementptr inbounds %struct.pollfd, ptr %157, i32 0, i32 0 %159 = load i32, ptr %158, align 4 store i32 %159, ptr %13, align 4 %160 = load i32, ptr %13, align 4 %161 = load i32, ptr @FD_SETSIZE, align 4 %162 = icmp sgt i32 %160, %161 br i1 %162, label %163, label %165 163: ; preds = %154 %164 = load i32, ptr @EOVERFLOW, align 4 store i32 %164, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %225 165: ; preds = %154 br label %166 166: ; preds = %165, %133, %125 br label %167 167: ; preds = %166, %68 %168 = load i64, ptr %15, align 8 %169 = add i64 %168, 1 store i64 %169, ptr %15, align 8 br label %57, !llvm.loop !6 170: ; preds = %57 %171 = load i32, ptr %13, align 4 %172 = add nsw i32 %171, 1 %173 = load ptr, ptr %12, align 8 %174 = call i32 @select(i32 noundef %172, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %173) store i32 %174, ptr %14, align 4 %175 = load i32, ptr %14, align 4 %176 = icmp slt i32 %175, 0 br i1 %176, label %177, label %179 177: ; preds = %170 %178 = load i32, ptr %14, align 4 store i32 %178, ptr %4, align 4 br label %225 179: ; preds = %170 store i32 0, ptr %14, align 4 store i64 0, ptr %15, align 8 br label %180 180: ; preds = %220, %179 %181 = load i64, ptr %15, align 8 %182 = load i64, ptr %6, align 8 %183 = icmp ult i64 %181, %182 br i1 %183, label %184, label %223 184: ; preds = %180 %185 = load ptr, ptr %5, align 8 %186 = load i64, ptr %15, align 8 %187 = getelementptr inbounds %struct.pollfd, ptr %185, i64 %186 %188 = getelementptr inbounds %struct.pollfd, ptr %187, i32 0, i32 0 %189 = load i32, ptr %188, align 4 %190 = icmp slt i32 %189, 0 br i1 %190, label %191, label %196 191: ; preds = %184 %192 = load ptr, ptr %5, align 8 %193 = load i64, ptr %15, align 8 %194 = getelementptr inbounds %struct.pollfd, ptr %192, i64 %193 %195 = getelementptr inbounds %struct.pollfd, ptr %194, i32 0, i32 2 store i32 0, ptr %195, align 4 br label %219 196: ; preds = %184 %197 = load ptr, ptr %5, align 8 %198 = load i64, ptr %15, align 8 %199 = getelementptr inbounds %struct.pollfd, ptr %197, i64 %198 %200 = getelementptr inbounds %struct.pollfd, ptr %199, i32 0, i32 0 %201 = load i32, ptr %200, align 4 %202 = load ptr, ptr %5, align 8 %203 = load i64, ptr %15, align 8 %204 = getelementptr inbounds %struct.pollfd, ptr %202, i64 %203 %205 = getelementptr inbounds %struct.pollfd, ptr %204, i32 0, i32 1 %206 = load i32, ptr %205, align 4 %207 = call i32 @compute_revents(i32 noundef %201, i32 noundef %206, ptr noundef %8, ptr noundef %9, ptr noundef %10) store i32 %207, ptr %16, align 4 %208 = load i32, ptr %16, align 4 %209 = icmp ne i32 %208, 0 br i1 %209, label %210, label %218 210: ; preds = %196 %211 = load i32, ptr %16, align 4 %212 = load ptr, ptr %5, align 8 %213 = load i64, ptr %15, align 8 %214 = getelementptr inbounds %struct.pollfd, ptr %212, i64 %213 %215 = getelementptr inbounds %struct.pollfd, ptr %214, i32 0, i32 2 store i32 %211, ptr %215, align 4 %216 = load i32, ptr %14, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %14, align 4 br label %218 218: ; preds = %210, %196 br label %219 219: ; preds = %218, %191 br label %220 220: ; preds = %219 %221 = load i64, ptr %15, align 8 %222 = add i64 %221, 1 store i64 %222, ptr %15, align 8 br label %180, !llvm.loop !8 223: ; preds = %180 %224 = load i32, ptr %14, align 4 store i32 %224, ptr %4, align 4 br label %225 225: ; preds = %223, %177, %163, %49, %22 %226 = load i32, ptr %4, align 4 ret i32 %226 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @compute_revents(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpblcph7b4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } %struct.pollfd = type { i32, i32, i32 } @EFAULT = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @EINVAL = dso_local global i32 0, align 4 @POLLIN = dso_local global i32 0, align 4 @POLLRDNORM = dso_local global i32 0, align 4 @POLLOUT = dso_local global i32 0, align 4 @POLLWRNORM = dso_local global i32 0, align 4 @POLLWRBAND = dso_local global i32 0, align 4 @POLLPRI = dso_local global i32 0, align 4 @POLLRDBAND = dso_local global i32 0, align 4 @FD_SETSIZE = dso_local global i32 0, align 4 @EOVERFLOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @poll(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca %struct.timeval, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i64, align 8 %16 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %17 = load ptr, ptr %5, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %24, label %19 19: ; preds = %3 %20 = load i64, ptr %6, align 8 %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = load i32, ptr @EFAULT, align 4 store i32 %23, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %229 24: ; preds = %19, %3 %25 = load i32, ptr %7, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %24 store ptr %11, ptr %12, align 8 %28 = load ptr, ptr %12, align 8 %29 = getelementptr inbounds %struct.timeval, ptr %28, i32 0, i32 0 store i32 0, ptr %29, align 4 %30 = load ptr, ptr %12, align 8 %31 = getelementptr inbounds %struct.timeval, ptr %30, i32 0, i32 1 store i32 0, ptr %31, align 4 br label %53 32: ; preds = %24 %33 = load i32, ptr %7, align 4 %34 = icmp sgt i32 %33, 0 br i1 %34, label %35, label %45 35: ; preds = %32 store ptr %11, ptr %12, align 8 %36 = load i32, ptr %7, align 4 %37 = sdiv i32 %36, 1000 %38 = load ptr, ptr %12, align 8 %39 = getelementptr inbounds %struct.timeval, ptr %38, i32 0, i32 0 store i32 %37, ptr %39, align 4 %40 = load i32, ptr %7, align 4 %41 = srem i32 %40, 1000 %42 = mul nsw i32 %41, 1000 %43 = load ptr, ptr %12, align 8 %44 = getelementptr inbounds %struct.timeval, ptr %43, i32 0, i32 1 store i32 %42, ptr %44, align 4 br label %52 45: ; preds = %32 %46 = load i32, ptr %7, align 4 %47 = icmp eq i32 %46, -1 br i1 %47, label %48, label %49 48: ; preds = %45 store ptr null, ptr %12, align 8 br label %51 49: ; preds = %45 %50 = load i32, ptr @EINVAL, align 4 store i32 %50, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %229 51: ; preds = %48 br label %52 52: ; preds = %51, %35 br label %53 53: ; preds = %52, %27 store i32 -1, ptr %13, align 4 %54 = call i32 @FD_ZERO(ptr noundef %8) %55 = call i32 @FD_ZERO(ptr noundef %9) %56 = call i32 @FD_ZERO(ptr noundef %10) store i64 0, ptr %15, align 8 %57 = load i64, ptr %15, align 8 %58 = load i64, ptr %6, align 8 %59 = icmp ult i64 %57, %58 br i1 %59, label %.lr.ph, label %172 .lr.ph: ; preds = %53 br label %60 60: ; preds = %.lr.ph, %166 %61 = load ptr, ptr %5, align 8 %62 = load i64, ptr %15, align 8 %63 = getelementptr inbounds %struct.pollfd, ptr %61, i64 %62 %64 = getelementptr inbounds %struct.pollfd, ptr %63, i32 0, i32 0 %65 = load i32, ptr %64, align 4 %66 = icmp slt i32 %65, 0 br i1 %66, label %67, label %68 67: ; preds = %60 br label %166 68: ; preds = %60 %69 = load ptr, ptr %5, align 8 %70 = load i64, ptr %15, align 8 %71 = getelementptr inbounds %struct.pollfd, ptr %69, i64 %70 %72 = getelementptr inbounds %struct.pollfd, ptr %71, i32 0, i32 1 %73 = load i32, ptr %72, align 4 %74 = load i32, ptr @POLLIN, align 4 %75 = load i32, ptr @POLLRDNORM, align 4 %76 = or i32 %74, %75 %77 = and i32 %73, %76 %78 = icmp ne i32 %77, 0 br i1 %78, label %79, label %86 79: ; preds = %68 %80 = load ptr, ptr %5, align 8 %81 = load i64, ptr %15, align 8 %82 = getelementptr inbounds %struct.pollfd, ptr %80, i64 %81 %83 = getelementptr inbounds %struct.pollfd, ptr %82, i32 0, i32 0 %84 = load i32, ptr %83, align 4 %85 = call i32 @FD_SET(i32 noundef %84, ptr noundef %8) br label %86 86: ; preds = %79, %68 %87 = load ptr, ptr %5, align 8 %88 = load i64, ptr %15, align 8 %89 = getelementptr inbounds %struct.pollfd, ptr %87, i64 %88 %90 = getelementptr inbounds %struct.pollfd, ptr %89, i32 0, i32 1 %91 = load i32, ptr %90, align 4 %92 = load i32, ptr @POLLOUT, align 4 %93 = load i32, ptr @POLLWRNORM, align 4 %94 = or i32 %92, %93 %95 = load i32, ptr @POLLWRBAND, align 4 %96 = or i32 %94, %95 %97 = and i32 %91, %96 %98 = icmp ne i32 %97, 0 br i1 %98, label %99, label %106 99: ; preds = %86 %100 = load ptr, ptr %5, align 8 %101 = load i64, ptr %15, align 8 %102 = getelementptr inbounds %struct.pollfd, ptr %100, i64 %101 %103 = getelementptr inbounds %struct.pollfd, ptr %102, i32 0, i32 0 %104 = load i32, ptr %103, align 4 %105 = call i32 @FD_SET(i32 noundef %104, ptr noundef %9) br label %106 106: ; preds = %99, %86 %107 = load ptr, ptr %5, align 8 %108 = load i64, ptr %15, align 8 %109 = getelementptr inbounds %struct.pollfd, ptr %107, i64 %108 %110 = getelementptr inbounds %struct.pollfd, ptr %109, i32 0, i32 1 %111 = load i32, ptr %110, align 4 %112 = load i32, ptr @POLLPRI, align 4 %113 = load i32, ptr @POLLRDBAND, align 4 %114 = or i32 %112, %113 %115 = and i32 %111, %114 %116 = icmp ne i32 %115, 0 br i1 %116, label %117, label %124 117: ; preds = %106 %118 = load ptr, ptr %5, align 8 %119 = load i64, ptr %15, align 8 %120 = getelementptr inbounds %struct.pollfd, ptr %118, i64 %119 %121 = getelementptr inbounds %struct.pollfd, ptr %120, i32 0, i32 0 %122 = load i32, ptr %121, align 4 %123 = call i32 @FD_SET(i32 noundef %122, ptr noundef %10) br label %124 124: ; preds = %117, %106 %125 = load ptr, ptr %5, align 8 %126 = load i64, ptr %15, align 8 %127 = getelementptr inbounds %struct.pollfd, ptr %125, i64 %126 %128 = getelementptr inbounds %struct.pollfd, ptr %127, i32 0, i32 0 %129 = load i32, ptr %128, align 4 %130 = load i32, ptr %13, align 4 %131 = icmp sge i32 %129, %130 br i1 %131, label %132, label %165 132: ; preds = %124 %133 = load ptr, ptr %5, align 8 %134 = load i64, ptr %15, align 8 %135 = getelementptr inbounds %struct.pollfd, ptr %133, i64 %134 %136 = getelementptr inbounds %struct.pollfd, ptr %135, i32 0, i32 1 %137 = load i32, ptr %136, align 4 %138 = load i32, ptr @POLLIN, align 4 %139 = load i32, ptr @POLLOUT, align 4 %140 = or i32 %138, %139 %141 = load i32, ptr @POLLPRI, align 4 %142 = or i32 %140, %141 %143 = load i32, ptr @POLLRDNORM, align 4 %144 = or i32 %142, %143 %145 = load i32, ptr @POLLRDBAND, align 4 %146 = or i32 %144, %145 %147 = load i32, ptr @POLLWRNORM, align 4 %148 = or i32 %146, %147 %149 = load i32, ptr @POLLWRBAND, align 4 %150 = or i32 %148, %149 %151 = and i32 %137, %150 %152 = icmp ne i32 %151, 0 br i1 %152, label %153, label %165 153: ; preds = %132 %154 = load ptr, ptr %5, align 8 %155 = load i64, ptr %15, align 8 %156 = getelementptr inbounds %struct.pollfd, ptr %154, i64 %155 %157 = getelementptr inbounds %struct.pollfd, ptr %156, i32 0, i32 0 %158 = load i32, ptr %157, align 4 store i32 %158, ptr %13, align 4 %159 = load i32, ptr %13, align 4 %160 = load i32, ptr @FD_SETSIZE, align 4 %161 = icmp sgt i32 %159, %160 br i1 %161, label %162, label %164 162: ; preds = %153 %163 = load i32, ptr @EOVERFLOW, align 4 store i32 %163, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %229 164: ; preds = %153 br label %165 165: ; preds = %164, %132, %124 br label %166 166: ; preds = %165, %67 %167 = load i64, ptr %15, align 8 %168 = add i64 %167, 1 store i64 %168, ptr %15, align 8 %169 = load i64, ptr %15, align 8 %170 = load i64, ptr %6, align 8 %171 = icmp ult i64 %169, %170 br i1 %171, label %60, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %166 br label %172 172: ; preds = %._crit_edge, %53 %173 = load i32, ptr %13, align 4 %174 = add nsw i32 %173, 1 %175 = load ptr, ptr %12, align 8 %176 = call i32 @select(i32 noundef %174, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %175) store i32 %176, ptr %14, align 4 %177 = load i32, ptr %14, align 4 %178 = icmp slt i32 %177, 0 br i1 %178, label %179, label %181 179: ; preds = %172 %180 = load i32, ptr %14, align 4 store i32 %180, ptr %4, align 4 br label %229 181: ; preds = %172 store i32 0, ptr %14, align 4 store i64 0, ptr %15, align 8 %182 = load i64, ptr %15, align 8 %183 = load i64, ptr %6, align 8 %184 = icmp ult i64 %182, %183 br i1 %184, label %.lr.ph2, label %227 .lr.ph2: ; preds = %181 br label %185 185: ; preds = %.lr.ph2, %221 %186 = load ptr, ptr %5, align 8 %187 = load i64, ptr %15, align 8 %188 = getelementptr inbounds %struct.pollfd, ptr %186, i64 %187 %189 = getelementptr inbounds %struct.pollfd, ptr %188, i32 0, i32 0 %190 = load i32, ptr %189, align 4 %191 = icmp slt i32 %190, 0 br i1 %191, label %192, label %197 192: ; preds = %185 %193 = load ptr, ptr %5, align 8 %194 = load i64, ptr %15, align 8 %195 = getelementptr inbounds %struct.pollfd, ptr %193, i64 %194 %196 = getelementptr inbounds %struct.pollfd, ptr %195, i32 0, i32 2 store i32 0, ptr %196, align 4 br label %220 197: ; preds = %185 %198 = load ptr, ptr %5, align 8 %199 = load i64, ptr %15, align 8 %200 = getelementptr inbounds %struct.pollfd, ptr %198, i64 %199 %201 = getelementptr inbounds %struct.pollfd, ptr %200, i32 0, i32 0 %202 = load i32, ptr %201, align 4 %203 = load ptr, ptr %5, align 8 %204 = load i64, ptr %15, align 8 %205 = getelementptr inbounds %struct.pollfd, ptr %203, i64 %204 %206 = getelementptr inbounds %struct.pollfd, ptr %205, i32 0, i32 1 %207 = load i32, ptr %206, align 4 %208 = call i32 @compute_revents(i32 noundef %202, i32 noundef %207, ptr noundef %8, ptr noundef %9, ptr noundef %10) store i32 %208, ptr %16, align 4 %209 = load i32, ptr %16, align 4 %210 = icmp ne i32 %209, 0 br i1 %210, label %211, label %219 211: ; preds = %197 %212 = load i32, ptr %16, align 4 %213 = load ptr, ptr %5, align 8 %214 = load i64, ptr %15, align 8 %215 = getelementptr inbounds %struct.pollfd, ptr %213, i64 %214 %216 = getelementptr inbounds %struct.pollfd, ptr %215, i32 0, i32 2 store i32 %212, ptr %216, align 4 %217 = load i32, ptr %14, align 4 %218 = add nsw i32 %217, 1 store i32 %218, ptr %14, align 4 br label %219 219: ; preds = %211, %197 br label %220 220: ; preds = %219, %192 br label %221 221: ; preds = %220 %222 = load i64, ptr %15, align 8 %223 = add i64 %222, 1 store i64 %223, ptr %15, align 8 %224 = load i64, ptr %15, align 8 %225 = load i64, ptr %6, align 8 %226 = icmp ult i64 %224, %225 br i1 %226, label %185, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %221 br label %227 227: ; preds = %._crit_edge3, %181 %228 = load i32, ptr %14, align 4 store i32 %228, ptr %4, align 4 br label %229 229: ; preds = %227, %179, %162, %49, %22 %230 = load i32, ptr %4, align 4 ret i32 %230 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @compute_revents(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpifx3vxjo.c' source_filename = "/tmp/tmpifx3vxjo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = srem i32 %6, 2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %9 store i32 0, ptr %2, align 4 br label %30 13: ; preds = %9, %1 store i32 3, ptr %4, align 4 br label %14 14: ; preds = %26, %13 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = call i32 @sqrt(i32 noundef %16) %18 = icmp sle i32 %15, %17 br i1 %18, label %19, label %29 19: ; preds = %14 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = srem i32 %20, %21 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %19 store i32 0, ptr %2, align 4 br label %30 25: ; preds = %19 br label %26 26: ; preds = %25 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 2 store i32 %28, ptr %4, align 4 br label %14, !llvm.loop !6 29: ; preds = %14 store i32 1, ptr %2, align 4 br label %30 30: ; preds = %29, %24, %12 %31 = load i32, ptr %2, align 4 ret i32 %31 } declare i32 @sqrt(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/tmpifx3vxjo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prime(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = srem i32 %6, 2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %9 store i32 0, ptr %2, align 4 br label %33 13: ; preds = %9, %1 store i32 3, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = call i32 @sqrt(i32 noundef %15) %17 = icmp sle i32 %14, %16 br i1 %17, label %.lr.ph, label %32 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %25 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %4, align 4 %21 = srem i32 %19, %20 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %18 store i32 0, ptr %2, align 4 br label %33 24: ; preds = %18 br label %25 25: ; preds = %24 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 2 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = call i32 @sqrt(i32 noundef %29) %31 = icmp sle i32 %28, %30 br i1 %31, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %32 32: ; preds = %._crit_edge, %13 store i32 1, ptr %2, align 4 br label %33 33: ; preds = %32, %23, %12 %34 = load i32, ptr %2, align 4 ret i32 %34 } declare i32 @sqrt(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/tmpd7szir4s.c' source_filename = "/tmp/tmpd7szir4s.c" target datalayout = "e-m:e-p270: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.notes = private unnamed_addr constant [12 x double] [double 1.000000e+02, double 5.000000e+01, double 2.000000e+01, double 1.000000e+01, double 5.000000e+00, double 2.000000e+00, double 1.000000e+00, double 5.000000e-01, double 2.500000e-01, double 1.000000e-01, double 5.000000e-02, double 1.000000e-02], align 16 @.str = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"NOTAS:\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"MOEDAS:\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"%.0f %s(s) de R$ %.2f\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"nota\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"moeda\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 [12 x double], align 16 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.notes, i64 96, i1 false) %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) store i32 0, ptr %8, align 4 br label %12 12: ; preds = %48, %2 %13 = load i32, ptr %8, align 4 %14 = sext i32 %13 to i64 %15 = icmp ult i64 %14, 12 br i1 %15, label %16, label %51 16: ; preds = %12 %17 = load i32, ptr %8, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [12 x double], ptr %6, i64 0, i64 %18 %20 = load double, ptr %19, align 8 store double %20, ptr %9, align 8 %21 = load double, ptr %7, align 8 %22 = load double, ptr %9, align 8 %23 = fdiv double %21, %22 store double %23, ptr %10, align 8 %24 = load double, ptr %7, align 8 %25 = load double, ptr %9, align 8 %26 = call double @fmod(double noundef %24, double noundef %25) #5 store double %26, ptr %7, align 8 %27 = load double, ptr %9, align 8 %28 = fcmp oeq double %27, 1.000000e+02 br i1 %28, label %29, label %31 29: ; preds = %16 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %37 31: ; preds = %16 %32 = load double, ptr %9, align 8 %33 = fcmp oeq double %32, 1.000000e+00 br i1 %33, label %34, label %36 34: ; preds = %31 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %36 36: ; preds = %34, %31 br label %37 37: ; preds = %36, %29 %38 = load double, ptr %10, align 8 %39 = fadd double %38, 1.000000e-09 store double %39, ptr %10, align 8 %40 = load double, ptr %10, align 8 %41 = call double @llvm.floor.f64(double %40) %42 = load double, ptr %9, align 8 %43 = fcmp oge double %42, 2.000000e+00 %44 = zext i1 %43 to i64 %45 = select i1 %43, ptr @.str.4, ptr @.str.5 %46 = load double, ptr %9, align 8 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %41, ptr noundef %45, double noundef %46) br label %48 48: ; preds = %37 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %8, align 4 br label %12, !llvm.loop !6 51: ; preds = %12 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 ; Function Attrs: nounwind declare double @fmod(double noundef, double noundef) #3 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.floor.f64(double) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { 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/tmpd7szir4s.c" target datalayout = "e-m:e-p270: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.notes = private unnamed_addr constant [12 x double] [double 1.000000e+02, double 5.000000e+01, double 2.000000e+01, double 1.000000e+01, double 5.000000e+00, double 2.000000e+00, double 1.000000e+00, double 5.000000e-01, double 2.500000e-01, double 1.000000e-01, double 5.000000e-02, double 1.000000e-02], align 16 @.str = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"NOTAS:\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"MOEDAS:\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"%.0f %s(s) de R$ %.2f\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"nota\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"moeda\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 [12 x double], align 16 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.notes, i64 96, i1 false) %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) store i32 0, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = sext i32 %12 to i64 %14 = icmp ult i64 %13, 12 br i1 %14, label %.lr.ph, label %53 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %47 %16 = load i32, ptr %8, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [12 x double], ptr %6, i64 0, i64 %17 %19 = load double, ptr %18, align 8 store double %19, ptr %9, align 8 %20 = load double, ptr %7, align 8 %21 = load double, ptr %9, align 8 %22 = fdiv double %20, %21 store double %22, ptr %10, align 8 %23 = load double, ptr %7, align 8 %24 = load double, ptr %9, align 8 %25 = call double @fmod(double noundef %23, double noundef %24) #5 store double %25, ptr %7, align 8 %26 = load double, ptr %9, align 8 %27 = fcmp oeq double %26, 1.000000e+02 br i1 %27, label %28, label %30 28: ; preds = %15 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %36 30: ; preds = %15 %31 = load double, ptr %9, align 8 %32 = fcmp oeq double %31, 1.000000e+00 br i1 %32, label %33, label %35 33: ; preds = %30 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %35 35: ; preds = %33, %30 br label %36 36: ; preds = %35, %28 %37 = load double, ptr %10, align 8 %38 = fadd double %37, 1.000000e-09 store double %38, ptr %10, align 8 %39 = load double, ptr %10, align 8 %40 = call double @llvm.floor.f64(double %39) %41 = load double, ptr %9, align 8 %42 = fcmp oge double %41, 2.000000e+00 %43 = zext i1 %42 to i64 %44 = select i1 %42, ptr @.str.4, ptr @.str.5 %45 = load double, ptr %9, align 8 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %40, ptr noundef %44, double noundef %45) br label %47 47: ; preds = %36 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %8, align 4 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = icmp ult i64 %51, 12 br i1 %52, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %53 53: ; preds = %._crit_edge, %2 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 ; Function Attrs: nounwind declare double @fmod(double noundef, double noundef) #3 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.floor.f64(double) #4 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #5 = { 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/tmp8_0awuv2.c' source_filename = "/tmp/tmp8_0awuv2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @fmodl(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 %5 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %4, align 16 store x86_fp80 %1, ptr %5, align 16 %6 = load x86_fp80, ptr %5, align 16 %7 = fcmp oeq x86_fp80 %6, 0xK00000000000000000000 br i1 %7, label %8, label %9 8: ; preds = %2 store x86_fp80 0xK00000000000000000000, ptr %3, align 16 br label %18 9: ; preds = %2 %10 = load x86_fp80, ptr %4, align 16 %11 = load x86_fp80, ptr %4, align 16 %12 = load x86_fp80, ptr %5, align 16 %13 = fdiv x86_fp80 %11, %12 %14 = call x86_fp80 @llvm.floor.f80(x86_fp80 %13) %15 = load x86_fp80, ptr %5, align 16 %16 = fneg x86_fp80 %14 %17 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %16, x86_fp80 %15, x86_fp80 %10) store x86_fp80 %17, ptr %3, align 16 br label %18 18: ; preds = %9, %8 %19 = load x86_fp80, ptr %3, align 16 ret x86_fp80 %19 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.floor.f80(x86_fp80) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8_0awuv2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @fmodl(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 %5 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %4, align 16 store x86_fp80 %1, ptr %5, align 16 %6 = load x86_fp80, ptr %5, align 16 %7 = fcmp oeq x86_fp80 %6, 0xK00000000000000000000 br i1 %7, label %8, label %9 8: ; preds = %2 store x86_fp80 0xK00000000000000000000, ptr %3, align 16 br label %18 9: ; preds = %2 %10 = load x86_fp80, ptr %4, align 16 %11 = load x86_fp80, ptr %4, align 16 %12 = load x86_fp80, ptr %5, align 16 %13 = fdiv x86_fp80 %11, %12 %14 = call x86_fp80 @llvm.floor.f80(x86_fp80 %13) %15 = load x86_fp80, ptr %5, align 16 %16 = fneg x86_fp80 %14 %17 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %16, x86_fp80 %15, x86_fp80 %10) store x86_fp80 %17, ptr %3, align 16 br label %18 18: ; preds = %9, %8 %19 = load x86_fp80, ptr %3, align 16 ret x86_fp80 %19 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.floor.f80(x86_fp80) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2twylds_.c' source_filename = "/tmp/tmp2twylds_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @loss_occurs(i32 noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 %7 = call float (...) @rand() %8 = load i64, ptr @RAND_MAX, align 8 %9 = sitofp i64 %8 to float %10 = fdiv float %7, %9 %11 = fpext float %10 to double %12 = load double, ptr %6, align 8 %13 = fcmp ole double %11, %12 %14 = zext i1 %13 to i32 ret i32 %14 } declare float @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2twylds_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @loss_occurs(i32 noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 %7 = call float (...) @rand() %8 = load i64, ptr @RAND_MAX, align 8 %9 = sitofp i64 %8 to float %10 = fdiv float %7, %9 %11 = fpext float %10 to double %12 = load double, ptr %6, align 8 %13 = fcmp ole double %11, %12 %14 = zext i1 %13 to i32 ret i32 %14 } declare float @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdh6pxd89.c' source_filename = "/tmp/tmpdh6pxd89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"areaddouble: %s: can't open\0A\00", align 1 @.str.1 = private unnamed_addr constant [50 x i8] c"areaddouble: %s: can't read length (empty file?)\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"areaddouble: %s: can't alloc data\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"areaddouble: %s: can't read data\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @areaddouble(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr @O_RDONLY, align 4 %15 = call i32 @open(ptr noundef %13, i32 noundef %14, i32 noundef 420) store i32 %15, ptr %8, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %3 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %19) store i32 -1, ptr %4, align 4 br label %84 21: ; preds = %3 %22 = load i32, ptr %8, align 4 %23 = call i32 @read(i32 noundef %22, ptr noundef %9, i32 noundef 4) %24 = icmp ne i32 %23, 4 br i1 %24, label %25, label %31 25: ; preds = %21 %26 = load i32, ptr @stderr, align 4 %27 = load ptr, ptr %5, align 8 %28 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %27) %29 = load i32, ptr %8, align 4 %30 = call i32 @close(i32 noundef %29) store i32 -1, ptr %4, align 4 br label %84 31: ; preds = %21 %32 = call i32 @SWAPL(ptr noundef %9) %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = mul i64 %34, 8 %36 = trunc i64 %35 to i32 store i32 %36, ptr %10, align 4 %37 = load i32, ptr %10, align 4 %38 = call ptr @malloc(i32 noundef %37) store ptr %38, ptr %12, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %46, label %40 40: ; preds = %31 %41 = load i32, ptr @stderr, align 4 %42 = load ptr, ptr %5, align 8 %43 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2, ptr noundef %42) %44 = load i32, ptr %8, align 4 %45 = call i32 @close(i32 noundef %44) store i32 -1, ptr %4, align 4 br label %84 46: ; preds = %31 %47 = load i32, ptr %8, align 4 %48 = load ptr, ptr %12, align 8 %49 = load i32, ptr %10, align 4 %50 = call i32 @read(i32 noundef %47, ptr noundef %48, i32 noundef %49) %51 = load i32, ptr %10, align 4 %52 = icmp ne i32 %50, %51 br i1 %52, label %53, label %61 53: ; preds = %46 %54 = load i32, ptr @stderr, align 4 %55 = load ptr, ptr %5, align 8 %56 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.3, ptr noundef %55) %57 = load i32, ptr %8, align 4 %58 = call i32 @close(i32 noundef %57) %59 = load ptr, ptr %12, align 8 %60 = call i32 @free(ptr noundef %59) store i32 -1, ptr %4, align 4 br label %84 61: ; preds = %46 %62 = load i32, ptr %8, align 4 %63 = call i32 @close(i32 noundef %62) %64 = load ptr, ptr %12, align 8 %65 = load ptr, ptr %6, align 8 store ptr %64, ptr %65, align 8 store i32 0, ptr %11, align 4 br label %66 66: ; preds = %77, %61 %67 = load i32, ptr %11, align 4 %68 = load i32, ptr %9, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %70, label %80 70: ; preds = %66 %71 = load ptr, ptr %6, align 8 %72 = load ptr, ptr %71, align 8 %73 = load i32, ptr %11, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %72, i64 %74 %76 = call i32 @SWAPD(ptr noundef %75) br label %77 77: ; preds = %70 %78 = load i32, ptr %11, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %11, align 4 br label %66, !llvm.loop !6 80: ; preds = %66 %81 = load i32, ptr %9, align 4 %82 = load ptr, ptr %7, align 8 store i32 %81, ptr %82, align 4 %83 = load i32, ptr %9, align 4 store i32 %83, ptr %4, align 4 br label %84 84: ; preds = %80, %53, %40, %25, %17 %85 = load i32, ptr %4, align 4 ret i32 %85 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @SWAPL(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @SWAPD(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpdh6pxd89.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"areaddouble: %s: can't open\0A\00", align 1 @.str.1 = private unnamed_addr constant [50 x i8] c"areaddouble: %s: can't read length (empty file?)\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"areaddouble: %s: can't alloc data\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"areaddouble: %s: can't read data\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @areaddouble(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr @O_RDONLY, align 4 %15 = call i32 @open(ptr noundef %13, i32 noundef %14, i32 noundef 420) store i32 %15, ptr %8, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %3 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %19) store i32 -1, ptr %4, align 4 br label %86 21: ; preds = %3 %22 = load i32, ptr %8, align 4 %23 = call i32 @read(i32 noundef %22, ptr noundef %9, i32 noundef 4) %24 = icmp ne i32 %23, 4 br i1 %24, label %25, label %31 25: ; preds = %21 %26 = load i32, ptr @stderr, align 4 %27 = load ptr, ptr %5, align 8 %28 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %27) %29 = load i32, ptr %8, align 4 %30 = call i32 @close(i32 noundef %29) store i32 -1, ptr %4, align 4 br label %86 31: ; preds = %21 %32 = call i32 @SWAPL(ptr noundef %9) %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = mul i64 %34, 8 %36 = trunc i64 %35 to i32 store i32 %36, ptr %10, align 4 %37 = load i32, ptr %10, align 4 %38 = call ptr @malloc(i32 noundef %37) store ptr %38, ptr %12, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %46, label %40 40: ; preds = %31 %41 = load i32, ptr @stderr, align 4 %42 = load ptr, ptr %5, align 8 %43 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2, ptr noundef %42) %44 = load i32, ptr %8, align 4 %45 = call i32 @close(i32 noundef %44) store i32 -1, ptr %4, align 4 br label %86 46: ; preds = %31 %47 = load i32, ptr %8, align 4 %48 = load ptr, ptr %12, align 8 %49 = load i32, ptr %10, align 4 %50 = call i32 @read(i32 noundef %47, ptr noundef %48, i32 noundef %49) %51 = load i32, ptr %10, align 4 %52 = icmp ne i32 %50, %51 br i1 %52, label %53, label %61 53: ; preds = %46 %54 = load i32, ptr @stderr, align 4 %55 = load ptr, ptr %5, align 8 %56 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.3, ptr noundef %55) %57 = load i32, ptr %8, align 4 %58 = call i32 @close(i32 noundef %57) %59 = load ptr, ptr %12, align 8 %60 = call i32 @free(ptr noundef %59) store i32 -1, ptr %4, align 4 br label %86 61: ; preds = %46 %62 = load i32, ptr %8, align 4 %63 = call i32 @close(i32 noundef %62) %64 = load ptr, ptr %12, align 8 %65 = load ptr, ptr %6, align 8 store ptr %64, ptr %65, align 8 store i32 0, ptr %11, align 4 %66 = load i32, ptr %11, align 4 %67 = load i32, ptr %9, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %.lr.ph, label %82 .lr.ph: ; preds = %61 br label %69 69: ; preds = %.lr.ph, %76 %70 = load ptr, ptr %6, align 8 %71 = load ptr, ptr %70, align 8 %72 = load i32, ptr %11, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds double, ptr %71, i64 %73 %75 = call i32 @SWAPD(ptr noundef %74) br label %76 76: ; preds = %69 %77 = load i32, ptr %11, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %11, align 4 %79 = load i32, ptr %11, align 4 %80 = load i32, ptr %9, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %69, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %76 br label %82 82: ; preds = %._crit_edge, %61 %83 = load i32, ptr %9, align 4 %84 = load ptr, ptr %7, align 8 store i32 %83, ptr %84, align 4 %85 = load i32, ptr %9, align 4 store i32 %85, ptr %4, align 4 br label %86 86: ; preds = %82, %53, %40, %25, %17 %87 = load i32, ptr %4, align 4 ret i32 %87 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @SWAPL(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @SWAPD(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpvyyjb4pz.c' source_filename = "/tmp/tmpvyyjb4pz.c" target datalayout = "e-m:e-p270: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 [48 x i8] c"Usage: %s <direction file> <accumulation file>\0A\00", align 1 @.str.1 = private unnamed_addr constant [202 x i8] c"\09This program builds a new routing direction file at twice the resolution (e.g. 1/8 to 1/4) of the provided direction file. The accumulation file for the current direction file must also be provided.\0A\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"\09The new direction file is output to stdout.\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Cannot open file %s \0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%s %d\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"%-15s %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"%s %f\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"%-15s %.4f\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [400 x i8], align 16 %7 = alloca [400 x i8], align 16 %8 = alloca [50 x i8], align 16 %9 = alloca [500 x [500 x i32]], align 16 %10 = alloca [500 x [500 x i32]], align 16 %11 = alloca [500 x [500 x i32]], 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 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca float, align 4 %27 = alloca float, align 4 %28 = alloca float, align 4 %29 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %30 = load i32, ptr %3, align 4 %31 = icmp ne i32 %30, 3 br i1 %31, label %32, label %43 32: ; preds = %2 %33 = load i32, ptr @stderr, align 4 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 0 %36 = load ptr, ptr %35, align 8 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str, ptr noundef %36) %38 = load i32, ptr @stderr, align 4 %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.1) %40 = load i32, ptr @stderr, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.2) %42 = call i32 @exit(i32 noundef 0) #3 unreachable 43: ; preds = %2 %44 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 1 %47 = load ptr, ptr %46, align 8 %48 = call i32 @strcpy(ptr noundef %44, ptr noundef %47) %49 = getelementptr inbounds [400 x i8], ptr %7, i64 0, i64 0 %50 = load ptr, ptr %4, align 8 %51 = getelementptr inbounds ptr, ptr %50, i64 2 %52 = load ptr, ptr %51, align 8 %53 = call i32 @strcpy(ptr noundef %49, ptr noundef %52) %54 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0 %55 = call ptr @fopen(ptr noundef %54, ptr noundef @.str.3) store ptr %55, ptr %5, align 8 %56 = icmp eq ptr %55, null br i1 %56, label %57, label %61 57: ; preds = %43 %58 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %58) %60 = call i32 @exit(i32 noundef 0) #3 unreachable 61: ; preds = %43 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %64 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %62, ptr noundef @.str.5, ptr noundef %63, ptr noundef %13) %65 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %66 = load i32, ptr %13, align 4 %67 = sdiv i32 %66, 2 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %65, i32 noundef %67) %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %71 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %69, ptr noundef @.str.5, ptr noundef %70, ptr noundef %12) %72 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %73 = load i32, ptr %12, align 4 %74 = sdiv i32 %73, 2 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %72, i32 noundef %74) %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %78 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %76, ptr noundef @.str.7, ptr noundef %77, ptr noundef %26) %79 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %80 = load float, ptr %26, align 4 %81 = fpext float %80 to double %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %79, double noundef %81) %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %85 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %83, ptr noundef @.str.7, ptr noundef %84, ptr noundef %27) %86 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %87 = load float, ptr %27, align 4 %88 = fpext float %87 to double %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %86, double noundef %88) %90 = load ptr, ptr %5, align 8 %91 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %92 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %90, ptr noundef @.str.7, ptr noundef %91, ptr noundef %28) %93 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %94 = load float, ptr %28, align 4 %95 = fpext float %94 to double %96 = fmul double %95, 2.000000e+00 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %93, double noundef %96) %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %100 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %98, ptr noundef @.str.5, ptr noundef %99, ptr noundef %29) %101 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %102 = load i32, ptr %29, align 4 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %101, i32 noundef %102) %104 = load ptr, ptr %5, align 8 %105 = call i32 @fclose(ptr noundef %104) %106 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0 %107 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 0 %108 = load i32, ptr %12, align 4 %109 = load i32, ptr %13, align 4 %110 = call i32 @read_dir(ptr noundef %106, ptr noundef %107, i32 noundef %108, i32 noundef %109) %111 = getelementptr inbounds [400 x i8], ptr %7, i64 0, i64 0 %112 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 0 %113 = load i32, ptr %12, align 4 %114 = load i32, ptr %13, align 4 %115 = call i32 @read_dir(ptr noundef %111, ptr noundef %112, i32 noundef %113, i32 noundef %114) %116 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 0 %117 = getelementptr inbounds [500 x [500 x i32]], ptr %11, i64 0, i64 0 %118 = load i32, ptr %12, align 4 %119 = load i32, ptr %13, align 4 %120 = call i32 @make_mask(ptr noundef %116, ptr noundef %117, i32 noundef %118, i32 noundef %119) store i32 0, ptr %14, align 4 br label %121 121: ; preds = %402, %61 %122 = load i32, ptr %14, align 4 %123 = load i32, ptr %12, align 4 %124 = sdiv i32 %123, 2 %125 = icmp slt i32 %122, %124 br i1 %125, label %126, label %405 126: ; preds = %121 store i32 0, ptr %15, align 4 br label %127 127: ; preds = %398, %126 %128 = load i32, ptr %15, align 4 %129 = load i32, ptr %13, align 4 %130 = sdiv i32 %129, 2 %131 = icmp slt i32 %128, %130 br i1 %131, label %132, label %401 132: ; preds = %127 %133 = load i32, ptr %15, align 4 %134 = mul nsw i32 %133, 2 store i32 %134, ptr %20, align 4 %135 = load i32, ptr %14, align 4 %136 = mul nsw i32 %135, 2 store i32 %136, ptr %16, align 4 %137 = load i32, ptr %15, align 4 %138 = mul nsw i32 %137, 2 %139 = add nsw i32 %138, 1 store i32 %139, ptr %21, align 4 %140 = load i32, ptr %14, align 4 %141 = mul nsw i32 %140, 2 store i32 %141, ptr %17, align 4 %142 = load i32, ptr %15, align 4 %143 = mul nsw i32 %142, 2 store i32 %143, ptr %22, align 4 %144 = load i32, ptr %14, align 4 %145 = mul nsw i32 %144, 2 %146 = add nsw i32 %145, 1 store i32 %146, ptr %18, align 4 %147 = load i32, ptr %15, align 4 %148 = mul nsw i32 %147, 2 %149 = add nsw i32 %148, 1 store i32 %149, ptr %23, align 4 %150 = load i32, ptr %14, align 4 %151 = mul nsw i32 %150, 2 %152 = add nsw i32 %151, 1 store i32 %152, ptr %19, align 4 store i32 0, ptr %25, align 4 store i32 0, ptr %24, align 4 %153 = load i32, ptr %14, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds [500 x [500 x i32]], ptr %11, i64 0, i64 %154 %156 = load i32, ptr %15, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds [500 x i32], ptr %155, i64 0, i64 %157 %159 = load i32, ptr %158, align 4 %160 = icmp sgt i32 %159, 0 br i1 %160, label %161, label %397 161: ; preds = %132 %162 = load i32, ptr %16, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %163 %165 = load i32, ptr %20, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds [500 x i32], ptr %164, i64 0, i64 %166 %168 = load i32, ptr %167, align 4 %169 = icmp eq i32 %168, 2 br i1 %169, label %170, label %177 170: ; preds = %161 %171 = load i32, ptr %16, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %172 %174 = load i32, ptr %20, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [500 x i32], ptr %173, i64 0, i64 %175 store i32 1, ptr %176, align 4 br label %177 177: ; preds = %170, %161 %178 = load i32, ptr %16, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %179 %181 = load i32, ptr %20, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [500 x i32], ptr %180, i64 0, i64 %182 %184 = load i32, ptr %183, align 4 %185 = icmp eq i32 %184, 6 br i1 %185, label %186, label %193 186: ; preds = %177 %187 = load i32, ptr %16, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %188 %190 = load i32, ptr %20, align 4 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds [500 x i32], ptr %189, i64 0, i64 %191 store i32 7, ptr %192, align 4 br label %193 193: ; preds = %186, %177 %194 = load i32, ptr %17, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %195 %197 = load i32, ptr %21, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds [500 x i32], ptr %196, i64 0, i64 %198 %200 = load i32, ptr %199, align 4 %201 = icmp eq i32 %200, 4 br i1 %201, label %202, label %209 202: ; preds = %193 %203 = load i32, ptr %17, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %204 %206 = load i32, ptr %21, align 4 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds [500 x i32], ptr %205, i64 0, i64 %207 store i32 3, ptr %208, align 4 br label %209 209: ; preds = %202, %193 %210 = load i32, ptr %17, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %211 %213 = load i32, ptr %21, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds [500 x i32], ptr %212, i64 0, i64 %214 %216 = load i32, ptr %215, align 4 %217 = icmp eq i32 %216, 8 br i1 %217, label %218, label %225 218: ; preds = %209 %219 = load i32, ptr %17, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %220 %222 = load i32, ptr %21, align 4 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds [500 x i32], ptr %221, i64 0, i64 %223 store i32 1, ptr %224, align 4 br label %225 225: ; preds = %218, %209 %226 = load i32, ptr %18, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %227 %229 = load i32, ptr %22, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds [500 x i32], ptr %228, i64 0, i64 %230 %232 = load i32, ptr %231, align 4 %233 = icmp eq i32 %232, 4 br i1 %233, label %234, label %241 234: ; preds = %225 %235 = load i32, ptr %18, align 4 %236 = sext i32 %235 to i64 %237 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %236 %238 = load i32, ptr %22, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds [500 x i32], ptr %237, i64 0, i64 %239 store i32 5, ptr %240, align 4 br label %241 241: ; preds = %234, %225 %242 = load i32, ptr %18, align 4 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %243 %245 = load i32, ptr %22, align 4 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds [500 x i32], ptr %244, i64 0, i64 %246 %248 = load i32, ptr %247, align 4 %249 = icmp eq i32 %248, 8 br i1 %249, label %250, label %257 250: ; preds = %241 %251 = load i32, ptr %18, align 4 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %252 %254 = load i32, ptr %22, align 4 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds [500 x i32], ptr %253, i64 0, i64 %255 store i32 7, ptr %256, align 4 br label %257 257: ; preds = %250, %241 %258 = load i32, ptr %19, align 4 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %259 %261 = load i32, ptr %23, align 4 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds [500 x i32], ptr %260, i64 0, i64 %262 %264 = load i32, ptr %263, align 4 %265 = icmp eq i32 %264, 2 br i1 %265, label %266, label %273 266: ; preds = %257 %267 = load i32, ptr %19, align 4 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %268 %270 = load i32, ptr %23, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds [500 x i32], ptr %269, i64 0, i64 %271 store i32 3, ptr %272, align 4 br label %273 273: ; preds = %266, %257 %274 = load i32, ptr %19, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %275 %277 = load i32, ptr %23, align 4 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds [500 x i32], ptr %276, i64 0, i64 %278 %280 = load i32, ptr %279, align 4 %281 = icmp eq i32 %280, 6 br i1 %281, label %282, label %289 282: ; preds = %273 %283 = load i32, ptr %19, align 4 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %284 %286 = load i32, ptr %23, align 4 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds [500 x i32], ptr %285, i64 0, i64 %287 store i32 5, ptr %288, align 4 br label %289 289: ; preds = %282, %273 %290 = load i32, ptr %16, align 4 %291 = sext i32 %290 to i64 %292 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %291 %293 = load i32, ptr %20, align 4 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds [500 x i32], ptr %292, i64 0, i64 %294 %296 = load i32, ptr %295, align 4 %297 = load i32, ptr %24, align 4 %298 = icmp sgt i32 %296, %297 br i1 %298, label %299, label %314 299: ; preds = %289 %300 = load i32, ptr %16, align 4 %301 = sext i32 %300 to i64 %302 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %301 %303 = load i32, ptr %20, align 4 %304 = sext i32 %303 to i64 %305 = getelementptr inbounds [500 x i32], ptr %302, i64 0, i64 %304 %306 = load i32, ptr %305, align 4 store i32 %306, ptr %24, align 4 %307 = load i32, ptr %16, align 4 %308 = sext i32 %307 to i64 %309 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %308 %310 = load i32, ptr %20, align 4 %311 = sext i32 %310 to i64 %312 = getelementptr inbounds [500 x i32], ptr %309, i64 0, i64 %311 %313 = load i32, ptr %312, align 4 store i32 %313, ptr %25, align 4 br label %314 314: ; preds = %299, %289 %315 = load i32, ptr %17, align 4 %316 = sext i32 %315 to i64 %317 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %316 %318 = load i32, ptr %21, align 4 %319 = sext i32 %318 to i64 %320 = getelementptr inbounds [500 x i32], ptr %317, i64 0, i64 %319 %321 = load i32, ptr %320, align 4 %322 = load i32, ptr %24, align 4 %323 = icmp sgt i32 %321, %322 br i1 %323, label %324, label %339 324: ; preds = %314 %325 = load i32, ptr %17, align 4 %326 = sext i32 %325 to i64 %327 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %326 %328 = load i32, ptr %21, align 4 %329 = sext i32 %328 to i64 %330 = getelementptr inbounds [500 x i32], ptr %327, i64 0, i64 %329 %331 = load i32, ptr %330, align 4 store i32 %331, ptr %24, align 4 %332 = load i32, ptr %17, align 4 %333 = sext i32 %332 to i64 %334 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %333 %335 = load i32, ptr %21, align 4 %336 = sext i32 %335 to i64 %337 = getelementptr inbounds [500 x i32], ptr %334, i64 0, i64 %336 %338 = load i32, ptr %337, align 4 store i32 %338, ptr %25, align 4 br label %339 339: ; preds = %324, %314 %340 = load i32, ptr %18, align 4 %341 = sext i32 %340 to i64 %342 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %341 %343 = load i32, ptr %22, align 4 %344 = sext i32 %343 to i64 %345 = getelementptr inbounds [500 x i32], ptr %342, i64 0, i64 %344 %346 = load i32, ptr %345, align 4 %347 = load i32, ptr %24, align 4 %348 = icmp sgt i32 %346, %347 br i1 %348, label %349, label %364 349: ; preds = %339 %350 = load i32, ptr %18, align 4 %351 = sext i32 %350 to i64 %352 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %351 %353 = load i32, ptr %22, align 4 %354 = sext i32 %353 to i64 %355 = getelementptr inbounds [500 x i32], ptr %352, i64 0, i64 %354 %356 = load i32, ptr %355, align 4 store i32 %356, ptr %24, align 4 %357 = load i32, ptr %18, align 4 %358 = sext i32 %357 to i64 %359 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %358 %360 = load i32, ptr %22, align 4 %361 = sext i32 %360 to i64 %362 = getelementptr inbounds [500 x i32], ptr %359, i64 0, i64 %361 %363 = load i32, ptr %362, align 4 store i32 %363, ptr %25, align 4 br label %364 364: ; preds = %349, %339 %365 = load i32, ptr %19, align 4 %366 = sext i32 %365 to i64 %367 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %366 %368 = load i32, ptr %23, align 4 %369 = sext i32 %368 to i64 %370 = getelementptr inbounds [500 x i32], ptr %367, i64 0, i64 %369 %371 = load i32, ptr %370, align 4 %372 = load i32, ptr %24, align 4 %373 = icmp sgt i32 %371, %372 br i1 %373, label %374, label %389 374: ; preds = %364 %375 = load i32, ptr %19, align 4 %376 = sext i32 %375 to i64 %377 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %376 %378 = load i32, ptr %23, align 4 %379 = sext i32 %378 to i64 %380 = getelementptr inbounds [500 x i32], ptr %377, i64 0, i64 %379 %381 = load i32, ptr %380, align 4 store i32 %381, ptr %24, align 4 %382 = load i32, ptr %19, align 4 %383 = sext i32 %382 to i64 %384 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %383 %385 = load i32, ptr %23, align 4 %386 = sext i32 %385 to i64 %387 = getelementptr inbounds [500 x i32], ptr %384, i64 0, i64 %386 %388 = load i32, ptr %387, align 4 store i32 %388, ptr %25, align 4 br label %389 389: ; preds = %374, %364 %390 = load i32, ptr %25, align 4 %391 = load i32, ptr %14, align 4 %392 = sext i32 %391 to i64 %393 = getelementptr inbounds [500 x [500 x i32]], ptr %11, i64 0, i64 %392 %394 = load i32, ptr %15, align 4 %395 = sext i32 %394 to i64 %396 = getelementptr inbounds [500 x i32], ptr %393, i64 0, i64 %395 store i32 %390, ptr %396, align 4 br label %397 397: ; preds = %389, %132 br label %398 398: ; preds = %397 %399 = load i32, ptr %15, align 4 %400 = add nsw i32 %399, 1 store i32 %400, ptr %15, align 4 br label %127, !llvm.loop !6 401: ; preds = %127 br label %402 402: ; preds = %401 %403 = load i32, ptr %14, align 4 %404 = add nsw i32 %403, 1 store i32 %404, ptr %14, align 4 br label %121, !llvm.loop !8 405: ; preds = %121 store i32 0, ptr %14, align 4 br label %406 406: ; preds = %431, %405 %407 = load i32, ptr %14, align 4 %408 = load i32, ptr %12, align 4 %409 = sdiv i32 %408, 2 %410 = icmp slt i32 %407, %409 br i1 %410, label %411, label %434 411: ; preds = %406 store i32 0, ptr %15, align 4 br label %412 412: ; preds = %426, %411 %413 = load i32, ptr %15, align 4 %414 = load i32, ptr %13, align 4 %415 = sdiv i32 %414, 2 %416 = icmp slt i32 %413, %415 br i1 %416, label %417, label %429 417: ; preds = %412 %418 = load i32, ptr %14, align 4 %419 = sext i32 %418 to i64 %420 = getelementptr inbounds [500 x [500 x i32]], ptr %11, i64 0, i64 %419 %421 = load i32, ptr %15, align 4 %422 = sext i32 %421 to i64 %423 = getelementptr inbounds [500 x i32], ptr %420, i64 0, i64 %422 %424 = load i32, ptr %423, align 4 %425 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %424) br label %426 426: ; preds = %417 %427 = load i32, ptr %15, align 4 %428 = add nsw i32 %427, 1 store i32 %428, ptr %15, align 4 br label %412, !llvm.loop !9 429: ; preds = %412 %430 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %431 431: ; preds = %429 %432 = load i32, ptr %14, align 4 %433 = add nsw i32 %432, 1 store i32 %433, ptr %14, align 4 br label %406, !llvm.loop !10 434: ; preds = %406 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @read_dir(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @make_mask(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvyyjb4pz.c" target datalayout = "e-m:e-p270: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 [48 x i8] c"Usage: %s <direction file> <accumulation file>\0A\00", align 1 @.str.1 = private unnamed_addr constant [202 x i8] c"\09This program builds a new routing direction file at twice the resolution (e.g. 1/8 to 1/4) of the provided direction file. The accumulation file for the current direction file must also be provided.\0A\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"\09The new direction file is output to stdout.\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Cannot open file %s \0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"%s %d\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"%-15s %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"%s %f\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"%-15s %.4f\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [400 x i8], align 16 %7 = alloca [400 x i8], align 16 %8 = alloca [50 x i8], align 16 %9 = alloca [500 x [500 x i32]], align 16 %10 = alloca [500 x [500 x i32]], align 16 %11 = alloca [500 x [500 x i32]], 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 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca float, align 4 %27 = alloca float, align 4 %28 = alloca float, align 4 %29 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %30 = load i32, ptr %3, align 4 %31 = icmp ne i32 %30, 3 br i1 %31, label %32, label %43 32: ; preds = %2 %33 = load i32, ptr @stderr, align 4 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 0 %36 = load ptr, ptr %35, align 8 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str, ptr noundef %36) %38 = load i32, ptr @stderr, align 4 %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.1) %40 = load i32, ptr @stderr, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.2) %42 = call i32 @exit(i32 noundef 0) #3 unreachable 43: ; preds = %2 %44 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 1 %47 = load ptr, ptr %46, align 8 %48 = call i32 @strcpy(ptr noundef %44, ptr noundef %47) %49 = getelementptr inbounds [400 x i8], ptr %7, i64 0, i64 0 %50 = load ptr, ptr %4, align 8 %51 = getelementptr inbounds ptr, ptr %50, i64 2 %52 = load ptr, ptr %51, align 8 %53 = call i32 @strcpy(ptr noundef %49, ptr noundef %52) %54 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0 %55 = call ptr @fopen(ptr noundef %54, ptr noundef @.str.3) store ptr %55, ptr %5, align 8 %56 = icmp eq ptr %55, null br i1 %56, label %57, label %61 57: ; preds = %43 %58 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %58) %60 = call i32 @exit(i32 noundef 0) #3 unreachable 61: ; preds = %43 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %64 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %62, ptr noundef @.str.5, ptr noundef %63, ptr noundef %13) %65 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %66 = load i32, ptr %13, align 4 %67 = sdiv i32 %66, 2 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %65, i32 noundef %67) %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %71 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %69, ptr noundef @.str.5, ptr noundef %70, ptr noundef %12) %72 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %73 = load i32, ptr %12, align 4 %74 = sdiv i32 %73, 2 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %72, i32 noundef %74) %76 = load ptr, ptr %5, align 8 %77 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %78 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %76, ptr noundef @.str.7, ptr noundef %77, ptr noundef %26) %79 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %80 = load float, ptr %26, align 4 %81 = fpext float %80 to double %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %79, double noundef %81) %83 = load ptr, ptr %5, align 8 %84 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %85 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %83, ptr noundef @.str.7, ptr noundef %84, ptr noundef %27) %86 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %87 = load float, ptr %27, align 4 %88 = fpext float %87 to double %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %86, double noundef %88) %90 = load ptr, ptr %5, align 8 %91 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %92 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %90, ptr noundef @.str.7, ptr noundef %91, ptr noundef %28) %93 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %94 = load float, ptr %28, align 4 %95 = fpext float %94 to double %96 = fmul double %95, 2.000000e+00 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %93, double noundef %96) %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %100 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %98, ptr noundef @.str.5, ptr noundef %99, ptr noundef %29) %101 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %102 = load i32, ptr %29, align 4 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %101, i32 noundef %102) %104 = load ptr, ptr %5, align 8 %105 = call i32 @fclose(ptr noundef %104) %106 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0 %107 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 0 %108 = load i32, ptr %12, align 4 %109 = load i32, ptr %13, align 4 %110 = call i32 @read_dir(ptr noundef %106, ptr noundef %107, i32 noundef %108, i32 noundef %109) %111 = getelementptr inbounds [400 x i8], ptr %7, i64 0, i64 0 %112 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 0 %113 = load i32, ptr %12, align 4 %114 = load i32, ptr %13, align 4 %115 = call i32 @read_dir(ptr noundef %111, ptr noundef %112, i32 noundef %113, i32 noundef %114) %116 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 0 %117 = getelementptr inbounds [500 x [500 x i32]], ptr %11, i64 0, i64 0 %118 = load i32, ptr %12, align 4 %119 = load i32, ptr %13, align 4 %120 = call i32 @make_mask(ptr noundef %116, ptr noundef %117, i32 noundef %118, i32 noundef %119) store i32 0, ptr %14, align 4 %121 = load i32, ptr %14, align 4 %122 = load i32, ptr %12, align 4 %123 = sdiv i32 %122, 2 %124 = icmp slt i32 %121, %123 br i1 %124, label %.lr.ph2, label %411 .lr.ph2: ; preds = %61 br label %125 125: ; preds = %.lr.ph2, %404 store i32 0, ptr %15, align 4 %126 = load i32, ptr %15, align 4 %127 = load i32, ptr %13, align 4 %128 = sdiv i32 %127, 2 %129 = icmp slt i32 %126, %128 br i1 %129, label %.lr.ph, label %403 .lr.ph: ; preds = %125 br label %130 130: ; preds = %.lr.ph, %396 %131 = load i32, ptr %15, align 4 %132 = mul nsw i32 %131, 2 store i32 %132, ptr %20, align 4 %133 = load i32, ptr %14, align 4 %134 = mul nsw i32 %133, 2 store i32 %134, ptr %16, align 4 %135 = load i32, ptr %15, align 4 %136 = mul nsw i32 %135, 2 %137 = add nsw i32 %136, 1 store i32 %137, ptr %21, align 4 %138 = load i32, ptr %14, align 4 %139 = mul nsw i32 %138, 2 store i32 %139, ptr %17, align 4 %140 = load i32, ptr %15, align 4 %141 = mul nsw i32 %140, 2 store i32 %141, ptr %22, align 4 %142 = load i32, ptr %14, align 4 %143 = mul nsw i32 %142, 2 %144 = add nsw i32 %143, 1 store i32 %144, ptr %18, align 4 %145 = load i32, ptr %15, align 4 %146 = mul nsw i32 %145, 2 %147 = add nsw i32 %146, 1 store i32 %147, ptr %23, align 4 %148 = load i32, ptr %14, align 4 %149 = mul nsw i32 %148, 2 %150 = add nsw i32 %149, 1 store i32 %150, ptr %19, align 4 store i32 0, ptr %25, align 4 store i32 0, ptr %24, align 4 %151 = load i32, ptr %14, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds [500 x [500 x i32]], ptr %11, i64 0, i64 %152 %154 = load i32, ptr %15, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds [500 x i32], ptr %153, i64 0, i64 %155 %157 = load i32, ptr %156, align 4 %158 = icmp sgt i32 %157, 0 br i1 %158, label %159, label %395 159: ; preds = %130 %160 = load i32, ptr %16, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %161 %163 = load i32, ptr %20, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds [500 x i32], ptr %162, i64 0, i64 %164 %166 = load i32, ptr %165, align 4 %167 = icmp eq i32 %166, 2 br i1 %167, label %168, label %175 168: ; preds = %159 %169 = load i32, ptr %16, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %170 %172 = load i32, ptr %20, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds [500 x i32], ptr %171, i64 0, i64 %173 store i32 1, ptr %174, align 4 br label %175 175: ; preds = %168, %159 %176 = load i32, ptr %16, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %177 %179 = load i32, ptr %20, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds [500 x i32], ptr %178, i64 0, i64 %180 %182 = load i32, ptr %181, align 4 %183 = icmp eq i32 %182, 6 br i1 %183, label %184, label %191 184: ; preds = %175 %185 = load i32, ptr %16, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %186 %188 = load i32, ptr %20, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds [500 x i32], ptr %187, i64 0, i64 %189 store i32 7, ptr %190, align 4 br label %191 191: ; preds = %184, %175 %192 = load i32, ptr %17, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %193 %195 = load i32, ptr %21, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds [500 x i32], ptr %194, i64 0, i64 %196 %198 = load i32, ptr %197, align 4 %199 = icmp eq i32 %198, 4 br i1 %199, label %200, label %207 200: ; preds = %191 %201 = load i32, ptr %17, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %202 %204 = load i32, ptr %21, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds [500 x i32], ptr %203, i64 0, i64 %205 store i32 3, ptr %206, align 4 br label %207 207: ; preds = %200, %191 %208 = load i32, ptr %17, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %209 %211 = load i32, ptr %21, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds [500 x i32], ptr %210, i64 0, i64 %212 %214 = load i32, ptr %213, align 4 %215 = icmp eq i32 %214, 8 br i1 %215, label %216, label %223 216: ; preds = %207 %217 = load i32, ptr %17, align 4 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %218 %220 = load i32, ptr %21, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds [500 x i32], ptr %219, i64 0, i64 %221 store i32 1, ptr %222, align 4 br label %223 223: ; preds = %216, %207 %224 = load i32, ptr %18, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %225 %227 = load i32, ptr %22, align 4 %228 = sext i32 %227 to i64 %229 = getelementptr inbounds [500 x i32], ptr %226, i64 0, i64 %228 %230 = load i32, ptr %229, align 4 %231 = icmp eq i32 %230, 4 br i1 %231, label %232, label %239 232: ; preds = %223 %233 = load i32, ptr %18, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %234 %236 = load i32, ptr %22, align 4 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds [500 x i32], ptr %235, i64 0, i64 %237 store i32 5, ptr %238, align 4 br label %239 239: ; preds = %232, %223 %240 = load i32, ptr %18, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %241 %243 = load i32, ptr %22, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds [500 x i32], ptr %242, i64 0, i64 %244 %246 = load i32, ptr %245, align 4 %247 = icmp eq i32 %246, 8 br i1 %247, label %248, label %255 248: ; preds = %239 %249 = load i32, ptr %18, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %250 %252 = load i32, ptr %22, align 4 %253 = sext i32 %252 to i64 %254 = getelementptr inbounds [500 x i32], ptr %251, i64 0, i64 %253 store i32 7, ptr %254, align 4 br label %255 255: ; preds = %248, %239 %256 = load i32, ptr %19, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %257 %259 = load i32, ptr %23, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds [500 x i32], ptr %258, i64 0, i64 %260 %262 = load i32, ptr %261, align 4 %263 = icmp eq i32 %262, 2 br i1 %263, label %264, label %271 264: ; preds = %255 %265 = load i32, ptr %19, align 4 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %266 %268 = load i32, ptr %23, align 4 %269 = sext i32 %268 to i64 %270 = getelementptr inbounds [500 x i32], ptr %267, i64 0, i64 %269 store i32 3, ptr %270, align 4 br label %271 271: ; preds = %264, %255 %272 = load i32, ptr %19, align 4 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %273 %275 = load i32, ptr %23, align 4 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds [500 x i32], ptr %274, i64 0, i64 %276 %278 = load i32, ptr %277, align 4 %279 = icmp eq i32 %278, 6 br i1 %279, label %280, label %287 280: ; preds = %271 %281 = load i32, ptr %19, align 4 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %282 %284 = load i32, ptr %23, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds [500 x i32], ptr %283, i64 0, i64 %285 store i32 5, ptr %286, align 4 br label %287 287: ; preds = %280, %271 %288 = load i32, ptr %16, align 4 %289 = sext i32 %288 to i64 %290 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %289 %291 = load i32, ptr %20, align 4 %292 = sext i32 %291 to i64 %293 = getelementptr inbounds [500 x i32], ptr %290, i64 0, i64 %292 %294 = load i32, ptr %293, align 4 %295 = load i32, ptr %24, align 4 %296 = icmp sgt i32 %294, %295 br i1 %296, label %297, label %312 297: ; preds = %287 %298 = load i32, ptr %16, align 4 %299 = sext i32 %298 to i64 %300 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %299 %301 = load i32, ptr %20, align 4 %302 = sext i32 %301 to i64 %303 = getelementptr inbounds [500 x i32], ptr %300, i64 0, i64 %302 %304 = load i32, ptr %303, align 4 store i32 %304, ptr %24, align 4 %305 = load i32, ptr %16, align 4 %306 = sext i32 %305 to i64 %307 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %306 %308 = load i32, ptr %20, align 4 %309 = sext i32 %308 to i64 %310 = getelementptr inbounds [500 x i32], ptr %307, i64 0, i64 %309 %311 = load i32, ptr %310, align 4 store i32 %311, ptr %25, align 4 br label %312 312: ; preds = %297, %287 %313 = load i32, ptr %17, align 4 %314 = sext i32 %313 to i64 %315 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %314 %316 = load i32, ptr %21, align 4 %317 = sext i32 %316 to i64 %318 = getelementptr inbounds [500 x i32], ptr %315, i64 0, i64 %317 %319 = load i32, ptr %318, align 4 %320 = load i32, ptr %24, align 4 %321 = icmp sgt i32 %319, %320 br i1 %321, label %322, label %337 322: ; preds = %312 %323 = load i32, ptr %17, align 4 %324 = sext i32 %323 to i64 %325 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %324 %326 = load i32, ptr %21, align 4 %327 = sext i32 %326 to i64 %328 = getelementptr inbounds [500 x i32], ptr %325, i64 0, i64 %327 %329 = load i32, ptr %328, align 4 store i32 %329, ptr %24, align 4 %330 = load i32, ptr %17, align 4 %331 = sext i32 %330 to i64 %332 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %331 %333 = load i32, ptr %21, align 4 %334 = sext i32 %333 to i64 %335 = getelementptr inbounds [500 x i32], ptr %332, i64 0, i64 %334 %336 = load i32, ptr %335, align 4 store i32 %336, ptr %25, align 4 br label %337 337: ; preds = %322, %312 %338 = load i32, ptr %18, align 4 %339 = sext i32 %338 to i64 %340 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %339 %341 = load i32, ptr %22, align 4 %342 = sext i32 %341 to i64 %343 = getelementptr inbounds [500 x i32], ptr %340, i64 0, i64 %342 %344 = load i32, ptr %343, align 4 %345 = load i32, ptr %24, align 4 %346 = icmp sgt i32 %344, %345 br i1 %346, label %347, label %362 347: ; preds = %337 %348 = load i32, ptr %18, align 4 %349 = sext i32 %348 to i64 %350 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %349 %351 = load i32, ptr %22, align 4 %352 = sext i32 %351 to i64 %353 = getelementptr inbounds [500 x i32], ptr %350, i64 0, i64 %352 %354 = load i32, ptr %353, align 4 store i32 %354, ptr %24, align 4 %355 = load i32, ptr %18, align 4 %356 = sext i32 %355 to i64 %357 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %356 %358 = load i32, ptr %22, align 4 %359 = sext i32 %358 to i64 %360 = getelementptr inbounds [500 x i32], ptr %357, i64 0, i64 %359 %361 = load i32, ptr %360, align 4 store i32 %361, ptr %25, align 4 br label %362 362: ; preds = %347, %337 %363 = load i32, ptr %19, align 4 %364 = sext i32 %363 to i64 %365 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %364 %366 = load i32, ptr %23, align 4 %367 = sext i32 %366 to i64 %368 = getelementptr inbounds [500 x i32], ptr %365, i64 0, i64 %367 %369 = load i32, ptr %368, align 4 %370 = load i32, ptr %24, align 4 %371 = icmp sgt i32 %369, %370 br i1 %371, label %372, label %387 372: ; preds = %362 %373 = load i32, ptr %19, align 4 %374 = sext i32 %373 to i64 %375 = getelementptr inbounds [500 x [500 x i32]], ptr %10, i64 0, i64 %374 %376 = load i32, ptr %23, align 4 %377 = sext i32 %376 to i64 %378 = getelementptr inbounds [500 x i32], ptr %375, i64 0, i64 %377 %379 = load i32, ptr %378, align 4 store i32 %379, ptr %24, align 4 %380 = load i32, ptr %19, align 4 %381 = sext i32 %380 to i64 %382 = getelementptr inbounds [500 x [500 x i32]], ptr %9, i64 0, i64 %381 %383 = load i32, ptr %23, align 4 %384 = sext i32 %383 to i64 %385 = getelementptr inbounds [500 x i32], ptr %382, i64 0, i64 %384 %386 = load i32, ptr %385, align 4 store i32 %386, ptr %25, align 4 br label %387 387: ; preds = %372, %362 %388 = load i32, ptr %25, align 4 %389 = load i32, ptr %14, align 4 %390 = sext i32 %389 to i64 %391 = getelementptr inbounds [500 x [500 x i32]], ptr %11, i64 0, i64 %390 %392 = load i32, ptr %15, align 4 %393 = sext i32 %392 to i64 %394 = getelementptr inbounds [500 x i32], ptr %391, i64 0, i64 %393 store i32 %388, ptr %394, align 4 br label %395 395: ; preds = %387, %130 br label %396 396: ; preds = %395 %397 = load i32, ptr %15, align 4 %398 = add nsw i32 %397, 1 store i32 %398, ptr %15, align 4 %399 = load i32, ptr %15, align 4 %400 = load i32, ptr %13, align 4 %401 = sdiv i32 %400, 2 %402 = icmp slt i32 %399, %401 br i1 %402, label %130, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %396 br label %403 403: ; preds = %._crit_edge, %125 br label %404 404: ; preds = %403 %405 = load i32, ptr %14, align 4 %406 = add nsw i32 %405, 1 store i32 %406, ptr %14, align 4 %407 = load i32, ptr %14, align 4 %408 = load i32, ptr %12, align 4 %409 = sdiv i32 %408, 2 %410 = icmp slt i32 %407, %409 br i1 %410, label %125, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %404 br label %411 411: ; preds = %._crit_edge3, %61 store i32 0, ptr %14, align 4 %412 = load i32, ptr %14, align 4 %413 = load i32, ptr %12, align 4 %414 = sdiv i32 %413, 2 %415 = icmp slt i32 %412, %414 br i1 %415, label %.lr.ph8, label %446 .lr.ph8: ; preds = %411 br label %416 416: ; preds = %.lr.ph8, %439 store i32 0, ptr %15, align 4 %417 = load i32, ptr %15, align 4 %418 = load i32, ptr %13, align 4 %419 = sdiv i32 %418, 2 %420 = icmp slt i32 %417, %419 br i1 %420, label %.lr.ph5, label %437 .lr.ph5: ; preds = %416 br label %421 421: ; preds = %.lr.ph5, %430 %422 = load i32, ptr %14, align 4 %423 = sext i32 %422 to i64 %424 = getelementptr inbounds [500 x [500 x i32]], ptr %11, i64 0, i64 %423 %425 = load i32, ptr %15, align 4 %426 = sext i32 %425 to i64 %427 = getelementptr inbounds [500 x i32], ptr %424, i64 0, i64 %426 %428 = load i32, ptr %427, align 4 %429 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %428) br label %430 430: ; preds = %421 %431 = load i32, ptr %15, align 4 %432 = add nsw i32 %431, 1 store i32 %432, ptr %15, align 4 %433 = load i32, ptr %15, align 4 %434 = load i32, ptr %13, align 4 %435 = sdiv i32 %434, 2 %436 = icmp slt i32 %433, %435 br i1 %436, label %421, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %430 br label %437 437: ; preds = %._crit_edge6, %416 %438 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %439 439: ; preds = %437 %440 = load i32, ptr %14, align 4 %441 = add nsw i32 %440, 1 store i32 %441, ptr %14, align 4 %442 = load i32, ptr %14, align 4 %443 = load i32, ptr %12, align 4 %444 = sdiv i32 %443, 2 %445 = icmp slt i32 %442, %444 br i1 %445, label %416, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %439 br label %446 446: ; preds = %._crit_edge9, %411 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @read_dir(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @make_mask(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp40u61xqg.c' source_filename = "/tmp/tmp40u61xqg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @YsGLSLCreatePlain2DRenderer() #0 { %1 = alloca ptr, align 8 %2 = call ptr (...) @YsGLSLAllocAndInitPlain2DRenderer() store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = icmp ne ptr null, %3 br i1 %4, label %5, label %10 5: ; preds = %0 %6 = load ptr, ptr %1, align 8 %7 = call i32 @YsGLSLPlain2DDrawingCreateProgram(ptr noundef %6) %8 = load ptr, ptr %1, align 8 %9 = call i32 @YsGLSLPlain2DDrawingInitializeUniform(ptr noundef %8) br label %10 10: ; preds = %5, %0 %11 = load ptr, ptr %1, align 8 ret ptr %11 } declare ptr @YsGLSLAllocAndInitPlain2DRenderer(...) #1 declare i32 @YsGLSLPlain2DDrawingCreateProgram(ptr noundef) #1 declare i32 @YsGLSLPlain2DDrawingInitializeUniform(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp40u61xqg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @YsGLSLCreatePlain2DRenderer() #0 { %1 = alloca ptr, align 8 %2 = call ptr (...) @YsGLSLAllocAndInitPlain2DRenderer() store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = icmp ne ptr null, %3 br i1 %4, label %5, label %10 5: ; preds = %0 %6 = load ptr, ptr %1, align 8 %7 = call i32 @YsGLSLPlain2DDrawingCreateProgram(ptr noundef %6) %8 = load ptr, ptr %1, align 8 %9 = call i32 @YsGLSLPlain2DDrawingInitializeUniform(ptr noundef %8) br label %10 10: ; preds = %5, %0 %11 = load ptr, ptr %1, align 8 ret ptr %11 } declare ptr @YsGLSLAllocAndInitPlain2DRenderer(...) #1 declare i32 @YsGLSLPlain2DDrawingCreateProgram(ptr noundef) #1 declare i32 @YsGLSLPlain2DDrawingInitializeUniform(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzzwkonti.c' source_filename = "/tmp/tmpzzwkonti.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"levelshots/unknownmap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ArenaServers_Cache() #0 { %1 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str) ret void } declare i32 @trap_R_RegisterShaderNoMip(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzzwkonti.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"levelshots/unknownmap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ArenaServers_Cache() #0 { %1 = call i32 @trap_R_RegisterShaderNoMip(ptr noundef @.str) ret void } declare i32 @trap_R_RegisterShaderNoMip(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpesj5xlm0.c' source_filename = "/tmp/tmpesj5xlm0.c" target datalayout = "e-m:e-p270: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/tmpesj5xlm0.c" target datalayout = "e-m:e-p270: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/tmpz4fdpawy.c' source_filename = "/tmp/tmpz4fdpawy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_tmr_init() #0 { %1 = call i32 (...) @OS_TINIT() ret void } declare i32 @OS_TINIT(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz4fdpawy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @os_tmr_init() #0 { %1 = call i32 (...) @OS_TINIT() ret void } declare i32 @OS_TINIT(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpret8w8eo.c' source_filename = "/tmp/tmpret8w8eo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_pid(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %1 store i32 -1, ptr %2, align 4 br label %17 11: ; preds = %1 %12 = load ptr, ptr %5, align 8 %13 = call i32 @fscanf(ptr noundef %12, ptr noundef @.str.1, ptr noundef %4) %14 = load ptr, ptr %5, align 8 %15 = call i32 @fclose(ptr noundef %14) %16 = load i32, ptr %4, align 4 store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %11, %10 %18 = load i32, ptr %2, align 4 ret i32 %18 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpret8w8eo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_pid(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %1 store i32 -1, ptr %2, align 4 br label %17 11: ; preds = %1 %12 = load ptr, ptr %5, align 8 %13 = call i32 @fscanf(ptr noundef %12, ptr noundef @.str.1, ptr noundef %4) %14 = load ptr, ptr %5, align 8 %15 = call i32 @fclose(ptr noundef %14) %16 = load i32, ptr %4, align 4 store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %11, %10 %18 = load i32, ptr %2, align 4 ret i32 %18 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqism2iu9.c' source_filename = "/tmp/tmpqism2iu9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closefile() #0 { %1 = call i32 (...) @CloseFile315() ret void } declare i32 @CloseFile315(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqism2iu9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closefile() #0 { %1 = call i32 (...) @CloseFile315() ret void } declare i32 @CloseFile315(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc5ps1ge0.c' source_filename = "/tmp/tmpc5ps1ge0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"UNSUPPORTED\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_wadd_wchstr(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %9 8: ; preds = %2 br label %12 9: ; preds = %2 %10 = call i32 @report_count(i32 noundef 1) %11 = call i32 @report_error(ptr noundef @.str) br label %12 12: ; preds = %9, %8 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_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/tmpc5ps1ge0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"UNSUPPORTED\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_wadd_wchstr(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1) %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %9 8: ; preds = %2 br label %12 9: ; preds = %2 %10 = call i32 @report_count(i32 noundef 1) %11 = call i32 @report_error(ptr noundef @.str) br label %12 12: ; preds = %9, %8 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_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/tmp8uimrfhm.c' source_filename = "/tmp/tmp8uimrfhm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%d %d %lf\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"%.3lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store i32 0, ptr %1, align 4 br label %13 13: ; preds = %40, %0 %14 = call i64 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %9) %15 = load i64, ptr @EOF, align 8 %16 = icmp ne i64 %14, %15 br i1 %16, label %17, label %43 17: ; preds = %13 store double 0.000000e+00, ptr %12, align 8 %18 = load i32, ptr %6, align 4 store i32 %18, ptr %2, align 4 br label %19 19: ; preds = %37, %17 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp sge i32 %20, %21 br i1 %22, label %23, label %40 23: ; preds = %19 %24 = load double, ptr %9, align 8 %25 = fptosi double %24 to i32 %26 = load i32, ptr %2, align 4 %27 = call double @pow(i32 noundef %25, i32 noundef %26) %28 = load double, ptr %9, align 8 %29 = fsub double 1.000000e+00, %28 %30 = fptosi double %29 to i32 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %2, align 4 %33 = sub nsw i32 %31, %32 %34 = call double @pow(i32 noundef %30, i32 noundef %33) %35 = load double, ptr %12, align 8 %36 = call double @llvm.fmuladd.f64(double %27, double %34, double %35) store double %36, ptr %12, align 8 br label %37 37: ; preds = %23 %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %2, align 4 br label %19, !llvm.loop !6 40: ; preds = %19 %41 = load double, ptr %12, align 8 %42 = call i32 @printf(ptr noundef @.str.1, double noundef %41) br label %13, !llvm.loop !8 43: ; preds = %13 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @pow(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8uimrfhm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%d %d %lf\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"%.3lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store i32 0, ptr %1, align 4 %13 = call i64 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %9) %14 = load i64, ptr @EOF, align 8 %15 = icmp ne i64 %13, %14 br i1 %15, label %.lr.ph2, label %47 .lr.ph2: ; preds = %0 br label %16 16: ; preds = %.lr.ph2, %41 store double 0.000000e+00, ptr %12, align 8 %17 = load i32, ptr %6, align 4 store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp sge i32 %18, %19 br i1 %20, label %.lr.ph, label %41 .lr.ph: ; preds = %16 br label %21 21: ; preds = %.lr.ph, %35 %22 = load double, ptr %9, align 8 %23 = fptosi double %22 to i32 %24 = load i32, ptr %2, align 4 %25 = call double @pow(i32 noundef %23, i32 noundef %24) %26 = load double, ptr %9, align 8 %27 = fsub double 1.000000e+00, %26 %28 = fptosi double %27 to i32 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %2, align 4 %31 = sub nsw i32 %29, %30 %32 = call double @pow(i32 noundef %28, i32 noundef %31) %33 = load double, ptr %12, align 8 %34 = call double @llvm.fmuladd.f64(double %25, double %32, double %33) store double %34, ptr %12, align 8 br label %35 35: ; preds = %21 %36 = load i32, ptr %2, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %2, align 4 %38 = load i32, ptr %2, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp sge i32 %38, %39 br i1 %40, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %16 %42 = load double, ptr %12, align 8 %43 = call i32 @printf(ptr noundef @.str.1, double noundef %42) %44 = call i64 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %9) %45 = load i64, ptr @EOF, align 8 %46 = icmp ne i64 %44, %45 br i1 %46, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %47 47: ; preds = %._crit_edge3, %0 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @pow(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @printf(ptr 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplqf5lsga.c' source_filename = "/tmp/tmplqf5lsga.c" target datalayout = "e-m:e-p270: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/tmplqf5lsga.c" target datalayout = "e-m:e-p270: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/tmp7x2xp9ql.c' source_filename = "/tmp/tmp7x2xp9ql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpc_realloc_str(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = call i32 @__gmp_get_memory_functions(ptr noundef null, ptr noundef %7, ptr noundef null) %9 = load ptr, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = call ptr %9(ptr noundef %10, i64 noundef %11, i64 noundef %12) ret ptr %13 } declare i32 @__gmp_get_memory_functions(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/tmp7x2xp9ql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpc_realloc_str(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = call i32 @__gmp_get_memory_functions(ptr noundef null, ptr noundef %7, ptr noundef null) %9 = load ptr, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = call ptr %9(ptr noundef %10, i64 noundef %11, i64 noundef %12) ret ptr %13 } declare i32 @__gmp_get_memory_functions(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/tmp9hefr44z.c' source_filename = "/tmp/tmp9hefr44z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { ptr, i64 } @PATH_MAX = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"Dir is:%s\0A\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"..\00", align 1 @DT_DIR = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @recurseprint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %7 = load i32, ptr @PATH_MAX, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %5, align 8 %10 = alloca i8, i64 %8, align 16 store i64 %8, ptr %6, align 8 %11 = load ptr, ptr %2, align 8 %12 = call ptr @opendir(ptr noundef %11) store ptr %12, ptr %3, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %19, label %14 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = call i32 @perror(ptr noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #4 unreachable 19: ; preds = %1 %20 = load ptr, ptr %2, align 8 %21 = call i32 @printf(ptr noundef @.str, ptr noundef %20) br label %22 22: ; preds = %63, %39, %32, %19 %23 = load ptr, ptr %3, align 8 %24 = call ptr @readdir(ptr noundef %23) store ptr %24, ptr %4, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %64 26: ; preds = %22 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds %struct.dirent, ptr %27, i32 0, i32 0 %29 = load ptr, ptr %28, align 8 %30 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %29) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %26 br label %22, !llvm.loop !6 33: ; preds = %26 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds %struct.dirent, ptr %34, i32 0, i32 0 %36 = load ptr, ptr %35, align 8 %37 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %36) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %33 br label %22, !llvm.loop !6 40: ; preds = %33 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds %struct.dirent, ptr %41, i32 0, i32 1 %43 = load i64, ptr %42, align 8 %44 = load i64, ptr @DT_DIR, align 8 %45 = icmp eq i64 %43, %44 br i1 %45, label %46, label %63 46: ; preds = %40 %47 = load ptr, ptr %2, align 8 %48 = call i32 @strcpy(ptr noundef %10, ptr noundef %47) %49 = call i32 @strlen(ptr noundef %10) %50 = sub nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %10, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %54, 47 br i1 %55, label %56, label %58 56: ; preds = %46 %57 = call i32 @strcat(ptr noundef %10, ptr noundef @.str.3) br label %58 58: ; preds = %56, %46 %59 = load ptr, ptr %4, align 8 %60 = getelementptr inbounds %struct.dirent, ptr %59, i32 0, i32 0 %61 = load ptr, ptr %60, align 8 %62 = call i32 @strcat(ptr noundef %10, ptr noundef %61) call void @recurseprint(ptr noundef %10) br label %63 63: ; preds = %58, %40 br label %22, !llvm.loop !6 64: ; preds = %22 %65 = load ptr, ptr %3, align 8 %66 = call i32 @closedir(ptr noundef %65) %67 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %67) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @opendir(ptr noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @printf(ptr noundef, ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare i32 @closedir(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9hefr44z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { ptr, i64 } @PATH_MAX = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"Dir is:%s\0A\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"..\00", align 1 @DT_DIR = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @recurseprint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %7 = load i32, ptr @PATH_MAX, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %5, align 8 %10 = alloca i8, i64 %8, align 16 store i64 %8, ptr %6, align 8 %11 = load ptr, ptr %2, align 8 %12 = call ptr @opendir(ptr noundef %11) store ptr %12, ptr %3, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %19, label %14 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = call i32 @perror(ptr noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #4 unreachable 19: ; preds = %1 %20 = load ptr, ptr %2, align 8 %21 = call i32 @printf(ptr noundef @.str, ptr noundef %20) %22 = load ptr, ptr %3, align 8 %23 = call ptr @readdir(ptr noundef %22) store ptr %23, ptr %4, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %.lr.ph, label %66 .lr.ph: ; preds = %19 br label %25 25: ; preds = %.lr.ph, %.backedge %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds %struct.dirent, ptr %26, i32 0, i32 0 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %28) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %25 br label %.backedge .backedge: ; preds = %31, %41, %65 %32 = load ptr, ptr %3, align 8 %33 = call ptr @readdir(ptr noundef %32) store ptr %33, ptr %4, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %25, label %._crit_edge, !llvm.loop !6 35: ; preds = %25 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds %struct.dirent, ptr %36, i32 0, i32 0 %38 = load ptr, ptr %37, align 8 %39 = call i64 @strcmp(ptr noundef @.str.2, ptr noundef %38) %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %35 br label %.backedge 42: ; preds = %35 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds %struct.dirent, ptr %43, i32 0, i32 1 %45 = load i64, ptr %44, align 8 %46 = load i64, ptr @DT_DIR, align 8 %47 = icmp eq i64 %45, %46 br i1 %47, label %48, label %65 48: ; preds = %42 %49 = load ptr, ptr %2, align 8 %50 = call i32 @strcpy(ptr noundef %10, ptr noundef %49) %51 = call i32 @strlen(ptr noundef %10) %52 = sub nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %10, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp ne i32 %56, 47 br i1 %57, label %58, label %60 58: ; preds = %48 %59 = call i32 @strcat(ptr noundef %10, ptr noundef @.str.3) br label %60 60: ; preds = %58, %48 %61 = load ptr, ptr %4, align 8 %62 = getelementptr inbounds %struct.dirent, ptr %61, i32 0, i32 0 %63 = load ptr, ptr %62, align 8 %64 = call i32 @strcat(ptr noundef %10, ptr noundef %63) call void @recurseprint(ptr noundef %10) br label %65 65: ; preds = %60, %42 br label %.backedge ._crit_edge: ; preds = %.backedge br label %66 66: ; preds = %._crit_edge, %19 %67 = load ptr, ptr %3, align 8 %68 = call i32 @closedir(ptr noundef %67) %69 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %69) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @opendir(ptr noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @printf(ptr noundef, ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare i32 @closedir(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe57toi8q.c' source_filename = "/tmp/tmpe57toi8q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"this is a c function in c source file!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe57toi8q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"this is a c function in c source file!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6me1wfy7.c' source_filename = "/tmp/tmp6me1wfy7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mm_cmpnge_pd(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 @_mm_cmpnge_pd(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_cmpnge_pd(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/tmp6me1wfy7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_mm_cmpnge_pd(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 @_mm_cmpnge_pd(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_cmpnge_pd(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/tmp9y3i62e8.c' source_filename = "/tmp/tmp9y3i62e8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LZ4_compressHC(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 @LZ4_compressBound(i32 noundef %10) %12 = call i32 @LZ4_compress_HC(ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef %11, i32 noundef 0) ret i32 %12 } declare i32 @LZ4_compress_HC(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @LZ4_compressBound(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/tmp9y3i62e8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LZ4_compressHC(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 @LZ4_compressBound(i32 noundef %10) %12 = call i32 @LZ4_compress_HC(ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef %11, i32 noundef 0) ret i32 %12 } declare i32 @LZ4_compress_HC(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @LZ4_compressBound(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/tmpr7peir6b.c' source_filename = "/tmp/tmpr7peir6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_ispunct.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for 8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_ispunct_0x38() #0 { %1 = call i64 @ispunct(i32 noundef 56) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 285, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ispunct(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/tmpr7peir6b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_ispunct.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"ispunct should be 0 for 8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_ispunct_0x38() #0 { %1 = call i64 @ispunct(i32 noundef 56) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 285, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @ispunct(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/tmp78glxsym.c' source_filename = "/tmp/tmp78glxsym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @ValidDataArray(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %10 10: ; preds = %35, %3 %11 = load i64, ptr %8, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp slt i64 %11, %12 br i1 %13, label %14, label %38 14: ; preds = %10 store i64 0, ptr %9, align 8 br label %15 15: ; preds = %31, %14 %16 = load i64, ptr %9, align 8 %17 = load i64, ptr %7, align 8 %18 = icmp slt i64 %16, %17 br i1 %18, label %19, label %34 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load i64, ptr %8, align 8 %22 = getelementptr inbounds ptr, ptr %20, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load i64, ptr %9, align 8 %25 = getelementptr inbounds float, ptr %23, i64 %24 %26 = load float, ptr %25, align 4 %27 = call i32 @IsFinite(float noundef %26) %28 = icmp ne i32 %27, 0 br i1 %28, label %30, label %29 29: ; preds = %19 store i8 0, ptr %4, align 1 br label %39 30: ; preds = %19 br label %31 31: ; preds = %30 %32 = load i64, ptr %9, align 8 %33 = add nsw i64 %32, 1 store i64 %33, ptr %9, align 8 br label %15, !llvm.loop !6 34: ; preds = %15 br label %35 35: ; preds = %34 %36 = load i64, ptr %8, align 8 %37 = add nsw i64 %36, 1 store i64 %37, ptr %8, align 8 br label %10, !llvm.loop !8 38: ; preds = %10 store i8 1, ptr %4, align 1 br label %39 39: ; preds = %38, %29 %40 = load i8, ptr %4, align 1 ret i8 %40 } declare i32 @IsFinite(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp78glxsym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @ValidDataArray(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp slt i64 %10, %11 br i1 %12, label %.lr.ph2, label %42 .lr.ph2: ; preds = %3 br label %13 13: ; preds = %.lr.ph2, %36 store i64 0, ptr %9, align 8 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %7, align 8 %16 = icmp slt i64 %14, %15 br i1 %16, label %.lr.ph, label %35 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %29 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %8, align 8 %20 = getelementptr inbounds ptr, ptr %18, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = load i64, ptr %9, align 8 %23 = getelementptr inbounds float, ptr %21, i64 %22 %24 = load float, ptr %23, align 4 %25 = call i32 @IsFinite(float noundef %24) %26 = icmp ne i32 %25, 0 br i1 %26, label %28, label %27 27: ; preds = %17 store i8 0, ptr %4, align 1 br label %43 28: ; preds = %17 br label %29 29: ; preds = %28 %30 = load i64, ptr %9, align 8 %31 = add nsw i64 %30, 1 store i64 %31, ptr %9, align 8 %32 = load i64, ptr %9, align 8 %33 = load i64, ptr %7, align 8 %34 = icmp slt i64 %32, %33 br i1 %34, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %13 br label %36 36: ; preds = %35 %37 = load i64, ptr %8, align 8 %38 = add nsw i64 %37, 1 store i64 %38, ptr %8, align 8 %39 = load i64, ptr %8, align 8 %40 = load i64, ptr %6, align 8 %41 = icmp slt i64 %39, %40 br i1 %41, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %42 42: ; preds = %._crit_edge3, %3 store i8 1, ptr %4, align 1 br label %43 43: ; preds = %42, %27 %44 = load i8, ptr %4, align 1 ret i8 %44 } declare i32 @IsFinite(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprgib65__.c' source_filename = "/tmp/tmprgib65__.c" target datalayout = "e-m:e-p270: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/tmprgib65__.c" target datalayout = "e-m:e-p270: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/tmp39_dg2hj.c' source_filename = "/tmp/tmp39_dg2hj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_named_linear_product_start_system(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 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %7, align 8 %13 = alloca i32, i64 %11, align 16 store i64 %11, ptr %8, align 8 store i32 0, ptr %6, align 4 br label %14 14: ; preds = %28, %2 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %31 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %13, i64 %26 store i32 %24, ptr %27, align 4 br label %28 28: ; preds = %18 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %14, !llvm.loop !6 31: ; preds = %14 %32 = load ptr, ptr %9, align 8 %33 = call i32 @_ada_use_c2phc(i32 noundef 163, ptr noundef %3, ptr noundef %13, ptr noundef %32) store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %35) ret i32 %34 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp39_dg2hj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_named_linear_product_start_system(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 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %7, align 8 %13 = alloca i32, i64 %11, align 16 store i64 %11, ptr %8, align 8 store i32 0, 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 %33 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %27 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %13, i64 %25 store i32 %23, ptr %26, align 4 br label %27 27: ; preds = %17 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %2 %34 = load ptr, ptr %9, align 8 %35 = call i32 @_ada_use_c2phc(i32 noundef 163, ptr noundef %3, ptr noundef %13, ptr noundef %34) store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %37) ret i32 %36 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu8fi25yv.c' source_filename = "/tmp/tmpu8fi25yv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Helooo World function\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @some_function() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu8fi25yv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Helooo World function\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @some_function() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdqe4hpfc.c' source_filename = "/tmp/tmpdqe4hpfc.c" target datalayout = "e-m:e-p270: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/tmpdqe4hpfc.c" target datalayout = "e-m:e-p270: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/tmpu1k16sf5.c' source_filename = "/tmp/tmpu1k16sf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @semihost_istty(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @__semihost(i32 noundef 9, ptr noundef %2) ret i32 %3 } declare i32 @__semihost(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/tmpu1k16sf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @semihost_istty(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @__semihost(i32 noundef 9, ptr noundef %2) ret i32 %3 } declare i32 @__semihost(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/tmpnn2du80y.c' source_filename = "/tmp/tmpnn2du80y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_r(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @U(ptr noundef %5, i32 noundef 1) ret void } declare i32 @U(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/tmpnn2du80y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_r(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @U(ptr noundef %5, i32 noundef 1) ret void } declare i32 @U(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/tmpr2z4bovy.c' source_filename = "/tmp/tmpr2z4bovy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"arr[]: %p \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @arr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr2z4bovy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"arr[]: %p \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @arr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2ts_hihj.c' source_filename = "/tmp/tmp2ts_hihj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @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/tmp2ts_hihj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @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/tmp6p6r7yyl.c' source_filename = "/tmp/tmp6p6r7yyl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @WNOHANG = dso_local global i32 0, align 4 @errno = 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/tmp6p6r7yyl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @WNOHANG = dso_local global i32 0, align 4 @errno = 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"}