llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp_8d1s0_x.c' source_filename = "/tmp/tmp_8d1s0_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"NOT IMPLEMENTED:pa_thread_free\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_thread_free() #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/tmp_8d1s0_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"NOT IMPLEMENTED:pa_thread_free\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_thread_free() #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/tmpdwzhp741.c' source_filename = "/tmp/tmpdwzhp741.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #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 i64, align 8 %7 = alloca i32, align 4 %8 = alloca [5 x i32], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %1, align 4 %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %13 = load i32, ptr %2, align 4 %14 = zext i32 %13 to i64 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %4, align 8 %19 = mul nuw i64 %14, %17 %20 = alloca i8, i64 %19, align 16 store i64 %14, ptr %5, align 8 store i64 %17, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %31, %0 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %34 25: ; preds = %21 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = mul nsw i64 %27, %17 %29 = getelementptr inbounds i8, ptr %20, i64 %28 %30 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %29) br label %31 31: ; preds = %25 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %21, !llvm.loop !6 34: ; preds = %21 call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 20, i1 false) store i32 0, ptr %9, align 4 br label %35 35: ; preds = %159, %34 %36 = load i32, ptr %9, align 4 %37 = load i32, ptr %2, align 4 %38 = sub nsw i32 %37, 1 %39 = icmp slt i32 %36, %38 br i1 %39, label %40, label %162 40: ; preds = %35 store i32 0, ptr %10, align 4 br label %41 41: ; preds = %155, %40 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %3, align 4 %44 = sub nsw i32 %43, 1 %45 = icmp slt i32 %42, %44 br i1 %45, label %46, label %158 46: ; preds = %41 %47 = load i32, ptr %9, align 4 %48 = sext i32 %47 to i64 %49 = mul nsw i64 %48, %17 %50 = getelementptr inbounds i8, ptr %20, i64 %49 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp ne i32 %55, 35 br i1 %56, label %57, label %154 57: ; preds = %46 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = mul nsw i64 %59, %17 %61 = getelementptr inbounds i8, ptr %20, i64 %60 %62 = load i32, ptr %10, align 4 %63 = add nsw i32 %62, 1 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %61, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp ne i32 %67, 35 br i1 %68, label %69, label %154 69: ; preds = %57 %70 = load i32, ptr %9, align 4 %71 = add nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = mul nsw i64 %72, %17 %74 = getelementptr inbounds i8, ptr %20, i64 %73 %75 = load i32, ptr %10, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp ne i32 %79, 35 br i1 %80, label %81, label %154 81: ; preds = %69 %82 = load i32, ptr %9, align 4 %83 = add nsw i32 %82, 1 %84 = sext i32 %83 to i64 %85 = mul nsw i64 %84, %17 %86 = getelementptr inbounds i8, ptr %20, i64 %85 %87 = load i32, ptr %10, align 4 %88 = add nsw i32 %87, 1 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %86, i64 %89 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp ne i32 %92, 35 br i1 %93, label %94, label %154 94: ; preds = %81 %95 = load i32, ptr %9, align 4 %96 = sext i32 %95 to i64 %97 = mul nsw i64 %96, %17 %98 = getelementptr inbounds i8, ptr %20, i64 %97 %99 = load i32, ptr %10, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %98, i64 %100 %102 = load i8, ptr %101, align 1 %103 = sext i8 %102 to i32 %104 = icmp eq i32 %103, 88 %105 = zext i1 %104 to i64 %106 = select i1 %104, i32 1, i32 0 %107 = load i32, ptr %9, align 4 %108 = sext i32 %107 to i64 %109 = mul nsw i64 %108, %17 %110 = getelementptr inbounds i8, ptr %20, i64 %109 %111 = load i32, ptr %10, align 4 %112 = add nsw i32 %111, 1 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %110, i64 %113 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 88 %118 = zext i1 %117 to i64 %119 = select i1 %117, i32 1, i32 0 %120 = add nsw i32 %106, %119 %121 = load i32, ptr %9, align 4 %122 = add nsw i32 %121, 1 %123 = sext i32 %122 to i64 %124 = mul nsw i64 %123, %17 %125 = getelementptr inbounds i8, ptr %20, i64 %124 %126 = load i32, ptr %10, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i8, ptr %125, i64 %127 %129 = load i8, ptr %128, align 1 %130 = sext i8 %129 to i32 %131 = icmp eq i32 %130, 88 %132 = zext i1 %131 to i64 %133 = select i1 %131, i32 1, i32 0 %134 = add nsw i32 %120, %133 %135 = load i32, ptr %9, align 4 %136 = add nsw i32 %135, 1 %137 = sext i32 %136 to i64 %138 = mul nsw i64 %137, %17 %139 = getelementptr inbounds i8, ptr %20, i64 %138 %140 = load i32, ptr %10, align 4 %141 = add nsw i32 %140, 1 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i8, ptr %139, i64 %142 %144 = load i8, ptr %143, align 1 %145 = sext i8 %144 to i32 %146 = icmp eq i32 %145, 88 %147 = zext i1 %146 to i64 %148 = select i1 %146, i32 1, i32 0 %149 = add nsw i32 %134, %148 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [5 x i32], ptr %8, i64 0, i64 %150 %152 = load i32, ptr %151, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %151, align 4 br label %154 154: ; preds = %94, %81, %69, %57, %46 br label %155 155: ; preds = %154 %156 = load i32, ptr %10, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %10, align 4 br label %41, !llvm.loop !8 158: ; preds = %41 br label %159 159: ; preds = %158 %160 = load i32, ptr %9, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %9, align 4 br label %35, !llvm.loop !9 162: ; preds = %35 store i32 0, ptr %11, align 4 br label %163 163: ; preds = %172, %162 %164 = load i32, ptr %11, align 4 %165 = icmp slt i32 %164, 5 br i1 %165, label %166, label %175 166: ; preds = %163 %167 = load i32, ptr %11, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [5 x i32], ptr %8, i64 0, i64 %168 %170 = load i32, ptr %169, align 4 %171 = call i32 @printf(ptr noundef @.str.2, i32 noundef %170) br label %172 172: ; preds = %166 %173 = load i32, ptr %11, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %11, align 4 br label %163, !llvm.loop !10 175: ; preds = %163 store i32 0, ptr %1, align 4 %176 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %176) %177 = load i32, ptr %1, align 4 ret i32 %177 } declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpdwzhp741.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #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 i64, align 8 %7 = alloca i32, align 4 %8 = alloca [5 x i32], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %1, align 4 %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %13 = load i32, ptr %2, align 4 %14 = zext i32 %13 to i64 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %4, align 8 %19 = mul nuw i64 %14, %17 %20 = alloca i8, i64 %19, align 16 store i64 %14, ptr %5, align 8 store i64 %17, ptr %6, align 8 store i32 0, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %36 .lr.ph: ; preds = %0 br label %24 24: ; preds = %.lr.ph, %30 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = mul nsw i64 %26, %17 %28 = getelementptr inbounds i8, ptr %20, i64 %27 %29 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %28) br label %30 30: ; preds = %24 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %0 call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 20, i1 false) store i32 0, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %2, align 4 %39 = sub nsw i32 %38, 1 %40 = icmp slt i32 %37, %39 br i1 %40, label %.lr.ph5, label %170 .lr.ph5: ; preds = %36 br label %41 41: ; preds = %.lr.ph5, %163 store i32 0, ptr %10, align 4 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %3, align 4 %44 = sub nsw i32 %43, 1 %45 = icmp slt i32 %42, %44 br i1 %45, label %.lr.ph2, label %162 .lr.ph2: ; preds = %41 br label %46 46: ; preds = %.lr.ph2, %155 %47 = load i32, ptr %9, align 4 %48 = sext i32 %47 to i64 %49 = mul nsw i64 %48, %17 %50 = getelementptr inbounds i8, ptr %20, i64 %49 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp ne i32 %55, 35 br i1 %56, label %57, label %154 57: ; preds = %46 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = mul nsw i64 %59, %17 %61 = getelementptr inbounds i8, ptr %20, i64 %60 %62 = load i32, ptr %10, align 4 %63 = add nsw i32 %62, 1 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %61, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp ne i32 %67, 35 br i1 %68, label %69, label %154 69: ; preds = %57 %70 = load i32, ptr %9, align 4 %71 = add nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = mul nsw i64 %72, %17 %74 = getelementptr inbounds i8, ptr %20, i64 %73 %75 = load i32, ptr %10, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp ne i32 %79, 35 br i1 %80, label %81, label %154 81: ; preds = %69 %82 = load i32, ptr %9, align 4 %83 = add nsw i32 %82, 1 %84 = sext i32 %83 to i64 %85 = mul nsw i64 %84, %17 %86 = getelementptr inbounds i8, ptr %20, i64 %85 %87 = load i32, ptr %10, align 4 %88 = add nsw i32 %87, 1 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %86, i64 %89 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp ne i32 %92, 35 br i1 %93, label %94, label %154 94: ; preds = %81 %95 = load i32, ptr %9, align 4 %96 = sext i32 %95 to i64 %97 = mul nsw i64 %96, %17 %98 = getelementptr inbounds i8, ptr %20, i64 %97 %99 = load i32, ptr %10, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %98, i64 %100 %102 = load i8, ptr %101, align 1 %103 = sext i8 %102 to i32 %104 = icmp eq i32 %103, 88 %105 = zext i1 %104 to i64 %106 = select i1 %104, i32 1, i32 0 %107 = load i32, ptr %9, align 4 %108 = sext i32 %107 to i64 %109 = mul nsw i64 %108, %17 %110 = getelementptr inbounds i8, ptr %20, i64 %109 %111 = load i32, ptr %10, align 4 %112 = add nsw i32 %111, 1 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds i8, ptr %110, i64 %113 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 88 %118 = zext i1 %117 to i64 %119 = select i1 %117, i32 1, i32 0 %120 = add nsw i32 %106, %119 %121 = load i32, ptr %9, align 4 %122 = add nsw i32 %121, 1 %123 = sext i32 %122 to i64 %124 = mul nsw i64 %123, %17 %125 = getelementptr inbounds i8, ptr %20, i64 %124 %126 = load i32, ptr %10, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i8, ptr %125, i64 %127 %129 = load i8, ptr %128, align 1 %130 = sext i8 %129 to i32 %131 = icmp eq i32 %130, 88 %132 = zext i1 %131 to i64 %133 = select i1 %131, i32 1, i32 0 %134 = add nsw i32 %120, %133 %135 = load i32, ptr %9, align 4 %136 = add nsw i32 %135, 1 %137 = sext i32 %136 to i64 %138 = mul nsw i64 %137, %17 %139 = getelementptr inbounds i8, ptr %20, i64 %138 %140 = load i32, ptr %10, align 4 %141 = add nsw i32 %140, 1 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i8, ptr %139, i64 %142 %144 = load i8, ptr %143, align 1 %145 = sext i8 %144 to i32 %146 = icmp eq i32 %145, 88 %147 = zext i1 %146 to i64 %148 = select i1 %146, i32 1, i32 0 %149 = add nsw i32 %134, %148 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [5 x i32], ptr %8, i64 0, i64 %150 %152 = load i32, ptr %151, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %151, align 4 br label %154 154: ; preds = %94, %81, %69, %57, %46 br label %155 155: ; preds = %154 %156 = load i32, ptr %10, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %10, align 4 %158 = load i32, ptr %10, align 4 %159 = load i32, ptr %3, align 4 %160 = sub nsw i32 %159, 1 %161 = icmp slt i32 %158, %160 br i1 %161, label %46, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %155 br label %162 162: ; preds = %._crit_edge3, %41 br label %163 163: ; preds = %162 %164 = load i32, ptr %9, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %9, align 4 %166 = load i32, ptr %9, align 4 %167 = load i32, ptr %2, align 4 %168 = sub nsw i32 %167, 1 %169 = icmp slt i32 %166, %168 br i1 %169, label %41, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %163 br label %170 170: ; preds = %._crit_edge6, %36 store i32 0, ptr %11, align 4 %171 = load i32, ptr %11, align 4 %172 = icmp slt i32 %171, 5 br i1 %172, label %.lr.ph8, label %184 .lr.ph8: ; preds = %170 br label %173 173: ; preds = %.lr.ph8, %179 %174 = load i32, ptr %11, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [5 x i32], ptr %8, i64 0, i64 %175 %177 = load i32, ptr %176, align 4 %178 = call i32 @printf(ptr noundef @.str.2, i32 noundef %177) br label %179 179: ; preds = %173 %180 = load i32, ptr %11, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %11, align 4 %182 = load i32, ptr %11, align 4 %183 = icmp slt i32 %182, 5 br i1 %183, label %173, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %179 br label %184 184: ; preds = %._crit_edge9, %170 store i32 0, ptr %1, align 4 %185 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %185) %186 = load i32, ptr %1, align 4 ret i32 %186 } declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpyfeye5_z.c' source_filename = "/tmp/tmpyfeye5_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" @stdin = dso_local global i32 0, align 4 @REG_EXTENDED = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"%s: Error %d (expected)\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"%s: succeeded !\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 ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (...) @mtrace() store i32 0, ptr %2, align 4 store ptr null, ptr %3, align 8 store i64 0, ptr %4, align 8 br label %9 9: ; preds = %48, %0 %10 = load i32, ptr @stdin, align 4 %11 = call i32 @feof(i32 noundef %10) %12 = icmp ne i32 %11, 0 %13 = xor i1 %12, true br i1 %13, label %14, label %49 14: ; preds = %9 %15 = load i32, ptr @stdin, align 4 %16 = call i32 @getline(ptr noundef %3, ptr noundef %4, i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp sle i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %14 br label %49 20: ; preds = %14 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = sub nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 10 br i1 %28, label %29, label %35 29: ; preds = %20 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = sub nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 store i8 0, ptr %34, align 1 br label %35 35: ; preds = %29, %20 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr @REG_EXTENDED, align 4 %38 = call i32 @regcomp(ptr noundef %6, ptr noundef %36, i32 noundef %37) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %45 41: ; preds = %35 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %7, align 4 %44 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %42, i32 noundef %43) br label %48 45: ; preds = %35 %46 = load ptr, ptr %3, align 8 %47 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %46) store i32 1, ptr %2, align 4 br label %48 48: ; preds = %45, %41 br label %9, !llvm.loop !6 49: ; preds = %19, %9 %50 = load ptr, ptr %3, align 8 %51 = call i32 @free(ptr noundef %50) ret i32 0 } declare i32 @mtrace(...) #1 declare i32 @feof(i32 noundef) #1 declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyfeye5_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" @stdin = dso_local global i32 0, align 4 @REG_EXTENDED = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"%s: Error %d (expected)\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"%s: succeeded !\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 ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (...) @mtrace() store i32 0, ptr %2, align 4 store ptr null, ptr %3, align 8 store i64 0, ptr %4, align 8 %9 = load i32, ptr @stdin, align 4 %10 = call i32 @feof(i32 noundef %9) %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true br i1 %12, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %47 %14 = load i32, ptr @stdin, align 4 %15 = call i32 @getline(ptr noundef %3, ptr noundef %4, i32 noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp sle i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %13 br label %52 19: ; preds = %13 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = sub nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 10 br i1 %27, label %28, label %34 28: ; preds = %19 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %5, align 4 %31 = sub nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 store i8 0, ptr %33, align 1 br label %34 34: ; preds = %28, %19 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr @REG_EXTENDED, align 4 %37 = call i32 @regcomp(ptr noundef %6, ptr noundef %35, i32 noundef %36) store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %34 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %7, align 4 %43 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %41, i32 noundef %42) br label %47 44: ; preds = %34 %45 = load ptr, ptr %3, align 8 %46 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %45) store i32 1, ptr %2, align 4 br label %47 47: ; preds = %44, %40 %48 = load i32, ptr @stdin, align 4 %49 = call i32 @feof(i32 noundef %48) %50 = icmp ne i32 %49, 0 %51 = xor i1 %50, true br i1 %51, label %13, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %47 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %52 52: ; preds = %.loopexit, %18 %53 = load ptr, ptr %3, align 8 %54 = call i32 @free(ptr noundef %53) ret i32 0 } declare i32 @mtrace(...) #1 declare i32 @feof(i32 noundef) #1 declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps7h0l1mm.c' source_filename = "/tmp/tmps7h0l1mm.c" target datalayout = "e-m:e-p270: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/tmps7h0l1mm.c" target datalayout = "e-m:e-p270: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/tmpm_lpweoj.c' source_filename = "/tmp/tmpm_lpweoj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_bits(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %2 store i32 0, ptr %3, align 4 br label %38 10: ; preds = %2 %11 = load i32, ptr %5, align 4 %12 = lshr i32 %11, 1 %13 = and i32 %12, 2004318071 store i32 %13, ptr %6, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = sub i32 %14, %15 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = lshr i32 %17, 1 %19 = and i32 %18, 2004318071 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %6, align 4 %22 = sub i32 %20, %21 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = lshr i32 %23, 1 %25 = and i32 %24, 2004318071 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %6, align 4 %28 = sub i32 %26, %27 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = lshr i32 %30, 4 %32 = add i32 %29, %31 %33 = and i32 %32, 252645135 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = mul i32 %34, 16843009 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = lshr i32 %36, 24 store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %10, %9 %39 = load i32, ptr %3, align 4 ret i32 %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm_lpweoj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_bits(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %2 store i32 0, ptr %3, align 4 br label %38 10: ; preds = %2 %11 = load i32, ptr %5, align 4 %12 = lshr i32 %11, 1 %13 = and i32 %12, 2004318071 store i32 %13, ptr %6, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = sub i32 %14, %15 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = lshr i32 %17, 1 %19 = and i32 %18, 2004318071 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %6, align 4 %22 = sub i32 %20, %21 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %6, align 4 %24 = lshr i32 %23, 1 %25 = and i32 %24, 2004318071 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %6, align 4 %28 = sub i32 %26, %27 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = lshr i32 %30, 4 %32 = add i32 %29, %31 %33 = and i32 %32, 252645135 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = mul i32 %34, 16843009 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = lshr i32 %36, 24 store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %10, %9 %39 = load i32, ptr %3, align 4 ret i32 %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw7mqlihi.c' source_filename = "/tmp/tmpw7mqlihi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @init_socket() %7 = call i32 (...) @loop_event() ret i32 0 } declare i32 @init_socket(...) #1 declare i32 @loop_event(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw7mqlihi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @init_socket() %7 = call i32 (...) @loop_event() ret i32 0 } declare i32 @init_socket(...) #1 declare i32 @loop_event(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnlb7jz1y.c' source_filename = "/tmp/tmpnlb7jz1y.c" target datalayout = "e-m:e-p270: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.group = type { i32 } @ERANGE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"/etc/group\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EIO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getgrnam_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %14 = load i64, ptr %10, align 8 %15 = icmp ult i64 %14, 4096 br i1 %15, label %16, label %18 16: ; preds = %5 %17 = load i32, ptr @ERANGE, align 4 store i32 %17, ptr %6, align 4 br label %51 18: ; preds = %5 %19 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %19, ptr %12, align 8 %20 = load ptr, ptr %12, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %18 %23 = load i32, ptr @EIO, align 4 store i32 %23, ptr %6, align 4 br label %51 24: ; preds = %18 br label %25 25: ; preds = %46, %24 %26 = load ptr, ptr %12, align 8 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %9, align 8 %29 = call i32 @__grpnextent(ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %13) %30 = icmp ne i32 %29, -1 br i1 %30, label %31, label %47 31: ; preds = %25 %32 = load ptr, ptr %8, align 8 %33 = getelementptr inbounds %struct.group, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %7, align 8 %36 = call i64 @strcmp(i32 noundef %34, ptr noundef %35) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %46 38: ; preds = %31 %39 = load ptr, ptr %8, align 8 %40 = load ptr, ptr %13, align 8 %41 = call i32 @__grpmemparse(ptr noundef %39, ptr noundef %40) %42 = load ptr, ptr %8, align 8 %43 = load ptr, ptr %11, align 8 store ptr %42, ptr %43, align 8 %44 = load ptr, ptr %12, align 8 %45 = call i32 @fclose(ptr noundef %44) store i32 0, ptr %6, align 4 br label %51 46: ; preds = %31 br label %25, !llvm.loop !6 47: ; preds = %25 %48 = load ptr, ptr %12, align 8 %49 = call i32 @fclose(ptr noundef %48) %50 = load ptr, ptr %11, align 8 store ptr null, ptr %50, align 8 store i32 0, ptr %6, align 4 br label %51 51: ; preds = %47, %38, %22, %16 %52 = load i32, ptr %6, align 4 ret i32 %52 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @__grpnextent(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @__grpmemparse(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/tmpnlb7jz1y.c" target datalayout = "e-m:e-p270: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.group = type { i32 } @ERANGE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"/etc/group\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EIO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getgrnam_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %14 = load i64, ptr %10, align 8 %15 = icmp ult i64 %14, 4096 br i1 %15, label %16, label %18 16: ; preds = %5 %17 = load i32, ptr @ERANGE, align 4 store i32 %17, ptr %6, align 4 br label %55 18: ; preds = %5 %19 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %19, ptr %12, align 8 %20 = load ptr, ptr %12, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %18 %23 = load i32, ptr @EIO, align 4 store i32 %23, ptr %6, align 4 br label %55 24: ; preds = %18 %25 = load ptr, ptr %12, align 8 %26 = load ptr, ptr %8, align 8 %27 = load ptr, ptr %9, align 8 %28 = call i32 @__grpnextent(ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %13) %29 = icmp ne i32 %28, -1 br i1 %29, label %.lr.ph, label %51 .lr.ph: ; preds = %24 br label %36 30: ; preds = %36 %31 = load ptr, ptr %12, align 8 %32 = load ptr, ptr %8, align 8 %33 = load ptr, ptr %9, align 8 %34 = call i32 @__grpnextent(ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %13) %35 = icmp ne i32 %34, -1 br i1 %35, label %36, label %._crit_edge, !llvm.loop !6 36: ; preds = %.lr.ph, %30 %37 = load ptr, ptr %8, align 8 %38 = getelementptr inbounds %struct.group, ptr %37, i32 0, i32 0 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %7, align 8 %41 = call i64 @strcmp(i32 noundef %39, ptr noundef %40) %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %30 43: ; preds = %36 %44 = load ptr, ptr %8, align 8 %45 = load ptr, ptr %13, align 8 %46 = call i32 @__grpmemparse(ptr noundef %44, ptr noundef %45) %47 = load ptr, ptr %8, align 8 %48 = load ptr, ptr %11, align 8 store ptr %47, ptr %48, align 8 %49 = load ptr, ptr %12, align 8 %50 = call i32 @fclose(ptr noundef %49) store i32 0, ptr %6, align 4 br label %55 ._crit_edge: ; preds = %30 br label %51 51: ; preds = %._crit_edge, %24 %52 = load ptr, ptr %12, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = load ptr, ptr %11, align 8 store ptr null, ptr %54, align 8 store i32 0, ptr %6, align 4 br label %55 55: ; preds = %51, %43, %22, %16 %56 = load i32, ptr %6, align 4 ret i32 %56 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @__grpnextent(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @__grpmemparse(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/tmpp9c35rgu.c' source_filename = "/tmp/tmpp9c35rgu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stun_attr_add_str(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca [1 x i8], align 1 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 %18 = load i32, ptr %11, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %5 store i32 0, ptr %11, align 4 br label %21 21: ; preds = %20, %5 %22 = load ptr, ptr %10, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %26, label %24 24: ; preds = %21 store i32 0, ptr %11, align 4 %25 = getelementptr inbounds [1 x i8], ptr %12, i64 0, i64 0 store ptr %25, ptr %10, align 8 br label %26 26: ; preds = %24, %21 %27 = load ptr, ptr %7, align 8 %28 = load ptr, ptr %8, align 8 %29 = load i64, ptr %28, align 8 %30 = call i32 @stun_get_command_message_len_str(ptr noundef %27, i64 noundef %29) store i32 %30, ptr %13, align 4 %31 = load i32, ptr %13, align 4 %32 = add nsw i32 %31, 4 %33 = load i32, ptr %11, align 4 %34 = add nsw i32 %32, %33 store i32 %34, ptr %14, align 4 %35 = load i32, ptr %14, align 4 %36 = and i32 %35, 3 store i32 %36, ptr %15, align 4 %37 = load i32, ptr %15, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %44 39: ; preds = %26 %40 = load i32, ptr %14, align 4 %41 = load i32, ptr %15, align 4 %42 = sub nsw i32 4, %41 %43 = add nsw i32 %40, %42 store i32 %43, ptr %14, align 4 br label %44 44: ; preds = %39, %26 %45 = load i32, ptr %14, align 4 %46 = icmp sge i32 %45, 65507 br i1 %46, label %47, label %48 47: ; preds = %44 store i32 -1, ptr %6, align 4 br label %77 48: ; preds = %44 %49 = load ptr, ptr %7, align 8 %50 = load i32, ptr %13, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store ptr %52, ptr %16, align 8 %53 = load ptr, ptr %16, align 8 store ptr %53, ptr %17, align 8 %54 = load ptr, ptr %7, align 8 %55 = load i32, ptr %14, align 4 %56 = call i32 @stun_set_command_message_len_str(ptr noundef %54, i32 noundef %55) %57 = load i32, ptr %14, align 4 %58 = sext i32 %57 to i64 %59 = load ptr, ptr %8, align 8 store i64 %58, ptr %59, align 8 %60 = load i32, ptr %9, align 4 %61 = call i32 @ntohs(i32 noundef %60) %62 = load ptr, ptr %17, align 8 %63 = getelementptr inbounds i32, ptr %62, i64 0 store i32 %61, ptr %63, align 4 %64 = load i32, ptr %11, align 4 %65 = call i32 @ntohs(i32 noundef %64) %66 = load ptr, ptr %17, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 1 store i32 %65, ptr %67, align 4 %68 = load i32, ptr %11, align 4 %69 = icmp sgt i32 %68, 0 br i1 %69, label %70, label %76 70: ; preds = %48 %71 = load ptr, ptr %10, align 8 %72 = load ptr, ptr %16, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 4 %74 = load i32, ptr %11, align 4 %75 = call i32 @bcopy(ptr noundef %71, ptr noundef %73, i32 noundef %74) br label %76 76: ; preds = %70, %48 store i32 0, ptr %6, align 4 br label %77 77: ; preds = %76, %47 %78 = load i32, ptr %6, align 4 ret i32 %78 } declare i32 @stun_get_command_message_len_str(ptr noundef, i64 noundef) #1 declare i32 @stun_set_command_message_len_str(ptr noundef, i32 noundef) #1 declare i32 @ntohs(i32 noundef) #1 declare i32 @bcopy(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/tmpp9c35rgu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stun_attr_add_str(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca [1 x i8], align 1 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 %18 = load i32, ptr %11, align 4 %19 = icmp slt i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %5 store i32 0, ptr %11, align 4 br label %21 21: ; preds = %20, %5 %22 = load ptr, ptr %10, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %26, label %24 24: ; preds = %21 store i32 0, ptr %11, align 4 %25 = getelementptr inbounds [1 x i8], ptr %12, i64 0, i64 0 store ptr %25, ptr %10, align 8 br label %26 26: ; preds = %24, %21 %27 = load ptr, ptr %7, align 8 %28 = load ptr, ptr %8, align 8 %29 = load i64, ptr %28, align 8 %30 = call i32 @stun_get_command_message_len_str(ptr noundef %27, i64 noundef %29) store i32 %30, ptr %13, align 4 %31 = load i32, ptr %13, align 4 %32 = add nsw i32 %31, 4 %33 = load i32, ptr %11, align 4 %34 = add nsw i32 %32, %33 store i32 %34, ptr %14, align 4 %35 = load i32, ptr %14, align 4 %36 = and i32 %35, 3 store i32 %36, ptr %15, align 4 %37 = load i32, ptr %15, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %44 39: ; preds = %26 %40 = load i32, ptr %14, align 4 %41 = load i32, ptr %15, align 4 %42 = sub nsw i32 4, %41 %43 = add nsw i32 %40, %42 store i32 %43, ptr %14, align 4 br label %44 44: ; preds = %39, %26 %45 = load i32, ptr %14, align 4 %46 = icmp sge i32 %45, 65507 br i1 %46, label %47, label %48 47: ; preds = %44 store i32 -1, ptr %6, align 4 br label %77 48: ; preds = %44 %49 = load ptr, ptr %7, align 8 %50 = load i32, ptr %13, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store ptr %52, ptr %16, align 8 %53 = load ptr, ptr %16, align 8 store ptr %53, ptr %17, align 8 %54 = load ptr, ptr %7, align 8 %55 = load i32, ptr %14, align 4 %56 = call i32 @stun_set_command_message_len_str(ptr noundef %54, i32 noundef %55) %57 = load i32, ptr %14, align 4 %58 = sext i32 %57 to i64 %59 = load ptr, ptr %8, align 8 store i64 %58, ptr %59, align 8 %60 = load i32, ptr %9, align 4 %61 = call i32 @ntohs(i32 noundef %60) %62 = load ptr, ptr %17, align 8 %63 = getelementptr inbounds i32, ptr %62, i64 0 store i32 %61, ptr %63, align 4 %64 = load i32, ptr %11, align 4 %65 = call i32 @ntohs(i32 noundef %64) %66 = load ptr, ptr %17, align 8 %67 = getelementptr inbounds i32, ptr %66, i64 1 store i32 %65, ptr %67, align 4 %68 = load i32, ptr %11, align 4 %69 = icmp sgt i32 %68, 0 br i1 %69, label %70, label %76 70: ; preds = %48 %71 = load ptr, ptr %10, align 8 %72 = load ptr, ptr %16, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 4 %74 = load i32, ptr %11, align 4 %75 = call i32 @bcopy(ptr noundef %71, ptr noundef %73, i32 noundef %74) br label %76 76: ; preds = %70, %48 store i32 0, ptr %6, align 4 br label %77 77: ; preds = %76, %47 %78 = load i32, ptr %6, align 4 ret i32 %78 } declare i32 @stun_get_command_message_len_str(ptr noundef, i64 noundef) #1 declare i32 @stun_set_command_message_len_str(ptr noundef, i32 noundef) #1 declare i32 @ntohs(i32 noundef) #1 declare i32 @bcopy(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/tmpiu8im9y1.c' source_filename = "/tmp/tmpiu8im9y1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i8], align 1 %7 = alloca [1 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i8 store i8 %30, ptr %9, align 1 %31 = load i8, ptr %9, align 1 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %33 store i8 %31, ptr %34, align 1 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 137 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiu8im9y1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i8], align 1 %7 = alloca [1 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i8 store i8 %29, ptr %9, align 1 %30 = load i8, ptr %9, align 1 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %32 store i8 %30, ptr %33, align 1 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = icmp eq i32 %44, 137 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6hgdj2kg.c' source_filename = "/tmp/tmp6hgdj2kg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bnode_value(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = shl i64 %3, 1 ret i64 %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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6hgdj2kg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bnode_value(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = shl i64 %3, 1 ret i64 %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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzaa0lmr3.c' source_filename = "/tmp/tmpzaa0lmr3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"(\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"R)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @expand_Full(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = mul nsw i32 4, %8 %10 = add nsw i32 %9, 2 %11 = call i64 @space(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %13 13: ; preds = %70, %1 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %20, label %73 20: ; preds = %13 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 40 br i1 %27, label %28, label %34 28: ; preds = %20 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 store i8 40, ptr %33, align 1 br label %70 34: ; preds = %20 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 41 br i1 %41, label %42, label %53 42: ; preds = %34 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %6, align 4 %46 = sext i32 %44 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 store i8 80, ptr %47, align 1 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 %51 = sext i32 %49 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 store i8 41, ptr %52, align 1 br label %69 53: ; preds = %34 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %6, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %6, align 4 %57 = sext i32 %55 to i64 %58 = getelementptr inbounds i8, ptr %54, i64 %57 store i8 40, ptr %58, align 1 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %6, align 4 %62 = sext i32 %60 to i64 %63 = getelementptr inbounds i8, ptr %59, i64 %62 store i8 85, ptr %63, align 1 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %6, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %6, align 4 %67 = sext i32 %65 to i64 %68 = getelementptr inbounds i8, ptr %64, i64 %67 store i8 41, ptr %68, align 1 br label %69 69: ; preds = %53, %42 br label %70 70: ; preds = %69, %28 %71 = load i32, ptr %5, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %5, align 4 br label %13, !llvm.loop !6 73: ; preds = %13 %74 = load ptr, ptr %4, align 8 %75 = load i32, ptr %6, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 store i8 0, ptr %77, align 1 %78 = load i32, ptr %6, align 4 %79 = add nsw i32 %78, 5 %80 = sext i32 %79 to i64 %81 = mul i64 1, %80 %82 = trunc i64 %81 to i32 %83 = call i64 @space(i32 noundef %82) %84 = inttoptr i64 %83 to ptr store ptr %84, ptr %3, align 8 %85 = load ptr, ptr %3, align 8 %86 = call i32 @strcpy(ptr noundef %85, ptr noundef @.str) %87 = load ptr, ptr %3, align 8 %88 = load ptr, ptr %4, align 8 %89 = call i32 @strcat(ptr noundef %87, ptr noundef %88) %90 = load ptr, ptr %3, align 8 %91 = call i32 @strcat(ptr noundef %90, ptr noundef @.str.1) %92 = load ptr, ptr %4, align 8 %93 = call i32 @free(ptr noundef %92) %94 = load ptr, ptr %3, align 8 ret ptr %94 } declare i64 @space(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzaa0lmr3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"(\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"R)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @expand_Full(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = mul nsw i32 4, %8 %10 = add nsw i32 %9, 2 %11 = call i64 @space(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %.lr.ph, label %78 .lr.ph: ; preds = %1 br label %19 19: ; preds = %.lr.ph, %69 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 40 br i1 %26, label %27, label %33 27: ; preds = %19 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 %31 = sext i32 %29 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 store i8 40, ptr %32, align 1 br label %69 33: ; preds = %19 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 41 br i1 %40, label %41, label %52 41: ; preds = %33 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 %45 = sext i32 %43 to i64 %46 = getelementptr inbounds i8, ptr %42, i64 %45 store i8 80, ptr %46, align 1 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %6, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %6, align 4 %50 = sext i32 %48 to i64 %51 = getelementptr inbounds i8, ptr %47, i64 %50 store i8 41, ptr %51, align 1 br label %68 52: ; preds = %33 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %6, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %6, align 4 %56 = sext i32 %54 to i64 %57 = getelementptr inbounds i8, ptr %53, i64 %56 store i8 40, ptr %57, align 1 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %6, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %6, align 4 %61 = sext i32 %59 to i64 %62 = getelementptr inbounds i8, ptr %58, i64 %61 store i8 85, ptr %62, align 1 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %6, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %6, align 4 %66 = sext i32 %64 to i64 %67 = getelementptr inbounds i8, ptr %63, i64 %66 store i8 41, ptr %67, align 1 br label %68 68: ; preds = %52, %41 br label %69 69: ; preds = %68, %27 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %5, align 4 %72 = load ptr, ptr %2, align 8 %73 = load i32, ptr %5, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = load i8, ptr %75, align 1 %77 = icmp ne i8 %76, 0 br i1 %77, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %69 br label %78 78: ; preds = %._crit_edge, %1 %79 = load ptr, ptr %4, align 8 %80 = load i32, ptr %6, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 store i8 0, ptr %82, align 1 %83 = load i32, ptr %6, align 4 %84 = add nsw i32 %83, 5 %85 = sext i32 %84 to i64 %86 = mul i64 1, %85 %87 = trunc i64 %86 to i32 %88 = call i64 @space(i32 noundef %87) %89 = inttoptr i64 %88 to ptr store ptr %89, ptr %3, align 8 %90 = load ptr, ptr %3, align 8 %91 = call i32 @strcpy(ptr noundef %90, ptr noundef @.str) %92 = load ptr, ptr %3, align 8 %93 = load ptr, ptr %4, align 8 %94 = call i32 @strcat(ptr noundef %92, ptr noundef %93) %95 = load ptr, ptr %3, align 8 %96 = call i32 @strcat(ptr noundef %95, ptr noundef @.str.1) %97 = load ptr, ptr %4, align 8 %98 = call i32 @free(ptr noundef %97) %99 = load ptr, ptr %3, align 8 ret ptr %99 } declare i64 @space(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo43ks09g.c' source_filename = "/tmp/tmpo43ks09g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"the cube of %d is %d \0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Hello World!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 br label %3 3: ; preds = %12, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 10 br i1 %5, label %6, label %15 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i64 @pow(i32 noundef %8, i32 noundef 3) %10 = trunc i64 %9 to i32 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %10) br label %12 12: ; preds = %6 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %3, !llvm.loop !6 15: ; preds = %3 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %17 = load i32, ptr %1, align 4 ret i32 %17 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @pow(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/tmpo43ks09g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"the cube of %d is %d \0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Hello World!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sle i32 %3, 10 br i1 %4, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %11 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i64 @pow(i32 noundef %7, i32 noundef 3) %9 = trunc i64 %8 to i32 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %9) br label %11 11: ; preds = %5 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp sle i32 %14, 10 br i1 %15, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %18 = load i32, ptr %1, align 4 ret i32 %18 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @pow(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/tmpu0g2pw_3.c' source_filename = "/tmp/tmpu0g2pw_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" @.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 ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %3, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %11 11: ; preds = %20, %0 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %10, i64 %17 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18) br label %20 20: ; preds = %15 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 %24 = load i32, ptr %2, align 4 %25 = call i32 @insertionSort(i32 noundef %24, ptr noundef %10) store i32 0, ptr %1, align 4 %26 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %26) %27 = load i32, ptr %1, align 4 ret i32 %27 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @insertionSort(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu0g2pw_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" @.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 ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %3, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %4, align 8 store i32 0, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %19 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %10, i64 %16 %18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17) br label %19 19: ; preds = %14 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 %26 = load i32, ptr %2, align 4 %27 = call i32 @insertionSort(i32 noundef %26, ptr noundef %10) store i32 0, ptr %1, align 4 %28 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %28) %29 = load i32, ptr %1, align 4 ret i32 %29 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @insertionSort(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"}
; ModuleID = '/tmp/tmpt7mr2j2h.c' source_filename = "/tmp/tmpt7mr2j2h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @I2C_RDWR = 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/tmpt7mr2j2h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @I2C_RDWR = 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/tmpt2ed5hob.c' source_filename = "/tmp/tmpt2ed5hob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubbleSort(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 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %48, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %51 11: ; preds = %7 store i32 0, ptr %6, align 4 br label %12 12: ; preds = %44, %11 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = sub nsw i32 %14, %15 %17 = sub nsw i32 %16, 1 %18 = icmp slt i32 %13, %17 br i1 %18, label %19, label %47 19: ; preds = %12 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %25, i64 %28 %30 = load i32, ptr %29, align 4 %31 = icmp sgt i32 %24, %30 br i1 %31, label %32, label %43 32: ; preds = %19 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %37, i64 %40 %42 = call i32 @swap(ptr noundef %36, ptr noundef %41) br label %43 43: ; preds = %32, %19 br label %44 44: ; preds = %43 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 br label %12, !llvm.loop !6 47: ; preds = %12 br label %48 48: ; preds = %47 %49 = load i32, ptr %5, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %5, align 4 br label %7, !llvm.loop !8 51: ; preds = %7 ret void } declare i32 @swap(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/tmpt2ed5hob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubbleSort(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 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph2, label %58 .lr.ph2: ; preds = %2 br label %10 10: ; preds = %.lr.ph2, %52 store i32 0, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = sub nsw i32 %12, %13 %15 = sub nsw i32 %14, 1 %16 = icmp slt i32 %11, %15 br i1 %16, label %.lr.ph, label %51 .lr.ph: ; preds = %10 br label %17 17: ; preds = %.lr.ph, %42 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %23, i64 %26 %28 = load i32, ptr %27, align 4 %29 = icmp sgt i32 %22, %28 br i1 %29, label %30, label %41 30: ; preds = %17 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %35, i64 %38 %40 = call i32 @swap(ptr noundef %34, ptr noundef %39) br label %41 41: ; preds = %30, %17 br label %42 42: ; preds = %41 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %5, align 4 %48 = sub nsw i32 %46, %47 %49 = sub nsw i32 %48, 1 %50 = icmp slt i32 %45, %49 br i1 %50, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %51 51: ; preds = %._crit_edge, %10 br label %52 52: ; preds = %51 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %5, align 4 %55 = load i32, ptr %5, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %58 58: ; preds = %._crit_edge3, %2 ret void } declare i32 @swap(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/tmpqufi0s7o.c' source_filename = "/tmp/tmpqufi0s7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"\1B[H\1B[J\00", align 1 @.str.2 = private unnamed_addr constant [134 x i8] c"Welcome to Library Management System\0A\0AMain Menu:\0A1. Issue a Book\0A2. Return a Book\0A3. Admin Panel\0A4. Exit\0APlease select your choice : \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Please enter correct choice.\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"\0AProgram exiting...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @construct() %4 = icmp ne i32 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %0 %6 = call i32 @prompt(ptr noundef @.str) %7 = icmp ne i32 %6, 0 %8 = xor i1 %7, true %9 = zext i1 %8 to i32 store i32 %9, ptr %1, align 4 br label %42 10: ; preds = %0 br label %11 11: ; preds = %37, %10 %12 = call i32 @printf(ptr noundef @.str.1) %13 = call i32 @printf(ptr noundef @.str.2) %14 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %2) %15 = call i32 (...) @flush() %16 = load i32, ptr %2, align 4 switch i32 %16, label %34 [ i32 1, label %17 i32 2, label %24 i32 3, label %31 i32 4, label %33 ] 17: ; preds = %11 br label %18 18: ; preds = %22, %17 %19 = call i32 (...) @issue() %20 = icmp ne i32 %19, 0 %21 = xor i1 %20, true br i1 %21, label %22, label %23 22: ; preds = %18 br label %18, !llvm.loop !6 23: ; preds = %18 br label %36 24: ; preds = %11 br label %25 25: ; preds = %29, %24 %26 = call i32 (...) @request_return() %27 = icmp ne i32 %26, 0 %28 = xor i1 %27, true br i1 %28, label %29, label %30 29: ; preds = %25 br label %25, !llvm.loop !8 30: ; preds = %25 br label %36 31: ; preds = %11 %32 = call i32 (...) @admin_panel() br label %36 33: ; preds = %11 br label %36 34: ; preds = %11 %35 = call i32 @prompt(ptr noundef @.str.4) br label %36 36: ; preds = %34, %33, %31, %30, %23 br label %37 37: ; preds = %36 %38 = load i32, ptr %2, align 4 %39 = icmp ne i32 %38, 4 br i1 %39, label %11, label %40, !llvm.loop !9 40: ; preds = %37 %41 = call i32 @prompt(ptr noundef @.str.5) store i32 0, ptr %1, align 4 br label %42 42: ; preds = %40, %5 %43 = load i32, ptr %1, align 4 ret i32 %43 } declare i32 @construct(...) #1 declare i32 @prompt(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @flush(...) #1 declare i32 @issue(...) #1 declare i32 @request_return(...) #1 declare i32 @admin_panel(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpqufi0s7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"\1B[H\1B[J\00", align 1 @.str.2 = private unnamed_addr constant [134 x i8] c"Welcome to Library Management System\0A\0AMain Menu:\0A1. Issue a Book\0A2. Return a Book\0A3. Admin Panel\0A4. Exit\0APlease select your choice : \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Please enter correct choice.\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"\0AProgram exiting...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @construct() %4 = icmp ne i32 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %0 %6 = call i32 @prompt(ptr noundef @.str) %7 = icmp ne i32 %6, 0 %8 = xor i1 %7, true %9 = zext i1 %8 to i32 store i32 %9, ptr %1, align 4 br label %40 10: ; preds = %0 br label %11 11: ; preds = %35, %10 %12 = call i32 @printf(ptr noundef @.str.1) %13 = call i32 @printf(ptr noundef @.str.2) %14 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %2) %15 = call i32 (...) @flush() %16 = load i32, ptr %2, align 4 switch i32 %16, label %32 [ i32 1, label %17 i32 2, label %23 i32 3, label %29 i32 4, label %31 ] 17: ; preds = %11 br label %18 18: ; preds = %18, %17 %19 = call i32 (...) @issue() %20 = icmp ne i32 %19, 0 %21 = xor i1 %20, true br i1 %21, label %18, label %22, !llvm.loop !6 22: ; preds = %18 br label %34 23: ; preds = %11 br label %24 24: ; preds = %24, %23 %25 = call i32 (...) @request_return() %26 = icmp ne i32 %25, 0 %27 = xor i1 %26, true br i1 %27, label %24, label %28, !llvm.loop !8 28: ; preds = %24 br label %34 29: ; preds = %11 %30 = call i32 (...) @admin_panel() br label %34 31: ; preds = %11 br label %34 32: ; preds = %11 %33 = call i32 @prompt(ptr noundef @.str.4) br label %34 34: ; preds = %32, %31, %29, %28, %22 br label %35 35: ; preds = %34 %36 = load i32, ptr %2, align 4 %37 = icmp ne i32 %36, 4 br i1 %37, label %11, label %38, !llvm.loop !9 38: ; preds = %35 %39 = call i32 @prompt(ptr noundef @.str.5) store i32 0, ptr %1, align 4 br label %40 40: ; preds = %38, %5 %41 = load i32, ptr %1, align 4 ret i32 %41 } declare i32 @construct(...) #1 declare i32 @prompt(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @flush(...) #1 declare i32 @issue(...) #1 declare i32 @request_return(...) #1 declare i32 @admin_panel(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp245gy71v.c' source_filename = "/tmp/tmp245gy71v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x13\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0x13() #0 { %1 = call i64 @isalpha(i32 noundef 19) %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 100, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(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/tmp245gy71v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x13\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0x13() #0 { %1 = call i64 @isalpha(i32 noundef 19) %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 100, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(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/tmpo0vwg1u5.c' source_filename = "/tmp/tmpo0vwg1u5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \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 @print_binary_rep(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %37, %1 %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 store i8 %12, ptr %5, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %14, label %41 14: ; preds = %7 store i8 -128, ptr %6, align 1 store i32 0, ptr %4, align 4 br label %15 15: ; preds = %34, %14 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 8 br i1 %17, label %18, label %37 18: ; preds = %15 %19 = load i8, ptr %5, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr %6, align 1 %22 = zext i8 %21 to i32 %23 = and i32 %20, %22 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %18 %26 = call i32 @printf(ptr noundef @.str) br label %29 27: ; preds = %18 %28 = call i32 @printf(ptr noundef @.str.1) br label %29 29: ; preds = %27, %25 %30 = load i8, ptr %6, align 1 %31 = zext i8 %30 to i32 %32 = ashr i32 %31, 1 %33 = trunc i32 %32 to i8 store i8 %33, ptr %6, align 1 br label %34 34: ; preds = %29 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %4, align 4 br label %15, !llvm.loop !6 37: ; preds = %15 %38 = call i32 @printf(ptr noundef @.str.2) %39 = load i32, ptr %3, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %3, align 4 br label %7, !llvm.loop !8 41: ; preds = %7 %42 = call i32 @printf(ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo0vwg1u5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \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 @print_binary_rep(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %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 store i8 %11, ptr %5, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %.lr.ph2, label %47 .lr.ph2: ; preds = %1 br label %13 13: ; preds = %.lr.ph2, %37 store i8 -128, ptr %6, align 1 store i32 0, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 8 br i1 %15, label %.lr.ph, label %37 .lr.ph: ; preds = %13 br label %16 16: ; preds = %.lr.ph, %32 %17 = load i8, ptr %5, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr %6, align 1 %20 = zext i8 %19 to i32 %21 = and i32 %18, %20 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %16 %24 = call i32 @printf(ptr noundef @.str) br label %27 25: ; preds = %16 %26 = call i32 @printf(ptr noundef @.str.1) br label %27 27: ; preds = %25, %23 %28 = load i8, ptr %6, align 1 %29 = zext i8 %28 to i32 %30 = ashr i32 %29, 1 %31 = trunc i32 %30 to i8 store i8 %31, ptr %6, align 1 br label %32 32: ; preds = %27 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp slt i32 %35, 8 br i1 %36, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %13 %38 = call i32 @printf(ptr noundef @.str.2) %39 = load i32, ptr %3, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %3, align 4 %41 = load ptr, ptr %2, align 8 %42 = load i32, ptr %3, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 store i8 %45, ptr %5, align 1 %46 = icmp ne i8 %45, 0 br i1 %46, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %47 47: ; preds = %._crit_edge3, %1 %48 = call i32 @printf(ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbel41dyk.c' source_filename = "/tmp/tmpbel41dyk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dft(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, double noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 store ptr %0, ptr %7, align 8 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 double %5, ptr %12, align 8 store i32 0, ptr %13, align 4 br label %20 20: ; preds = %92, %6 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %11, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %95 24: ; preds = %20 %25 = load ptr, ptr %9, align 8 %26 = load i32, ptr %13, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 store double 0.000000e+00, ptr %28, align 8 %29 = load ptr, ptr %10, align 8 %30 = load i32, ptr %13, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %29, i64 %31 store double 0.000000e+00, ptr %32, align 8 store i32 0, ptr %14, align 4 br label %33 33: ; preds = %88, %24 %34 = load i32, ptr %14, align 4 %35 = load i32, ptr %11, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %91 37: ; preds = %33 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %14, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 %42 = load double, ptr %41, align 8 store double %42, ptr %15, align 8 %43 = load ptr, ptr %8, align 8 %44 = load i32, ptr %14, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %43, i64 %45 %47 = load double, ptr %46, align 8 store double %47, ptr %16, align 8 %48 = load double, ptr %12, align 8 %49 = load i32, ptr %13, align 4 %50 = sitofp i32 %49 to double %51 = fmul double 0x401921FB53C8D4F1, %50 %52 = load i32, ptr %14, align 4 %53 = sitofp i32 %52 to double %54 = fmul double %51, %53 %55 = fmul double %48, %54 %56 = load i32, ptr %11, align 4 %57 = sitofp i32 %56 to double %58 = fdiv double %55, %57 store double %58, ptr %17, align 8 %59 = load double, ptr %17, align 8 %60 = call double @cos(double noundef %59) #3 store double %60, ptr %18, align 8 %61 = load double, ptr %17, align 8 %62 = call double @sin(double noundef %61) #3 store double %62, ptr %19, align 8 %63 = load double, ptr %15, align 8 %64 = load double, ptr %18, align 8 %65 = load double, ptr %16, align 8 %66 = load double, ptr %19, align 8 %67 = fmul double %65, %66 %68 = fneg double %67 %69 = call double @llvm.fmuladd.f64(double %63, double %64, double %68) %70 = load ptr, ptr %9, align 8 %71 = load i32, ptr %13, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %70, i64 %72 %74 = load double, ptr %73, align 8 %75 = fadd double %74, %69 store double %75, ptr %73, align 8 %76 = load double, ptr %15, align 8 %77 = load double, ptr %19, align 8 %78 = load double, ptr %16, align 8 %79 = load double, ptr %18, align 8 %80 = fmul double %78, %79 %81 = call double @llvm.fmuladd.f64(double %76, double %77, double %80) %82 = load ptr, ptr %10, align 8 %83 = load i32, ptr %13, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds double, ptr %82, i64 %84 %86 = load double, ptr %85, align 8 %87 = fadd double %86, %81 store double %87, ptr %85, align 8 br label %88 88: ; preds = %37 %89 = load i32, ptr %14, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %14, align 4 br label %33, !llvm.loop !6 91: ; preds = %33 br label %92 92: ; preds = %91 %93 = load i32, ptr %13, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %13, align 4 br label %20, !llvm.loop !8 95: ; preds = %20 ret void } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbel41dyk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dft(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, double noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 store ptr %0, ptr %7, align 8 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 double %5, ptr %12, align 8 store i32 0, ptr %13, align 4 %20 = load i32, ptr %13, align 4 %21 = load i32, ptr %11, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph2, label %99 .lr.ph2: ; preds = %6 br label %23 23: ; preds = %.lr.ph2, %93 %24 = load ptr, ptr %9, align 8 %25 = load i32, ptr %13, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %24, i64 %26 store double 0.000000e+00, ptr %27, align 8 %28 = load ptr, ptr %10, align 8 %29 = load i32, ptr %13, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds double, ptr %28, i64 %30 store double 0.000000e+00, ptr %31, align 8 store i32 0, ptr %14, align 4 %32 = load i32, ptr %14, align 4 %33 = load i32, ptr %11, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %92 .lr.ph: ; preds = %23 br label %35 35: ; preds = %.lr.ph, %86 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %14, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 %40 = load double, ptr %39, align 8 store double %40, ptr %15, align 8 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %14, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %41, i64 %43 %45 = load double, ptr %44, align 8 store double %45, ptr %16, align 8 %46 = load double, ptr %12, align 8 %47 = load i32, ptr %13, align 4 %48 = sitofp i32 %47 to double %49 = fmul double 0x401921FB53C8D4F1, %48 %50 = load i32, ptr %14, align 4 %51 = sitofp i32 %50 to double %52 = fmul double %49, %51 %53 = fmul double %46, %52 %54 = load i32, ptr %11, align 4 %55 = sitofp i32 %54 to double %56 = fdiv double %53, %55 store double %56, ptr %17, align 8 %57 = load double, ptr %17, align 8 %58 = call double @cos(double noundef %57) #3 store double %58, ptr %18, align 8 %59 = load double, ptr %17, align 8 %60 = call double @sin(double noundef %59) #3 store double %60, ptr %19, align 8 %61 = load double, ptr %15, align 8 %62 = load double, ptr %18, align 8 %63 = load double, ptr %16, align 8 %64 = load double, ptr %19, align 8 %65 = fmul double %63, %64 %66 = fneg double %65 %67 = call double @llvm.fmuladd.f64(double %61, double %62, double %66) %68 = load ptr, ptr %9, align 8 %69 = load i32, ptr %13, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %68, i64 %70 %72 = load double, ptr %71, align 8 %73 = fadd double %72, %67 store double %73, ptr %71, align 8 %74 = load double, ptr %15, align 8 %75 = load double, ptr %19, align 8 %76 = load double, ptr %16, align 8 %77 = load double, ptr %18, align 8 %78 = fmul double %76, %77 %79 = call double @llvm.fmuladd.f64(double %74, double %75, double %78) %80 = load ptr, ptr %10, align 8 %81 = load i32, ptr %13, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %80, i64 %82 %84 = load double, ptr %83, align 8 %85 = fadd double %84, %79 store double %85, ptr %83, align 8 br label %86 86: ; preds = %35 %87 = load i32, ptr %14, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %14, align 4 %89 = load i32, ptr %14, align 4 %90 = load i32, ptr %11, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %86 br label %92 92: ; preds = %._crit_edge, %23 br label %93 93: ; preds = %92 %94 = load i32, ptr %13, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %13, align 4 %96 = load i32, ptr %13, align 4 %97 = load i32, ptr %11, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %23, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %93 br label %99 99: ; preds = %._crit_edge3, %6 ret void } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd2r6c9z6.c' source_filename = "/tmp/tmpd2r6c9z6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rdar_12075238_(i64 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca [6 x i64], align 16 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = icmp ult i64 %6, 3 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = load i64, ptr %3, align 8 %10 = icmp ugt i64 %9, 6 br i1 %10, label %11, label %12 11: ; preds = %8, %1 store i32 0, ptr %2, align 4 br label %33 12: ; preds = %8 store i64 0, ptr %5, align 8 br label %13 13: ; preds = %22, %12 %14 = load i64, ptr %5, align 8 %15 = load i64, ptr %3, align 8 %16 = sub i64 %15, 2 %17 = icmp ule i64 %14, %16 br i1 %17, label %18, label %25 18: ; preds = %13 %19 = load i64, ptr %5, align 8 %20 = load i64, ptr %5, align 8 %21 = getelementptr inbounds [6 x i64], ptr %4, i64 0, i64 %20 store i64 %19, ptr %21, align 8 br label %22 22: ; preds = %18 %23 = load i64, ptr %5, align 8 %24 = add i64 %23, 1 store i64 %24, ptr %5, align 8 br label %13, !llvm.loop !6 25: ; preds = %13 %26 = load i64, ptr %5, align 8 %27 = load i64, ptr %3, align 8 %28 = sub i64 %27, 1 %29 = getelementptr inbounds [6 x i64], ptr %4, i64 0, i64 %28 store i64 %26, ptr %29, align 8 %30 = getelementptr inbounds [6 x i64], ptr %4, i64 0, i64 2 %31 = load i64, ptr %30, align 16 %32 = call i32 @rdar_12075238__aux(i64 noundef %31) store i32 0, ptr %2, align 4 br label %33 33: ; preds = %25, %11 %34 = load i32, ptr %2, align 4 ret i32 %34 } declare i32 @rdar_12075238__aux(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd2r6c9z6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rdar_12075238_(i64 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca [6 x i64], align 16 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = icmp ult i64 %6, 3 br i1 %7, label %11, label %8 8: ; preds = %1 %9 = load i64, ptr %3, align 8 %10 = icmp ugt i64 %9, 6 br i1 %10, label %11, label %12 11: ; preds = %8, %1 store i32 0, ptr %2, align 4 br label %36 12: ; preds = %8 store i64 0, ptr %5, align 8 %13 = load i64, ptr %5, align 8 %14 = load i64, ptr %3, align 8 %15 = sub i64 %14, 2 %16 = icmp ule i64 %13, %15 br i1 %16, label %.lr.ph, label %28 .lr.ph: ; preds = %12 br label %17 17: ; preds = %.lr.ph, %21 %18 = load i64, ptr %5, align 8 %19 = load i64, ptr %5, align 8 %20 = getelementptr inbounds [6 x i64], ptr %4, i64 0, i64 %19 store i64 %18, ptr %20, align 8 br label %21 21: ; preds = %17 %22 = load i64, ptr %5, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %5, align 8 %24 = load i64, ptr %5, align 8 %25 = load i64, ptr %3, align 8 %26 = sub i64 %25, 2 %27 = icmp ule i64 %24, %26 br i1 %27, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %28 28: ; preds = %._crit_edge, %12 %29 = load i64, ptr %5, align 8 %30 = load i64, ptr %3, align 8 %31 = sub i64 %30, 1 %32 = getelementptr inbounds [6 x i64], ptr %4, i64 0, i64 %31 store i64 %29, ptr %32, align 8 %33 = getelementptr inbounds [6 x i64], ptr %4, i64 0, i64 2 %34 = load i64, ptr %33, align 16 %35 = call i32 @rdar_12075238__aux(i64 noundef %34) store i32 0, ptr %2, align 4 br label %36 36: ; preds = %28, %11 %37 = load i32, ptr %2, align 4 ret i32 %37 } declare i32 @rdar_12075238__aux(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp454qmn7i.c' source_filename = "/tmp/tmp454qmn7i.c" target datalayout = "e-m:e-p270: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/tmp454qmn7i.c" target datalayout = "e-m:e-p270: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/tmp78___v3m.c' source_filename = "/tmp/tmp78___v3m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__sigreturn(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @ENOSYS, align 4 %4 = call i32 @__set_errno(i32 noundef %3) ret i32 -1 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp78___v3m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__sigreturn(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @ENOSYS, align 4 %4 = call i32 @__set_errno(i32 noundef %3) ret i32 -1 } declare i32 @__set_errno(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5j8kyejb.c' source_filename = "/tmp/tmp5j8kyejb.c" target datalayout = "e-m:e-p270: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 [23 x i8] c"fsh: allocation error\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EOF = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fsh_read_line() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 1024, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %1, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 1, %6 %8 = trunc i64 %7 to i32 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %0 %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %0 br label %18 18: ; preds = %17, %63 %19 = call i32 (...) @getchar() store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr @EOF, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %26 23: ; preds = %18 %24 = load i32, ptr @EXIT_SUCCESS, align 4 %25 = call i32 @exit(i32 noundef %24) #3 unreachable 26: ; preds = %18 %27 = load i32, ptr %4, align 4 %28 = icmp eq i32 %27, 10 br i1 %28, label %29, label %35 29: ; preds = %26 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %2, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 0, ptr %33, align 1 %34 = load ptr, ptr %3, align 8 ret ptr %34 35: ; preds = %26 %36 = load i32, ptr %4, align 4 %37 = trunc i32 %36 to i8 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %2, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 %37, ptr %41, align 1 br label %42 42: ; preds = %35 br label %43 43: ; preds = %42 %44 = load i32, ptr %2, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %2, align 4 %46 = load i32, ptr %2, align 4 %47 = load i32, ptr %1, align 4 %48 = icmp sge i32 %46, %47 br i1 %48, label %49, label %63 49: ; preds = %43 %50 = load i32, ptr %1, align 4 %51 = add nsw i32 %50, 1024 store i32 %51, ptr %1, align 4 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %1, align 4 %54 = call ptr @realloc(ptr noundef %52, i32 noundef %53) store ptr %54, ptr %3, align 8 %55 = load ptr, ptr %3, align 8 %56 = icmp ne ptr %55, null br i1 %56, label %62, label %57 57: ; preds = %49 %58 = load i32, ptr @stderr, align 4 %59 = call i32 @fprintf(i32 noundef %58, ptr noundef @.str) %60 = load i32, ptr @EXIT_FAILURE, align 4 %61 = call i32 @exit(i32 noundef %60) #3 unreachable 62: ; preds = %49 br label %63 63: ; preds = %62, %43 br label %18 } declare ptr @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getchar(...) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5j8kyejb.c" target datalayout = "e-m:e-p270: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 [23 x i8] c"fsh: allocation error\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EOF = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fsh_read_line() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 1024, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %1, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 1, %6 %8 = trunc i64 %7 to i32 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %0 %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %0 %18 = call i32 (...) @getchar() store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr @EOF, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %.lr.ph .lr.ph: ; preds = %17 br label %25 ._crit_edge: ; preds = %62 br label %22 22: ; preds = %._crit_edge, %17 %23 = load i32, ptr @EXIT_SUCCESS, align 4 %24 = call i32 @exit(i32 noundef %23) #3 unreachable 25: ; preds = %.lr.ph, %62 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %26, 10 br i1 %27, label %28, label %34 28: ; preds = %25 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %2, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 0, ptr %32, align 1 %33 = load ptr, ptr %3, align 8 ret ptr %33 34: ; preds = %25 %35 = load i32, ptr %4, align 4 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %2, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 br label %41 41: ; preds = %34 br label %42 42: ; preds = %41 %43 = load i32, ptr %2, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %2, align 4 %45 = load i32, ptr %2, align 4 %46 = load i32, ptr %1, align 4 %47 = icmp sge i32 %45, %46 br i1 %47, label %48, label %62 48: ; preds = %42 %49 = load i32, ptr %1, align 4 %50 = add nsw i32 %49, 1024 store i32 %50, ptr %1, align 4 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %1, align 4 %53 = call ptr @realloc(ptr noundef %51, i32 noundef %52) store ptr %53, ptr %3, align 8 %54 = load ptr, ptr %3, align 8 %55 = icmp ne ptr %54, null br i1 %55, label %61, label %56 56: ; preds = %48 %57 = load i32, ptr @stderr, align 4 %58 = call i32 @fprintf(i32 noundef %57, ptr noundef @.str) %59 = load i32, ptr @EXIT_FAILURE, align 4 %60 = call i32 @exit(i32 noundef %59) #3 unreachable 61: ; preds = %48 br label %62 62: ; preds = %61, %42 %63 = call i32 (...) @getchar() store i32 %63, ptr %4, align 4 %64 = load i32, ptr %4, align 4 %65 = load i32, ptr @EOF, align 4 %66 = icmp eq i32 %64, %65 br i1 %66, label %._crit_edge, label %25 } declare ptr @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @getchar(...) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt15579pf.c' source_filename = "/tmp/tmpt15579pf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetPanTiltMode(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 switch i32 %4, label %9 [ i32 0, label %5 i32 1, label %7 ] 5: ; preds = %1 %6 = call i32 @RegWriteA(i32 noundef 265, i32 noundef 0) br label %9 7: ; preds = %1 %8 = call i32 @RegWriteA(i32 noundef 265, i32 noundef 1) br label %9 9: ; preds = %1, %7, %5 ret void } declare i32 @RegWriteA(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/tmpt15579pf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetPanTiltMode(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 switch i32 %4, label %9 [ i32 0, label %5 i32 1, label %7 ] 5: ; preds = %1 %6 = call i32 @RegWriteA(i32 noundef 265, i32 noundef 0) br label %9 7: ; preds = %1 %8 = call i32 @RegWriteA(i32 noundef 265, i32 noundef 1) br label %9 9: ; preds = %7, %5, %1 ret void } declare i32 @RegWriteA(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/tmpgkpe7blr.c' source_filename = "/tmp/tmpgkpe7blr.c" target datalayout = "e-m:e-p270: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/tmpgkpe7blr.c" target datalayout = "e-m:e-p270: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/tmprr1s5qik.c' source_filename = "/tmp/tmprr1s5qik.c" target datalayout = "e-m:e-p270: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/tmprr1s5qik.c" target datalayout = "e-m:e-p270: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/tmpf33igp5h.c' source_filename = "/tmp/tmpf33igp5h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"on the loan, %f, %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @collisionTest(float noundef %0, float noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 %6 = load float, ptr %4, align 4 %7 = load float, ptr %5, align 4 %8 = call double @boatAreaTest(float noundef %6, float noundef %7) %9 = fcmp olt double %8, 1.000000e+00 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 1, ptr %3, align 4 br label %15 11: ; preds = %2 %12 = load float, ptr %4, align 4 %13 = load float, ptr %5, align 4 %14 = call i32 @printf(ptr noundef @.str, float noundef %12, float noundef %13) store i32 0, ptr %3, align 4 br label %15 15: ; preds = %11, %10 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare double @boatAreaTest(float noundef, float noundef) #1 declare i32 @printf(ptr noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf33igp5h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"on the loan, %f, %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @collisionTest(float noundef %0, float noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 %6 = load float, ptr %4, align 4 %7 = load float, ptr %5, align 4 %8 = call double @boatAreaTest(float noundef %6, float noundef %7) %9 = fcmp olt double %8, 1.000000e+00 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 1, ptr %3, align 4 br label %15 11: ; preds = %2 %12 = load float, ptr %4, align 4 %13 = load float, ptr %5, align 4 %14 = call i32 @printf(ptr noundef @.str, float noundef %12, float noundef %13) store i32 0, ptr %3, align 4 br label %15 15: ; preds = %11, %10 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare double @boatAreaTest(float noundef, float noundef) #1 declare i32 @printf(ptr noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9hua6mu5.c' source_filename = "/tmp/tmp9hua6mu5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"capture signal %d and break...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9hua6mu5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"capture signal %d and break...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sig_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_8xha3sy.c' source_filename = "/tmp/tmp_8xha3sy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"HELLO,WORLD\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/tmp_8xha3sy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"HELLO,WORLD\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/tmpuzoyhf_x.c' source_filename = "/tmp/tmpuzoyhf_x.c" target datalayout = "e-m:e-p270: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/tmpuzoyhf_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_pj0t19o.c' source_filename = "/tmp/tmp_pj0t19o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RLIMIT_AS = 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/tmp_pj0t19o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RLIMIT_AS = 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/tmpjmmb6hbb.c' source_filename = "/tmp/tmpjmmb6hbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"uid: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @getuid() %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getuid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjmmb6hbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"uid: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @getuid() %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getuid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq_aqyg07.c' source_filename = "/tmp/tmpq_aqyg07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @c_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @log_write(i32 noundef %7, ptr noundef %8, i64 noundef %9) %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = call i32 @send(i32 noundef %11, ptr noundef %12, i64 noundef %13, i32 noundef 0) ret i32 %14 } declare i32 @log_write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i64 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/tmpq_aqyg07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @c_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @log_write(i32 noundef %7, ptr noundef %8, i64 noundef %9) %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = call i32 @send(i32 noundef %11, ptr noundef %12, i64 noundef %13, i32 noundef 0) ret i32 %14 } declare i32 @log_write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i64 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/tmpp9j3v4sc.c' source_filename = "/tmp/tmpp9j3v4sc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @idle() #0 { %1 = call i32 (...) @glutPostRedisplay() ret void } declare i32 @glutPostRedisplay(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp9j3v4sc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @idle() #0 { %1 = call i32 (...) @glutPostRedisplay() ret void } declare i32 @glutPostRedisplay(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpahsqdxhx.c' source_filename = "/tmp/tmpahsqdxhx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gob_start_struct(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpahsqdxhx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gob_start_struct(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpclo4j_9j.c' source_filename = "/tmp/tmpclo4j_9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stfl_error() #0 { %1 = call i32 (...) @abort() #2 unreachable } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmpclo4j_9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stfl_error() #0 { %1 = call i32 (...) @abort() #2 unreachable } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmpsgfod5n6.c' source_filename = "/tmp/tmpsgfod5n6.c" target datalayout = "e-m:e-p270: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/tmpsgfod5n6.c" target datalayout = "e-m:e-p270: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/tmpkgsvnrlp.c' source_filename = "/tmp/tmpkgsvnrlp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Farm FD: %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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 1, ptr %4, align 4 %5 = call i32 (...) @farm_open() store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @SPI_SetupMode(i32 noundef 8000000, i32 noundef 0) %9 = call i32 (...) @farm_close() ret i32 0 } declare i32 @farm_open(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @SPI_SetupMode(i32 noundef, i32 noundef) #1 declare i32 @farm_close(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkgsvnrlp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Farm FD: %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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 1, ptr %4, align 4 %5 = call i32 (...) @farm_open() store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @SPI_SetupMode(i32 noundef 8000000, i32 noundef 0) %9 = call i32 (...) @farm_close() ret i32 0 } declare i32 @farm_open(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @SPI_SetupMode(i32 noundef, i32 noundef) #1 declare i32 @farm_close(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl_n7c66a.c' source_filename = "/tmp/tmpl_n7c66a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reorder(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %58, %2 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %61 13: ; preds = %8 %14 = load i32, ptr %7, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %6, align 4 br label %16 16: ; preds = %54, %13 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %57 20: ; preds = %16 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = call i64 @strcmp(ptr noundef %25, ptr noundef %30) %32 = icmp sgt i64 %31, 0 br i1 %32, label %33, label %53 33: ; preds = %20 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 store ptr %38, ptr %5, align 8 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 store ptr %43, ptr %47, align 8 %48 = load ptr, ptr %5, align 8 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 store ptr %48, ptr %52, align 8 br label %53 53: ; preds = %33, %20 br label %54 54: ; preds = %53 %55 = load i32, ptr %6, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %6, align 4 br label %16, !llvm.loop !6 57: ; preds = %16 br label %58 58: ; preds = %57 %59 = load i32, ptr %7, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %7, align 4 br label %8, !llvm.loop !8 61: ; preds = %8 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl_n7c66a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reorder(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr %3, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph2, label %66 .lr.ph2: ; preds = %2 br label %12 12: ; preds = %.lr.ph2, %59 %13 = load i32, ptr %7, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %58 .lr.ph: ; preds = %12 br label %18 18: ; preds = %.lr.ph, %52 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strcmp(ptr noundef %23, ptr noundef %28) %30 = icmp sgt i64 %29, 0 br i1 %30, label %31, label %51 31: ; preds = %18 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 store ptr %36, ptr %5, align 8 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 store ptr %41, ptr %45, align 8 %46 = load ptr, ptr %5, align 8 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds ptr, ptr %47, i64 %49 store ptr %46, ptr %50, align 8 br label %51 51: ; preds = %31, %18 br label %52 52: ; preds = %51 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %6, align 4 %55 = load i32, ptr %6, align 4 %56 = load i32, ptr %3, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %58 58: ; preds = %._crit_edge, %12 br label %59 59: ; preds = %58 %60 = load i32, ptr %7, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %7, align 4 %62 = load i32, ptr %7, align 4 %63 = load i32, ptr %3, align 4 %64 = sub nsw i32 %63, 1 %65 = icmp slt i32 %62, %64 br i1 %65, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %59 br label %66 66: ; preds = %._crit_edge3, %2 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9fyx00ag.c' source_filename = "/tmp/tmp9fyx00ag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @makeRanges(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 1, ptr %17, align 4 store i32 0, ptr %13, align 4 br label %18 18: ; preds = %84, %6 %19 = load i32, ptr %13, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %87 22: ; preds = %18 store i32 0, ptr %14, align 4 br label %23 23: ; preds = %80, %22 %24 = load i32, ptr %14, align 4 %25 = load i32, ptr %13, align 4 %26 = icmp sle i32 %24, %25 br i1 %26, label %27, label %83 27: ; preds = %23 store i32 0, ptr %16, align 4 store i32 0, ptr %15, align 4 br label %28 28: ; preds = %70, %27 %29 = load i32, ptr %16, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %35, label %31 31: ; preds = %28 %32 = load i32, ptr %15, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp slt i32 %32, %33 br label %35 35: ; preds = %31, %28 %36 = phi i1 [ false, %28 ], [ %34, %31 ] br i1 %36, label %37, label %73 37: ; preds = %35 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %13, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %15, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %42, i64 %48 %50 = load i32, ptr %49, align 4 %51 = icmp sgt i32 %50, 0 br i1 %51, label %52, label %67 52: ; preds = %37 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %14, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %53, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = load ptr, ptr %9, align 8 %59 = load i32, ptr %15, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %57, i64 %63 %65 = load i32, ptr %64, align 4 %66 = icmp sgt i32 %65, 0 br label %67 67: ; preds = %52, %37 %68 = phi i1 [ false, %37 ], [ %66, %52 ] %69 = zext i1 %68 to i32 store i32 %69, ptr %16, align 4 br label %70 70: ; preds = %67 %71 = load i32, ptr %15, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %15, align 4 br label %28, !llvm.loop !6 73: ; preds = %35 %74 = load i32, ptr %16, align 4 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %79 76: ; preds = %73 %77 = load i32, ptr %17, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %17, align 4 br label %79 79: ; preds = %76, %73 br label %80 80: ; preds = %79 %81 = load i32, ptr %14, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %14, align 4 br label %23, !llvm.loop !8 83: ; preds = %23 br label %84 84: ; preds = %83 %85 = load i32, ptr %13, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %13, align 4 br label %18, !llvm.loop !9 87: ; preds = %18 %88 = load i32, ptr %17, align 4 %89 = call i64 @calloc(i32 noundef %88, i32 noundef 4) %90 = inttoptr i64 %89 to ptr %91 = load ptr, ptr %11, align 8 store ptr %90, ptr %91, align 8 %92 = load ptr, ptr %11, align 8 %93 = load ptr, ptr %92, align 8 %94 = call i32 @assert(ptr noundef %93) %95 = load i32, ptr %17, align 4 %96 = call i64 @calloc(i32 noundef %95, i32 noundef 4) %97 = inttoptr i64 %96 to ptr %98 = load ptr, ptr %12, align 8 store ptr %97, ptr %98, align 8 %99 = load ptr, ptr %12, align 8 %100 = load ptr, ptr %99, align 8 %101 = call i32 @assert(ptr noundef %100) %102 = load ptr, ptr %11, align 8 %103 = load ptr, ptr %102, align 8 %104 = getelementptr inbounds i32, ptr %103, i64 0 store i32 -1, ptr %104, align 4 %105 = load ptr, ptr %12, align 8 %106 = load ptr, ptr %105, align 8 %107 = getelementptr inbounds i32, ptr %106, i64 0 store i32 -1, ptr %107, align 4 store i32 1, ptr %17, align 4 store i32 0, ptr %13, align 4 br label %108 108: ; preds = %186, %87 %109 = load i32, ptr %13, align 4 %110 = load i32, ptr %8, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %112, label %189 112: ; preds = %108 store i32 0, ptr %14, align 4 br label %113 113: ; preds = %182, %112 %114 = load i32, ptr %14, align 4 %115 = load i32, ptr %13, align 4 %116 = icmp sle i32 %114, %115 br i1 %116, label %117, label %185 117: ; preds = %113 store i32 0, ptr %16, align 4 store i32 0, ptr %15, align 4 br label %118 118: ; preds = %160, %117 %119 = load i32, ptr %16, align 4 %120 = icmp ne i32 %119, 0 br i1 %120, label %125, label %121 121: ; preds = %118 %122 = load i32, ptr %15, align 4 %123 = load i32, ptr %10, align 4 %124 = icmp slt i32 %122, %123 br label %125 125: ; preds = %121, %118 %126 = phi i1 [ false, %118 ], [ %124, %121 ] br i1 %126, label %127, label %163 127: ; preds = %125 %128 = load ptr, ptr %7, align 8 %129 = load i32, ptr %13, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds ptr, ptr %128, i64 %130 %132 = load ptr, ptr %131, align 8 %133 = load ptr, ptr %9, align 8 %134 = load i32, ptr %15, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds i32, ptr %133, i64 %135 %137 = load i32, ptr %136, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i32, ptr %132, i64 %138 %140 = load i32, ptr %139, align 4 %141 = icmp sgt i32 %140, 0 br i1 %141, label %142, label %157 142: ; preds = %127 %143 = load ptr, ptr %7, align 8 %144 = load i32, ptr %14, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds ptr, ptr %143, i64 %145 %147 = load ptr, ptr %146, align 8 %148 = load ptr, ptr %9, align 8 %149 = load i32, ptr %15, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds i32, ptr %148, i64 %150 %152 = load i32, ptr %151, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds i32, ptr %147, i64 %153 %155 = load i32, ptr %154, align 4 %156 = icmp sgt i32 %155, 0 br label %157 157: ; preds = %142, %127 %158 = phi i1 [ false, %127 ], [ %156, %142 ] %159 = zext i1 %158 to i32 store i32 %159, ptr %16, align 4 br label %160 160: ; preds = %157 %161 = load i32, ptr %15, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %15, align 4 br label %118, !llvm.loop !10 163: ; preds = %125 %164 = load i32, ptr %16, align 4 %165 = icmp ne i32 %164, 0 br i1 %165, label %166, label %181 166: ; preds = %163 %167 = load i32, ptr %14, align 4 %168 = load ptr, ptr %11, align 8 %169 = load ptr, ptr %168, align 8 %170 = load i32, ptr %17, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds i32, ptr %169, i64 %171 store i32 %167, ptr %172, align 4 %173 = load i32, ptr %13, align 4 %174 = load ptr, ptr %12, align 8 %175 = load ptr, ptr %174, align 8 %176 = load i32, ptr %17, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i32, ptr %175, i64 %177 store i32 %173, ptr %178, align 4 %179 = load i32, ptr %17, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %17, align 4 br label %181 181: ; preds = %166, %163 br label %182 182: ; preds = %181 %183 = load i32, ptr %14, align 4 %184 = add nsw i32 %183, 1 store i32 %184, ptr %14, align 4 br label %113, !llvm.loop !11 185: ; preds = %113 br label %186 186: ; preds = %185 %187 = load i32, ptr %13, align 4 %188 = add nsw i32 %187, 1 store i32 %188, ptr %13, align 4 br label %108, !llvm.loop !12 189: ; preds = %108 %190 = load i32, ptr %17, align 4 ret i32 %190 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9fyx00ag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @makeRanges(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 store i32 1, ptr %17, align 4 store i32 0, ptr %13, align 4 %18 = load i32, ptr %13, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph2, label %91 .lr.ph2: ; preds = %6 br label %21 21: ; preds = %.lr.ph2, %85 store i32 0, ptr %14, align 4 %22 = load i32, ptr %14, align 4 %23 = load i32, ptr %13, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %.lr.ph, label %84 .lr.ph: ; preds = %21 br label %25 25: ; preds = %.lr.ph, %78 store i32 0, ptr %16, align 4 store i32 0, ptr %15, align 4 br label %26 26: ; preds = %68, %25 %27 = load i32, ptr %16, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %26 %30 = load i32, ptr %15, align 4 %31 = load i32, ptr %10, align 4 %32 = icmp slt i32 %30, %31 br label %33 33: ; preds = %29, %26 %34 = phi i1 [ false, %26 ], [ %32, %29 ] br i1 %34, label %35, label %71 35: ; preds = %33 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %13, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = load ptr, ptr %9, align 8 %42 = load i32, ptr %15, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %40, i64 %46 %48 = load i32, ptr %47, align 4 %49 = icmp sgt i32 %48, 0 br i1 %49, label %50, label %65 50: ; preds = %35 %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr %14, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds ptr, ptr %51, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = load ptr, ptr %9, align 8 %57 = load i32, ptr %15, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %55, i64 %61 %63 = load i32, ptr %62, align 4 %64 = icmp sgt i32 %63, 0 br label %65 65: ; preds = %50, %35 %66 = phi i1 [ false, %35 ], [ %64, %50 ] %67 = zext i1 %66 to i32 store i32 %67, ptr %16, align 4 br label %68 68: ; preds = %65 %69 = load i32, ptr %15, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %15, align 4 br label %26, !llvm.loop !6 71: ; preds = %33 %72 = load i32, ptr %16, align 4 %73 = icmp ne i32 %72, 0 br i1 %73, label %74, label %77 74: ; preds = %71 %75 = load i32, ptr %17, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %17, align 4 br label %77 77: ; preds = %74, %71 br label %78 78: ; preds = %77 %79 = load i32, ptr %14, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %14, align 4 %81 = load i32, ptr %14, align 4 %82 = load i32, ptr %13, align 4 %83 = icmp sle i32 %81, %82 br i1 %83, label %25, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %78 br label %84 84: ; preds = %._crit_edge, %21 br label %85 85: ; preds = %84 %86 = load i32, ptr %13, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %13, align 4 %88 = load i32, ptr %13, align 4 %89 = load i32, ptr %8, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %21, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %85 br label %91 91: ; preds = %._crit_edge3, %6 %92 = load i32, ptr %17, align 4 %93 = call i64 @calloc(i32 noundef %92, i32 noundef 4) %94 = inttoptr i64 %93 to ptr %95 = load ptr, ptr %11, align 8 store ptr %94, ptr %95, align 8 %96 = load ptr, ptr %11, align 8 %97 = load ptr, ptr %96, align 8 %98 = call i32 @assert(ptr noundef %97) %99 = load i32, ptr %17, align 4 %100 = call i64 @calloc(i32 noundef %99, i32 noundef 4) %101 = inttoptr i64 %100 to ptr %102 = load ptr, ptr %12, align 8 store ptr %101, ptr %102, align 8 %103 = load ptr, ptr %12, align 8 %104 = load ptr, ptr %103, align 8 %105 = call i32 @assert(ptr noundef %104) %106 = load ptr, ptr %11, align 8 %107 = load ptr, ptr %106, align 8 %108 = getelementptr inbounds i32, ptr %107, i64 0 store i32 -1, ptr %108, align 4 %109 = load ptr, ptr %12, align 8 %110 = load ptr, ptr %109, align 8 %111 = getelementptr inbounds i32, ptr %110, i64 0 store i32 -1, ptr %111, align 4 store i32 1, ptr %17, align 4 store i32 0, ptr %13, align 4 %112 = load i32, ptr %13, align 4 %113 = load i32, ptr %8, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %.lr.ph8, label %197 .lr.ph8: ; preds = %91 br label %115 115: ; preds = %.lr.ph8, %191 store i32 0, ptr %14, align 4 %116 = load i32, ptr %14, align 4 %117 = load i32, ptr %13, align 4 %118 = icmp sle i32 %116, %117 br i1 %118, label %.lr.ph5, label %190 .lr.ph5: ; preds = %115 br label %119 119: ; preds = %.lr.ph5, %184 store i32 0, ptr %16, align 4 store i32 0, ptr %15, align 4 br label %120 120: ; preds = %162, %119 %121 = load i32, ptr %16, align 4 %122 = icmp ne i32 %121, 0 br i1 %122, label %127, label %123 123: ; preds = %120 %124 = load i32, ptr %15, align 4 %125 = load i32, ptr %10, align 4 %126 = icmp slt i32 %124, %125 br label %127 127: ; preds = %123, %120 %128 = phi i1 [ false, %120 ], [ %126, %123 ] br i1 %128, label %129, label %165 129: ; preds = %127 %130 = load ptr, ptr %7, align 8 %131 = load i32, ptr %13, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds ptr, ptr %130, i64 %132 %134 = load ptr, ptr %133, align 8 %135 = load ptr, ptr %9, align 8 %136 = load i32, ptr %15, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i32, ptr %135, i64 %137 %139 = load i32, ptr %138, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i32, ptr %134, i64 %140 %142 = load i32, ptr %141, align 4 %143 = icmp sgt i32 %142, 0 br i1 %143, label %144, label %159 144: ; preds = %129 %145 = load ptr, ptr %7, align 8 %146 = load i32, ptr %14, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds ptr, ptr %145, i64 %147 %149 = load ptr, ptr %148, align 8 %150 = load ptr, ptr %9, align 8 %151 = load i32, ptr %15, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i32, ptr %150, i64 %152 %154 = load i32, ptr %153, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds i32, ptr %149, i64 %155 %157 = load i32, ptr %156, align 4 %158 = icmp sgt i32 %157, 0 br label %159 159: ; preds = %144, %129 %160 = phi i1 [ false, %129 ], [ %158, %144 ] %161 = zext i1 %160 to i32 store i32 %161, ptr %16, align 4 br label %162 162: ; preds = %159 %163 = load i32, ptr %15, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %15, align 4 br label %120, !llvm.loop !10 165: ; preds = %127 %166 = load i32, ptr %16, align 4 %167 = icmp ne i32 %166, 0 br i1 %167, label %168, label %183 168: ; preds = %165 %169 = load i32, ptr %14, align 4 %170 = load ptr, ptr %11, align 8 %171 = load ptr, ptr %170, align 8 %172 = load i32, ptr %17, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i32, ptr %171, i64 %173 store i32 %169, ptr %174, align 4 %175 = load i32, ptr %13, align 4 %176 = load ptr, ptr %12, align 8 %177 = load ptr, ptr %176, align 8 %178 = load i32, ptr %17, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds i32, ptr %177, i64 %179 store i32 %175, ptr %180, align 4 %181 = load i32, ptr %17, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %17, align 4 br label %183 183: ; preds = %168, %165 br label %184 184: ; preds = %183 %185 = load i32, ptr %14, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %14, align 4 %187 = load i32, ptr %14, align 4 %188 = load i32, ptr %13, align 4 %189 = icmp sle i32 %187, %188 br i1 %189, label %119, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %184 br label %190 190: ; preds = %._crit_edge6, %115 br label %191 191: ; preds = %190 %192 = load i32, ptr %13, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %13, align 4 %194 = load i32, ptr %13, align 4 %195 = load i32, ptr %8, align 4 %196 = icmp slt i32 %194, %195 br i1 %196, label %115, label %._crit_edge9, !llvm.loop !12 ._crit_edge9: ; preds = %191 br label %197 197: ; preds = %._crit_edge9, %91 %198 = load i32, ptr %17, align 4 ret i32 %198 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6hc6gp7u.c' source_filename = "/tmp/tmp6hc6gp7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NAN = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @piemathSqrt(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = fcmp olt double %4, 0.000000e+00 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load double, ptr @NAN, align 8 store double %7, ptr %2, align 8 br label %11 8: ; preds = %1 %9 = load double, ptr %3, align 8 %10 = call double @sqrt(double noundef %9) #2 store double %10, ptr %2, align 8 br label %11 11: ; preds = %8, %6 %12 = load double, ptr %2, align 8 ret double %12 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6hc6gp7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NAN = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @piemathSqrt(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = fcmp olt double %4, 0.000000e+00 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load double, ptr @NAN, align 8 store double %7, ptr %2, align 8 br label %11 8: ; preds = %1 %9 = load double, ptr %3, align 8 %10 = call double @sqrt(double noundef %9) #2 store double %10, ptr %2, align 8 br label %11 11: ; preds = %8, %6 %12 = load double, ptr %2, align 8 ret double %12 } ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphdfulx4n.c' source_filename = "/tmp/tmphdfulx4n.c" target datalayout = "e-m:e-p270: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/tmphdfulx4n.c" target datalayout = "e-m:e-p270: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/tmplu30h4k7.c' source_filename = "/tmp/tmplu30h4k7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Polling (for %d) of register %s 0x%x bit %d started\0A\00", align 1 @.str.1 = private unnamed_addr constant [73 x i8] c"Polling (for %d) of register %s 0x%x bit %d ended current value=0x%x \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Mali_PollReg(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %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 ptr, align 8 %13 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %14 = load i32, ptr %9, align 4 %15 = call i32 @Mali_RdReg(i32 noundef 32, i32 noundef 0, i32 noundef %14) store i32 %15, ptr %13, align 4 %16 = load i32, ptr %11, align 4 %17 = load ptr, ptr %12, align 8 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %10, align 4 %20 = call i32 (ptr, i32, ptr, i32, i32, ...) @printk(ptr noundef @.str, i32 noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %19) %21 = load i32, ptr %11, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %36 23: ; preds = %6 br label %24 24: ; preds = %32, %23 %25 = load i32, ptr %13, align 4 %26 = load i32, ptr %10, align 4 %27 = shl i32 1, %26 %28 = and i32 %25, %27 %29 = load i32, ptr %10, align 4 %30 = shl i32 1, %29 %31 = icmp ne i32 %28, %30 br i1 %31, label %32, label %35 32: ; preds = %24 %33 = load i32, ptr %9, align 4 %34 = call i32 @Mali_RdReg(i32 noundef 32, i32 noundef 0, i32 noundef %33) store i32 %34, ptr %13, align 4 br label %24, !llvm.loop !6 35: ; preds = %24 br label %49 36: ; preds = %6 br label %37 37: ; preds = %45, %36 %38 = load i32, ptr %13, align 4 %39 = load i32, ptr %10, align 4 %40 = shl i32 1, %39 %41 = and i32 %38, %40 %42 = load i32, ptr %10, align 4 %43 = shl i32 1, %42 %44 = icmp eq i32 %41, %43 br i1 %44, label %45, label %48 45: ; preds = %37 %46 = load i32, ptr %9, align 4 %47 = call i32 @Mali_RdReg(i32 noundef 32, i32 noundef 0, i32 noundef %46) store i32 %47, ptr %13, align 4 br label %37, !llvm.loop !8 48: ; preds = %37 br label %49 49: ; preds = %48, %35 %50 = load i32, ptr %11, align 4 %51 = load ptr, ptr %12, align 8 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr %10, align 4 %54 = load i32, ptr %13, align 4 %55 = call i32 (ptr, i32, ptr, i32, i32, ...) @printk(ptr noundef @.str.1, i32 noundef %50, ptr noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54) %56 = load i32, ptr %13, align 4 ret i32 %56 } declare i32 @Mali_RdReg(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printk(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplu30h4k7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Polling (for %d) of register %s 0x%x bit %d started\0A\00", align 1 @.str.1 = private unnamed_addr constant [73 x i8] c"Polling (for %d) of register %s 0x%x bit %d ended current value=0x%x \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Mali_PollReg(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %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 ptr, align 8 %13 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %14 = load i32, ptr %9, align 4 %15 = call i32 @Mali_RdReg(i32 noundef 32, i32 noundef 0, i32 noundef %14) store i32 %15, ptr %13, align 4 %16 = load i32, ptr %11, align 4 %17 = load ptr, ptr %12, align 8 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %10, align 4 %20 = call i32 (ptr, i32, ptr, i32, i32, ...) @printk(ptr noundef @.str, i32 noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %19) %21 = load i32, ptr %11, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %42 23: ; preds = %6 %24 = load i32, ptr %13, align 4 %25 = load i32, ptr %10, align 4 %26 = shl i32 1, %25 %27 = and i32 %24, %26 %28 = load i32, ptr %10, align 4 %29 = shl i32 1, %28 %30 = icmp ne i32 %27, %29 br i1 %30, label %.lr.ph2, label %41 .lr.ph2: ; preds = %23 br label %31 31: ; preds = %.lr.ph2, %31 %32 = load i32, ptr %9, align 4 %33 = call i32 @Mali_RdReg(i32 noundef 32, i32 noundef 0, i32 noundef %32) store i32 %33, ptr %13, align 4 %34 = load i32, ptr %13, align 4 %35 = load i32, ptr %10, align 4 %36 = shl i32 1, %35 %37 = and i32 %34, %36 %38 = load i32, ptr %10, align 4 %39 = shl i32 1, %38 %40 = icmp ne i32 %37, %39 br i1 %40, label %31, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %31 br label %41 41: ; preds = %._crit_edge3, %23 br label %61 42: ; preds = %6 %43 = load i32, ptr %13, align 4 %44 = load i32, ptr %10, align 4 %45 = shl i32 1, %44 %46 = and i32 %43, %45 %47 = load i32, ptr %10, align 4 %48 = shl i32 1, %47 %49 = icmp eq i32 %46, %48 br i1 %49, label %.lr.ph, label %60 .lr.ph: ; preds = %42 br label %50 50: ; preds = %.lr.ph, %50 %51 = load i32, ptr %9, align 4 %52 = call i32 @Mali_RdReg(i32 noundef 32, i32 noundef 0, i32 noundef %51) store i32 %52, ptr %13, align 4 %53 = load i32, ptr %13, align 4 %54 = load i32, ptr %10, align 4 %55 = shl i32 1, %54 %56 = and i32 %53, %55 %57 = load i32, ptr %10, align 4 %58 = shl i32 1, %57 %59 = icmp eq i32 %56, %58 br i1 %59, label %50, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %50 br label %60 60: ; preds = %._crit_edge, %42 br label %61 61: ; preds = %60, %41 %62 = load i32, ptr %11, align 4 %63 = load ptr, ptr %12, align 8 %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %10, align 4 %66 = load i32, ptr %13, align 4 %67 = call i32 (ptr, i32, ptr, i32, i32, ...) @printk(ptr noundef @.str.1, i32 noundef %62, ptr noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef %66) %68 = load i32, ptr %13, align 4 ret i32 %68 } declare i32 @Mali_RdReg(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printk(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjwo6mdcz.c' source_filename = "/tmp/tmpjwo6mdcz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @scarab_os_geterr() #0 { %1 = load i32, ptr @errno, align 4 ret i32 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjwo6mdcz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @scarab_os_geterr() #0 { %1 = load i32, ptr @errno, align 4 ret i32 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc6q4fj4r.c' source_filename = "/tmp/tmpc6q4fj4r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @copie(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [51 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %7 7: ; preds = %19, %2 %8 = getelementptr inbounds [51 x i8], ptr %6, i64 0, i64 0 %9 = load ptr, ptr %4, align 8 %10 = call ptr @fgets(ptr noundef %8, i32 noundef 50, ptr noundef %9) %11 = icmp ne ptr %10, null br i1 %11, label %12, label %20 12: ; preds = %7 %13 = getelementptr inbounds [51 x i8], ptr %6, i64 0, i64 0 %14 = load ptr, ptr %5, align 8 %15 = call i64 @fputs(ptr noundef %13, ptr noundef %14) %16 = load i64, ptr @EOF, align 8 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %19 18: ; preds = %12 store i32 0, ptr %3, align 4 br label %21 19: ; preds = %12 br label %7, !llvm.loop !6 20: ; preds = %7 store i32 1, ptr %3, align 4 br label %21 21: ; preds = %20, %18 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @fputs(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc6q4fj4r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @copie(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [51 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = getelementptr inbounds [51 x i8], ptr %6, i64 0, i64 0 %8 = load ptr, ptr %4, align 8 %9 = call ptr @fgets(ptr noundef %7, i32 noundef 50, ptr noundef %8) %10 = icmp ne ptr %9, null br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %15 11: ; preds = %15 %12 = load ptr, ptr %4, align 8 %13 = call ptr @fgets(ptr noundef %7, i32 noundef 50, ptr noundef %12) %14 = icmp ne ptr %13, null br i1 %14, label %15, label %._crit_edge, !llvm.loop !6 15: ; preds = %.lr.ph, %11 %16 = getelementptr inbounds [51 x i8], ptr %6, i64 0, i64 0 %17 = load ptr, ptr %5, align 8 %18 = call i64 @fputs(ptr noundef %16, ptr noundef %17) %19 = load i64, ptr @EOF, align 8 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %11 21: ; preds = %15 store i32 0, ptr %3, align 4 br label %23 ._crit_edge: ; preds = %11 br label %22 22: ; preds = %._crit_edge, %2 store i32 1, ptr %3, align 4 br label %23 23: ; preds = %22, %21 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @fputs(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpk0865yt_.c' source_filename = "/tmp/tmpk0865yt_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Ancho: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Alto: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = call i32 @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @imprime_cuadrado(i32 noundef %8, i32 noundef %9) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @imprime_cuadrado(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/tmpk0865yt_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Ancho: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Alto: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = call i32 @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @imprime_cuadrado(i32 noundef %8, i32 noundef %9) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @imprime_cuadrado(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/tmpq_x30wnn.c' source_filename = "/tmp/tmpq_x30wnn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcat2(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %5, align 4 br label %9 9: ; preds = %14, %2 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 store i8 %11, ptr %6, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %23 14: ; preds = %9 %15 = load i8, ptr %6, align 1 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = sext i32 %17 to i64 %20 = getelementptr inbounds i8, ptr %16, i64 %19 store i8 %15, ptr %20, align 1 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 br label %9, !llvm.loop !6 23: ; preds = %9 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 0, ptr %27, align 1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq_x30wnn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcat2(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %9, align 1 store i8 %10, ptr %6, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %13 %14 = load i8, ptr %6, align 1 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 %18 = sext i32 %16 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 store i8 %14, ptr %19, align 1 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %4, align 8 %22 = load ptr, ptr %4, align 8 %23 = load i8, ptr %22, align 1 store i8 %23, ptr %6, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br i1 %25, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %26 26: ; preds = %._crit_edge, %2 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 0, ptr %30, align 1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpiebmz97y.c' source_filename = "/tmp/tmpiebmz97y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @double_check_oscillations(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds double, ptr %11, i64 0 %13 = load double, ptr %12, align 8 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = sub nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds double, ptr %14, i64 %17 %19 = load double, ptr %18, align 8 %20 = fcmp une double %13, %19 %21 = zext i1 %20 to i32 %22 = call i32 @__DSVERIFIER_assume(i32 noundef %21) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 2, ptr %7, align 4 br label %23 23: ; preds = %75, %2 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %78 27: ; preds = %23 %28 = load i32, ptr %7, align 4 store i32 %28, ptr %9, align 4 store i32 0, ptr %8, align 4 br label %29 29: ; preds = %71, %27 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %74 33: ; preds = %29 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %9, align 4 %36 = icmp sgt i32 %34, %35 br i1 %36, label %37, label %38 37: ; preds = %33 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %38 38: ; preds = %37, %33 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %39, %40 store i32 %41, ptr %10, align 4 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %67 45: ; preds = %38 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %46, i64 %48 %50 = load double, ptr %49, align 8 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 %55 = load double, ptr %54, align 8 %56 = fcmp oeq double %50, %55 br i1 %56, label %57, label %66 57: ; preds = %45 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %6, align 4 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %9, align 4 %62 = icmp eq i32 %60, %61 %63 = xor i1 %62, true %64 = zext i1 %63 to i32 %65 = call i32 @assert(i32 noundef %64) br label %66 66: ; preds = %57, %45 br label %68 67: ; preds = %38 br label %74 68: ; preds = %66 %69 = load i32, ptr %5, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %5, align 4 br label %71 71: ; preds = %68 %72 = load i32, ptr %8, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %8, align 4 br label %29, !llvm.loop !6 74: ; preds = %67, %29 br label %75 75: ; preds = %74 %76 = load i32, ptr %7, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %7, align 4 br label %23, !llvm.loop !8 78: ; preds = %23 ret void } declare i32 @__DSVERIFIER_assume(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiebmz97y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @double_check_oscillations(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds double, ptr %11, i64 0 %13 = load double, ptr %12, align 8 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %4, align 4 %16 = sub nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds double, ptr %14, i64 %17 %19 = load double, ptr %18, align 8 %20 = fcmp une double %13, %19 %21 = zext i1 %20 to i32 %22 = call i32 @__DSVERIFIER_assume(i32 noundef %21) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 2, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph1, label %82 .lr.ph1: ; preds = %2 br label %26 26: ; preds = %.lr.ph1, %76 %27 = load i32, ptr %7, align 4 store i32 %27, ptr %9, align 4 store i32 0, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %26 br label %31 31: ; preds = %.lr.ph, %69 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp sgt i32 %32, %33 br i1 %34, label %35, label %36 35: ; preds = %31 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %36 36: ; preds = %35, %31 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %37, %38 store i32 %39, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %65 43: ; preds = %36 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds double, ptr %44, i64 %46 %48 = load double, ptr %47, align 8 %49 = load ptr, ptr %3, align 8 %50 = load i32, ptr %10, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds double, ptr %49, i64 %51 %53 = load double, ptr %52, align 8 %54 = fcmp oeq double %48, %53 br i1 %54, label %55, label %64 55: ; preds = %43 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 %58 = load i32, ptr %6, align 4 %59 = load i32, ptr %9, align 4 %60 = icmp eq i32 %58, %59 %61 = xor i1 %60, true %62 = zext i1 %61 to i32 %63 = call i32 @assert(i32 noundef %62) br label %64 64: ; preds = %55, %43 br label %66 65: ; preds = %36 br label %75 66: ; preds = %64 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %5, align 4 br label %69 69: ; preds = %66 %70 = load i32, ptr %8, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %8, align 4 %72 = load i32, ptr %8, align 4 %73 = load i32, ptr %4, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %31, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %69 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %26 br label %75 75: ; preds = %.loopexit, %65 br label %76 76: ; preds = %75 %77 = load i32, ptr %7, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %7, align 4 %79 = load i32, ptr %7, align 4 %80 = load i32, ptr %4, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %26, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %76 br label %82 82: ; preds = %._crit_edge, %2 ret void } declare i32 @__DSVERIFIER_assume(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpl_9v6cxf.c' source_filename = "/tmp/tmpl_9v6cxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @AngleDiff(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %6 = load float, ptr %3, align 4 %7 = load float, ptr %4, align 4 %8 = fsub float %6, %7 %9 = call i32 @AngleMod(float noundef %8) %10 = call float @fabs(i32 noundef %9) store float %10, ptr %5, align 4 %11 = load float, ptr %5, align 4 %12 = fcmp ogt float %11, 1.800000e+02 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = load float, ptr %5, align 4 %15 = fsub float 3.600000e+02, %14 store float %15, ptr %5, align 4 br label %16 16: ; preds = %13, %2 %17 = load float, ptr %5, align 4 ret float %17 } declare float @fabs(i32 noundef) #1 declare i32 @AngleMod(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl_9v6cxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @AngleDiff(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %6 = load float, ptr %3, align 4 %7 = load float, ptr %4, align 4 %8 = fsub float %6, %7 %9 = call i32 @AngleMod(float noundef %8) %10 = call float @fabs(i32 noundef %9) store float %10, ptr %5, align 4 %11 = load float, ptr %5, align 4 %12 = fcmp ogt float %11, 1.800000e+02 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = load float, ptr %5, align 4 %15 = fsub float 3.600000e+02, %14 store float %15, ptr %5, align 4 br label %16 16: ; preds = %13, %2 %17 = load float, ptr %5, align 4 ret float %17 } declare float @fabs(i32 noundef) #1 declare i32 @AngleMod(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnzgkk7db.c' source_filename = "/tmp/tmpnzgkk7db.c" target datalayout = "e-m:e-p270: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.tm = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @localtime_r(ptr noalias noundef %0, ptr noalias noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca %struct.tm, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %2 br label %10 10: ; preds = %9, %10 br label %10 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %11 br label %15 15: ; preds = %14, %15 br label %15 16: ; preds = %11 %17 = call i32 (...) @__infer_nondet_int() store i32 %17, ptr %5, align 4 %18 = load ptr, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %6, i64 4, i1 false) %19 = load i32, ptr %5, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = load ptr, ptr %4, align 8 br label %24 23: ; preds = %16 br label %24 24: ; preds = %23, %21 %25 = phi ptr [ %22, %21 ], [ null, %23 ] ret ptr %25 } declare i32 @__infer_nondet_int(...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnzgkk7db.c" target datalayout = "e-m:e-p270: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.tm = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @localtime_r(ptr noalias noundef %0, ptr noalias noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca %struct.tm, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %2 br label %10 10: ; preds = %10, %9 br label %10 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %11 br label %15 15: ; preds = %15, %14 br label %15 16: ; preds = %11 %17 = call i32 (...) @__infer_nondet_int() store i32 %17, ptr %5, align 4 %18 = load ptr, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %6, i64 4, i1 false) %19 = load i32, ptr %5, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = load ptr, ptr %4, align 8 br label %24 23: ; preds = %16 br label %24 24: ; preds = %23, %21 %25 = phi ptr [ %22, %21 ], [ null, %23 ] ret ptr %25 } declare i32 @__infer_nondet_int(...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcnemrez3.c' source_filename = "/tmp/tmpcnemrez3.c" target datalayout = "e-m:e-p270: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/tmpcnemrez3.c" target datalayout = "e-m:e-p270: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/tmput0fy2ut.c' source_filename = "/tmp/tmput0fy2ut.c" target datalayout = "e-m:e-p270: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/tmput0fy2ut.c" target datalayout = "e-m:e-p270: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/tmpgsd2p_bj.c' source_filename = "/tmp/tmpgsd2p_bj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %1 %9 = call i32 @die(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @die(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgsd2p_bj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %1 %9 = call i32 @die(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @die(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo55ccy6c.c' source_filename = "/tmp/tmpo55ccy6c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09Sendto: \00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"\09Recvfrom: \00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"\0ATamanios int:\0A\09%d bytes (cliente)\0A\09%d bytes (servidor)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @conectarToServidor(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [2 x i32], align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %11 = load i32, ptr %6, align 4 %12 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %7, align 4 %14 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 1 store i32 %13, ptr %14, align 4 %15 = load i32, ptr %5, align 4 %16 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0 %17 = load ptr, ptr %8, align 8 %18 = call i32 @sendto(i32 noundef %15, ptr noundef %16, i32 noundef 8, i32 noundef 0, ptr noundef %17, i32 noundef 4) %19 = call i32 @perror(ptr noundef @.str) %20 = load i32, ptr %5, align 4 %21 = call i32 @recvfrom(i32 noundef %20, ptr noundef %9, i32 noundef 4, i32 noundef 0, ptr noundef null, ptr noundef null) %22 = call i32 @perror(ptr noundef @.str.1) %23 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4, i32 noundef 4) %24 = load i32, ptr %9, align 4 ret i32 %24 } declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmpo55ccy6c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09Sendto: \00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"\09Recvfrom: \00", align 1 @.str.2 = private unnamed_addr constant [57 x i8] c"\0ATamanios int:\0A\09%d bytes (cliente)\0A\09%d bytes (servidor)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @conectarToServidor(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [2 x i32], align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %11 = load i32, ptr %6, align 4 %12 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %7, align 4 %14 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 1 store i32 %13, ptr %14, align 4 %15 = load i32, ptr %5, align 4 %16 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0 %17 = load ptr, ptr %8, align 8 %18 = call i32 @sendto(i32 noundef %15, ptr noundef %16, i32 noundef 8, i32 noundef 0, ptr noundef %17, i32 noundef 4) %19 = call i32 @perror(ptr noundef @.str) %20 = load i32, ptr %5, align 4 %21 = call i32 @recvfrom(i32 noundef %20, ptr noundef %9, i32 noundef 4, i32 noundef 0, ptr noundef null, ptr noundef null) %22 = call i32 @perror(ptr noundef @.str.1) %23 = call i32 @printf(ptr noundef @.str.2, i32 noundef 4, i32 noundef 4) %24 = load i32, ptr %9, align 4 ret i32 %24 } declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(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/tmp1dvug0yp.c' source_filename = "/tmp/tmp1dvug0yp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"%\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @http_unescape(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [3 x i8], align 1 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load ptr, ptr %2, align 8 %9 = call i64 @strlen(ptr noundef %8) %10 = trunc i64 %9 to i32 store i32 %10, ptr %7, align 4 %11 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 2 store i8 0, ptr %11, align 1 br label %12 12: ; preds = %78, %1 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %79 16: ; preds = %12 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = call i64 @strncmp(ptr noundef %20, ptr noundef @.str, i32 noundef 1) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %54 23: ; preds = %16 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 2 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %54 28: ; preds = %23 %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 %34 = load i8, ptr %33, align 1 %35 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 store i8 %34, ptr %35, align 1 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 2 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %36, i64 %39 %41 = load i8, ptr %40, align 1 %42 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 1 store i8 %41, ptr %42, align 1 %43 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 %44 = call i64 @strtol(ptr noundef %43, ptr noundef %4, i32 noundef 16) %45 = trunc i64 %44 to i8 %46 = load ptr, ptr %2, align 8 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 store i8 %45, ptr %49, align 1 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 3 store i32 %53, ptr %5, align 4 br label %78 54: ; preds = %23, %16 %55 = load i32, ptr %5, align 4 %56 = load i32, ptr %6, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %58, label %72 58: ; preds = %54 %59 = load ptr, ptr %2, align 8 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = load ptr, ptr %2, align 8 %65 = load i32, ptr %6, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 store i8 %63, ptr %67, align 1 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 %70 = load i32, ptr %6, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %6, align 4 br label %77 72: ; preds = %54 %73 = load i32, ptr %5, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %5, align 4 %75 = load i32, ptr %6, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %6, align 4 br label %77 77: ; preds = %72, %58 br label %78 78: ; preds = %77, %28 br label %12, !llvm.loop !6 79: ; preds = %12 %80 = load ptr, ptr %2, align 8 %81 = load i32, ptr %6, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 store i8 0, ptr %83, align 1 ret void } declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1dvug0yp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"%\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @http_unescape(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [3 x i8], align 1 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = load ptr, ptr %2, align 8 %9 = call i64 @strlen(ptr noundef %8) %10 = trunc i64 %9 to i32 store i32 %10, ptr %7, align 4 %11 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 2 store i8 0, ptr %11, align 1 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %81 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %77 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = call i64 @strncmp(ptr noundef %19, ptr noundef @.str, i32 noundef 1) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %53 22: ; preds = %15 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 2 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %53 27: ; preds = %22 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 %33 = load i8, ptr %32, align 1 %34 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 store i8 %33, ptr %34, align 1 %35 = load ptr, ptr %2, align 8 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 2 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %35, i64 %38 %40 = load i8, ptr %39, align 1 %41 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 1 store i8 %40, ptr %41, align 1 %42 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 0 %43 = call i64 @strtol(ptr noundef %42, ptr noundef %4, i32 noundef 16) %44 = trunc i64 %43 to i8 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 store i8 %44, ptr %48, align 1 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 3 store i32 %52, ptr %5, align 4 br label %77 53: ; preds = %22, %15 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %6, align 4 %56 = icmp ne i32 %54, %55 br i1 %56, label %57, label %71 57: ; preds = %53 %58 = load ptr, ptr %2, align 8 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i8, ptr %61, align 1 %63 = load ptr, ptr %2, align 8 %64 = load i32, ptr %6, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 store i8 %62, ptr %66, align 1 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %5, align 4 %69 = load i32, ptr %6, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %6, align 4 br label %76 71: ; preds = %53 %72 = load i32, ptr %5, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %5, align 4 %74 = load i32, ptr %6, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %6, align 4 br label %76 76: ; preds = %71, %57 br label %77 77: ; preds = %76, %27 %78 = load i32, ptr %5, align 4 %79 = load i32, ptr %7, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %77 br label %81 81: ; preds = %._crit_edge, %1 %82 = load ptr, ptr %2, align 8 %83 = load i32, ptr %6, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 store i8 0, ptr %85, align 1 ret void } declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr3j63v6m.c' source_filename = "/tmp/tmpr3j63v6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @secondMenu(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (...) @printLogo() %5 = load i32, ptr %2, align 4 %6 = call i32 @printMenu(i32 noundef %5) br label %7 7: ; preds = %1, %41 %8 = call i32 (...) @getch() store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp eq i32 %9, 13 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = load i32, ptr %2, align 4 ret i32 %12 13: ; preds = %7 %14 = load i32, ptr %3, align 4 %15 = icmp eq i32 %14, 224 br i1 %15, label %16, label %41 16: ; preds = %13 %17 = call i32 (...) @getch() store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 switch i32 %18, label %39 [ i32 72, label %19 i32 80, label %29 ] 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = icmp sgt i32 %20, 4 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %22, %19 %26 = call i32 (...) @printLogo() %27 = load i32, ptr %2, align 4 %28 = call i32 @printMenu(i32 noundef %27) br label %40 29: ; preds = %16 %30 = load i32, ptr %2, align 4 %31 = icmp slt i32 %30, 7 br i1 %31, label %32, label %35 32: ; preds = %29 %33 = load i32, ptr %2, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %2, align 4 br label %35 35: ; preds = %32, %29 %36 = call i32 (...) @printLogo() %37 = load i32, ptr %2, align 4 %38 = call i32 @printMenu(i32 noundef %37) br label %40 39: ; preds = %16 br label %40 40: ; preds = %39, %35, %25 br label %41 41: ; preds = %40, %13 br label %7 } declare i32 @printLogo(...) #1 declare i32 @printMenu(i32 noundef) #1 declare i32 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr3j63v6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @secondMenu(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 (...) @printLogo() %5 = load i32, ptr %2, align 4 %6 = call i32 @printMenu(i32 noundef %5) %7 = call i32 (...) @getch() store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp eq i32 %8, 13 br i1 %9, label %10, label %.lr.ph .lr.ph: ; preds = %1 br label %12 ._crit_edge: ; preds = %40 br label %10 10: ; preds = %._crit_edge, %1 %11 = load i32, ptr %2, align 4 ret i32 %11 12: ; preds = %.lr.ph, %40 %13 = load i32, ptr %3, align 4 %14 = icmp eq i32 %13, 224 br i1 %14, label %15, label %40 15: ; preds = %12 %16 = call i32 (...) @getch() store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 switch i32 %17, label %38 [ i32 72, label %18 i32 80, label %28 ] 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = icmp sgt i32 %19, 4 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %2, align 4 br label %24 24: ; preds = %21, %18 %25 = call i32 (...) @printLogo() %26 = load i32, ptr %2, align 4 %27 = call i32 @printMenu(i32 noundef %26) br label %39 28: ; preds = %15 %29 = load i32, ptr %2, align 4 %30 = icmp slt i32 %29, 7 br i1 %30, label %31, label %34 31: ; preds = %28 %32 = load i32, ptr %2, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %2, align 4 br label %34 34: ; preds = %31, %28 %35 = call i32 (...) @printLogo() %36 = load i32, ptr %2, align 4 %37 = call i32 @printMenu(i32 noundef %36) br label %39 38: ; preds = %15 br label %39 39: ; preds = %38, %34, %24 br label %40 40: ; preds = %39, %12 %41 = call i32 (...) @getch() store i32 %41, ptr %3, align 4 %42 = load i32, ptr %3, align 4 %43 = icmp eq i32 %42, 13 br i1 %43, label %._crit_edge, label %12 } declare i32 @printLogo(...) #1 declare i32 @printMenu(i32 noundef) #1 declare i32 @getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpei2nn1sf.c' source_filename = "/tmp/tmpei2nn1sf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tolower(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 = sext i8 %3 to i32 %5 = icmp sge i32 %4, 65 br i1 %5, label %6, label %14 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp sle i32 %8, 90 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i8, ptr %2, align 1 %12 = sext i8 %11 to i32 %13 = add nsw i32 %12, 32 br label %17 14: ; preds = %6, %1 %15 = load i8, ptr %2, align 1 %16 = sext i8 %15 to i32 br label %17 17: ; preds = %14, %10 %18 = phi i32 [ %13, %10 ], [ %16, %14 ] %19 = trunc i32 %18 to i8 ret i8 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpei2nn1sf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tolower(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 = sext i8 %3 to i32 %5 = icmp sge i32 %4, 65 br i1 %5, label %6, label %14 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp sle i32 %8, 90 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i8, ptr %2, align 1 %12 = sext i8 %11 to i32 %13 = add nsw i32 %12, 32 br label %17 14: ; preds = %6, %1 %15 = load i8, ptr %2, align 1 %16 = sext i8 %15 to i32 br label %17 17: ; preds = %14, %10 %18 = phi i32 [ %13, %10 ], [ %16, %14 ] %19 = trunc i32 %18 to i8 ret i8 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpokf8o3tw.c' source_filename = "/tmp/tmpokf8o3tw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cprofile_result_printall() #0 { %1 = call i32 @cprofile_result_print(ptr noundef @.str, i32 noundef 1) ret void } declare i32 @cprofile_result_print(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/tmpokf8o3tw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cprofile_result_printall() #0 { %1 = call i32 @cprofile_result_print(ptr noundef @.str, i32 noundef 1) ret void } declare i32 @cprofile_result_print(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/tmpol29tvls.c' source_filename = "/tmp/tmpol29tvls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @twopence_protocol_packet_type_to_string.descbuf = internal global [64 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [6 x i8] c"hello\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"inject\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"extract\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"command\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"quit\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"data\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"eof\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"intr\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"major\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"minor\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"timeout\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"keepalive\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c"trans-type-%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @twopence_protocol_packet_type_to_string(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %17 [ i32 104, label %5 i32 105, label %6 i32 101, label %7 i32 99, label %8 i32 113, label %9 i32 68, label %10 i32 69, label %11 i32 73, label %12 i32 77, label %13 i32 109, label %14 i32 84, label %15 i32 75, label %16 ] 5: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %20 6: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %20 7: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %20 8: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %20 9: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %20 10: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %20 11: ; preds = %1 store ptr @.str.6, ptr %2, align 8 br label %20 12: ; preds = %1 store ptr @.str.7, ptr %2, align 8 br label %20 13: ; preds = %1 store ptr @.str.8, ptr %2, align 8 br label %20 14: ; preds = %1 store ptr @.str.9, ptr %2, align 8 br label %20 15: ; preds = %1 store ptr @.str.10, ptr %2, align 8 br label %20 16: ; preds = %1 store ptr @.str.11, ptr %2, align 8 br label %20 17: ; preds = %1 %18 = load i32, ptr %3, align 4 %19 = call i32 @snprintf(ptr noundef @twopence_protocol_packet_type_to_string.descbuf, i32 noundef 64, ptr noundef @.str.12, i32 noundef %18) store ptr @twopence_protocol_packet_type_to_string.descbuf, ptr %2, align 8 br label %20 20: ; preds = %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %21 = load ptr, ptr %2, align 8 ret ptr %21 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpol29tvls.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @twopence_protocol_packet_type_to_string.descbuf = internal global [64 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [6 x i8] c"hello\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"inject\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"extract\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"command\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"quit\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"data\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"eof\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"intr\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"major\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"minor\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"timeout\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"keepalive\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c"trans-type-%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @twopence_protocol_packet_type_to_string(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %17 [ i32 104, label %5 i32 105, label %6 i32 101, label %7 i32 99, label %8 i32 113, label %9 i32 68, label %10 i32 69, label %11 i32 73, label %12 i32 77, label %13 i32 109, label %14 i32 84, label %15 i32 75, label %16 ] 5: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %20 6: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %20 7: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %20 8: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %20 9: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %20 10: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %20 11: ; preds = %1 store ptr @.str.6, ptr %2, align 8 br label %20 12: ; preds = %1 store ptr @.str.7, ptr %2, align 8 br label %20 13: ; preds = %1 store ptr @.str.8, ptr %2, align 8 br label %20 14: ; preds = %1 store ptr @.str.9, ptr %2, align 8 br label %20 15: ; preds = %1 store ptr @.str.10, ptr %2, align 8 br label %20 16: ; preds = %1 store ptr @.str.11, ptr %2, align 8 br label %20 17: ; preds = %1 %18 = load i32, ptr %3, align 4 %19 = call i32 @snprintf(ptr noundef @twopence_protocol_packet_type_to_string.descbuf, i32 noundef 64, ptr noundef @.str.12, i32 noundef %18) store ptr @twopence_protocol_packet_type_to_string.descbuf, ptr %2, align 8 br label %20 20: ; preds = %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %21 = load ptr, ptr %2, align 8 ret ptr %21 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbr1wzkci.c' source_filename = "/tmp/tmpbr1wzkci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @posix_madvise(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @ENOSYS, align 4 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbr1wzkci.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @posix_madvise(i32 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @ENOSYS, align 4 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr6fi3gtk.c' source_filename = "/tmp/tmpr6fi3gtk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xselection_display(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store ptr %5, ptr %8, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr6fi3gtk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xselection_display(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store ptr %5, ptr %8, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm_u6qe71.c' source_filename = "/tmp/tmpm_u6qe71.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm_u6qe71.c" target datalayout = "e-m:e-p270: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/tmp3ahrf77o.c' source_filename = "/tmp/tmp3ahrf77o.c" target datalayout = "e-m:e-p270: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/tmp3ahrf77o.c" target datalayout = "e-m:e-p270: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/tmpfaf491tc.c' source_filename = "/tmp/tmpfaf491tc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Running total: %ld + \00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%s = %ld \0A\00", align 1 @INT_MAX = dso_local global i64 0, align 8 @INT_MIN = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [34 x i8] c"Numeric overflow, caused by: %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Grand sum: %ld \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 i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i64 0, ptr %6, align 8 store i32 1, ptr %5, align 4 br label %9 9: ; preds = %44, %2 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %47 13: ; preds = %9 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = call i64 @reliable_atol(ptr noundef %18) store i64 %19, ptr %7, align 8 %20 = load i64, ptr %6, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %20) %22 = load i64, ptr %6, align 8 %23 = load i64, ptr %7, align 8 %24 = add i64 %22, %23 store i64 %24, ptr %8, align 8 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = load i64, ptr %8, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %29, i64 noundef %30) %32 = load i64, ptr %7, align 8 %33 = load i64, ptr @INT_MAX, align 8 %34 = icmp sgt i64 %32, %33 br i1 %34, label %39, label %35 35: ; preds = %13 %36 = load i64, ptr %7, align 8 %37 = load i64, ptr @INT_MIN, align 8 %38 = icmp slt i64 %36, %37 br i1 %38, label %39, label %42 39: ; preds = %35, %13 %40 = load i64, ptr %7, align 8 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %40) br label %42 42: ; preds = %39, %35 %43 = load i64, ptr %8, align 8 store i64 %43, ptr %6, align 8 br label %44 44: ; preds = %42 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %9, !llvm.loop !6 47: ; preds = %9 %48 = load i64, ptr %6, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %48) ret void } declare i64 @reliable_atol(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfaf491tc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Running total: %ld + \00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%s = %ld \0A\00", align 1 @INT_MAX = dso_local global i64 0, align 8 @INT_MIN = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [34 x i8] c"Numeric overflow, caused by: %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Grand sum: %ld \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 i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i64 0, ptr %6, align 8 store i32 1, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %49 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %43 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = call i64 @reliable_atol(ptr noundef %17) store i64 %18, ptr %7, align 8 %19 = load i64, ptr %6, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %19) %21 = load i64, ptr %6, align 8 %22 = load i64, ptr %7, align 8 %23 = add i64 %21, %22 store i64 %23, ptr %8, align 8 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = load i64, ptr %8, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %28, i64 noundef %29) %31 = load i64, ptr %7, align 8 %32 = load i64, ptr @INT_MAX, align 8 %33 = icmp sgt i64 %31, %32 br i1 %33, label %38, label %34 34: ; preds = %12 %35 = load i64, ptr %7, align 8 %36 = load i64, ptr @INT_MIN, align 8 %37 = icmp slt i64 %35, %36 br i1 %37, label %38, label %41 38: ; preds = %34, %12 %39 = load i64, ptr %7, align 8 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %39) br label %41 41: ; preds = %38, %34 %42 = load i64, ptr %8, align 8 store i64 %42, ptr %6, align 8 br label %43 43: ; preds = %41 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %3, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %2 %50 = load i64, ptr %6, align 8 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %50) ret void } declare i64 @reliable_atol(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp465_xda3.c' source_filename = "/tmp/tmp465_xda3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setsuf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call ptr @savestr(ptr noundef %7) store ptr %8, ptr %6, align 8 store ptr %8, ptr %5, align 8 br label %9 9: ; preds = %21, %2 %10 = load ptr, ptr %5, align 8 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %5, align 8 %16 = load i8, ptr %14, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 47 br i1 %18, label %19, label %21 19: ; preds = %13 %20 = load ptr, ptr %5, align 8 store ptr %20, ptr %6, align 8 br label %21 21: ; preds = %19, %13 br label %9, !llvm.loop !6 22: ; preds = %9 %23 = load i32, ptr %4, align 4 %24 = trunc i32 %23 to i8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 -1 store i8 %24, ptr %26, align 1 %27 = load ptr, ptr %6, align 8 ret ptr %27 } declare ptr @savestr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp465_xda3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setsuf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call ptr @savestr(ptr noundef %7) store ptr %8, ptr %6, align 8 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %20 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %5, align 8 %15 = load i8, ptr %13, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 47 br i1 %17, label %18, label %20 18: ; preds = %12 %19 = load ptr, ptr %5, align 8 store ptr %19, ptr %6, align 8 br label %20 20: ; preds = %18, %12 %21 = load ptr, ptr %5, align 8 %22 = load i8, ptr %21, align 1 %23 = icmp ne i8 %22, 0 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i32, ptr %4, align 4 %26 = trunc i32 %25 to i8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 -1 store i8 %26, ptr %28, align 1 %29 = load ptr, ptr %6, align 8 ret ptr %29 } declare ptr @savestr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpxunz26wb.c' source_filename = "/tmp/tmpxunz26wb.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"Error: Invalid arguments.\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"Usage: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Available built-in commands:\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"- echo\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"- exit\0A\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"- quit\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"- cd\0A\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"- chdir\0A\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"- history\0A\00", align 1 @.str.9 = private unnamed_addr constant [11 x i8] c"- version\0A\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"- help\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help(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 ptr, ptr %3, i64 1 %5 = load ptr, ptr %4, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %15 7: ; preds = %1 %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str) %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.1, ptr noundef %13) br label %25 15: ; preds = %1 %16 = call i32 @printf(ptr noundef @.str.2) %17 = call i32 @printf(ptr noundef @.str.3) %18 = call i32 @printf(ptr noundef @.str.4) %19 = call i32 @printf(ptr noundef @.str.5) %20 = call i32 @printf(ptr noundef @.str.6) %21 = call i32 @printf(ptr noundef @.str.7) %22 = call i32 @printf(ptr noundef @.str.8) %23 = call i32 @printf(ptr noundef @.str.9) %24 = call i32 @printf(ptr noundef @.str.10) br label %25 25: ; preds = %15, %7 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxunz26wb.c" target datalayout = "e-m:e-p270: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 [27 x i8] c"Error: Invalid arguments.\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"Usage: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Available built-in commands:\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"- echo\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"- exit\0A\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"- quit\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"- cd\0A\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"- chdir\0A\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"- history\0A\00", align 1 @.str.9 = private unnamed_addr constant [11 x i8] c"- version\0A\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"- help\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help(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 ptr, ptr %3, i64 1 %5 = load ptr, ptr %4, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %15 7: ; preds = %1 %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str) %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.1, ptr noundef %13) br label %25 15: ; preds = %1 %16 = call i32 @printf(ptr noundef @.str.2) %17 = call i32 @printf(ptr noundef @.str.3) %18 = call i32 @printf(ptr noundef @.str.4) %19 = call i32 @printf(ptr noundef @.str.5) %20 = call i32 @printf(ptr noundef @.str.6) %21 = call i32 @printf(ptr noundef @.str.7) %22 = call i32 @printf(ptr noundef @.str.8) %23 = call i32 @printf(ptr noundef @.str.9) %24 = call i32 @printf(ptr noundef @.str.10) br label %25 25: ; preds = %15, %7 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1o2u8x5j.c' source_filename = "/tmp/tmp1o2u8x5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pvCancelNextFrame(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = call i32 @notify_pvcall(ptr noundef @.str) ret i32 0 } declare i32 @notify_pvcall(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1o2u8x5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pvCancelNextFrame(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = call i32 @notify_pvcall(ptr noundef @.str) ret i32 0 } declare i32 @notify_pvcall(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpco2fpy_8.c' source_filename = "/tmp/tmpco2fpy_8.c" target datalayout = "e-m:e-p270: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 [13 x i8] c"%s\0A%s\0A%s\0A%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [61 x i8] c"usage: hexdump [-bcCdovx] [-e fmt] [-f fmt_file] [-n length]\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c" [-s skip] [file ...]\00", align 1 @.str.3 = private unnamed_addr constant [61 x i8] c" hd [-bcdovx] [-e fmt] [-f fmt_file] [-n length]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.2) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpco2fpy_8.c" target datalayout = "e-m:e-p270: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 [13 x i8] c"%s\0A%s\0A%s\0A%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [61 x i8] c"usage: hexdump [-bcCdovx] [-e fmt] [-f fmt_file] [-n length]\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c" [-s skip] [file ...]\00", align 1 @.str.3 = private unnamed_addr constant [61 x i8] c" hd [-bcdovx] [-e fmt] [-f fmt_file] [-n length]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.2) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz0nvs_er.c' source_filename = "/tmp/tmpz0nvs_er.c" target datalayout = "e-m:e-p270: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/tmpz0nvs_er.c" target datalayout = "e-m:e-p270: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/tmpl7slaphd.c' source_filename = "/tmp/tmpl7slaphd.c" target datalayout = "e-m:e-p270: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/tmpl7slaphd.c" target datalayout = "e-m:e-p270: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/tmpw1gd3b06.c' source_filename = "/tmp/tmpw1gd3b06.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-------- ---- ------\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printTableDivider() #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/tmpw1gd3b06.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-------- ---- ------\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printTableDivider() #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/tmprb8y1liy.c' source_filename = "/tmp/tmprb8y1liy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sshbuf_froms(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %12, %2 store i32 -10, ptr %3, align 4 br label %47 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 store ptr null, ptr %17, align 8 %18 = load ptr, ptr %4, align 8 %19 = call i32 @sshbuf_peek_string_direct(ptr noundef %18, ptr noundef %6, ptr noundef %7) store i32 %19, ptr %9, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = load i32, ptr %9, align 4 store i32 %22, ptr %3, align 4 br label %47 23: ; preds = %16 %24 = load ptr, ptr %6, align 8 %25 = load i64, ptr %7, align 8 %26 = call ptr @sshbuf_from(ptr noundef %24, i64 noundef %25) store ptr %26, ptr %8, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %29 28: ; preds = %23 store i32 -2, ptr %3, align 4 br label %47 29: ; preds = %23 %30 = load ptr, ptr %4, align 8 %31 = load i64, ptr %7, align 8 %32 = add i64 %31, 4 %33 = call i32 @sshbuf_consume(ptr noundef %30, i64 noundef %32) store i32 %33, ptr %9, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %40, label %35 35: ; preds = %29 %36 = load ptr, ptr %8, align 8 %37 = load ptr, ptr %4, align 8 %38 = call i32 @sshbuf_set_parent(ptr noundef %36, ptr noundef %37) store i32 %38, ptr %9, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %35, %29 %41 = load ptr, ptr %8, align 8 %42 = call i32 @sshbuf_free(ptr noundef %41) %43 = load i32, ptr %9, align 4 store i32 %43, ptr %3, align 4 br label %47 44: ; preds = %35 %45 = load ptr, ptr %8, align 8 %46 = load ptr, ptr %5, align 8 store ptr %45, ptr %46, align 8 store i32 0, ptr %3, align 4 br label %47 47: ; preds = %44, %40, %28, %21, %15 %48 = load i32, ptr %3, align 4 ret i32 %48 } declare i32 @sshbuf_peek_string_direct(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @sshbuf_from(ptr noundef, i64 noundef) #1 declare i32 @sshbuf_consume(ptr noundef, i64 noundef) #1 declare i32 @sshbuf_set_parent(ptr noundef, ptr noundef) #1 declare i32 @sshbuf_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/tmprb8y1liy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sshbuf_froms(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %12, %2 store i32 -10, ptr %3, align 4 br label %47 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 store ptr null, ptr %17, align 8 %18 = load ptr, ptr %4, align 8 %19 = call i32 @sshbuf_peek_string_direct(ptr noundef %18, ptr noundef %6, ptr noundef %7) store i32 %19, ptr %9, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = load i32, ptr %9, align 4 store i32 %22, ptr %3, align 4 br label %47 23: ; preds = %16 %24 = load ptr, ptr %6, align 8 %25 = load i64, ptr %7, align 8 %26 = call ptr @sshbuf_from(ptr noundef %24, i64 noundef %25) store ptr %26, ptr %8, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %29 28: ; preds = %23 store i32 -2, ptr %3, align 4 br label %47 29: ; preds = %23 %30 = load ptr, ptr %4, align 8 %31 = load i64, ptr %7, align 8 %32 = add i64 %31, 4 %33 = call i32 @sshbuf_consume(ptr noundef %30, i64 noundef %32) store i32 %33, ptr %9, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %40, label %35 35: ; preds = %29 %36 = load ptr, ptr %8, align 8 %37 = load ptr, ptr %4, align 8 %38 = call i32 @sshbuf_set_parent(ptr noundef %36, ptr noundef %37) store i32 %38, ptr %9, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %44 40: ; preds = %35, %29 %41 = load ptr, ptr %8, align 8 %42 = call i32 @sshbuf_free(ptr noundef %41) %43 = load i32, ptr %9, align 4 store i32 %43, ptr %3, align 4 br label %47 44: ; preds = %35 %45 = load ptr, ptr %8, align 8 %46 = load ptr, ptr %5, align 8 store ptr %45, ptr %46, align 8 store i32 0, ptr %3, align 4 br label %47 47: ; preds = %44, %40, %28, %21, %15 %48 = load i32, ptr %3, align 4 ret i32 %48 } declare i32 @sshbuf_peek_string_direct(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @sshbuf_from(ptr noundef, i64 noundef) #1 declare i32 @sshbuf_consume(ptr noundef, i64 noundef) #1 declare i32 @sshbuf_set_parent(ptr noundef, ptr noundef) #1 declare i32 @sshbuf_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/tmpnxmeb00x.c' source_filename = "/tmp/tmpnxmeb00x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Baud:%d\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SetBaud(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnxmeb00x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Baud:%d\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SetBaud(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaldu1x6v.c' source_filename = "/tmp/tmpaldu1x6v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"BerkeleyDB support not compiled\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @aw_bdb_get(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store i32 %2, ptr %10, align 4 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = call i32 @fatal(ptr noundef @.str) ret i32 0 } declare i32 @fatal(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaldu1x6v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"BerkeleyDB support not compiled\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @aw_bdb_get(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store i32 %2, ptr %10, align 4 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %15 = call i32 @fatal(ptr noundef @.str) ret i32 0 } declare i32 @fatal(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwq7rdrea.c' source_filename = "/tmp/tmpwq7rdrea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data-sinus.data\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lf\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %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 [64 x i8], align 16 %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 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %15, ptr %6, align 8 store i32 3, ptr %7, align 4 store i32 44100, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = mul nsw i32 %16, 2 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %9, align 8 %20 = alloca double, i64 %18, align 16 store i64 %18, ptr %10, align 8 store i32 0, ptr %13, align 4 br label %21 21: ; preds = %71, %2 %22 = load i32, ptr %13, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %74 25: ; preds = %21 store i32 1, ptr %14, align 4 br label %26 26: ; preds = %56, %25 %27 = load i32, ptr %14, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %59 30: ; preds = %26 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %14, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = call i32 @atoi(ptr noundef %35) store i32 %36, ptr %11, align 4 %37 = load i32, ptr %7, align 4 %38 = mul nsw i32 2, %37 %39 = load i32, ptr %11, align 4 %40 = mul nsw i32 %38, %39 %41 = load i32, ptr %13, align 4 %42 = mul nsw i32 %40, %41 %43 = sitofp i32 %42 to double %44 = load i32, ptr %8, align 4 %45 = sitofp i32 %44 to double %46 = fmul double 1.000000e+00, %45 %47 = fdiv double %43, %46 %48 = fptosi double %47 to i32 %49 = call i64 @sin(i32 noundef %48) %50 = sitofp i64 %49 to double %51 = load i32, ptr %13, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %20, i64 %52 %54 = load double, ptr %53, align 8 %55 = fadd double %54, %50 store double %55, ptr %53, align 8 br label %56 56: ; preds = %30 %57 = load i32, ptr %14, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %14, align 4 br label %26, !llvm.loop !6 59: ; preds = %26 %60 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %61 = load i32, ptr %13, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds double, ptr %20, i64 %62 %64 = load double, ptr %63, align 8 %65 = call i32 @sprintf(ptr noundef %60, ptr noundef @.str.2, double noundef %64) %66 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %67 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %68 = call i32 @strlen(ptr noundef %67) %69 = load ptr, ptr %6, align 8 %70 = call i32 @fwrite(ptr noundef %66, i32 noundef 1, i32 noundef %68, ptr noundef %69) br label %71 71: ; preds = %59 %72 = load i32, ptr %13, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %13, align 4 br label %21, !llvm.loop !8 74: ; preds = %21 %75 = load ptr, ptr %6, align 8 %76 = call i32 @fclose(ptr noundef %75) %77 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %77, ptr %3, align 4 %78 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %78) %79 = load i32, ptr %3, align 4 ret i32 %79 } declare ptr @fopen(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @atoi(ptr noundef) #1 declare i64 @sin(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fclose(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/tmpwq7rdrea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data-sinus.data\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lf\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %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 [64 x i8], align 16 %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 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %15, ptr %6, align 8 store i32 3, ptr %7, align 4 store i32 44100, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = mul nsw i32 %16, 2 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %9, align 8 %20 = alloca double, i64 %18, align 16 store i64 %18, ptr %10, align 8 store i32 0, ptr %13, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph2, label %78 .lr.ph2: ; preds = %2 br label %24 24: ; preds = %.lr.ph2, %72 store i32 1, ptr %14, align 4 %25 = load i32, ptr %14, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %60 .lr.ph: ; preds = %24 br label %28 28: ; preds = %.lr.ph, %54 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %14, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = call i32 @atoi(ptr noundef %33) store i32 %34, ptr %11, align 4 %35 = load i32, ptr %7, align 4 %36 = mul nsw i32 2, %35 %37 = load i32, ptr %11, align 4 %38 = mul nsw i32 %36, %37 %39 = load i32, ptr %13, align 4 %40 = mul nsw i32 %38, %39 %41 = sitofp i32 %40 to double %42 = load i32, ptr %8, align 4 %43 = sitofp i32 %42 to double %44 = fmul double 1.000000e+00, %43 %45 = fdiv double %41, %44 %46 = fptosi double %45 to i32 %47 = call i64 @sin(i32 noundef %46) %48 = sitofp i64 %47 to double %49 = load i32, ptr %13, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %20, i64 %50 %52 = load double, ptr %51, align 8 %53 = fadd double %52, %48 store double %53, ptr %51, align 8 br label %54 54: ; preds = %28 %55 = load i32, ptr %14, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %14, align 4 %57 = load i32, ptr %14, align 4 %58 = load i32, ptr %4, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %54 br label %60 60: ; preds = %._crit_edge, %24 %61 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %62 = load i32, ptr %13, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %20, i64 %63 %65 = load double, ptr %64, align 8 %66 = call i32 @sprintf(ptr noundef %61, ptr noundef @.str.2, double noundef %65) %67 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %68 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %69 = call i32 @strlen(ptr noundef %68) %70 = load ptr, ptr %6, align 8 %71 = call i32 @fwrite(ptr noundef %67, i32 noundef 1, i32 noundef %69, ptr noundef %70) br label %72 72: ; preds = %60 %73 = load i32, ptr %13, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %13, align 4 %75 = load i32, ptr %13, align 4 %76 = load i32, ptr %8, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %78 78: ; preds = %._crit_edge3, %2 %79 = load ptr, ptr %6, align 8 %80 = call i32 @fclose(ptr noundef %79) %81 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %81, ptr %3, align 4 %82 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %82) %83 = load i32, ptr %3, align 4 ret i32 %83 } declare ptr @fopen(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @atoi(ptr noundef) #1 declare i64 @sin(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fclose(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/tmp60ip7zze.c' source_filename = "/tmp/tmp60ip7zze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expect_and_skip_spaces(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %17, %2 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @fgetc(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = call i32 %8(i32 noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %7 %14 = load i32, ptr %6, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %17, label %16 16: ; preds = %13 store i32 1, ptr %6, align 4 br label %17 17: ; preds = %16, %13 br label %7, !llvm.loop !6 18: ; preds = %7 %19 = load i32, ptr %5, align 4 %20 = load ptr, ptr %3, align 8 %21 = call i32 @ungetc(i32 noundef %19, ptr noundef %20) %22 = load i32, ptr %6, align 4 ret i32 %22 } declare i32 @fgetc(ptr noundef) #1 declare i32 @ungetc(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/tmp60ip7zze.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expect_and_skip_spaces(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @fgetc(ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = call i32 %7(i32 noundef %9) %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %16 %13 = load i32, ptr %6, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %12 store i32 1, ptr %6, align 4 br label %16 16: ; preds = %15, %12 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 %19 = call i32 @fgetc(ptr noundef %18) store i32 %19, ptr %5, align 4 %20 = call i32 %17(i32 noundef %19) %21 = icmp ne i32 %20, 0 br i1 %21, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = load i32, ptr %5, align 4 %24 = load ptr, ptr %3, align 8 %25 = call i32 @ungetc(i32 noundef %23, ptr noundef %24) %26 = load i32, ptr %6, align 4 ret i32 %26 } declare i32 @fgetc(ptr noundef) #1 declare i32 @ungetc(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/tmpn5yt1w3v.c' source_filename = "/tmp/tmpn5yt1w3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcncpy(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i64 %3, ptr %8, align 8 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %7, align 4 %14 = load i64, ptr %8, align 8 %15 = call ptr @memchr(ptr noundef %12, i32 noundef %13, i64 noundef %14) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %4 %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %8, align 8 %21 = call i64 @strnlen(ptr noundef %19, i64 noundef %20) br label %28 22: ; preds = %4 %23 = load ptr, ptr %9, align 8 %24 = load ptr, ptr %6, align 8 %25 = ptrtoint ptr %23 to i64 %26 = ptrtoint ptr %24 to i64 %27 = sub i64 %25, %26 br label %28 28: ; preds = %22, %18 %29 = phi i64 [ %21, %18 ], [ %27, %22 ] store i64 %29, ptr %10, align 8 %30 = load ptr, ptr %9, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %33 32: ; preds = %28 br label %37 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = load i64, ptr %10, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 br label %37 37: ; preds = %33, %32 %38 = phi ptr [ null, %32 ], [ %36, %33 ] store ptr %38, ptr %11, align 8 %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %6, align 8 %41 = load i64, ptr %10, align 8 %42 = call i32 @memcpy(ptr noundef %39, ptr noundef %40, i64 noundef %41) %43 = load ptr, ptr %5, align 8 %44 = load i64, ptr %10, align 8 %45 = getelementptr inbounds i8, ptr %43, i64 %44 %46 = load i64, ptr %8, align 8 %47 = load i64, ptr %10, align 8 %48 = sub i64 %46, %47 %49 = call i32 @memset(ptr noundef %45, i32 noundef 0, i64 noundef %48) %50 = load ptr, ptr %11, align 8 ret ptr %50 } declare ptr @memchr(ptr noundef, i32 noundef, i64 noundef) #1 declare i64 @strnlen(ptr noundef, i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn5yt1w3v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcncpy(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i64 %3, ptr %8, align 8 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %7, align 4 %14 = load i64, ptr %8, align 8 %15 = call ptr @memchr(ptr noundef %12, i32 noundef %13, i64 noundef %14) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %9, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %4 %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %8, align 8 %21 = call i64 @strnlen(ptr noundef %19, i64 noundef %20) br label %28 22: ; preds = %4 %23 = load ptr, ptr %9, align 8 %24 = load ptr, ptr %6, align 8 %25 = ptrtoint ptr %23 to i64 %26 = ptrtoint ptr %24 to i64 %27 = sub i64 %25, %26 br label %28 28: ; preds = %22, %18 %29 = phi i64 [ %21, %18 ], [ %27, %22 ] store i64 %29, ptr %10, align 8 %30 = load ptr, ptr %9, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %33 32: ; preds = %28 br label %37 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = load i64, ptr %10, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 br label %37 37: ; preds = %33, %32 %38 = phi ptr [ null, %32 ], [ %36, %33 ] store ptr %38, ptr %11, align 8 %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %6, align 8 %41 = load i64, ptr %10, align 8 %42 = call i32 @memcpy(ptr noundef %39, ptr noundef %40, i64 noundef %41) %43 = load ptr, ptr %5, align 8 %44 = load i64, ptr %10, align 8 %45 = getelementptr inbounds i8, ptr %43, i64 %44 %46 = load i64, ptr %8, align 8 %47 = load i64, ptr %10, align 8 %48 = sub i64 %46, %47 %49 = call i32 @memset(ptr noundef %45, i32 noundef 0, i64 noundef %48) %50 = load ptr, ptr %11, align 8 ret ptr %50 } declare ptr @memchr(ptr noundef, i32 noundef, i64 noundef) #1 declare i64 @strnlen(ptr noundef, i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgwmgky40.c' source_filename = "/tmp/tmpgwmgky40.c" target datalayout = "e-m:e-p270: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/tmpgwmgky40.c" target datalayout = "e-m:e-p270: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/tmp5x4ts5_b.c' source_filename = "/tmp/tmp5x4ts5_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoi_woffset(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 = load i32, ptr %4, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = call i32 @atoi(ptr noundef %8) ret i32 %9 } declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5x4ts5_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoi_woffset(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 = load i32, ptr %4, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = call i32 @atoi(ptr noundef %8) ret i32 %9 } declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpazdzgq1l.c' source_filename = "/tmp/tmpazdzgq1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @osmo_get2bytes(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 i64, ptr %3, i64 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 %7 = shl i32 %6, 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i64, ptr %8, i64 1 %10 = load i64, ptr %9, align 8 %11 = trunc i64 %10 to i32 %12 = add nsw i32 %7, %11 ret i32 %12 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpazdzgq1l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @osmo_get2bytes(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 i64, ptr %3, i64 0 %5 = load i64, ptr %4, align 8 %6 = trunc i64 %5 to i32 %7 = shl i32 %6, 8 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i64, ptr %8, i64 1 %10 = load i64, ptr %9, align 8 %11 = trunc i64 %10 to i32 %12 = add nsw i32 %7, %11 ret i32 %12 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9v_avezi.c' source_filename = "/tmp/tmp9v_avezi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2.2x\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"current hash: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @hashword(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca [16 x i32], align 16 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %8 = call ptr @malloc(i32 noundef 33) store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @memset(ptr noundef %9, i8 noundef signext 0, i32 noundef 33) %11 = call ptr @malloc(i32 noundef 33) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i64 @strlen(ptr noundef %12) store i64 %13, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %14 14: ; preds = %22, %1 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 1000000 br i1 %16, label %17, label %25 17: ; preds = %14 %18 = load ptr, ptr %2, align 8 %19 = load i64, ptr %3, align 8 %20 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 0 %21 = call i32 @md5(ptr noundef %18, i64 noundef %19, ptr noundef %20) br label %22 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %14, !llvm.loop !6 25: ; preds = %14 store i32 0, ptr %4, align 4 br label %26 26: ; preds = %41, %25 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %27, 16 br i1 %28, label %29, label %44 29: ; preds = %26 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 @sprintf(ptr noundef %30, ptr noundef @.str, i32 noundef %34) %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %7, align 8 %38 = call i32 @strncat(ptr noundef %36, ptr noundef %37, i32 noundef 33) %39 = load ptr, ptr %6, align 8 %40 = call i32 @printf(ptr noundef @.str.1, ptr noundef %39) br label %41 41: ; preds = %29 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 br label %26, !llvm.loop !8 44: ; preds = %26 %45 = load ptr, ptr %6, align 8 ret ptr %45 } declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @md5(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9v_avezi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2.2x\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"current hash: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @hashword(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca [16 x i32], align 16 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %8 = call ptr @malloc(i32 noundef 33) store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @memset(ptr noundef %9, i8 noundef signext 0, i32 noundef 33) %11 = call ptr @malloc(i32 noundef 33) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i64 @strlen(ptr noundef %12) store i64 %13, ptr %3, align 8 store i32 0, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 1000000 br i1 %15, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %21 %17 = load ptr, ptr %2, align 8 %18 = load i64, ptr %3, align 8 %19 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 0 %20 = call i32 @md5(ptr noundef %17, i64 noundef %18, ptr noundef %19) br label %21 21: ; preds = %16 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %24, 1000000 br i1 %25, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %1 store i32 0, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %27, 16 br i1 %28, label %.lr.ph2, label %46 .lr.ph2: ; preds = %26 br label %29 29: ; preds = %.lr.ph2, %41 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 @sprintf(ptr noundef %30, ptr noundef @.str, i32 noundef %34) %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %7, align 8 %38 = call i32 @strncat(ptr noundef %36, ptr noundef %37, i32 noundef 33) %39 = load ptr, ptr %6, align 8 %40 = call i32 @printf(ptr noundef @.str.1, ptr noundef %39) br label %41 41: ; preds = %29 %42 = load i32, ptr %4, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %4, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %44, 16 br i1 %45, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %26 %47 = load ptr, ptr %6, align 8 ret ptr %47 } declare ptr @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @md5(ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp57e2_vov.c' source_filename = "/tmp/tmp57e2_vov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @A7_main() ret i32 0 } declare i32 @A7_main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp57e2_vov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @A7_main() ret i32 0 } declare i32 @A7_main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp91c8_4qs.c' source_filename = "/tmp/tmp91c8_4qs.c" target datalayout = "e-m:e-p270: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/tmp91c8_4qs.c" target datalayout = "e-m:e-p270: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/tmpk04d6p5s.c' source_filename = "/tmp/tmpk04d6p5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"ARIEL-CLIENT: Library enabled.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ariel_enable() #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/tmpk04d6p5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"ARIEL-CLIENT: Library enabled.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ariel_enable() #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/tmps64agl7c.c' source_filename = "/tmp/tmps64agl7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [49 x i8] c"%s:%d: in func %s: realloc error out of memory!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @aRealloc_(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %12 = load ptr, ptr %6, align 8 %13 = load i64, ptr %7, align 8 %14 = call ptr @realloc(ptr noundef %12, i64 noundef %13) #4 store ptr %14, ptr %11, align 8 %15 = load ptr, ptr %11, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %23 17: ; preds = %5 %18 = load ptr, ptr %8, align 8 %19 = load i32, ptr %9, align 4 %20 = load ptr, ptr %10, align 8 %21 = call i32 @printf(ptr noundef @.str, ptr noundef %18, i32 noundef %19, ptr noundef %20) %22 = call i32 @exit(i32 noundef 1) #5 unreachable 23: ; preds = %5 %24 = load ptr, ptr %11, align 8 ret ptr %24 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps64agl7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [49 x i8] c"%s:%d: in func %s: realloc error out of memory!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @aRealloc_(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %12 = load ptr, ptr %6, align 8 %13 = load i64, ptr %7, align 8 %14 = call ptr @realloc(ptr noundef %12, i64 noundef %13) #4 store ptr %14, ptr %11, align 8 %15 = load ptr, ptr %11, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %23 17: ; preds = %5 %18 = load ptr, ptr %8, align 8 %19 = load i32, ptr %9, align 4 %20 = load ptr, ptr %10, align 8 %21 = call i32 @printf(ptr noundef @.str, ptr noundef %18, i32 noundef %19, ptr noundef %20) %22 = call i32 @exit(i32 noundef 1) #5 unreachable 23: ; preds = %5 %24 = load ptr, ptr %11, align 8 ret ptr %24 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgzw0bljo.c' source_filename = "/tmp/tmpgzw0bljo.c" target datalayout = "e-m:e-p270: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/tmpgzw0bljo.c" target datalayout = "e-m:e-p270: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/tmp6ib3cgka.c' source_filename = "/tmp/tmp6ib3cgka.c" target datalayout = "e-m:e-p270: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/tmp6ib3cgka.c" target datalayout = "e-m:e-p270: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/tmpnfw7mpba.c' source_filename = "/tmp/tmpnfw7mpba.c" target datalayout = "e-m:e-p270: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/tmpnfw7mpba.c" target datalayout = "e-m:e-p270: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/tmph00r_62x.c' source_filename = "/tmp/tmph00r_62x.c" target datalayout = "e-m:e-p270: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/tmph00r_62x.c" target datalayout = "e-m:e-p270: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/tmpyephingu.c' source_filename = "/tmp/tmpyephingu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"GAUSSJ: Singular Matrix-1\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"GAUSSJ: Singular Matrix-2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gaussj(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca float, align 4 %21 = alloca float, align 4 %22 = alloca float, align 4 %23 = alloca float, align 4 %24 = alloca float, align 4 %25 = alloca float, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 -1, ptr %14, align 4 store i32 -1, ptr %15, align 4 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %26, 1 %28 = call ptr @ivector(i32 noundef 0, i32 noundef %27) store ptr %28, ptr %10, align 8 %29 = load i32, ptr %7, align 4 %30 = sub nsw i32 %29, 1 %31 = call ptr @ivector(i32 noundef 0, i32 noundef %30) store ptr %31, ptr %11, align 8 %32 = load i32, ptr %7, align 4 %33 = sub nsw i32 %32, 1 %34 = call ptr @ivector(i32 noundef 0, i32 noundef %33) store ptr %34, ptr %12, align 8 store i32 0, ptr %16, align 4 br label %35 35: ; preds = %44, %4 %36 = load i32, ptr %16, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %47 39: ; preds = %35 %40 = load ptr, ptr %12, align 8 %41 = load i32, ptr %16, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 store i32 0, ptr %43, align 4 br label %44 44: ; preds = %39 %45 = load i32, ptr %16, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %16, align 4 br label %35, !llvm.loop !6 47: ; preds = %35 store i32 0, ptr %13, align 4 br label %48 48: ; preds = %397, %47 %49 = load i32, ptr %13, align 4 %50 = load i32, ptr %7, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %400 52: ; preds = %48 store float 0.000000e+00, ptr %20, align 4 store i32 0, ptr %16, align 4 br label %53 53: ; preds = %119, %52 %54 = load i32, ptr %16, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %122 57: ; preds = %53 %58 = load ptr, ptr %12, align 8 %59 = load i32, ptr %16, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = icmp ne i32 %62, 1 br i1 %63, label %64, label %118 64: ; preds = %57 store i32 0, ptr %17, align 4 br label %65 65: ; preds = %114, %64 %66 = load i32, ptr %17, align 4 %67 = load i32, ptr %7, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %69, label %117 69: ; preds = %65 %70 = load ptr, ptr %12, align 8 %71 = load i32, ptr %17, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 %74 = load i32, ptr %73, align 4 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %103 76: ; preds = %69 %77 = load ptr, ptr %6, align 8 %78 = load i32, ptr %16, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds ptr, ptr %77, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = load i32, ptr %17, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds float, ptr %81, i64 %83 %85 = load float, ptr %84, align 4 %86 = call float @fabs(float noundef %85) %87 = load float, ptr %20, align 4 %88 = fcmp oge float %86, %87 br i1 %88, label %89, label %102 89: ; preds = %76 %90 = load ptr, ptr %6, align 8 %91 = load i32, ptr %16, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds ptr, ptr %90, i64 %92 %94 = load ptr, ptr %93, align 8 %95 = load i32, ptr %17, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds float, ptr %94, i64 %96 %98 = load float, ptr %97, align 4 %99 = call float @fabs(float noundef %98) store float %99, ptr %20, align 4 %100 = load i32, ptr %16, align 4 store i32 %100, ptr %15, align 4 %101 = load i32, ptr %17, align 4 store i32 %101, ptr %14, align 4 br label %102 102: ; preds = %89, %76 br label %113 103: ; preds = %69 %104 = load ptr, ptr %12, align 8 %105 = load i32, ptr %17, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i32, ptr %104, i64 %106 %108 = load i32, ptr %107, align 4 %109 = icmp sgt i32 %108, 1 br i1 %109, label %110, label %112 110: ; preds = %103 %111 = call i32 @nrerror_return(ptr noundef @.str) store i32 %111, ptr %5, align 4 br label %496 112: ; preds = %103 br label %113 113: ; preds = %112, %102 br label %114 114: ; preds = %113 %115 = load i32, ptr %17, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %17, align 4 br label %65, !llvm.loop !8 117: ; preds = %65 br label %118 118: ; preds = %117, %57 br label %119 119: ; preds = %118 %120 = load i32, ptr %16, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %16, align 4 br label %53, !llvm.loop !9 122: ; preds = %53 %123 = load ptr, ptr %12, align 8 %124 = load i32, ptr %14, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i32, ptr %123, i64 %125 %127 = load i32, ptr %126, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %126, align 4 %129 = load i32, ptr %15, align 4 %130 = load i32, ptr %14, align 4 %131 = icmp ne i32 %129, %130 br i1 %131, label %132, label %221 132: ; preds = %122 store i32 0, ptr %18, align 4 br label %133 133: ; preds = %173, %132 %134 = load i32, ptr %18, align 4 %135 = load i32, ptr %7, align 4 %136 = icmp slt i32 %134, %135 br i1 %136, label %137, label %176 137: ; preds = %133 %138 = load ptr, ptr %6, align 8 %139 = load i32, ptr %15, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds ptr, ptr %138, i64 %140 %142 = load ptr, ptr %141, align 8 %143 = load i32, ptr %18, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds float, ptr %142, i64 %144 %146 = load float, ptr %145, align 4 store float %146, ptr %23, align 4 %147 = load ptr, ptr %6, align 8 %148 = load i32, ptr %14, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds ptr, ptr %147, i64 %149 %151 = load ptr, ptr %150, align 8 %152 = load i32, ptr %18, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds float, ptr %151, i64 %153 %155 = load float, ptr %154, align 4 %156 = load ptr, ptr %6, align 8 %157 = load i32, ptr %15, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds ptr, ptr %156, i64 %158 %160 = load ptr, ptr %159, align 8 %161 = load i32, ptr %18, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds float, ptr %160, i64 %162 store float %155, ptr %163, align 4 %164 = load float, ptr %23, align 4 %165 = load ptr, ptr %6, align 8 %166 = load i32, ptr %14, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds ptr, ptr %165, i64 %167 %169 = load ptr, ptr %168, align 8 %170 = load i32, ptr %18, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds float, ptr %169, i64 %171 store float %164, ptr %172, align 4 br label %173 173: ; preds = %137 %174 = load i32, ptr %18, align 4 %175 = add nsw i32 %174, 1 store i32 %175, ptr %18, align 4 br label %133, !llvm.loop !10 176: ; preds = %133 store i32 0, ptr %18, align 4 br label %177 177: ; preds = %217, %176 %178 = load i32, ptr %18, align 4 %179 = load i32, ptr %9, align 4 %180 = icmp slt i32 %178, %179 br i1 %180, label %181, label %220 181: ; preds = %177 %182 = load ptr, ptr %8, align 8 %183 = load i32, ptr %15, align 4 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds ptr, ptr %182, i64 %184 %186 = load ptr, ptr %185, align 8 %187 = load i32, ptr %18, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds float, ptr %186, i64 %188 %190 = load float, ptr %189, align 4 store float %190, ptr %24, align 4 %191 = load ptr, ptr %8, align 8 %192 = load i32, ptr %14, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds ptr, ptr %191, i64 %193 %195 = load ptr, ptr %194, align 8 %196 = load i32, ptr %18, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds float, ptr %195, i64 %197 %199 = load float, ptr %198, align 4 %200 = load ptr, ptr %8, align 8 %201 = load i32, ptr %15, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds ptr, ptr %200, i64 %202 %204 = load ptr, ptr %203, align 8 %205 = load i32, ptr %18, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds float, ptr %204, i64 %206 store float %199, ptr %207, align 4 %208 = load float, ptr %24, align 4 %209 = load ptr, ptr %8, align 8 %210 = load i32, ptr %14, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds ptr, ptr %209, i64 %211 %213 = load ptr, ptr %212, align 8 %214 = load i32, ptr %18, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds float, ptr %213, i64 %215 store float %208, ptr %216, align 4 br label %217 217: ; preds = %181 %218 = load i32, ptr %18, align 4 %219 = add nsw i32 %218, 1 store i32 %219, ptr %18, align 4 br label %177, !llvm.loop !11 220: ; preds = %177 br label %221 221: ; preds = %220, %122 %222 = load i32, ptr %15, align 4 %223 = load ptr, ptr %11, align 8 %224 = load i32, ptr %13, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds i32, ptr %223, i64 %225 store i32 %222, ptr %226, align 4 %227 = load i32, ptr %14, align 4 %228 = load ptr, ptr %10, align 8 %229 = load i32, ptr %13, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds i32, ptr %228, i64 %230 store i32 %227, ptr %231, align 4 %232 = load ptr, ptr %6, align 8 %233 = load i32, ptr %14, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds ptr, ptr %232, i64 %234 %236 = load ptr, ptr %235, align 8 %237 = load i32, ptr %14, align 4 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds float, ptr %236, i64 %238 %240 = load float, ptr %239, align 4 %241 = fpext float %240 to double %242 = fcmp oeq double %241, 0.000000e+00 br i1 %242, label %243, label %245 243: ; preds = %221 %244 = call i32 @nrerror_return(ptr noundef @.str.1) store i32 %244, ptr %5, align 4 br label %496 245: ; preds = %221 %246 = load ptr, ptr %6, align 8 %247 = load i32, ptr %14, align 4 %248 = sext i32 %247 to i64 %249 = getelementptr inbounds ptr, ptr %246, i64 %248 %250 = load ptr, ptr %249, align 8 %251 = load i32, ptr %14, align 4 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds float, ptr %250, i64 %252 %254 = load float, ptr %253, align 4 %255 = fpext float %254 to double %256 = fdiv double 1.000000e+00, %255 %257 = fptrunc double %256 to float store float %257, ptr %22, align 4 %258 = load ptr, ptr %6, align 8 %259 = load i32, ptr %14, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds ptr, ptr %258, i64 %260 %262 = load ptr, ptr %261, align 8 %263 = load i32, ptr %14, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds float, ptr %262, i64 %264 store float 1.000000e+00, ptr %265, align 4 store i32 0, ptr %18, align 4 br label %266 266: ; preds = %282, %245 %267 = load i32, ptr %18, align 4 %268 = load i32, ptr %7, align 4 %269 = icmp slt i32 %267, %268 br i1 %269, label %270, label %285 270: ; preds = %266 %271 = load float, ptr %22, align 4 %272 = load ptr, ptr %6, align 8 %273 = load i32, ptr %14, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds ptr, ptr %272, i64 %274 %276 = load ptr, ptr %275, align 8 %277 = load i32, ptr %18, align 4 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds float, ptr %276, i64 %278 %280 = load float, ptr %279, align 4 %281 = fmul float %280, %271 store float %281, ptr %279, align 4 br label %282 282: ; preds = %270 %283 = load i32, ptr %18, align 4 %284 = add nsw i32 %283, 1 store i32 %284, ptr %18, align 4 br label %266, !llvm.loop !12 285: ; preds = %266 store i32 0, ptr %18, align 4 br label %286 286: ; preds = %302, %285 %287 = load i32, ptr %18, align 4 %288 = load i32, ptr %9, align 4 %289 = icmp slt i32 %287, %288 br i1 %289, label %290, label %305 290: ; preds = %286 %291 = load float, ptr %22, align 4 %292 = load ptr, ptr %8, align 8 %293 = load i32, ptr %14, align 4 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds ptr, ptr %292, i64 %294 %296 = load ptr, ptr %295, align 8 %297 = load i32, ptr %18, align 4 %298 = sext i32 %297 to i64 %299 = getelementptr inbounds float, ptr %296, i64 %298 %300 = load float, ptr %299, align 4 %301 = fmul float %300, %291 store float %301, ptr %299, align 4 br label %302 302: ; preds = %290 %303 = load i32, ptr %18, align 4 %304 = add nsw i32 %303, 1 store i32 %304, ptr %18, align 4 br label %286, !llvm.loop !13 305: ; preds = %286 store i32 0, ptr %19, align 4 br label %306 306: ; preds = %393, %305 %307 = load i32, ptr %19, align 4 %308 = load i32, ptr %7, align 4 %309 = icmp slt i32 %307, %308 br i1 %309, label %310, label %396 310: ; preds = %306 %311 = load i32, ptr %19, align 4 %312 = load i32, ptr %14, align 4 %313 = icmp ne i32 %311, %312 br i1 %313, label %314, label %392 314: ; preds = %310 %315 = load ptr, ptr %6, align 8 %316 = load i32, ptr %19, align 4 %317 = sext i32 %316 to i64 %318 = getelementptr inbounds ptr, ptr %315, i64 %317 %319 = load ptr, ptr %318, align 8 %320 = load i32, ptr %14, align 4 %321 = sext i32 %320 to i64 %322 = getelementptr inbounds float, ptr %319, i64 %321 %323 = load float, ptr %322, align 4 store float %323, ptr %21, align 4 %324 = load ptr, ptr %6, align 8 %325 = load i32, ptr %19, align 4 %326 = sext i32 %325 to i64 %327 = getelementptr inbounds ptr, ptr %324, i64 %326 %328 = load ptr, ptr %327, align 8 %329 = load i32, ptr %14, align 4 %330 = sext i32 %329 to i64 %331 = getelementptr inbounds float, ptr %328, i64 %330 store float 0.000000e+00, ptr %331, align 4 store i32 0, ptr %18, align 4 br label %332 332: ; preds = %358, %314 %333 = load i32, ptr %18, align 4 %334 = load i32, ptr %7, align 4 %335 = icmp slt i32 %333, %334 br i1 %335, label %336, label %361 336: ; preds = %332 %337 = load ptr, ptr %6, align 8 %338 = load i32, ptr %14, align 4 %339 = sext i32 %338 to i64 %340 = getelementptr inbounds ptr, ptr %337, i64 %339 %341 = load ptr, ptr %340, align 8 %342 = load i32, ptr %18, align 4 %343 = sext i32 %342 to i64 %344 = getelementptr inbounds float, ptr %341, i64 %343 %345 = load float, ptr %344, align 4 %346 = load float, ptr %21, align 4 %347 = load ptr, ptr %6, align 8 %348 = load i32, ptr %19, align 4 %349 = sext i32 %348 to i64 %350 = getelementptr inbounds ptr, ptr %347, i64 %349 %351 = load ptr, ptr %350, align 8 %352 = load i32, ptr %18, align 4 %353 = sext i32 %352 to i64 %354 = getelementptr inbounds float, ptr %351, i64 %353 %355 = load float, ptr %354, align 4 %356 = fneg float %345 %357 = call float @llvm.fmuladd.f32(float %356, float %346, float %355) store float %357, ptr %354, align 4 br label %358 358: ; preds = %336 %359 = load i32, ptr %18, align 4 %360 = add nsw i32 %359, 1 store i32 %360, ptr %18, align 4 br label %332, !llvm.loop !14 361: ; preds = %332 store i32 0, ptr %18, align 4 br label %362 362: ; preds = %388, %361 %363 = load i32, ptr %18, align 4 %364 = load i32, ptr %9, align 4 %365 = icmp slt i32 %363, %364 br i1 %365, label %366, label %391 366: ; preds = %362 %367 = load ptr, ptr %8, align 8 %368 = load i32, ptr %14, align 4 %369 = sext i32 %368 to i64 %370 = getelementptr inbounds ptr, ptr %367, i64 %369 %371 = load ptr, ptr %370, align 8 %372 = load i32, ptr %18, align 4 %373 = sext i32 %372 to i64 %374 = getelementptr inbounds float, ptr %371, i64 %373 %375 = load float, ptr %374, align 4 %376 = load float, ptr %21, align 4 %377 = load ptr, ptr %8, align 8 %378 = load i32, ptr %19, align 4 %379 = sext i32 %378 to i64 %380 = getelementptr inbounds ptr, ptr %377, i64 %379 %381 = load ptr, ptr %380, align 8 %382 = load i32, ptr %18, align 4 %383 = sext i32 %382 to i64 %384 = getelementptr inbounds float, ptr %381, i64 %383 %385 = load float, ptr %384, align 4 %386 = fneg float %375 %387 = call float @llvm.fmuladd.f32(float %386, float %376, float %385) store float %387, ptr %384, align 4 br label %388 388: ; preds = %366 %389 = load i32, ptr %18, align 4 %390 = add nsw i32 %389, 1 store i32 %390, ptr %18, align 4 br label %362, !llvm.loop !15 391: ; preds = %362 br label %392 392: ; preds = %391, %310 br label %393 393: ; preds = %392 %394 = load i32, ptr %19, align 4 %395 = add nsw i32 %394, 1 store i32 %395, ptr %19, align 4 br label %306, !llvm.loop !16 396: ; preds = %306 br label %397 397: ; preds = %396 %398 = load i32, ptr %13, align 4 %399 = add nsw i32 %398, 1 store i32 %399, ptr %13, align 4 br label %48, !llvm.loop !17 400: ; preds = %48 %401 = load i32, ptr %7, align 4 %402 = sub nsw i32 %401, 1 store i32 %402, ptr %18, align 4 br label %403 403: ; preds = %480, %400 %404 = load i32, ptr %18, align 4 %405 = icmp sge i32 %404, 0 br i1 %405, label %406, label %483 406: ; preds = %403 %407 = load ptr, ptr %11, align 8 %408 = load i32, ptr %18, align 4 %409 = sext i32 %408 to i64 %410 = getelementptr inbounds i32, ptr %407, i64 %409 %411 = load i32, ptr %410, align 4 %412 = load ptr, ptr %10, align 8 %413 = load i32, ptr %18, align 4 %414 = sext i32 %413 to i64 %415 = getelementptr inbounds i32, ptr %412, i64 %414 %416 = load i32, ptr %415, align 4 %417 = icmp ne i32 %411, %416 br i1 %417, label %418, label %479 418: ; preds = %406 store i32 0, ptr %17, align 4 br label %419 419: ; preds = %475, %418 %420 = load i32, ptr %17, align 4 %421 = load i32, ptr %7, align 4 %422 = icmp slt i32 %420, %421 br i1 %422, label %423, label %478 423: ; preds = %419 %424 = load ptr, ptr %6, align 8 %425 = load i32, ptr %17, align 4 %426 = sext i32 %425 to i64 %427 = getelementptr inbounds ptr, ptr %424, i64 %426 %428 = load ptr, ptr %427, align 8 %429 = load ptr, ptr %11, align 8 %430 = load i32, ptr %18, align 4 %431 = sext i32 %430 to i64 %432 = getelementptr inbounds i32, ptr %429, i64 %431 %433 = load i32, ptr %432, align 4 %434 = sext i32 %433 to i64 %435 = getelementptr inbounds float, ptr %428, i64 %434 %436 = load float, ptr %435, align 4 store float %436, ptr %25, align 4 %437 = load ptr, ptr %6, align 8 %438 = load i32, ptr %17, align 4 %439 = sext i32 %438 to i64 %440 = getelementptr inbounds ptr, ptr %437, i64 %439 %441 = load ptr, ptr %440, align 8 %442 = load ptr, ptr %10, align 8 %443 = load i32, ptr %18, align 4 %444 = sext i32 %443 to i64 %445 = getelementptr inbounds i32, ptr %442, i64 %444 %446 = load i32, ptr %445, align 4 %447 = sext i32 %446 to i64 %448 = getelementptr inbounds float, ptr %441, i64 %447 %449 = load float, ptr %448, align 4 %450 = load ptr, ptr %6, align 8 %451 = load i32, ptr %17, align 4 %452 = sext i32 %451 to i64 %453 = getelementptr inbounds ptr, ptr %450, i64 %452 %454 = load ptr, ptr %453, align 8 %455 = load ptr, ptr %11, align 8 %456 = load i32, ptr %18, align 4 %457 = sext i32 %456 to i64 %458 = getelementptr inbounds i32, ptr %455, i64 %457 %459 = load i32, ptr %458, align 4 %460 = sext i32 %459 to i64 %461 = getelementptr inbounds float, ptr %454, i64 %460 store float %449, ptr %461, align 4 %462 = load float, ptr %25, align 4 %463 = load ptr, ptr %6, align 8 %464 = load i32, ptr %17, align 4 %465 = sext i32 %464 to i64 %466 = getelementptr inbounds ptr, ptr %463, i64 %465 %467 = load ptr, ptr %466, align 8 %468 = load ptr, ptr %10, align 8 %469 = load i32, ptr %18, align 4 %470 = sext i32 %469 to i64 %471 = getelementptr inbounds i32, ptr %468, i64 %470 %472 = load i32, ptr %471, align 4 %473 = sext i32 %472 to i64 %474 = getelementptr inbounds float, ptr %467, i64 %473 store float %462, ptr %474, align 4 br label %475 475: ; preds = %423 %476 = load i32, ptr %17, align 4 %477 = add nsw i32 %476, 1 store i32 %477, ptr %17, align 4 br label %419, !llvm.loop !18 478: ; preds = %419 br label %479 479: ; preds = %478, %406 br label %480 480: ; preds = %479 %481 = load i32, ptr %18, align 4 %482 = add nsw i32 %481, -1 store i32 %482, ptr %18, align 4 br label %403, !llvm.loop !19 483: ; preds = %403 %484 = load ptr, ptr %12, align 8 %485 = load i32, ptr %7, align 4 %486 = sub nsw i32 %485, 1 %487 = call i32 @free_ivector(ptr noundef %484, i32 noundef 0, i32 noundef %486) %488 = load ptr, ptr %11, align 8 %489 = load i32, ptr %7, align 4 %490 = sub nsw i32 %489, 1 %491 = call i32 @free_ivector(ptr noundef %488, i32 noundef 0, i32 noundef %490) %492 = load ptr, ptr %10, align 8 %493 = load i32, ptr %7, align 4 %494 = sub nsw i32 %493, 1 %495 = call i32 @free_ivector(ptr noundef %492, i32 noundef 0, i32 noundef %494) store i32 0, ptr %5, align 4 br label %496 496: ; preds = %483, %243, %110 %497 = load i32, ptr %5, align 4 ret i32 %497 } declare ptr @ivector(i32 noundef, i32 noundef) #1 declare float @fabs(float noundef) #1 declare i32 @nrerror_return(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @free_ivector(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyephingu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"GAUSSJ: Singular Matrix-1\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"GAUSSJ: Singular Matrix-2\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gaussj(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca float, align 4 %21 = alloca float, align 4 %22 = alloca float, align 4 %23 = alloca float, align 4 %24 = alloca float, align 4 %25 = alloca float, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 -1, ptr %14, align 4 store i32 -1, ptr %15, align 4 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %26, 1 %28 = call ptr @ivector(i32 noundef 0, i32 noundef %27) store ptr %28, ptr %10, align 8 %29 = load i32, ptr %7, align 4 %30 = sub nsw i32 %29, 1 %31 = call ptr @ivector(i32 noundef 0, i32 noundef %30) store ptr %31, ptr %11, align 8 %32 = load i32, ptr %7, align 4 %33 = sub nsw i32 %32, 1 %34 = call ptr @ivector(i32 noundef 0, i32 noundef %33) store ptr %34, ptr %12, align 8 store i32 0, ptr %16, align 4 %35 = load i32, ptr %16, align 4 %36 = load i32, ptr %7, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph, label %49 .lr.ph: ; preds = %4 br label %38 38: ; preds = %.lr.ph, %43 %39 = load ptr, ptr %12, align 8 %40 = load i32, ptr %16, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 store i32 0, ptr %42, align 4 br label %43 43: ; preds = %38 %44 = load i32, ptr %16, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %16, align 4 %46 = load i32, ptr %16, align 4 %47 = load i32, ptr %7, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %4 store i32 0, ptr %13, align 4 %50 = load i32, ptr %13, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %.lr.ph29, label %422 .lr.ph29: ; preds = %49 br label %53 53: ; preds = %.lr.ph29, %416 store float 0.000000e+00, ptr %20, align 4 store i32 0, ptr %16, align 4 %54 = load i32, ptr %16, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %.lr.ph5, label %127 .lr.ph5: ; preds = %53 br label %57 57: ; preds = %.lr.ph5, %121 %58 = load ptr, ptr %12, align 8 %59 = load i32, ptr %16, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = icmp ne i32 %62, 1 br i1 %63, label %64, label %120 64: ; preds = %57 store i32 0, ptr %17, align 4 %65 = load i32, ptr %17, align 4 %66 = load i32, ptr %7, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %.lr.ph2, label %119 .lr.ph2: ; preds = %64 br label %68 68: ; preds = %.lr.ph2, %113 %69 = load ptr, ptr %12, align 8 %70 = load i32, ptr %17, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 %73 = load i32, ptr %72, align 4 %74 = icmp eq i32 %73, 0 br i1 %74, label %75, label %102 75: ; preds = %68 %76 = load ptr, ptr %6, align 8 %77 = load i32, ptr %16, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds ptr, ptr %76, i64 %78 %80 = load ptr, ptr %79, align 8 %81 = load i32, ptr %17, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds float, ptr %80, i64 %82 %84 = load float, ptr %83, align 4 %85 = call float @fabs(float noundef %84) %86 = load float, ptr %20, align 4 %87 = fcmp oge float %85, %86 br i1 %87, label %88, label %101 88: ; preds = %75 %89 = load ptr, ptr %6, align 8 %90 = load i32, ptr %16, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds ptr, ptr %89, i64 %91 %93 = load ptr, ptr %92, align 8 %94 = load i32, ptr %17, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds float, ptr %93, i64 %95 %97 = load float, ptr %96, align 4 %98 = call float @fabs(float noundef %97) store float %98, ptr %20, align 4 %99 = load i32, ptr %16, align 4 store i32 %99, ptr %15, align 4 %100 = load i32, ptr %17, align 4 store i32 %100, ptr %14, align 4 br label %101 101: ; preds = %88, %75 br label %112 102: ; preds = %68 %103 = load ptr, ptr %12, align 8 %104 = load i32, ptr %17, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %103, i64 %105 %107 = load i32, ptr %106, align 4 %108 = icmp sgt i32 %107, 1 br i1 %108, label %109, label %111 109: ; preds = %102 %110 = call i32 @nrerror_return(ptr noundef @.str) store i32 %110, ptr %5, align 4 br label %521 111: ; preds = %102 br label %112 112: ; preds = %111, %101 br label %113 113: ; preds = %112 %114 = load i32, ptr %17, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %17, align 4 %116 = load i32, ptr %17, align 4 %117 = load i32, ptr %7, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %68, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %113 br label %119 119: ; preds = %._crit_edge3, %64 br label %120 120: ; preds = %119, %57 br label %121 121: ; preds = %120 %122 = load i32, ptr %16, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %16, align 4 %124 = load i32, ptr %16, align 4 %125 = load i32, ptr %7, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %57, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %121 br label %127 127: ; preds = %._crit_edge6, %53 %128 = load ptr, ptr %12, align 8 %129 = load i32, ptr %14, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i32, ptr %128, i64 %130 %132 = load i32, ptr %131, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %131, align 4 %134 = load i32, ptr %15, align 4 %135 = load i32, ptr %14, align 4 %136 = icmp ne i32 %134, %135 br i1 %136, label %137, label %230 137: ; preds = %127 store i32 0, ptr %18, align 4 %138 = load i32, ptr %18, align 4 %139 = load i32, ptr %7, align 4 %140 = icmp slt i32 %138, %139 br i1 %140, label %.lr.ph8, label %183 .lr.ph8: ; preds = %137 br label %141 141: ; preds = %.lr.ph8, %177 %142 = load ptr, ptr %6, align 8 %143 = load i32, ptr %15, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds ptr, ptr %142, i64 %144 %146 = load ptr, ptr %145, align 8 %147 = load i32, ptr %18, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds float, ptr %146, i64 %148 %150 = load float, ptr %149, align 4 store float %150, ptr %23, align 4 %151 = load ptr, ptr %6, align 8 %152 = load i32, ptr %14, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds ptr, ptr %151, i64 %153 %155 = load ptr, ptr %154, align 8 %156 = load i32, ptr %18, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds float, ptr %155, i64 %157 %159 = load float, ptr %158, align 4 %160 = load ptr, ptr %6, align 8 %161 = load i32, ptr %15, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds ptr, ptr %160, i64 %162 %164 = load ptr, ptr %163, align 8 %165 = load i32, ptr %18, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds float, ptr %164, i64 %166 store float %159, ptr %167, align 4 %168 = load float, ptr %23, align 4 %169 = load ptr, ptr %6, align 8 %170 = load i32, ptr %14, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds ptr, ptr %169, i64 %171 %173 = load ptr, ptr %172, align 8 %174 = load i32, ptr %18, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds float, ptr %173, i64 %175 store float %168, ptr %176, align 4 br label %177 177: ; preds = %141 %178 = load i32, ptr %18, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %18, align 4 %180 = load i32, ptr %18, align 4 %181 = load i32, ptr %7, align 4 %182 = icmp slt i32 %180, %181 br i1 %182, label %141, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %177 br label %183 183: ; preds = %._crit_edge9, %137 store i32 0, ptr %18, align 4 %184 = load i32, ptr %18, align 4 %185 = load i32, ptr %9, align 4 %186 = icmp slt i32 %184, %185 br i1 %186, label %.lr.ph11, label %229 .lr.ph11: ; preds = %183 br label %187 187: ; preds = %.lr.ph11, %223 %188 = load ptr, ptr %8, align 8 %189 = load i32, ptr %15, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds ptr, ptr %188, i64 %190 %192 = load ptr, ptr %191, align 8 %193 = load i32, ptr %18, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds float, ptr %192, i64 %194 %196 = load float, ptr %195, align 4 store float %196, ptr %24, align 4 %197 = load ptr, ptr %8, align 8 %198 = load i32, ptr %14, align 4 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds ptr, ptr %197, i64 %199 %201 = load ptr, ptr %200, align 8 %202 = load i32, ptr %18, align 4 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds float, ptr %201, i64 %203 %205 = load float, ptr %204, align 4 %206 = load ptr, ptr %8, align 8 %207 = load i32, ptr %15, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds ptr, ptr %206, i64 %208 %210 = load ptr, ptr %209, align 8 %211 = load i32, ptr %18, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds float, ptr %210, i64 %212 store float %205, ptr %213, align 4 %214 = load float, ptr %24, align 4 %215 = load ptr, ptr %8, align 8 %216 = load i32, ptr %14, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds ptr, ptr %215, i64 %217 %219 = load ptr, ptr %218, align 8 %220 = load i32, ptr %18, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds float, ptr %219, i64 %221 store float %214, ptr %222, align 4 br label %223 223: ; preds = %187 %224 = load i32, ptr %18, align 4 %225 = add nsw i32 %224, 1 store i32 %225, ptr %18, align 4 %226 = load i32, ptr %18, align 4 %227 = load i32, ptr %9, align 4 %228 = icmp slt i32 %226, %227 br i1 %228, label %187, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %223 br label %229 229: ; preds = %._crit_edge12, %183 br label %230 230: ; preds = %229, %127 %231 = load i32, ptr %15, align 4 %232 = load ptr, ptr %11, align 8 %233 = load i32, ptr %13, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds i32, ptr %232, i64 %234 store i32 %231, ptr %235, align 4 %236 = load i32, ptr %14, align 4 %237 = load ptr, ptr %10, align 8 %238 = load i32, ptr %13, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds i32, ptr %237, i64 %239 store i32 %236, ptr %240, align 4 %241 = load ptr, ptr %6, align 8 %242 = load i32, ptr %14, align 4 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds ptr, ptr %241, i64 %243 %245 = load ptr, ptr %244, align 8 %246 = load i32, ptr %14, align 4 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds float, ptr %245, i64 %247 %249 = load float, ptr %248, align 4 %250 = fpext float %249 to double %251 = fcmp oeq double %250, 0.000000e+00 br i1 %251, label %252, label %254 252: ; preds = %230 %253 = call i32 @nrerror_return(ptr noundef @.str.1) store i32 %253, ptr %5, align 4 br label %521 254: ; preds = %230 %255 = load ptr, ptr %6, align 8 %256 = load i32, ptr %14, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds ptr, ptr %255, i64 %257 %259 = load ptr, ptr %258, align 8 %260 = load i32, ptr %14, align 4 %261 = sext i32 %260 to i64 %262 = getelementptr inbounds float, ptr %259, i64 %261 %263 = load float, ptr %262, align 4 %264 = fpext float %263 to double %265 = fdiv double 1.000000e+00, %264 %266 = fptrunc double %265 to float store float %266, ptr %22, align 4 %267 = load ptr, ptr %6, align 8 %268 = load i32, ptr %14, align 4 %269 = sext i32 %268 to i64 %270 = getelementptr inbounds ptr, ptr %267, i64 %269 %271 = load ptr, ptr %270, align 8 %272 = load i32, ptr %14, align 4 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds float, ptr %271, i64 %273 store float 1.000000e+00, ptr %274, align 4 store i32 0, ptr %18, align 4 %275 = load i32, ptr %18, align 4 %276 = load i32, ptr %7, align 4 %277 = icmp slt i32 %275, %276 br i1 %277, label %.lr.ph14, label %296 .lr.ph14: ; preds = %254 br label %278 278: ; preds = %.lr.ph14, %290 %279 = load float, ptr %22, align 4 %280 = load ptr, ptr %6, align 8 %281 = load i32, ptr %14, align 4 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds ptr, ptr %280, i64 %282 %284 = load ptr, ptr %283, align 8 %285 = load i32, ptr %18, align 4 %286 = sext i32 %285 to i64 %287 = getelementptr inbounds float, ptr %284, i64 %286 %288 = load float, ptr %287, align 4 %289 = fmul float %288, %279 store float %289, ptr %287, align 4 br label %290 290: ; preds = %278 %291 = load i32, ptr %18, align 4 %292 = add nsw i32 %291, 1 store i32 %292, ptr %18, align 4 %293 = load i32, ptr %18, align 4 %294 = load i32, ptr %7, align 4 %295 = icmp slt i32 %293, %294 br i1 %295, label %278, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %290 br label %296 296: ; preds = %._crit_edge15, %254 store i32 0, ptr %18, align 4 %297 = load i32, ptr %18, align 4 %298 = load i32, ptr %9, align 4 %299 = icmp slt i32 %297, %298 br i1 %299, label %.lr.ph17, label %318 .lr.ph17: ; preds = %296 br label %300 300: ; preds = %.lr.ph17, %312 %301 = load float, ptr %22, align 4 %302 = load ptr, ptr %8, align 8 %303 = load i32, ptr %14, align 4 %304 = sext i32 %303 to i64 %305 = getelementptr inbounds ptr, ptr %302, i64 %304 %306 = load ptr, ptr %305, align 8 %307 = load i32, ptr %18, align 4 %308 = sext i32 %307 to i64 %309 = getelementptr inbounds float, ptr %306, i64 %308 %310 = load float, ptr %309, align 4 %311 = fmul float %310, %301 store float %311, ptr %309, align 4 br label %312 312: ; preds = %300 %313 = load i32, ptr %18, align 4 %314 = add nsw i32 %313, 1 store i32 %314, ptr %18, align 4 %315 = load i32, ptr %18, align 4 %316 = load i32, ptr %9, align 4 %317 = icmp slt i32 %315, %316 br i1 %317, label %300, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %312 br label %318 318: ; preds = %._crit_edge18, %296 store i32 0, ptr %19, align 4 %319 = load i32, ptr %19, align 4 %320 = load i32, ptr %7, align 4 %321 = icmp slt i32 %319, %320 br i1 %321, label %.lr.ph26, label %415 .lr.ph26: ; preds = %318 br label %322 322: ; preds = %.lr.ph26, %409 %323 = load i32, ptr %19, align 4 %324 = load i32, ptr %14, align 4 %325 = icmp ne i32 %323, %324 br i1 %325, label %326, label %408 326: ; preds = %322 %327 = load ptr, ptr %6, align 8 %328 = load i32, ptr %19, align 4 %329 = sext i32 %328 to i64 %330 = getelementptr inbounds ptr, ptr %327, i64 %329 %331 = load ptr, ptr %330, align 8 %332 = load i32, ptr %14, align 4 %333 = sext i32 %332 to i64 %334 = getelementptr inbounds float, ptr %331, i64 %333 %335 = load float, ptr %334, align 4 store float %335, ptr %21, align 4 %336 = load ptr, ptr %6, align 8 %337 = load i32, ptr %19, align 4 %338 = sext i32 %337 to i64 %339 = getelementptr inbounds ptr, ptr %336, i64 %338 %340 = load ptr, ptr %339, align 8 %341 = load i32, ptr %14, align 4 %342 = sext i32 %341 to i64 %343 = getelementptr inbounds float, ptr %340, i64 %342 store float 0.000000e+00, ptr %343, align 4 store i32 0, ptr %18, align 4 %344 = load i32, ptr %18, align 4 %345 = load i32, ptr %7, align 4 %346 = icmp slt i32 %344, %345 br i1 %346, label %.lr.ph20, label %375 .lr.ph20: ; preds = %326 br label %347 347: ; preds = %.lr.ph20, %369 %348 = load ptr, ptr %6, align 8 %349 = load i32, ptr %14, align 4 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds ptr, ptr %348, i64 %350 %352 = load ptr, ptr %351, align 8 %353 = load i32, ptr %18, align 4 %354 = sext i32 %353 to i64 %355 = getelementptr inbounds float, ptr %352, i64 %354 %356 = load float, ptr %355, align 4 %357 = load float, ptr %21, align 4 %358 = load ptr, ptr %6, align 8 %359 = load i32, ptr %19, align 4 %360 = sext i32 %359 to i64 %361 = getelementptr inbounds ptr, ptr %358, i64 %360 %362 = load ptr, ptr %361, align 8 %363 = load i32, ptr %18, align 4 %364 = sext i32 %363 to i64 %365 = getelementptr inbounds float, ptr %362, i64 %364 %366 = load float, ptr %365, align 4 %367 = fneg float %356 %368 = call float @llvm.fmuladd.f32(float %367, float %357, float %366) store float %368, ptr %365, align 4 br label %369 369: ; preds = %347 %370 = load i32, ptr %18, align 4 %371 = add nsw i32 %370, 1 store i32 %371, ptr %18, align 4 %372 = load i32, ptr %18, align 4 %373 = load i32, ptr %7, align 4 %374 = icmp slt i32 %372, %373 br i1 %374, label %347, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %369 br label %375 375: ; preds = %._crit_edge21, %326 store i32 0, ptr %18, align 4 %376 = load i32, ptr %18, align 4 %377 = load i32, ptr %9, align 4 %378 = icmp slt i32 %376, %377 br i1 %378, label %.lr.ph23, label %407 .lr.ph23: ; preds = %375 br label %379 379: ; preds = %.lr.ph23, %401 %380 = load ptr, ptr %8, align 8 %381 = load i32, ptr %14, align 4 %382 = sext i32 %381 to i64 %383 = getelementptr inbounds ptr, ptr %380, i64 %382 %384 = load ptr, ptr %383, align 8 %385 = load i32, ptr %18, align 4 %386 = sext i32 %385 to i64 %387 = getelementptr inbounds float, ptr %384, i64 %386 %388 = load float, ptr %387, align 4 %389 = load float, ptr %21, align 4 %390 = load ptr, ptr %8, align 8 %391 = load i32, ptr %19, align 4 %392 = sext i32 %391 to i64 %393 = getelementptr inbounds ptr, ptr %390, i64 %392 %394 = load ptr, ptr %393, align 8 %395 = load i32, ptr %18, align 4 %396 = sext i32 %395 to i64 %397 = getelementptr inbounds float, ptr %394, i64 %396 %398 = load float, ptr %397, align 4 %399 = fneg float %388 %400 = call float @llvm.fmuladd.f32(float %399, float %389, float %398) store float %400, ptr %397, align 4 br label %401 401: ; preds = %379 %402 = load i32, ptr %18, align 4 %403 = add nsw i32 %402, 1 store i32 %403, ptr %18, align 4 %404 = load i32, ptr %18, align 4 %405 = load i32, ptr %9, align 4 %406 = icmp slt i32 %404, %405 br i1 %406, label %379, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %401 br label %407 407: ; preds = %._crit_edge24, %375 br label %408 408: ; preds = %407, %322 br label %409 409: ; preds = %408 %410 = load i32, ptr %19, align 4 %411 = add nsw i32 %410, 1 store i32 %411, ptr %19, align 4 %412 = load i32, ptr %19, align 4 %413 = load i32, ptr %7, align 4 %414 = icmp slt i32 %412, %413 br i1 %414, label %322, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %409 br label %415 415: ; preds = %._crit_edge27, %318 br label %416 416: ; preds = %415 %417 = load i32, ptr %13, align 4 %418 = add nsw i32 %417, 1 store i32 %418, ptr %13, align 4 %419 = load i32, ptr %13, align 4 %420 = load i32, ptr %7, align 4 %421 = icmp slt i32 %419, %420 br i1 %421, label %53, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %416 br label %422 422: ; preds = %._crit_edge30, %49 %423 = load i32, ptr %7, align 4 %424 = sub nsw i32 %423, 1 store i32 %424, ptr %18, align 4 %425 = load i32, ptr %18, align 4 %426 = icmp sge i32 %425, 0 br i1 %426, label %.lr.ph35, label %508 .lr.ph35: ; preds = %422 br label %427 427: ; preds = %.lr.ph35, %503 %428 = load ptr, ptr %11, align 8 %429 = load i32, ptr %18, align 4 %430 = sext i32 %429 to i64 %431 = getelementptr inbounds i32, ptr %428, i64 %430 %432 = load i32, ptr %431, align 4 %433 = load ptr, ptr %10, align 8 %434 = load i32, ptr %18, align 4 %435 = sext i32 %434 to i64 %436 = getelementptr inbounds i32, ptr %433, i64 %435 %437 = load i32, ptr %436, align 4 %438 = icmp ne i32 %432, %437 br i1 %438, label %439, label %502 439: ; preds = %427 store i32 0, ptr %17, align 4 %440 = load i32, ptr %17, align 4 %441 = load i32, ptr %7, align 4 %442 = icmp slt i32 %440, %441 br i1 %442, label %.lr.ph32, label %501 .lr.ph32: ; preds = %439 br label %443 443: ; preds = %.lr.ph32, %495 %444 = load ptr, ptr %6, align 8 %445 = load i32, ptr %17, align 4 %446 = sext i32 %445 to i64 %447 = getelementptr inbounds ptr, ptr %444, i64 %446 %448 = load ptr, ptr %447, align 8 %449 = load ptr, ptr %11, align 8 %450 = load i32, ptr %18, align 4 %451 = sext i32 %450 to i64 %452 = getelementptr inbounds i32, ptr %449, i64 %451 %453 = load i32, ptr %452, align 4 %454 = sext i32 %453 to i64 %455 = getelementptr inbounds float, ptr %448, i64 %454 %456 = load float, ptr %455, align 4 store float %456, ptr %25, align 4 %457 = load ptr, ptr %6, align 8 %458 = load i32, ptr %17, align 4 %459 = sext i32 %458 to i64 %460 = getelementptr inbounds ptr, ptr %457, i64 %459 %461 = load ptr, ptr %460, align 8 %462 = load ptr, ptr %10, align 8 %463 = load i32, ptr %18, align 4 %464 = sext i32 %463 to i64 %465 = getelementptr inbounds i32, ptr %462, i64 %464 %466 = load i32, ptr %465, align 4 %467 = sext i32 %466 to i64 %468 = getelementptr inbounds float, ptr %461, i64 %467 %469 = load float, ptr %468, align 4 %470 = load ptr, ptr %6, align 8 %471 = load i32, ptr %17, align 4 %472 = sext i32 %471 to i64 %473 = getelementptr inbounds ptr, ptr %470, i64 %472 %474 = load ptr, ptr %473, align 8 %475 = load ptr, ptr %11, align 8 %476 = load i32, ptr %18, align 4 %477 = sext i32 %476 to i64 %478 = getelementptr inbounds i32, ptr %475, i64 %477 %479 = load i32, ptr %478, align 4 %480 = sext i32 %479 to i64 %481 = getelementptr inbounds float, ptr %474, i64 %480 store float %469, ptr %481, align 4 %482 = load float, ptr %25, align 4 %483 = load ptr, ptr %6, align 8 %484 = load i32, ptr %17, align 4 %485 = sext i32 %484 to i64 %486 = getelementptr inbounds ptr, ptr %483, i64 %485 %487 = load ptr, ptr %486, align 8 %488 = load ptr, ptr %10, align 8 %489 = load i32, ptr %18, align 4 %490 = sext i32 %489 to i64 %491 = getelementptr inbounds i32, ptr %488, i64 %490 %492 = load i32, ptr %491, align 4 %493 = sext i32 %492 to i64 %494 = getelementptr inbounds float, ptr %487, i64 %493 store float %482, ptr %494, align 4 br label %495 495: ; preds = %443 %496 = load i32, ptr %17, align 4 %497 = add nsw i32 %496, 1 store i32 %497, ptr %17, align 4 %498 = load i32, ptr %17, align 4 %499 = load i32, ptr %7, align 4 %500 = icmp slt i32 %498, %499 br i1 %500, label %443, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %495 br label %501 501: ; preds = %._crit_edge33, %439 br label %502 502: ; preds = %501, %427 br label %503 503: ; preds = %502 %504 = load i32, ptr %18, align 4 %505 = add nsw i32 %504, -1 store i32 %505, ptr %18, align 4 %506 = load i32, ptr %18, align 4 %507 = icmp sge i32 %506, 0 br i1 %507, label %427, label %._crit_edge36, !llvm.loop !19 ._crit_edge36: ; preds = %503 br label %508 508: ; preds = %._crit_edge36, %422 %509 = load ptr, ptr %12, align 8 %510 = load i32, ptr %7, align 4 %511 = sub nsw i32 %510, 1 %512 = call i32 @free_ivector(ptr noundef %509, i32 noundef 0, i32 noundef %511) %513 = load ptr, ptr %11, align 8 %514 = load i32, ptr %7, align 4 %515 = sub nsw i32 %514, 1 %516 = call i32 @free_ivector(ptr noundef %513, i32 noundef 0, i32 noundef %515) %517 = load ptr, ptr %10, align 8 %518 = load i32, ptr %7, align 4 %519 = sub nsw i32 %518, 1 %520 = call i32 @free_ivector(ptr noundef %517, i32 noundef 0, i32 noundef %519) store i32 0, ptr %5, align 4 br label %521 521: ; preds = %508, %252, %109 %522 = load i32, ptr %5, align 4 ret i32 %522 } declare ptr @ivector(i32 noundef, i32 noundef) #1 declare float @fabs(float noundef) #1 declare i32 @nrerror_return(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @free_ivector(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7} !19 = distinct !{!19, !7}
; ModuleID = '/tmp/tmpbenoq_22.c' source_filename = "/tmp/tmpbenoq_22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Packing%s%s%s '%s' to '%s'\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c", scrambling\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [10 x i8] c", locking\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c" without banner\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @SEEK_END = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.5 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1 @PROT_WRITE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [38 x i8] c"\0DOk, compressed to %.2f%% (%d => %d)\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"\0DCompression failed!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pack_elf(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = and i32 %16, 2 %18 = icmp ne i32 %17, 0 %19 = zext i1 %18 to i64 %20 = select i1 %18, ptr @.str.1, ptr @.str.2 %21 = load i32, ptr %9, align 4 %22 = and i32 %21, 4 %23 = icmp ne i32 %22, 0 %24 = zext i1 %23 to i64 %25 = select i1 %23, ptr @.str.3, ptr @.str.2 %26 = load i32, ptr %9, align 4 %27 = and i32 %26, 1 %28 = icmp ne i32 %27, 0 %29 = zext i1 %28 to i64 %30 = select i1 %28, ptr @.str.4, ptr @.str.2 %31 = load ptr, ptr %6, align 8 %32 = load ptr, ptr %7, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20, ptr noundef %25, ptr noundef %30, ptr noundef %31, ptr noundef %32) %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr @O_RDONLY, align 4 %36 = call i32 (ptr, i32, ...) @open(ptr noundef %34, i32 noundef %35) store i32 %36, ptr %10, align 4 %37 = load i32, ptr %10, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %4 %40 = load ptr, ptr %6, align 8 %41 = call i32 @perror(ptr noundef %40) store i32 1, ptr %5, align 4 br label %154 42: ; preds = %4 %43 = load ptr, ptr %7, align 8 %44 = load i32, ptr @O_CREAT, align 4 %45 = load i32, ptr @O_RDWR, align 4 %46 = or i32 %44, %45 %47 = load i32, ptr @O_TRUNC, align 4 %48 = or i32 %46, %47 %49 = call i32 (ptr, i32, ...) @open(ptr noundef %43, i32 noundef %48, i32 noundef 484) store i32 %49, ptr %11, align 4 %50 = load i32, ptr %11, align 4 %51 = icmp slt i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %42 %53 = load ptr, ptr %7, align 8 %54 = call i32 @perror(ptr noundef %53) store i32 1, ptr %5, align 4 br label %154 55: ; preds = %42 %56 = load i32, ptr %10, align 4 %57 = load i32, ptr @SEEK_END, align 4 %58 = call i32 @lseek(i32 noundef %56, i32 noundef 0, i32 noundef %57) store i32 %58, ptr %12, align 4 %59 = load i32, ptr %11, align 4 %60 = load i32, ptr %12, align 4 %61 = mul nsw i32 %60, 2 %62 = and i32 %61, -4096 %63 = add nsw i32 %62, 4096 %64 = call i32 @ftruncate(i32 noundef %59, i32 noundef %63) %65 = load i32, ptr %12, align 4 %66 = add nsw i32 %65, 4095 %67 = and i32 %66, -4096 %68 = load i32, ptr @PROT_READ, align 4 %69 = load i32, ptr @MAP_SHARED, align 4 %70 = load i32, ptr %10, align 4 %71 = call ptr @mmap(ptr noundef null, i32 noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70, i32 noundef 0) store ptr %71, ptr %14, align 8 %72 = load ptr, ptr %14, align 8 %73 = load ptr, ptr @MAP_FAILED, align 8 %74 = icmp eq ptr %72, %73 br i1 %74, label %75, label %81 75: ; preds = %55 %76 = call i32 @perror(ptr noundef @.str.5) %77 = load i32, ptr %10, align 4 %78 = call i32 @close(i32 noundef %77) %79 = load i32, ptr %11, align 4 %80 = call i32 @close(i32 noundef %79) store i32 1, ptr %5, align 4 br label %154 81: ; preds = %55 %82 = load i32, ptr %12, align 4 %83 = mul nsw i32 %82, 2 %84 = and i32 %83, -4096 %85 = add nsw i32 %84, 4096 %86 = load i32, ptr @PROT_READ, align 4 %87 = load i32, ptr @PROT_WRITE, align 4 %88 = or i32 %86, %87 %89 = load i32, ptr @MAP_SHARED, align 4 %90 = load i32, ptr %11, align 4 %91 = call ptr @mmap(ptr noundef null, i32 noundef %85, i32 noundef %88, i32 noundef %89, i32 noundef %90, i32 noundef 0) store ptr %91, ptr %15, align 8 %92 = load ptr, ptr %15, align 8 %93 = load ptr, ptr @MAP_FAILED, align 8 %94 = icmp eq ptr %92, %93 br i1 %94, label %95, label %106 95: ; preds = %81 %96 = call i32 @perror(ptr noundef @.str.5) %97 = load i32, ptr %10, align 4 %98 = call i32 @close(i32 noundef %97) %99 = load i32, ptr %11, align 4 %100 = call i32 @close(i32 noundef %99) %101 = load ptr, ptr %14, align 8 %102 = load i32, ptr %12, align 4 %103 = add nsw i32 %102, 4095 %104 = and i32 %103, -4096 %105 = call i32 @munmap(ptr noundef %101, i32 noundef %104) store i32 1, ptr %5, align 4 br label %154 106: ; preds = %81 %107 = load ptr, ptr %14, align 8 %108 = load ptr, ptr %15, align 8 %109 = load i32, ptr %12, align 4 %110 = load i32, ptr %8, align 4 %111 = load i32, ptr %9, align 4 %112 = call i32 @stubify_elf(ptr noundef %107, ptr noundef %108, i32 noundef %109, i32 noundef %110, i32 noundef %111) store i32 %112, ptr %13, align 4 %113 = load ptr, ptr %14, align 8 %114 = load i32, ptr %12, align 4 %115 = add nsw i32 %114, 4095 %116 = and i32 %115, -4096 %117 = call i32 @munmap(ptr noundef %113, i32 noundef %116) %118 = load ptr, ptr %15, align 8 %119 = load i32, ptr %12, align 4 %120 = mul nsw i32 %119, 2 %121 = and i32 %120, -4096 %122 = add nsw i32 %121, 4096 %123 = call i32 @munmap(ptr noundef %118, i32 noundef %122) %124 = load i32, ptr %13, align 4 %125 = icmp sge i32 %124, 0 br i1 %125, label %126, label %141 126: ; preds = %106 %127 = load i32, ptr %13, align 4 %128 = sitofp i32 %127 to double %129 = fmul double %128, 1.000000e+02 %130 = load i32, ptr %12, align 4 %131 = sitofp i32 %130 to double %132 = fdiv double %129, %131 %133 = load i32, ptr %12, align 4 %134 = load i32, ptr %13, align 4 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %132, i32 noundef %133, i32 noundef %134) %136 = load i32, ptr %11, align 4 %137 = load i32, ptr %13, align 4 %138 = call i32 @ftruncate(i32 noundef %136, i32 noundef %137) %139 = load i32, ptr %11, align 4 %140 = call i32 @close(i32 noundef %139) br label %147 141: ; preds = %106 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %143 = load i32, ptr %11, align 4 %144 = call i32 @close(i32 noundef %143) %145 = load ptr, ptr %7, align 8 %146 = call i32 @unlink(ptr noundef %145) br label %147 147: ; preds = %141, %126 %148 = load i32, ptr %10, align 4 %149 = call i32 @close(i32 noundef %148) %150 = load i32, ptr %13, align 4 %151 = icmp slt i32 %150, 0 %152 = zext i1 %151 to i64 %153 = select i1 %151, i32 -1, i32 0 store i32 %153, ptr %5, align 4 br label %154 154: ; preds = %147, %95, %75, %52, %39 %155 = load i32, ptr %5, align 4 ret i32 %155 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @ftruncate(i32 noundef, i32 noundef) #1 declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @munmap(ptr noundef, i32 noundef) #1 declare i32 @stubify_elf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbenoq_22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Packing%s%s%s '%s' to '%s'\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c", scrambling\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [10 x i8] c", locking\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c" without banner\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @SEEK_END = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.5 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1 @PROT_WRITE = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [38 x i8] c"\0DOk, compressed to %.2f%% (%d => %d)\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"\0DCompression failed!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pack_elf(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = and i32 %16, 2 %18 = icmp ne i32 %17, 0 %19 = zext i1 %18 to i64 %20 = select i1 %18, ptr @.str.1, ptr @.str.2 %21 = load i32, ptr %9, align 4 %22 = and i32 %21, 4 %23 = icmp ne i32 %22, 0 %24 = zext i1 %23 to i64 %25 = select i1 %23, ptr @.str.3, ptr @.str.2 %26 = load i32, ptr %9, align 4 %27 = and i32 %26, 1 %28 = icmp ne i32 %27, 0 %29 = zext i1 %28 to i64 %30 = select i1 %28, ptr @.str.4, ptr @.str.2 %31 = load ptr, ptr %6, align 8 %32 = load ptr, ptr %7, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20, ptr noundef %25, ptr noundef %30, ptr noundef %31, ptr noundef %32) %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr @O_RDONLY, align 4 %36 = call i32 (ptr, i32, ...) @open(ptr noundef %34, i32 noundef %35) store i32 %36, ptr %10, align 4 %37 = load i32, ptr %10, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %4 %40 = load ptr, ptr %6, align 8 %41 = call i32 @perror(ptr noundef %40) store i32 1, ptr %5, align 4 br label %154 42: ; preds = %4 %43 = load ptr, ptr %7, align 8 %44 = load i32, ptr @O_CREAT, align 4 %45 = load i32, ptr @O_RDWR, align 4 %46 = or i32 %44, %45 %47 = load i32, ptr @O_TRUNC, align 4 %48 = or i32 %46, %47 %49 = call i32 (ptr, i32, ...) @open(ptr noundef %43, i32 noundef %48, i32 noundef 484) store i32 %49, ptr %11, align 4 %50 = load i32, ptr %11, align 4 %51 = icmp slt i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %42 %53 = load ptr, ptr %7, align 8 %54 = call i32 @perror(ptr noundef %53) store i32 1, ptr %5, align 4 br label %154 55: ; preds = %42 %56 = load i32, ptr %10, align 4 %57 = load i32, ptr @SEEK_END, align 4 %58 = call i32 @lseek(i32 noundef %56, i32 noundef 0, i32 noundef %57) store i32 %58, ptr %12, align 4 %59 = load i32, ptr %11, align 4 %60 = load i32, ptr %12, align 4 %61 = mul nsw i32 %60, 2 %62 = and i32 %61, -4096 %63 = add nsw i32 %62, 4096 %64 = call i32 @ftruncate(i32 noundef %59, i32 noundef %63) %65 = load i32, ptr %12, align 4 %66 = add nsw i32 %65, 4095 %67 = and i32 %66, -4096 %68 = load i32, ptr @PROT_READ, align 4 %69 = load i32, ptr @MAP_SHARED, align 4 %70 = load i32, ptr %10, align 4 %71 = call ptr @mmap(ptr noundef null, i32 noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70, i32 noundef 0) store ptr %71, ptr %14, align 8 %72 = load ptr, ptr %14, align 8 %73 = load ptr, ptr @MAP_FAILED, align 8 %74 = icmp eq ptr %72, %73 br i1 %74, label %75, label %81 75: ; preds = %55 %76 = call i32 @perror(ptr noundef @.str.5) %77 = load i32, ptr %10, align 4 %78 = call i32 @close(i32 noundef %77) %79 = load i32, ptr %11, align 4 %80 = call i32 @close(i32 noundef %79) store i32 1, ptr %5, align 4 br label %154 81: ; preds = %55 %82 = load i32, ptr %12, align 4 %83 = mul nsw i32 %82, 2 %84 = and i32 %83, -4096 %85 = add nsw i32 %84, 4096 %86 = load i32, ptr @PROT_READ, align 4 %87 = load i32, ptr @PROT_WRITE, align 4 %88 = or i32 %86, %87 %89 = load i32, ptr @MAP_SHARED, align 4 %90 = load i32, ptr %11, align 4 %91 = call ptr @mmap(ptr noundef null, i32 noundef %85, i32 noundef %88, i32 noundef %89, i32 noundef %90, i32 noundef 0) store ptr %91, ptr %15, align 8 %92 = load ptr, ptr %15, align 8 %93 = load ptr, ptr @MAP_FAILED, align 8 %94 = icmp eq ptr %92, %93 br i1 %94, label %95, label %106 95: ; preds = %81 %96 = call i32 @perror(ptr noundef @.str.5) %97 = load i32, ptr %10, align 4 %98 = call i32 @close(i32 noundef %97) %99 = load i32, ptr %11, align 4 %100 = call i32 @close(i32 noundef %99) %101 = load ptr, ptr %14, align 8 %102 = load i32, ptr %12, align 4 %103 = add nsw i32 %102, 4095 %104 = and i32 %103, -4096 %105 = call i32 @munmap(ptr noundef %101, i32 noundef %104) store i32 1, ptr %5, align 4 br label %154 106: ; preds = %81 %107 = load ptr, ptr %14, align 8 %108 = load ptr, ptr %15, align 8 %109 = load i32, ptr %12, align 4 %110 = load i32, ptr %8, align 4 %111 = load i32, ptr %9, align 4 %112 = call i32 @stubify_elf(ptr noundef %107, ptr noundef %108, i32 noundef %109, i32 noundef %110, i32 noundef %111) store i32 %112, ptr %13, align 4 %113 = load ptr, ptr %14, align 8 %114 = load i32, ptr %12, align 4 %115 = add nsw i32 %114, 4095 %116 = and i32 %115, -4096 %117 = call i32 @munmap(ptr noundef %113, i32 noundef %116) %118 = load ptr, ptr %15, align 8 %119 = load i32, ptr %12, align 4 %120 = mul nsw i32 %119, 2 %121 = and i32 %120, -4096 %122 = add nsw i32 %121, 4096 %123 = call i32 @munmap(ptr noundef %118, i32 noundef %122) %124 = load i32, ptr %13, align 4 %125 = icmp sge i32 %124, 0 br i1 %125, label %126, label %141 126: ; preds = %106 %127 = load i32, ptr %13, align 4 %128 = sitofp i32 %127 to double %129 = fmul double %128, 1.000000e+02 %130 = load i32, ptr %12, align 4 %131 = sitofp i32 %130 to double %132 = fdiv double %129, %131 %133 = load i32, ptr %12, align 4 %134 = load i32, ptr %13, align 4 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %132, i32 noundef %133, i32 noundef %134) %136 = load i32, ptr %11, align 4 %137 = load i32, ptr %13, align 4 %138 = call i32 @ftruncate(i32 noundef %136, i32 noundef %137) %139 = load i32, ptr %11, align 4 %140 = call i32 @close(i32 noundef %139) br label %147 141: ; preds = %106 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %143 = load i32, ptr %11, align 4 %144 = call i32 @close(i32 noundef %143) %145 = load ptr, ptr %7, align 8 %146 = call i32 @unlink(ptr noundef %145) br label %147 147: ; preds = %141, %126 %148 = load i32, ptr %10, align 4 %149 = call i32 @close(i32 noundef %148) %150 = load i32, ptr %13, align 4 %151 = icmp slt i32 %150, 0 %152 = zext i1 %151 to i64 %153 = select i1 %151, i32 -1, i32 0 store i32 %153, ptr %5, align 4 br label %154 154: ; preds = %147, %95, %75, %52, %39 %155 = load i32, ptr %5, align 4 ret i32 %155 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @ftruncate(i32 noundef, i32 noundef) #1 declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @munmap(ptr noundef, i32 noundef) #1 declare i32 @stubify_elf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpstebz38k.c' source_filename = "/tmp/tmpstebz38k.c" target datalayout = "e-m:e-p270: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 @_SC_OPEN_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"sysconf(_SC_OPEN_MAX) error: %s\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fd_max() #0 { %1 = alloca i32, align 4 store i64 0, ptr @errno, align 8 %2 = load i32, ptr @_SC_OPEN_MAX, align 4 %3 = call i64 @sysconf(i32 noundef %2) %4 = trunc i64 %3 to i32 store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %18 7: ; preds = %0 %8 = load i64, ptr @errno, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %7 store i32 256, ptr %1, align 4 br label %17 11: ; preds = %7 %12 = load i64, ptr @errno, align 8 %13 = call i32 @strerror(i64 noundef %12) %14 = call i32 @cctools_debug(i64 noundef 8, ptr noundef @.str, i32 noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %10 br label %18 18: ; preds = %17, %0 %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i64 @sysconf(i32 noundef) #1 declare i32 @cctools_debug(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i64 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/tmpstebz38k.c" target datalayout = "e-m:e-p270: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 @_SC_OPEN_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"sysconf(_SC_OPEN_MAX) error: %s\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fd_max() #0 { %1 = alloca i32, align 4 store i64 0, ptr @errno, align 8 %2 = load i32, ptr @_SC_OPEN_MAX, align 4 %3 = call i64 @sysconf(i32 noundef %2) %4 = trunc i64 %3 to i32 store i32 %4, ptr %1, align 4 %5 = load i32, ptr %1, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %18 7: ; preds = %0 %8 = load i64, ptr @errno, align 8 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %7 store i32 256, ptr %1, align 4 br label %17 11: ; preds = %7 %12 = load i64, ptr @errno, align 8 %13 = call i32 @strerror(i64 noundef %12) %14 = call i32 @cctools_debug(i64 noundef 8, ptr noundef @.str, i32 noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %10 br label %18 18: ; preds = %17, %0 %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i64 @sysconf(i32 noundef) #1 declare i32 @cctools_debug(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i64 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/tmpwqovtugl.c' source_filename = "/tmp/tmpwqovtugl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bl_uart_check_send_end() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 65535, ptr %2, align 4 br label %3 3: ; preds = %13, %0 %4 = load i32, ptr %2, align 4 %5 = add nsw i32 %4, -1 store i32 %5, ptr %2, align 4 %6 = icmp ne i32 %4, 0 br i1 %6, label %7, label %14 7: ; preds = %3 %8 = call i32 @bl_uart_read_reg(i32 noundef -1609629676) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = and i32 %9, 64 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %7 br label %14 13: ; preds = %7 br label %3, !llvm.loop !6 14: ; preds = %12, %3 ret void } declare i32 @bl_uart_read_reg(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/tmpwqovtugl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bl_uart_check_send_end() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 65535, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, -1 store i32 %4, ptr %2, align 4 %5 = icmp ne i32 %3, 0 br i1 %5, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %10 6: ; preds = %10 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %2, align 4 %9 = icmp ne i32 %7, 0 br i1 %9, label %10, label %..loopexit_crit_edge, !llvm.loop !6 10: ; preds = %.lr.ph, %6 %11 = call i32 @bl_uart_read_reg(i32 noundef -1609629676) store i32 %11, ptr %1, align 4 %12 = load i32, ptr %1, align 4 %13 = and i32 %12, 64 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %6 15: ; preds = %10 br label %16 ..loopexit_crit_edge: ; preds = %6 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %16 16: ; preds = %.loopexit, %15 ret void } declare i32 @bl_uart_read_reg(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/tmpy67ipfg2.c' source_filename = "/tmp/tmpy67ipfg2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"Bad k\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Bad w\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"K too big\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"The Cauchy Matrix:\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"\0AInvertible: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"Yes\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"No\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"\0AInverse:\0A\00", align 1 @.str.9 = private unnamed_addr constant [45 x i8] c"\0AInverse times matrix (should be identity):\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = 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 %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 @usage(ptr noundef null) br label %19 19: ; preds = %17, %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i64 @sscanf(ptr noundef %22, ptr noundef @.str, ptr noundef %6) %24 = icmp eq i64 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %19 %26 = load i32, ptr %6, align 4 %27 = icmp ule i32 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %25, %19 %29 = call i32 @usage(ptr noundef @.str.1) br label %30 30: ; preds = %28, %25 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 %34 = call i64 @sscanf(ptr noundef %33, ptr noundef @.str, ptr noundef %7) %35 = icmp eq i64 %34, 0 br i1 %35, label %42, label %36 36: ; preds = %30 %37 = load i32, ptr %7, align 4 %38 = icmp ule i32 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %36 %40 = load i32, ptr %7, align 4 %41 = icmp ugt i32 %40, 31 br i1 %41, label %42, label %44 42: ; preds = %39, %36, %30 %43 = call i32 @usage(ptr noundef @.str.2) br label %44 44: ; preds = %42, %39 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = shl i32 1, %46 %48 = icmp uge i32 %45, %47 br i1 %48, label %49, label %51 49: ; preds = %44 %50 = call i32 @usage(ptr noundef @.str.3) br label %51 51: ; preds = %49, %44 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %6, align 4 %54 = mul i32 %52, %53 %55 = zext i32 %54 to i64 %56 = mul i64 4, %55 %57 = trunc i64 %56 to i32 %58 = call i64 @malloc(i32 noundef %57) %59 = inttoptr i64 %58 to ptr store ptr %59, ptr %11, align 8 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %6, align 4 %62 = mul i32 %60, %61 %63 = zext i32 %62 to i64 %64 = mul i64 4, %63 %65 = trunc i64 %64 to i32 %66 = call i64 @malloc(i32 noundef %65) %67 = inttoptr i64 %66 to ptr store ptr %67, ptr %12, align 8 %68 = load i32, ptr %6, align 4 %69 = load i32, ptr %6, align 4 %70 = mul i32 %68, %69 %71 = zext i32 %70 to i64 %72 = mul i64 4, %71 %73 = trunc i64 %72 to i32 %74 = call i64 @malloc(i32 noundef %73) %75 = inttoptr i64 %74 to ptr store ptr %75, ptr %13, align 8 store i32 0, ptr %8, align 4 br label %76 76: ; preds = %114, %51 %77 = load i32, ptr %8, align 4 %78 = load i32, ptr %6, align 4 %79 = icmp ult i32 %77, %78 br i1 %79, label %80, label %117 80: ; preds = %76 store i32 0, ptr %9, align 4 br label %81 81: ; preds = %110, %80 %82 = load i32, ptr %9, align 4 %83 = load i32, ptr %6, align 4 %84 = icmp ult i32 %82, %83 br i1 %84, label %85, label %113 85: ; preds = %81 %86 = load i32, ptr %8, align 4 %87 = load i32, ptr %7, align 4 %88 = shl i32 1, %87 %89 = sub nsw i32 %88, 1 %90 = load i32, ptr %9, align 4 %91 = sub i32 %89, %90 %92 = xor i32 %86, %91 store i32 %92, ptr %10, align 4 %93 = load i32, ptr %10, align 4 %94 = icmp eq i32 %93, 0 br i1 %94, label %95, label %96 95: ; preds = %85 br label %100 96: ; preds = %85 %97 = load i32, ptr %10, align 4 %98 = load i32, ptr %7, align 4 %99 = call i32 @galois_single_divide(i32 noundef 1, i32 noundef %97, i32 noundef %98) br label %100 100: ; preds = %96, %95 %101 = phi i32 [ 0, %95 ], [ %99, %96 ] %102 = load ptr, ptr %11, align 8 %103 = load i32, ptr %8, align 4 %104 = load i32, ptr %6, align 4 %105 = mul i32 %103, %104 %106 = load i32, ptr %9, align 4 %107 = add i32 %105, %106 %108 = zext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %102, i64 %108 store i32 %101, ptr %109, align 4 br label %110 110: ; preds = %100 %111 = load i32, ptr %9, align 4 %112 = add i32 %111, 1 store i32 %112, ptr %9, align 4 br label %81, !llvm.loop !6 113: ; preds = %81 br label %114 114: ; preds = %113 %115 = load i32, ptr %8, align 4 %116 = add i32 %115, 1 store i32 %116, ptr %8, align 4 br label %76, !llvm.loop !8 117: ; preds = %76 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %119 = load ptr, ptr %11, align 8 %120 = load i32, ptr %6, align 4 %121 = load i32, ptr %6, align 4 %122 = load i32, ptr %7, align 4 %123 = call i32 @jerasure_print_matrix(ptr noundef %119, i32 noundef %120, i32 noundef %121, i32 noundef %122) %124 = load ptr, ptr %12, align 8 %125 = load ptr, ptr %11, align 8 %126 = load i32, ptr %6, align 4 %127 = zext i32 %126 to i64 %128 = mul i64 4, %127 %129 = load i32, ptr %6, align 4 %130 = zext i32 %129 to i64 %131 = mul i64 %128, %130 %132 = trunc i64 %131 to i32 %133 = call i32 @memcpy(ptr noundef %124, ptr noundef %125, i32 noundef %132) %134 = load ptr, ptr %12, align 8 %135 = load i32, ptr %6, align 4 %136 = load i32, ptr %7, align 4 %137 = call i32 @jerasure_invertible_matrix(ptr noundef %134, i32 noundef %135, i32 noundef %136) store i32 %137, ptr %8, align 4 %138 = load i32, ptr %8, align 4 %139 = icmp eq i32 %138, 1 %140 = zext i1 %139 to i64 %141 = select i1 %139, ptr @.str.6, ptr @.str.7 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %141) %143 = load i32, ptr %8, align 4 %144 = icmp eq i32 %143, 1 br i1 %144, label %145, label %181 145: ; preds = %117 %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %147 = load ptr, ptr %12, align 8 %148 = load ptr, ptr %11, align 8 %149 = load i32, ptr %6, align 4 %150 = zext i32 %149 to i64 %151 = mul i64 4, %150 %152 = load i32, ptr %6, align 4 %153 = zext i32 %152 to i64 %154 = mul i64 %151, %153 %155 = trunc i64 %154 to i32 %156 = call i32 @memcpy(ptr noundef %147, ptr noundef %148, i32 noundef %155) %157 = load ptr, ptr %12, align 8 %158 = load ptr, ptr %13, align 8 %159 = load i32, ptr %6, align 4 %160 = load i32, ptr %7, align 4 %161 = call i32 @jerasure_invert_matrix(ptr noundef %157, ptr noundef %158, i32 noundef %159, i32 noundef %160) store i32 %161, ptr %8, align 4 %162 = load ptr, ptr %13, align 8 %163 = load i32, ptr %6, align 4 %164 = load i32, ptr %6, align 4 %165 = load i32, ptr %7, align 4 %166 = call i32 @jerasure_print_matrix(ptr noundef %162, i32 noundef %163, i32 noundef %164, i32 noundef %165) %167 = load ptr, ptr %13, align 8 %168 = load ptr, ptr %11, align 8 %169 = load i32, ptr %6, align 4 %170 = load i32, ptr %6, align 4 %171 = load i32, ptr %6, align 4 %172 = load i32, ptr %6, align 4 %173 = load i32, ptr %7, align 4 %174 = call ptr @jerasure_matrix_multiply(ptr noundef %167, ptr noundef %168, i32 noundef %169, i32 noundef %170, i32 noundef %171, i32 noundef %172, i32 noundef %173) store ptr %174, ptr %14, align 8 %175 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %176 = load ptr, ptr %14, align 8 %177 = load i32, ptr %6, align 4 %178 = load i32, ptr %6, align 4 %179 = load i32, ptr %7, align 4 %180 = call i32 @jerasure_print_matrix(ptr noundef %176, i32 noundef %177, i32 noundef %178, i32 noundef %179) br label %181 181: ; preds = %145, %117 ret i32 0 } declare i32 @usage(ptr noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @galois_single_divide(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @jerasure_print_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @jerasure_invertible_matrix(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @jerasure_invert_matrix(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @jerasure_matrix_multiply(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy67ipfg2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"Bad k\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Bad w\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"K too big\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"The Cauchy Matrix:\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"\0AInvertible: %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"Yes\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"No\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c"\0AInverse:\0A\00", align 1 @.str.9 = private unnamed_addr constant [45 x i8] c"\0AInverse times matrix (should be identity):\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = 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 %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 @usage(ptr noundef null) br label %19 19: ; preds = %17, %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i64 @sscanf(ptr noundef %22, ptr noundef @.str, ptr noundef %6) %24 = icmp eq i64 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %19 %26 = load i32, ptr %6, align 4 %27 = icmp ule i32 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %25, %19 %29 = call i32 @usage(ptr noundef @.str.1) br label %30 30: ; preds = %28, %25 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 %34 = call i64 @sscanf(ptr noundef %33, ptr noundef @.str, ptr noundef %7) %35 = icmp eq i64 %34, 0 br i1 %35, label %42, label %36 36: ; preds = %30 %37 = load i32, ptr %7, align 4 %38 = icmp ule i32 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %36 %40 = load i32, ptr %7, align 4 %41 = icmp ugt i32 %40, 31 br i1 %41, label %42, label %44 42: ; preds = %39, %36, %30 %43 = call i32 @usage(ptr noundef @.str.2) br label %44 44: ; preds = %42, %39 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = shl i32 1, %46 %48 = icmp uge i32 %45, %47 br i1 %48, label %49, label %51 49: ; preds = %44 %50 = call i32 @usage(ptr noundef @.str.3) br label %51 51: ; preds = %49, %44 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %6, align 4 %54 = mul i32 %52, %53 %55 = zext i32 %54 to i64 %56 = mul i64 4, %55 %57 = trunc i64 %56 to i32 %58 = call i64 @malloc(i32 noundef %57) %59 = inttoptr i64 %58 to ptr store ptr %59, ptr %11, align 8 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %6, align 4 %62 = mul i32 %60, %61 %63 = zext i32 %62 to i64 %64 = mul i64 4, %63 %65 = trunc i64 %64 to i32 %66 = call i64 @malloc(i32 noundef %65) %67 = inttoptr i64 %66 to ptr store ptr %67, ptr %12, align 8 %68 = load i32, ptr %6, align 4 %69 = load i32, ptr %6, align 4 %70 = mul i32 %68, %69 %71 = zext i32 %70 to i64 %72 = mul i64 4, %71 %73 = trunc i64 %72 to i32 %74 = call i64 @malloc(i32 noundef %73) %75 = inttoptr i64 %74 to ptr store ptr %75, ptr %13, align 8 store i32 0, ptr %8, align 4 %76 = load i32, ptr %8, align 4 %77 = load i32, ptr %6, align 4 %78 = icmp ult i32 %76, %77 br i1 %78, label %.lr.ph2, label %121 .lr.ph2: ; preds = %51 br label %79 79: ; preds = %.lr.ph2, %115 store i32 0, ptr %9, align 4 %80 = load i32, ptr %9, align 4 %81 = load i32, ptr %6, align 4 %82 = icmp ult i32 %80, %81 br i1 %82, label %.lr.ph, label %114 .lr.ph: ; preds = %79 br label %83 83: ; preds = %.lr.ph, %108 %84 = load i32, ptr %8, align 4 %85 = load i32, ptr %7, align 4 %86 = shl i32 1, %85 %87 = sub nsw i32 %86, 1 %88 = load i32, ptr %9, align 4 %89 = sub i32 %87, %88 %90 = xor i32 %84, %89 store i32 %90, ptr %10, align 4 %91 = load i32, ptr %10, align 4 %92 = icmp eq i32 %91, 0 br i1 %92, label %93, label %94 93: ; preds = %83 br label %98 94: ; preds = %83 %95 = load i32, ptr %10, align 4 %96 = load i32, ptr %7, align 4 %97 = call i32 @galois_single_divide(i32 noundef 1, i32 noundef %95, i32 noundef %96) br label %98 98: ; preds = %94, %93 %99 = phi i32 [ 0, %93 ], [ %97, %94 ] %100 = load ptr, ptr %11, align 8 %101 = load i32, ptr %8, align 4 %102 = load i32, ptr %6, align 4 %103 = mul i32 %101, %102 %104 = load i32, ptr %9, align 4 %105 = add i32 %103, %104 %106 = zext i32 %105 to i64 %107 = getelementptr inbounds i32, ptr %100, i64 %106 store i32 %99, ptr %107, align 4 br label %108 108: ; preds = %98 %109 = load i32, ptr %9, align 4 %110 = add i32 %109, 1 store i32 %110, ptr %9, align 4 %111 = load i32, ptr %9, align 4 %112 = load i32, ptr %6, align 4 %113 = icmp ult i32 %111, %112 br i1 %113, label %83, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %108 br label %114 114: ; preds = %._crit_edge, %79 br label %115 115: ; preds = %114 %116 = load i32, ptr %8, align 4 %117 = add i32 %116, 1 store i32 %117, ptr %8, align 4 %118 = load i32, ptr %8, align 4 %119 = load i32, ptr %6, align 4 %120 = icmp ult i32 %118, %119 br i1 %120, label %79, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %115 br label %121 121: ; preds = %._crit_edge3, %51 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %123 = load ptr, ptr %11, align 8 %124 = load i32, ptr %6, align 4 %125 = load i32, ptr %6, align 4 %126 = load i32, ptr %7, align 4 %127 = call i32 @jerasure_print_matrix(ptr noundef %123, i32 noundef %124, i32 noundef %125, i32 noundef %126) %128 = load ptr, ptr %12, align 8 %129 = load ptr, ptr %11, align 8 %130 = load i32, ptr %6, align 4 %131 = zext i32 %130 to i64 %132 = mul i64 4, %131 %133 = load i32, ptr %6, align 4 %134 = zext i32 %133 to i64 %135 = mul i64 %132, %134 %136 = trunc i64 %135 to i32 %137 = call i32 @memcpy(ptr noundef %128, ptr noundef %129, i32 noundef %136) %138 = load ptr, ptr %12, align 8 %139 = load i32, ptr %6, align 4 %140 = load i32, ptr %7, align 4 %141 = call i32 @jerasure_invertible_matrix(ptr noundef %138, i32 noundef %139, i32 noundef %140) store i32 %141, ptr %8, align 4 %142 = load i32, ptr %8, align 4 %143 = icmp eq i32 %142, 1 %144 = zext i1 %143 to i64 %145 = select i1 %143, ptr @.str.6, ptr @.str.7 %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %145) %147 = load i32, ptr %8, align 4 %148 = icmp eq i32 %147, 1 br i1 %148, label %149, label %185 149: ; preds = %121 %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %151 = load ptr, ptr %12, align 8 %152 = load ptr, ptr %11, align 8 %153 = load i32, ptr %6, align 4 %154 = zext i32 %153 to i64 %155 = mul i64 4, %154 %156 = load i32, ptr %6, align 4 %157 = zext i32 %156 to i64 %158 = mul i64 %155, %157 %159 = trunc i64 %158 to i32 %160 = call i32 @memcpy(ptr noundef %151, ptr noundef %152, i32 noundef %159) %161 = load ptr, ptr %12, align 8 %162 = load ptr, ptr %13, align 8 %163 = load i32, ptr %6, align 4 %164 = load i32, ptr %7, align 4 %165 = call i32 @jerasure_invert_matrix(ptr noundef %161, ptr noundef %162, i32 noundef %163, i32 noundef %164) store i32 %165, ptr %8, align 4 %166 = load ptr, ptr %13, align 8 %167 = load i32, ptr %6, align 4 %168 = load i32, ptr %6, align 4 %169 = load i32, ptr %7, align 4 %170 = call i32 @jerasure_print_matrix(ptr noundef %166, i32 noundef %167, i32 noundef %168, i32 noundef %169) %171 = load ptr, ptr %13, align 8 %172 = load ptr, ptr %11, align 8 %173 = load i32, ptr %6, align 4 %174 = load i32, ptr %6, align 4 %175 = load i32, ptr %6, align 4 %176 = load i32, ptr %6, align 4 %177 = load i32, ptr %7, align 4 %178 = call ptr @jerasure_matrix_multiply(ptr noundef %171, ptr noundef %172, i32 noundef %173, i32 noundef %174, i32 noundef %175, i32 noundef %176, i32 noundef %177) store ptr %178, ptr %14, align 8 %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %180 = load ptr, ptr %14, align 8 %181 = load i32, ptr %6, align 4 %182 = load i32, ptr %6, align 4 %183 = load i32, ptr %7, align 4 %184 = call i32 @jerasure_print_matrix(ptr noundef %180, i32 noundef %181, i32 noundef %182, i32 noundef %183) br label %185 185: ; preds = %149, %121 ret i32 0 } declare i32 @usage(ptr noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @galois_single_divide(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @jerasure_print_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @jerasure_invertible_matrix(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @jerasure_invert_matrix(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare ptr @jerasure_matrix_multiply(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpj6icksuy.c' source_filename = "/tmp/tmpj6icksuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XEvent_xcrossing_mode(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %6 to i32 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj6icksuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XEvent_xcrossing_mode(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = trunc i64 %6 to i32 ret i32 %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqk_xwt4l.c' source_filename = "/tmp/tmpqk_xwt4l.c" target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [7 x i32] [i32 10, i32 9, i32 7, i32 6, i32 2, i32 3, i32 11], align 16 @.str = private unnamed_addr constant [4 x i8] c"%i \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 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 28, i1 false) store i32 7, ptr %3, align 4 %5 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %6 = load i32, ptr %3, align 4 %7 = call i32 @quickSortR(ptr noundef %5, i32 noundef %6) store i32 0, ptr %4, align 4 br label %8 8: ; preds = %18, %0 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %21 12: ; preds = %8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %12 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %8, !llvm.loop !6 21: ; preds = %8 %22 = load i32, ptr %1, align 4 ret i32 %22 } ; 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 @quickSortR(ptr noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqk_xwt4l.c" target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [7 x i32] [i32 10, i32 9, i32 7, i32 6, i32 2, i32 3, i32 11], align 16 @.str = private unnamed_addr constant [4 x i8] c"%i \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 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 28, i1 false) store i32 7, ptr %3, align 4 %5 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 0 %6 = load i32, ptr %3, align 4 %7 = call i32 @quickSortR(ptr noundef %5, i32 noundef %6) store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %17 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [7 x i32], ptr %2, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) br label %17 17: ; preds = %11 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %0 %24 = load i32, ptr %1, align 4 ret i32 %24 } ; 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 @quickSortR(ptr noundef, i32 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"}
; ModuleID = '/tmp/tmpss_pb6yv.c' source_filename = "/tmp/tmpss_pb6yv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @end_that_request_first(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = shl i32 %10, 9 %12 = call i32 @__end_that_request_first(ptr noundef %8, i32 noundef %9, i32 noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 ret i32 %13 } declare i32 @__end_that_request_first(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/tmpss_pb6yv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @end_that_request_first(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = shl i32 %10, 9 %12 = call i32 @__end_that_request_first(ptr noundef %8, i32 noundef %9, i32 noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 ret i32 %13 } declare i32 @__end_that_request_first(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/tmpvrp4m60j.c' source_filename = "/tmp/tmpvrp4m60j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 2, ptr %3, align 4 store i32 3, ptr %4, align 4 store i32 4, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %10, %0 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 9 br i1 %9, label %10, label %25 10: ; preds = %7 %11 = load i32, ptr %2, align 4 %12 = mul nsw i32 2, %11 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 4 store i32 %14, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %2, align 4 %17 = mul nsw i32 4, %16 %18 = sub nsw i32 %15, %17 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = sub nsw i32 %19, %20 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %22, %23 store i32 %24, ptr %4, align 4 br label %7, !llvm.loop !6 25: ; preds = %7 %26 = load i32, ptr %5, align 4 %27 = sdiv i32 %26, 2 store i32 %27, ptr %2, align 4 %28 = load i32, ptr %5, align 4 %29 = srem i32 %28, 2 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp eq i32 %30, 4 %32 = zext i1 %31 to i32 %33 = call i32 @assert(i32 noundef %32) %34 = load i32, ptr %5, align 4 %35 = icmp ne i32 %34, 1 %36 = zext i1 %35 to i32 %37 = call i32 @assert(i32 noundef %36) %38 = load i32, ptr %5, align 4 %39 = icmp ne i32 %38, 2 %40 = zext i1 %39 to i32 %41 = call i32 @assert(i32 noundef %40) %42 = load i32, ptr %5, align 4 %43 = icmp ne i32 %42, 3 %44 = zext i1 %43 to i32 %45 = call i32 @assert(i32 noundef %44) %46 = load i32, ptr %5, align 4 %47 = icmp eq i32 %46, 12 %48 = zext i1 %47 to i32 %49 = call i32 @assert(i32 noundef %48) %50 = load i32, ptr %2, align 4 %51 = icmp eq i32 %50, 6 %52 = zext i1 %51 to i32 %53 = call i32 @assert(i32 noundef %52) %54 = load i32, ptr %6, align 4 %55 = icmp eq i32 %54, -8 %56 = zext i1 %55 to i32 %57 = call i32 @assert(i32 noundef %56) %58 = load i32, ptr %3, align 4 %59 = icmp eq i32 %58, 0 %60 = zext i1 %59 to i32 %61 = call i32 @assert(i32 noundef %60) ret i32 0 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvrp4m60j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 store i32 2, ptr %3, align 4 store i32 3, ptr %4, align 4 store i32 4, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 9 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %2, align 4 %11 = mul nsw i32 2, %10 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, 4 store i32 %13, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %2, align 4 %16 = mul nsw i32 4, %15 %17 = sub nsw i32 %14, %16 store i32 %17, ptr %6, align 4 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = sub nsw i32 %18, %19 store i32 %20, ptr %2, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %21, %22 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %24, 9 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %26 26: ; preds = %._crit_edge, %0 %27 = load i32, ptr %5, align 4 %28 = sdiv i32 %27, 2 store i32 %28, ptr %2, align 4 %29 = load i32, ptr %5, align 4 %30 = srem i32 %29, 2 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp eq i32 %31, 4 %33 = zext i1 %32 to i32 %34 = call i32 @assert(i32 noundef %33) %35 = load i32, ptr %5, align 4 %36 = icmp ne i32 %35, 1 %37 = zext i1 %36 to i32 %38 = call i32 @assert(i32 noundef %37) %39 = load i32, ptr %5, align 4 %40 = icmp ne i32 %39, 2 %41 = zext i1 %40 to i32 %42 = call i32 @assert(i32 noundef %41) %43 = load i32, ptr %5, align 4 %44 = icmp ne i32 %43, 3 %45 = zext i1 %44 to i32 %46 = call i32 @assert(i32 noundef %45) %47 = load i32, ptr %5, align 4 %48 = icmp eq i32 %47, 12 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = load i32, ptr %2, align 4 %52 = icmp eq i32 %51, 6 %53 = zext i1 %52 to i32 %54 = call i32 @assert(i32 noundef %53) %55 = load i32, ptr %6, align 4 %56 = icmp eq i32 %55, -8 %57 = zext i1 %56 to i32 %58 = call i32 @assert(i32 noundef %57) %59 = load i32, ptr %3, align 4 %60 = icmp eq i32 %59, 0 %61 = zext i1 %60 to i32 %62 = call i32 @assert(i32 noundef %61) ret i32 0 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpa9yktr_d.c' source_filename = "/tmp/tmpa9yktr_d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sn3218a_led_uninit() #0 { %1 = call i32 (...) @sn3218a_uninit() ret void } declare i32 @sn3218a_uninit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa9yktr_d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sn3218a_led_uninit() #0 { %1 = call i32 (...) @sn3218a_uninit() ret void } declare i32 @sn3218a_uninit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9j6kqm2c.c' source_filename = "/tmp/tmp9j6kqm2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SCHED_FIFO = dso_local global i32 0, align 4 @SCHED_OTHER = dso_local global i32 0, align 4 @SCHED_RR = 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/tmp9j6kqm2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SCHED_FIFO = dso_local global i32 0, align 4 @SCHED_OTHER = dso_local global i32 0, align 4 @SCHED_RR = 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"}