llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpe3zx33go.c'
source_filename = "/tmp/tmpe3zx33go.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CANMessageClear(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
br label %5
5: ; preds = %13, %2
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 32
%8 = sext i32 %7 to i64
%9 = inttoptr i64 %8 to ptr
%10 = load volatile i32, ptr %9, align 4
%11 = and i32 %10, 32768
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %5
br label %5, !llvm.loop !6
14: ; preds = %5
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 36
%17 = sext i32 %16 to i64
%18 = inttoptr i64 %17 to ptr
store volatile i32 160, ptr %18, align 4
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 48
%21 = sext i32 %20 to i64
%22 = inttoptr i64 %21 to ptr
store volatile i32 0, ptr %22, align 4
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 52
%25 = sext i32 %24 to i64
%26 = inttoptr i64 %25 to ptr
store volatile i32 0, ptr %26, align 4
%27 = load i32, ptr %4, align 4
%28 = and i32 %27, 63
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 32
%31 = sext i32 %30 to i64
%32 = inttoptr i64 %31 to ptr
store volatile i32 %28, ptr %32, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe3zx33go.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CANMessageClear(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
br label %5
5: ; preds = %5, %2
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 32
%8 = sext i32 %7 to i64
%9 = inttoptr i64 %8 to ptr
%10 = load volatile i32, ptr %9, align 4
%11 = and i32 %10, 32768
%12 = icmp ne i32 %11, 0
br i1 %12, label %5, label %13, !llvm.loop !6
13: ; preds = %5
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 36
%16 = sext i32 %15 to i64
%17 = inttoptr i64 %16 to ptr
store volatile i32 160, ptr %17, align 4
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 48
%20 = sext i32 %19 to i64
%21 = inttoptr i64 %20 to ptr
store volatile i32 0, ptr %21, align 4
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 52
%24 = sext i32 %23 to i64
%25 = inttoptr i64 %24 to ptr
store volatile i32 0, ptr %25, align 4
%26 = load i32, ptr %4, align 4
%27 = and i32 %26, 63
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 32
%30 = sext i32 %29 to i64
%31 = inttoptr i64 %30 to ptr
store volatile i32 %27, ptr %31, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4um_2zt7.c'
source_filename = "/tmp/tmp4um_2zt7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_bounding_box_double(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
store i32 0, ptr %13, align 4
br label %16
16: ; preds = %43, %5
%17 = load i32, ptr %13, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %46
20: ; preds = %16
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = load ptr, ptr %7, align 8
%24 = getelementptr inbounds i32, ptr %23, i64 0
%25 = load i32, ptr %24, align 4
%26 = mul nsw i32 %22, %25
%27 = load i32, ptr %13, align 4
%28 = add nsw i32 %26, %27
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %21, i64 %29
%31 = load double, ptr %30, align 8
%32 = load ptr, ptr %10, align 8
%33 = load i32, ptr %13, align 4
%34 = mul nsw i32 2, %33
%35 = add nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double, ptr %32, i64 %36
store double %31, ptr %37, align 8
%38 = load ptr, ptr %10, align 8
%39 = load i32, ptr %13, align 4
%40 = mul nsw i32 2, %39
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %38, i64 %41
store double %31, ptr %42, align 8
br label %43
43: ; preds = %20
%44 = load i32, ptr %13, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %13, align 4
br label %16, !llvm.loop !6
46: ; preds = %16
store i32 1, ptr %15, align 4
br label %47
47: ; preds = %107, %46
%48 = load i32, ptr %15, align 4
%49 = load i32, ptr %9, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %110
51: ; preds = %47
store i32 0, ptr %14, align 4
br label %52
52: ; preds = %103, %51
%53 = load i32, ptr %14, align 4
%54 = load i32, ptr %8, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %106
56: ; preds = %52
%57 = load i32, ptr %14, align 4
%58 = mul nsw i32 2, %57
store i32 %58, ptr %12, align 4
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %8, align 4
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %15, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load i32, ptr %64, align 4
%66 = mul nsw i32 %60, %65
%67 = load i32, ptr %14, align 4
%68 = add nsw i32 %66, %67
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds double, ptr %59, i64 %69
%71 = load double, ptr %70, align 8
store double %71, ptr %11, align 8
%72 = load double, ptr %11, align 8
%73 = load ptr, ptr %10, align 8
%74 = load i32, ptr %12, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
%77 = load double, ptr %76, align 8
%78 = fcmp olt double %72, %77
br i1 %78, label %79, label %85
79: ; preds = %56
%80 = load double, ptr %11, align 8
%81 = load ptr, ptr %10, align 8
%82 = load i32, ptr %12, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %81, i64 %83
store double %80, ptr %84, align 8
br label %102
85: ; preds = %56
%86 = load double, ptr %11, align 8
%87 = load ptr, ptr %10, align 8
%88 = load i32, ptr %12, align 4
%89 = add nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, ptr %87, i64 %90
%92 = load double, ptr %91, align 8
%93 = fcmp ogt double %86, %92
br i1 %93, label %94, label %101
94: ; preds = %85
%95 = load double, ptr %11, align 8
%96 = load ptr, ptr %10, align 8
%97 = load i32, ptr %12, align 4
%98 = add nsw i32 %97, 1
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, ptr %96, i64 %99
store double %95, ptr %100, align 8
br label %101
101: ; preds = %94, %85
br label %102
102: ; preds = %101, %79
br label %103
103: ; preds = %102
%104 = load i32, ptr %14, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %14, align 4
br label %52, !llvm.loop !8
106: ; preds = %52
br label %107
107: ; preds = %106
%108 = load i32, ptr %15, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %15, align 4
br label %47, !llvm.loop !9
110: ; preds = %47
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4um_2zt7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_bounding_box_double(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
store i32 0, ptr %13, align 4
%16 = load i32, ptr %13, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %48
.lr.ph: ; preds = %5
br label %19
19: ; preds = %.lr.ph, %42
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %8, align 4
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds i32, ptr %22, i64 0
%24 = load i32, ptr %23, align 4
%25 = mul nsw i32 %21, %24
%26 = load i32, ptr %13, align 4
%27 = add nsw i32 %25, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %20, i64 %28
%30 = load double, ptr %29, align 8
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %13, align 4
%33 = mul nsw i32 2, %32
%34 = add nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %31, i64 %35
store double %30, ptr %36, align 8
%37 = load ptr, ptr %10, align 8
%38 = load i32, ptr %13, align 4
%39 = mul nsw i32 2, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %37, i64 %40
store double %30, ptr %41, align 8
br label %42
42: ; preds = %19
%43 = load i32, ptr %13, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %13, align 4
%45 = load i32, ptr %13, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %5
store i32 1, ptr %15, align 4
%49 = load i32, ptr %15, align 4
%50 = load i32, ptr %9, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph5, label %116
.lr.ph5: ; preds = %48
br label %52
52: ; preds = %.lr.ph5, %110
store i32 0, ptr %14, align 4
%53 = load i32, ptr %14, align 4
%54 = load i32, ptr %8, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %.lr.ph2, label %109
.lr.ph2: ; preds = %52
br label %56
56: ; preds = %.lr.ph2, %103
%57 = load i32, ptr %14, align 4
%58 = mul nsw i32 2, %57
store i32 %58, ptr %12, align 4
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %8, align 4
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %15, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load i32, ptr %64, align 4
%66 = mul nsw i32 %60, %65
%67 = load i32, ptr %14, align 4
%68 = add nsw i32 %66, %67
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds double, ptr %59, i64 %69
%71 = load double, ptr %70, align 8
store double %71, ptr %11, align 8
%72 = load double, ptr %11, align 8
%73 = load ptr, ptr %10, align 8
%74 = load i32, ptr %12, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
%77 = load double, ptr %76, align 8
%78 = fcmp olt double %72, %77
br i1 %78, label %79, label %85
79: ; preds = %56
%80 = load double, ptr %11, align 8
%81 = load ptr, ptr %10, align 8
%82 = load i32, ptr %12, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %81, i64 %83
store double %80, ptr %84, align 8
br label %102
85: ; preds = %56
%86 = load double, ptr %11, align 8
%87 = load ptr, ptr %10, align 8
%88 = load i32, ptr %12, align 4
%89 = add nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, ptr %87, i64 %90
%92 = load double, ptr %91, align 8
%93 = fcmp ogt double %86, %92
br i1 %93, label %94, label %101
94: ; preds = %85
%95 = load double, ptr %11, align 8
%96 = load ptr, ptr %10, align 8
%97 = load i32, ptr %12, align 4
%98 = add nsw i32 %97, 1
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, ptr %96, i64 %99
store double %95, ptr %100, align 8
br label %101
101: ; preds = %94, %85
br label %102
102: ; preds = %101, %79
br label %103
103: ; preds = %102
%104 = load i32, ptr %14, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %14, align 4
%106 = load i32, ptr %14, align 4
%107 = load i32, ptr %8, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %56, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %103
br label %109
109: ; preds = %._crit_edge3, %52
br label %110
110: ; preds = %109
%111 = load i32, ptr %15, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %15, align 4
%113 = load i32, ptr %15, align 4
%114 = load i32, ptr %9, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %52, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %110
br label %116
116: ; preds = %._crit_edge6, %48
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmprucwk_xk.c'
source_filename = "/tmp/tmprucwk_xk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %4, align 8
store double 1.000000e+00, ptr %5, align 8
store i32 1, ptr %2, align 4
br label %7
7: ; preds = %29, %0
%8 = load i32, ptr %2, align 4
%9 = icmp sle i32 %8, 2
br i1 %9, label %10, label %32
10: ; preds = %7
%11 = load double, ptr %5, align 8
%12 = load double, ptr %5, align 8
%13 = fmul double %11, %12
store double %13, ptr %6, align 8
%14 = load i32, ptr %2, align 4
%15 = icmp ne i32 %14, 1
br i1 %15, label %16, label %20
16: ; preds = %10
%17 = load double, ptr %6, align 8
%18 = load double, ptr %3, align 8
%19 = fdiv double %17, %18
store double %19, ptr %4, align 8
br label %20
20: ; preds = %16, %10
%21 = load double, ptr %4, align 8
%22 = fcmp oeq double %21, 1.000000e+00
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 (...) @abort() #2
unreachable
25: ; preds = %20
%26 = load double, ptr %5, align 8
%27 = fdiv double %26, 2.000000e+00
store double %27, ptr %5, align 8
%28 = load double, ptr %6, align 8
store double %28, ptr %3, align 8
br label %29
29: ; preds = %25
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
br label %7, !llvm.loop !6
32: ; preds = %7
ret i32 0
}
; 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprucwk_xk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store i32 0, ptr %1, align 4
store double 0.000000e+00, ptr %4, align 8
store double 1.000000e+00, ptr %5, align 8
store i32 1, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %7, 2
br i1 %8, label %.lr.ph, label %33
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %28
%10 = load double, ptr %5, align 8
%11 = load double, ptr %5, align 8
%12 = fmul double %10, %11
store double %12, ptr %6, align 8
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %13, 1
br i1 %14, label %15, label %19
15: ; preds = %9
%16 = load double, ptr %6, align 8
%17 = load double, ptr %3, align 8
%18 = fdiv double %16, %17
store double %18, ptr %4, align 8
br label %19
19: ; preds = %15, %9
%20 = load double, ptr %4, align 8
%21 = fcmp oeq double %20, 1.000000e+00
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 (...) @abort() #2
unreachable
24: ; preds = %19
%25 = load double, ptr %5, align 8
%26 = fdiv double %25, 2.000000e+00
store double %26, ptr %5, align 8
%27 = load double, ptr %6, align 8
store double %27, ptr %3, align 8
br label %28
28: ; preds = %24
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %2, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp sle i32 %31, 2
br i1 %32, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %33
33: ; preds = %._crit_edge, %0
ret i32 0
}
; 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsuhy4qgf.c'
source_filename = "/tmp/tmpsuhy4qgf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"Regular file\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Directory\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Character device\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Block device\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"FIFO\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Symbolic link\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"SOCKET\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_file_type(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = alloca [30 x i8], align 16
store ptr %0, ptr %2, align 8
%5 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 30)
%7 = load ptr, ptr %2, align 8
%8 = call i64 @lstat(ptr noundef %7, ptr noundef %3)
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load i32, ptr @errno, align 4
%12 = call ptr @strerror(i32 noundef %11)
%13 = call i32 @SPC_MSG(i32 noundef 2, ptr noundef %12)
br label %79
14: ; preds = %1
%15 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = call i64 @S_ISREG(i32 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%21 = call i32 @strcpy(ptr noundef %20, ptr noundef @.str)
br label %76
22: ; preds = %14
%23 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%24 = load i32, ptr %23, align 4
%25 = call i64 @S_ISDIR(i32 noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %22
%28 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%29 = call i32 @strcpy(ptr noundef %28, ptr noundef @.str.1)
br label %75
30: ; preds = %22
%31 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = call i64 @S_ISCHR(i32 noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%37 = call i32 @strcpy(ptr noundef %36, ptr noundef @.str.2)
br label %74
38: ; preds = %30
%39 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%40 = load i32, ptr %39, align 4
%41 = call i64 @S_ISBLK(i32 noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %38
%44 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%45 = call i32 @strcpy(ptr noundef %44, ptr noundef @.str.3)
br label %73
46: ; preds = %38
%47 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%48 = load i32, ptr %47, align 4
%49 = call i64 @S_ISFIFO(i32 noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %46
%52 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%53 = call i32 @strcpy(ptr noundef %52, ptr noundef @.str.4)
br label %72
54: ; preds = %46
%55 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%56 = load i32, ptr %55, align 4
%57 = call i64 @S_ISLNK(i32 noundef %56)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %54
%60 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%61 = call i32 @strcpy(ptr noundef %60, ptr noundef @.str.5)
br label %71
62: ; preds = %54
%63 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%64 = load i32, ptr %63, align 4
%65 = call i64 @S_ISSOCK(i32 noundef %64)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %70
67: ; preds = %62
%68 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%69 = call i32 @strcpy(ptr noundef %68, ptr noundef @.str.6)
br label %70
70: ; preds = %67, %62
br label %71
71: ; preds = %70, %59
br label %72
72: ; preds = %71, %51
br label %73
73: ; preds = %72, %43
br label %74
74: ; preds = %73, %35
br label %75
75: ; preds = %74, %27
br label %76
76: ; preds = %75, %19
%77 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%78 = call i32 @SPC_MSG(i32 noundef 0, ptr noundef %77)
br label %79
79: ; preds = %76, %10
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i32 @SPC_MSG(i32 noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @S_ISREG(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i64 @S_ISCHR(i32 noundef) #1
declare i64 @S_ISBLK(i32 noundef) #1
declare i64 @S_ISFIFO(i32 noundef) #1
declare i64 @S_ISLNK(i32 noundef) #1
declare i64 @S_ISSOCK(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/tmpsuhy4qgf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"Regular file\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Directory\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Character device\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Block device\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"FIFO\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Symbolic link\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"SOCKET\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_file_type(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = alloca [30 x i8], align 16
store ptr %0, ptr %2, align 8
%5 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 30)
%7 = load ptr, ptr %2, align 8
%8 = call i64 @lstat(ptr noundef %7, ptr noundef %3)
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load i32, ptr @errno, align 4
%12 = call ptr @strerror(i32 noundef %11)
%13 = call i32 @SPC_MSG(i32 noundef 2, ptr noundef %12)
br label %79
14: ; preds = %1
%15 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = call i64 @S_ISREG(i32 noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%21 = call i32 @strcpy(ptr noundef %20, ptr noundef @.str)
br label %76
22: ; preds = %14
%23 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%24 = load i32, ptr %23, align 4
%25 = call i64 @S_ISDIR(i32 noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %22
%28 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%29 = call i32 @strcpy(ptr noundef %28, ptr noundef @.str.1)
br label %75
30: ; preds = %22
%31 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = call i64 @S_ISCHR(i32 noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%37 = call i32 @strcpy(ptr noundef %36, ptr noundef @.str.2)
br label %74
38: ; preds = %30
%39 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%40 = load i32, ptr %39, align 4
%41 = call i64 @S_ISBLK(i32 noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %38
%44 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%45 = call i32 @strcpy(ptr noundef %44, ptr noundef @.str.3)
br label %73
46: ; preds = %38
%47 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%48 = load i32, ptr %47, align 4
%49 = call i64 @S_ISFIFO(i32 noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %46
%52 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%53 = call i32 @strcpy(ptr noundef %52, ptr noundef @.str.4)
br label %72
54: ; preds = %46
%55 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%56 = load i32, ptr %55, align 4
%57 = call i64 @S_ISLNK(i32 noundef %56)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %54
%60 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%61 = call i32 @strcpy(ptr noundef %60, ptr noundef @.str.5)
br label %71
62: ; preds = %54
%63 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%64 = load i32, ptr %63, align 4
%65 = call i64 @S_ISSOCK(i32 noundef %64)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %70
67: ; preds = %62
%68 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%69 = call i32 @strcpy(ptr noundef %68, ptr noundef @.str.6)
br label %70
70: ; preds = %67, %62
br label %71
71: ; preds = %70, %59
br label %72
72: ; preds = %71, %51
br label %73
73: ; preds = %72, %43
br label %74
74: ; preds = %73, %35
br label %75
75: ; preds = %74, %27
br label %76
76: ; preds = %75, %19
%77 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0
%78 = call i32 @SPC_MSG(i32 noundef 0, ptr noundef %77)
br label %79
79: ; preds = %76, %10
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i32 @SPC_MSG(i32 noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @S_ISREG(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i64 @S_ISCHR(i32 noundef) #1
declare i64 @S_ISBLK(i32 noundef) #1
declare i64 @S_ISFIFO(i32 noundef) #1
declare i64 @S_ISLNK(i32 noundef) #1
declare i64 @S_ISSOCK(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/tmp635rpa_0.c'
source_filename = "/tmp/tmp635rpa_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_map_force(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load i64, ptr %8, align 8
%13 = call i32 @draw_map_sub(i64 noundef %9, i64 noundef %10, i64 noundef %11, i64 noundef %12, i32 noundef 1)
ret void
}
declare i32 @draw_map_sub(i64 noundef, i64 noundef, i64 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/tmp635rpa_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_map_force(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load i64, ptr %8, align 8
%13 = call i32 @draw_map_sub(i64 noundef %9, i64 noundef %10, i64 noundef %11, i64 noundef %12, i32 noundef 1)
ret void
}
declare i32 @draw_map_sub(i64 noundef, i64 noundef, i64 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/tmpf_yzugfm.c'
source_filename = "/tmp/tmpf_yzugfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"a is %d, b is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gcd(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = load i32, ptr %4, align 4
store i32 %9, ptr %3, align 4
br label %24
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %3, align 4
br label %24
15: ; preds = %10
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = srem i32 %20, %21
%23 = call i32 @gcd(i32 noundef %19, i32 noundef %22)
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %15, %13, %8
%25 = load i32, ptr %3, align 4
ret i32 %25
}
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/tmpf_yzugfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"a is %d, b is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gcd(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = load i32, ptr %4, align 4
store i32 %9, ptr %3, align 4
br label %24
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = load i32, ptr %5, align 4
store i32 %14, ptr %3, align 4
br label %24
15: ; preds = %10
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = srem i32 %20, %21
%23 = call i32 @gcd(i32 noundef %19, i32 noundef %22)
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %15, %13, %8
%25 = load i32, ptr %3, align 4
ret i32 %25
}
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/tmp3qpbv4kw.c'
source_filename = "/tmp/tmp3qpbv4kw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_pval(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 4, %13
%15 = trunc i64 %14 to i32
%16 = call ptr @malloc(i32 noundef %15)
store ptr %16, ptr %7, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %8, align 4
br label %17
17: ; preds = %45, %3
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %48
21: ; preds = %17
%22 = call i32 (...) @rand()
%23 = load i32, ptr %6, align 4
%24 = mul nsw i32 2, %23
%25 = srem i32 %22, %24
%26 = load i32, ptr %6, align 4
%27 = sub nsw i32 %25, %26
store i32 %27, ptr %9, align 4
%28 = call i32 (...) @rand()
%29 = load i32, ptr %6, align 4
%30 = mul nsw i32 2, %29
%31 = srem i32 %28, %30
%32 = load i32, ptr %6, align 4
%33 = sub nsw i32 %31, %32
store i32 %33, ptr %10, align 4
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %4, align 4
%37 = call i32 @bias_hash(i32 noundef %34, i32 noundef %35, i32 noundef %36)
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %8, align 4
%40 = call i64 @count_collisions(i32 noundef %37, ptr noundef %38, i32 noundef %39)
%41 = load i32, ptr %11, align 4
%42 = sext i32 %41 to i64
%43 = add nsw i64 %42, %40
%44 = trunc i64 %43 to i32
store i32 %44, ptr %11, align 4
br label %45
45: ; preds = %21
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
br label %17, !llvm.loop !6
48: ; preds = %17
%49 = load ptr, ptr %7, align 8
%50 = call i32 @free(ptr noundef %49)
%51 = load i32, ptr %11, align 4
ret i32 %51
}
declare ptr @malloc(i32 noundef) #1
declare i32 @rand(...) #1
declare i64 @count_collisions(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bias_hash(i32 noundef, i32 noundef, i32 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/tmp3qpbv4kw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_pval(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 4, %13
%15 = trunc i64 %14 to i32
%16 = call ptr @malloc(i32 noundef %15)
store ptr %16, ptr %7, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %50
.lr.ph: ; preds = %3
br label %20
20: ; preds = %.lr.ph, %44
%21 = call i32 (...) @rand()
%22 = load i32, ptr %6, align 4
%23 = mul nsw i32 2, %22
%24 = srem i32 %21, %23
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %24, %25
store i32 %26, ptr %9, align 4
%27 = call i32 (...) @rand()
%28 = load i32, ptr %6, align 4
%29 = mul nsw i32 2, %28
%30 = srem i32 %27, %29
%31 = load i32, ptr %6, align 4
%32 = sub nsw i32 %30, %31
store i32 %32, ptr %10, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %4, align 4
%36 = call i32 @bias_hash(i32 noundef %33, i32 noundef %34, i32 noundef %35)
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %8, align 4
%39 = call i64 @count_collisions(i32 noundef %36, ptr noundef %37, i32 noundef %38)
%40 = load i32, ptr %11, align 4
%41 = sext i32 %40 to i64
%42 = add nsw i64 %41, %39
%43 = trunc i64 %42 to i32
store i32 %43, ptr %11, align 4
br label %44
44: ; preds = %20
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
%47 = load i32, ptr %8, align 4
%48 = load i32, ptr %5, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %3
%51 = load ptr, ptr %7, align 8
%52 = call i32 @free(ptr noundef %51)
%53 = load i32, ptr %11, align 4
ret i32 %53
}
declare ptr @malloc(i32 noundef) #1
declare i32 @rand(...) #1
declare i64 @count_collisions(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bias_hash(i32 noundef, i32 noundef, i32 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/tmpemekywqd.c'
source_filename = "/tmp/tmpemekywqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usb_disconnect() #0 {
%1 = call i32 (...) @usb_board_disconnect()
ret void
}
declare i32 @usb_board_disconnect(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpemekywqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usb_disconnect() #0 {
%1 = call i32 (...) @usb_board_disconnect()
ret void
}
declare i32 @usb_board_disconnect(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprb0jwdlz.c'
source_filename = "/tmp/tmprb0jwdlz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vox_set_autostop(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @sv_set_autostop(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @sv_set_autostop(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/tmprb0jwdlz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vox_set_autostop(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @sv_set_autostop(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @sv_set_autostop(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/tmpt3mgrl37.c'
source_filename = "/tmp/tmpt3mgrl37.c"
target datalayout = "e-m:e-p270: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/tmpt3mgrl37.c"
target datalayout = "e-m:e-p270: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/tmpk5ibmsyp.c'
source_filename = "/tmp/tmpk5ibmsyp.c"
target datalayout = "e-m:e-p270: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.target_y.coeff = private unnamed_addr constant [19 x float] [float 0xBF91CE4E60000000, float 0xC04348FDE0000000, float 0x40500F24C0000000, float 0xBFE0954E40000000, float 0x3FDDAB6480000000, float 0x3FC279F060000000, float 0xBFB6FF1AE0000000, float 0xC021B2E500000000, float 0x4044E27780000000, float 0xC0520DA140000000, float 0xBFF8982320000000, float 0x400BC657E0000000, float 0xBF9294CBC0000000, float 0xBFFFCA81C0000000, float 0x3FADCB6D20000000, float 0xBF548F8D80000000, float 0x404B2A67E0000000, float 0xC02DEB5D20000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_y(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [19 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, 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
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
%36 = alloca float, align 4
%37 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 18, ptr %7, align 4
store float 0x4004C7F9A0000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%38 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %38, align 16
%39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %39, align 4
%40 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float -1.800000e+01, ptr %40, align 8
%41 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032035400000000, ptr %41, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%42 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %42, align 16
%43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %43, align 4
%44 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 1.800000e+01, ptr %44, align 8
%45 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4031FCEDA0000000, ptr %45, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_y.coeff, i64 76, i1 false)
store i32 0, ptr %13, align 4
%46 = load i32, ptr %13, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %84
48: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %49
49: ; preds = %80, %48
%50 = load i32, ptr %14, align 4
%51 = load i32, ptr %6, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %83
53: ; preds = %49
%54 = load i32, ptr %14, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %55
%57 = load float, ptr %56, align 4
%58 = load i32, ptr %14, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %59
%61 = load float, ptr %60, align 4
%62 = fcmp oeq float %57, %61
br i1 %62, label %63, label %64
63: ; preds = %53
br label %80
64: ; preds = %53
%65 = load i32, ptr %14, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %66
%68 = load float, ptr %67, align 4
%69 = load i32, ptr %14, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %70
%72 = load float, ptr %71, align 4
%73 = fsub float %68, %72
%74 = fpext float %73 to double
%75 = fdiv double 2.000000e+00, %74
%76 = fptrunc double %75 to float
%77 = load i32, ptr %14, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %78
store float %76, ptr %79, align 4
br label %80
80: ; preds = %64, %63
%81 = load i32, ptr %14, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %14, align 4
br label %49, !llvm.loop !6
83: ; preds = %49
br label %84
84: ; preds = %83, %3
%85 = load ptr, ptr %4, align 8
%86 = getelementptr inbounds float, ptr %85, i64 0
%87 = load float, ptr %86, align 4
%88 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%89 = load float, ptr %88, align 16
%90 = fsub float %87, %89
%91 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%92 = load float, ptr %91, align 16
%93 = fmul float %90, %92
%94 = fpext float %93 to double
%95 = fadd double 1.000000e+00, %94
%96 = fptrunc double %95 to float
store float %96, ptr %15, align 4
%97 = load ptr, ptr %5, align 8
%98 = getelementptr inbounds float, ptr %97, i64 0
%99 = load float, ptr %98, align 4
%100 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%101 = load float, ptr %100, align 16
%102 = fmul float %99, %101
store float %102, ptr %16, align 4
%103 = load ptr, ptr %4, align 8
%104 = getelementptr inbounds float, ptr %103, i64 1
%105 = load float, ptr %104, align 4
%106 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%107 = load float, ptr %106, align 4
%108 = fsub float %105, %107
%109 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%110 = load float, ptr %109, align 4
%111 = fmul float %108, %110
%112 = fpext float %111 to double
%113 = fadd double 1.000000e+00, %112
%114 = fptrunc double %113 to float
store float %114, ptr %17, align 4
%115 = load ptr, ptr %5, align 8
%116 = getelementptr inbounds float, ptr %115, i64 1
%117 = load float, ptr %116, align 4
%118 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%119 = load float, ptr %118, align 4
%120 = fmul float %117, %119
store float %120, ptr %18, align 4
%121 = load ptr, ptr %4, align 8
%122 = getelementptr inbounds float, ptr %121, i64 2
%123 = load float, ptr %122, align 4
%124 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%125 = load float, ptr %124, align 8
%126 = fsub float %123, %125
%127 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%128 = load float, ptr %127, align 8
%129 = fmul float %126, %128
%130 = fpext float %129 to double
%131 = fadd double 1.000000e+00, %130
%132 = fptrunc double %131 to float
store float %132, ptr %19, align 4
%133 = load ptr, ptr %5, align 8
%134 = getelementptr inbounds float, ptr %133, i64 2
%135 = load float, ptr %134, align 4
%136 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%137 = load float, ptr %136, align 8
%138 = fmul float %135, %137
store float %138, ptr %20, align 4
%139 = load ptr, ptr %4, align 8
%140 = getelementptr inbounds float, ptr %139, i64 3
%141 = load float, ptr %140, align 4
%142 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%143 = load float, ptr %142, align 4
%144 = fsub float %141, %143
%145 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%146 = load float, ptr %145, align 4
%147 = fmul float %144, %146
%148 = fpext float %147 to double
%149 = fadd double 1.000000e+00, %148
%150 = fptrunc double %149 to float
store float %150, ptr %21, align 4
%151 = load ptr, ptr %5, align 8
%152 = getelementptr inbounds float, ptr %151, i64 3
%153 = load float, ptr %152, align 4
%154 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%155 = load float, ptr %154, align 4
%156 = fmul float %153, %155
store float %156, ptr %22, align 4
%157 = load float, ptr %15, align 4
store float %157, ptr %23, align 4
%158 = load float, ptr %23, align 4
%159 = load float, ptr %15, align 4
%160 = fmul float %158, %159
store float %160, ptr %24, align 4
%161 = load float, ptr %24, align 4
%162 = load float, ptr %15, align 4
%163 = fmul float %161, %162
store float %163, ptr %25, align 4
%164 = load float, ptr %25, align 4
%165 = load float, ptr %15, align 4
%166 = fmul float %164, %165
store float %166, ptr %26, align 4
%167 = load float, ptr %17, align 4
store float %167, ptr %27, align 4
%168 = load float, ptr %27, align 4
%169 = load float, ptr %17, align 4
%170 = fmul float %168, %169
store float %170, ptr %28, align 4
%171 = load float, ptr %19, align 4
store float %171, ptr %29, align 4
%172 = load float, ptr %29, align 4
%173 = load float, ptr %19, align 4
%174 = fmul float %172, %173
store float %174, ptr %30, align 4
%175 = load float, ptr %30, align 4
%176 = load float, ptr %19, align 4
%177 = fmul float %175, %176
store float %177, ptr %31, align 4
%178 = load float, ptr %31, align 4
%179 = load float, ptr %19, align 4
%180 = fmul float %178, %179
store float %180, ptr %32, align 4
%181 = load float, ptr %21, align 4
store float %181, ptr %33, align 4
%182 = load float, ptr %33, align 4
%183 = load float, ptr %21, align 4
%184 = fmul float %182, %183
store float %184, ptr %34, align 4
%185 = load float, ptr %8, align 4
%186 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 0
%187 = load float, ptr %186, align 16
%188 = fadd float %185, %187
%189 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 1
%190 = load float, ptr %189, align 4
%191 = load float, ptr %27, align 4
%192 = call float @llvm.fmuladd.f32(float %190, float %191, float %188)
%193 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 2
%194 = load float, ptr %193, align 8
%195 = load float, ptr %33, align 4
%196 = call float @llvm.fmuladd.f32(float %194, float %195, float %192)
%197 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 3
%198 = load float, ptr %197, align 4
%199 = load float, ptr %27, align 4
%200 = fmul float %198, %199
%201 = load float, ptr %33, align 4
%202 = call float @llvm.fmuladd.f32(float %200, float %201, float %196)
%203 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 4
%204 = load float, ptr %203, align 16
%205 = load float, ptr %34, align 4
%206 = call float @llvm.fmuladd.f32(float %204, float %205, float %202)
%207 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 5
%208 = load float, ptr %207, align 4
%209 = load float, ptr %28, align 4
%210 = call float @llvm.fmuladd.f32(float %208, float %209, float %206)
%211 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 6
%212 = load float, ptr %211, align 8
%213 = load float, ptr %30, align 4
%214 = call float @llvm.fmuladd.f32(float %212, float %213, float %210)
%215 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 7
%216 = load float, ptr %215, align 4
%217 = load float, ptr %26, align 4
%218 = call float @llvm.fmuladd.f32(float %216, float %217, float %214)
store float %218, ptr %35, align 4
%219 = load float, ptr %35, align 4
%220 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 8
%221 = load float, ptr %220, align 16
%222 = load float, ptr %25, align 4
%223 = fmul float %221, %222
%224 = load float, ptr %29, align 4
%225 = call float @llvm.fmuladd.f32(float %223, float %224, float %219)
%226 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 9
%227 = load float, ptr %226, align 4
%228 = load float, ptr %24, align 4
%229 = fmul float %227, %228
%230 = load float, ptr %30, align 4
%231 = call float @llvm.fmuladd.f32(float %229, float %230, float %225)
%232 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 10
%233 = load float, ptr %232, align 8
%234 = load float, ptr %26, align 4
%235 = fmul float %233, %234
%236 = load float, ptr %30, align 4
%237 = call float @llvm.fmuladd.f32(float %235, float %236, float %231)
%238 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 11
%239 = load float, ptr %238, align 4
%240 = load float, ptr %25, align 4
%241 = fmul float %239, %240
%242 = load float, ptr %31, align 4
%243 = call float @llvm.fmuladd.f32(float %241, float %242, float %237)
%244 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 12
%245 = load float, ptr %244, align 16
%246 = load float, ptr %23, align 4
%247 = fmul float %245, %246
%248 = load float, ptr %29, align 4
%249 = call float @llvm.fmuladd.f32(float %247, float %248, float %243)
%250 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 13
%251 = load float, ptr %250, align 4
%252 = load float, ptr %24, align 4
%253 = fmul float %251, %252
%254 = load float, ptr %32, align 4
%255 = call float @llvm.fmuladd.f32(float %253, float %254, float %249)
%256 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 14
%257 = load float, ptr %256, align 8
%258 = load float, ptr %24, align 4
%259 = call float @llvm.fmuladd.f32(float %257, float %258, float %255)
%260 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 15
%261 = load float, ptr %260, align 4
%262 = load float, ptr %27, align 4
%263 = fmul float %261, %262
%264 = load float, ptr %30, align 4
%265 = call float @llvm.fmuladd.f32(float %263, float %264, float %259)
%266 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 16
%267 = load float, ptr %266, align 16
%268 = load float, ptr %23, align 4
%269 = fmul float %267, %268
%270 = load float, ptr %31, align 4
%271 = call float @llvm.fmuladd.f32(float %269, float %270, float %265)
store float %271, ptr %35, align 4
%272 = load float, ptr %35, align 4
%273 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 17
%274 = load float, ptr %273, align 4
%275 = load float, ptr %32, align 4
%276 = call float @llvm.fmuladd.f32(float %274, float %275, float %272)
store float %276, ptr %35, align 4
%277 = load float, ptr %16, align 4
%278 = fadd float 0.000000e+00, %277
%279 = load float, ptr %18, align 4
%280 = fadd float %278, %279
%281 = load float, ptr %20, align 4
%282 = fadd float %280, %281
%283 = load float, ptr %22, align 4
%284 = fadd float %282, %283
store float %284, ptr %36, align 4
%285 = load float, ptr %36, align 4
%286 = fcmp oeq float %285, 0.000000e+00
br i1 %286, label %287, label %288
287: ; preds = %84
br label %451
288: ; preds = %84
%289 = load float, ptr %16, align 4
%290 = load float, ptr %16, align 4
%291 = fmul float %289, %290
%292 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 7
%293 = load float, ptr %292, align 4
%294 = fmul float 4.000000e+00, %293
%295 = load float, ptr %25, align 4
%296 = call float @llvm.fmuladd.f32(float %294, float %295, float 0.000000e+00)
%297 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 8
%298 = load float, ptr %297, align 16
%299 = fmul float 3.000000e+00, %298
%300 = load float, ptr %24, align 4
%301 = fmul float %299, %300
%302 = load float, ptr %29, align 4
%303 = call float @llvm.fmuladd.f32(float %301, float %302, float %296)
%304 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 9
%305 = load float, ptr %304, align 4
%306 = fmul float 2.000000e+00, %305
%307 = load float, ptr %23, align 4
%308 = fmul float %306, %307
%309 = load float, ptr %30, align 4
%310 = call float @llvm.fmuladd.f32(float %308, float %309, float %303)
%311 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 10
%312 = load float, ptr %311, align 8
%313 = fmul float 4.000000e+00, %312
%314 = load float, ptr %25, align 4
%315 = fmul float %313, %314
%316 = load float, ptr %30, align 4
%317 = call float @llvm.fmuladd.f32(float %315, float %316, float %310)
%318 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 11
%319 = load float, ptr %318, align 4
%320 = fmul float 3.000000e+00, %319
%321 = load float, ptr %24, align 4
%322 = fmul float %320, %321
%323 = load float, ptr %31, align 4
%324 = call float @llvm.fmuladd.f32(float %322, float %323, float %317)
%325 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 12
%326 = load float, ptr %325, align 16
%327 = load float, ptr %29, align 4
%328 = call float @llvm.fmuladd.f32(float %326, float %327, float %324)
%329 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 13
%330 = load float, ptr %329, align 4
%331 = fmul float 2.000000e+00, %330
%332 = load float, ptr %23, align 4
%333 = fmul float %331, %332
%334 = load float, ptr %32, align 4
%335 = call float @llvm.fmuladd.f32(float %333, float %334, float %328)
%336 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 14
%337 = load float, ptr %336, align 8
%338 = fmul float 2.000000e+00, %337
%339 = load float, ptr %23, align 4
%340 = call float @llvm.fmuladd.f32(float %338, float %339, float %335)
%341 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 16
%342 = load float, ptr %341, align 16
%343 = load float, ptr %31, align 4
%344 = call float @llvm.fmuladd.f32(float %342, float %343, float %340)
%345 = call float @pow(float noundef %344, i32 noundef 2)
%346 = load float, ptr %18, align 4
%347 = load float, ptr %18, align 4
%348 = fmul float %346, %347
%349 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 1
%350 = load float, ptr %349, align 4
%351 = fadd float 0.000000e+00, %350
%352 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 3
%353 = load float, ptr %352, align 4
%354 = load float, ptr %33, align 4
%355 = call float @llvm.fmuladd.f32(float %353, float %354, float %351)
%356 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 5
%357 = load float, ptr %356, align 4
%358 = fmul float 2.000000e+00, %357
%359 = load float, ptr %27, align 4
%360 = call float @llvm.fmuladd.f32(float %358, float %359, float %355)
%361 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 15
%362 = load float, ptr %361, align 4
%363 = load float, ptr %30, align 4
%364 = call float @llvm.fmuladd.f32(float %362, float %363, float %360)
%365 = call float @pow(float noundef %364, i32 noundef 2)
%366 = fmul float %348, %365
%367 = call float @llvm.fmuladd.f32(float %291, float %345, float %366)
%368 = load float, ptr %20, align 4
%369 = load float, ptr %20, align 4
%370 = fmul float %368, %369
%371 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 6
%372 = load float, ptr %371, align 8
%373 = fmul float 2.000000e+00, %372
%374 = load float, ptr %29, align 4
%375 = call float @llvm.fmuladd.f32(float %373, float %374, float 0.000000e+00)
%376 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 8
%377 = load float, ptr %376, align 16
%378 = load float, ptr %25, align 4
%379 = call float @llvm.fmuladd.f32(float %377, float %378, float %375)
%380 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 9
%381 = load float, ptr %380, align 4
%382 = fmul float 2.000000e+00, %381
%383 = load float, ptr %29, align 4
%384 = fmul float %382, %383
%385 = load float, ptr %24, align 4
%386 = call float @llvm.fmuladd.f32(float %384, float %385, float %379)
%387 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 10
%388 = load float, ptr %387, align 8
%389 = fmul float 2.000000e+00, %388
%390 = load float, ptr %29, align 4
%391 = fmul float %389, %390
%392 = load float, ptr %26, align 4
%393 = call float @llvm.fmuladd.f32(float %391, float %392, float %386)
%394 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 11
%395 = load float, ptr %394, align 4
%396 = fmul float 3.000000e+00, %395
%397 = load float, ptr %30, align 4
%398 = fmul float %396, %397
%399 = load float, ptr %25, align 4
%400 = call float @llvm.fmuladd.f32(float %398, float %399, float %393)
%401 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 12
%402 = load float, ptr %401, align 16
%403 = load float, ptr %23, align 4
%404 = call float @llvm.fmuladd.f32(float %402, float %403, float %400)
%405 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 13
%406 = load float, ptr %405, align 4
%407 = fmul float 4.000000e+00, %406
%408 = load float, ptr %31, align 4
%409 = fmul float %407, %408
%410 = load float, ptr %24, align 4
%411 = call float @llvm.fmuladd.f32(float %409, float %410, float %404)
%412 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 15
%413 = load float, ptr %412, align 4
%414 = fmul float 2.000000e+00, %413
%415 = load float, ptr %29, align 4
%416 = fmul float %414, %415
%417 = load float, ptr %27, align 4
%418 = call float @llvm.fmuladd.f32(float %416, float %417, float %411)
%419 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 16
%420 = load float, ptr %419, align 16
%421 = fmul float 3.000000e+00, %420
%422 = load float, ptr %30, align 4
%423 = fmul float %421, %422
%424 = load float, ptr %23, align 4
%425 = call float @llvm.fmuladd.f32(float %423, float %424, float %418)
%426 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 17
%427 = load float, ptr %426, align 4
%428 = fmul float 4.000000e+00, %427
%429 = load float, ptr %31, align 4
%430 = call float @llvm.fmuladd.f32(float %428, float %429, float %425)
%431 = call float @pow(float noundef %430, i32 noundef 2)
%432 = call float @llvm.fmuladd.f32(float %370, float %431, float %367)
%433 = load float, ptr %22, align 4
%434 = load float, ptr %22, align 4
%435 = fmul float %433, %434
%436 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 2
%437 = load float, ptr %436, align 8
%438 = fadd float 0.000000e+00, %437
%439 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 3
%440 = load float, ptr %439, align 4
%441 = load float, ptr %27, align 4
%442 = call float @llvm.fmuladd.f32(float %440, float %441, float %438)
%443 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 4
%444 = load float, ptr %443, align 16
%445 = fmul float 2.000000e+00, %444
%446 = load float, ptr %33, align 4
%447 = call float @llvm.fmuladd.f32(float %445, float %446, float %442)
%448 = call float @pow(float noundef %447, i32 noundef 2)
%449 = call float @llvm.fmuladd.f32(float %435, float %448, float %432)
%450 = call float @sqrt(float noundef %449)
br label %451
451: ; preds = %288, %287
%452 = phi float [ 0.000000e+00, %287 ], [ %450, %288 ]
store float %452, ptr %37, align 4
%453 = load float, ptr %37, align 4
%454 = load ptr, ptr %5, align 8
%455 = getelementptr inbounds float, ptr %454, i64 0
store float %453, ptr %455, align 4
%456 = load float, ptr %35, align 4
ret float %456
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpk5ibmsyp.c"
target datalayout = "e-m:e-p270: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.target_y.coeff = private unnamed_addr constant [19 x float] [float 0xBF91CE4E60000000, float 0xC04348FDE0000000, float 0x40500F24C0000000, float 0xBFE0954E40000000, float 0x3FDDAB6480000000, float 0x3FC279F060000000, float 0xBFB6FF1AE0000000, float 0xC021B2E500000000, float 0x4044E27780000000, float 0xC0520DA140000000, float 0xBFF8982320000000, float 0x400BC657E0000000, float 0xBF9294CBC0000000, float 0xBFFFCA81C0000000, float 0x3FADCB6D20000000, float 0xBF548F8D80000000, float 0x404B2A67E0000000, float 0xC02DEB5D20000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_y(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [19 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, 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
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
%36 = alloca float, align 4
%37 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 18, ptr %7, align 4
store float 0x4004C7F9A0000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%38 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %38, align 16
%39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %39, align 4
%40 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float -1.800000e+01, ptr %40, align 8
%41 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032035400000000, ptr %41, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%42 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %42, align 16
%43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %43, align 4
%44 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 1.800000e+01, ptr %44, align 8
%45 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4031FCEDA0000000, ptr %45, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_y.coeff, i64 76, i1 false)
store i32 0, ptr %13, align 4
%46 = load i32, ptr %13, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %86
48: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
%49 = load i32, ptr %14, align 4
%50 = load i32, ptr %6, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph, label %85
.lr.ph: ; preds = %48
br label %52
52: ; preds = %.lr.ph, %79
%53 = load i32, ptr %14, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %54
%56 = load float, ptr %55, align 4
%57 = load i32, ptr %14, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %58
%60 = load float, ptr %59, align 4
%61 = fcmp oeq float %56, %60
br i1 %61, label %62, label %63
62: ; preds = %52
br label %79
63: ; preds = %52
%64 = load i32, ptr %14, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %65
%67 = load float, ptr %66, align 4
%68 = load i32, ptr %14, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %69
%71 = load float, ptr %70, align 4
%72 = fsub float %67, %71
%73 = fpext float %72 to double
%74 = fdiv double 2.000000e+00, %73
%75 = fptrunc double %74 to float
%76 = load i32, ptr %14, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %77
store float %75, ptr %78, align 4
br label %79
79: ; preds = %63, %62
%80 = load i32, ptr %14, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %14, align 4
%82 = load i32, ptr %14, align 4
%83 = load i32, ptr %6, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %52, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %79
br label %85
85: ; preds = %._crit_edge, %48
br label %86
86: ; preds = %85, %3
%87 = load ptr, ptr %4, align 8
%88 = getelementptr inbounds float, ptr %87, i64 0
%89 = load float, ptr %88, align 4
%90 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%91 = load float, ptr %90, align 16
%92 = fsub float %89, %91
%93 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%94 = load float, ptr %93, align 16
%95 = fmul float %92, %94
%96 = fpext float %95 to double
%97 = fadd double 1.000000e+00, %96
%98 = fptrunc double %97 to float
store float %98, ptr %15, align 4
%99 = load ptr, ptr %5, align 8
%100 = getelementptr inbounds float, ptr %99, i64 0
%101 = load float, ptr %100, align 4
%102 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%103 = load float, ptr %102, align 16
%104 = fmul float %101, %103
store float %104, ptr %16, align 4
%105 = load ptr, ptr %4, align 8
%106 = getelementptr inbounds float, ptr %105, i64 1
%107 = load float, ptr %106, align 4
%108 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%109 = load float, ptr %108, align 4
%110 = fsub float %107, %109
%111 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%112 = load float, ptr %111, align 4
%113 = fmul float %110, %112
%114 = fpext float %113 to double
%115 = fadd double 1.000000e+00, %114
%116 = fptrunc double %115 to float
store float %116, ptr %17, align 4
%117 = load ptr, ptr %5, align 8
%118 = getelementptr inbounds float, ptr %117, i64 1
%119 = load float, ptr %118, align 4
%120 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%121 = load float, ptr %120, align 4
%122 = fmul float %119, %121
store float %122, ptr %18, align 4
%123 = load ptr, ptr %4, align 8
%124 = getelementptr inbounds float, ptr %123, i64 2
%125 = load float, ptr %124, align 4
%126 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%127 = load float, ptr %126, align 8
%128 = fsub float %125, %127
%129 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%130 = load float, ptr %129, align 8
%131 = fmul float %128, %130
%132 = fpext float %131 to double
%133 = fadd double 1.000000e+00, %132
%134 = fptrunc double %133 to float
store float %134, ptr %19, align 4
%135 = load ptr, ptr %5, align 8
%136 = getelementptr inbounds float, ptr %135, i64 2
%137 = load float, ptr %136, align 4
%138 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%139 = load float, ptr %138, align 8
%140 = fmul float %137, %139
store float %140, ptr %20, align 4
%141 = load ptr, ptr %4, align 8
%142 = getelementptr inbounds float, ptr %141, i64 3
%143 = load float, ptr %142, align 4
%144 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%145 = load float, ptr %144, align 4
%146 = fsub float %143, %145
%147 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%148 = load float, ptr %147, align 4
%149 = fmul float %146, %148
%150 = fpext float %149 to double
%151 = fadd double 1.000000e+00, %150
%152 = fptrunc double %151 to float
store float %152, ptr %21, align 4
%153 = load ptr, ptr %5, align 8
%154 = getelementptr inbounds float, ptr %153, i64 3
%155 = load float, ptr %154, align 4
%156 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%157 = load float, ptr %156, align 4
%158 = fmul float %155, %157
store float %158, ptr %22, align 4
%159 = load float, ptr %15, align 4
store float %159, ptr %23, align 4
%160 = load float, ptr %23, align 4
%161 = load float, ptr %15, align 4
%162 = fmul float %160, %161
store float %162, ptr %24, align 4
%163 = load float, ptr %24, align 4
%164 = load float, ptr %15, align 4
%165 = fmul float %163, %164
store float %165, ptr %25, align 4
%166 = load float, ptr %25, align 4
%167 = load float, ptr %15, align 4
%168 = fmul float %166, %167
store float %168, ptr %26, align 4
%169 = load float, ptr %17, align 4
store float %169, ptr %27, align 4
%170 = load float, ptr %27, align 4
%171 = load float, ptr %17, align 4
%172 = fmul float %170, %171
store float %172, ptr %28, align 4
%173 = load float, ptr %19, align 4
store float %173, ptr %29, align 4
%174 = load float, ptr %29, align 4
%175 = load float, ptr %19, align 4
%176 = fmul float %174, %175
store float %176, ptr %30, align 4
%177 = load float, ptr %30, align 4
%178 = load float, ptr %19, align 4
%179 = fmul float %177, %178
store float %179, ptr %31, align 4
%180 = load float, ptr %31, align 4
%181 = load float, ptr %19, align 4
%182 = fmul float %180, %181
store float %182, ptr %32, align 4
%183 = load float, ptr %21, align 4
store float %183, ptr %33, align 4
%184 = load float, ptr %33, align 4
%185 = load float, ptr %21, align 4
%186 = fmul float %184, %185
store float %186, ptr %34, align 4
%187 = load float, ptr %8, align 4
%188 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 0
%189 = load float, ptr %188, align 16
%190 = fadd float %187, %189
%191 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 1
%192 = load float, ptr %191, align 4
%193 = load float, ptr %27, align 4
%194 = call float @llvm.fmuladd.f32(float %192, float %193, float %190)
%195 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 2
%196 = load float, ptr %195, align 8
%197 = load float, ptr %33, align 4
%198 = call float @llvm.fmuladd.f32(float %196, float %197, float %194)
%199 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 3
%200 = load float, ptr %199, align 4
%201 = load float, ptr %27, align 4
%202 = fmul float %200, %201
%203 = load float, ptr %33, align 4
%204 = call float @llvm.fmuladd.f32(float %202, float %203, float %198)
%205 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 4
%206 = load float, ptr %205, align 16
%207 = load float, ptr %34, align 4
%208 = call float @llvm.fmuladd.f32(float %206, float %207, float %204)
%209 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 5
%210 = load float, ptr %209, align 4
%211 = load float, ptr %28, align 4
%212 = call float @llvm.fmuladd.f32(float %210, float %211, float %208)
%213 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 6
%214 = load float, ptr %213, align 8
%215 = load float, ptr %30, align 4
%216 = call float @llvm.fmuladd.f32(float %214, float %215, float %212)
%217 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 7
%218 = load float, ptr %217, align 4
%219 = load float, ptr %26, align 4
%220 = call float @llvm.fmuladd.f32(float %218, float %219, float %216)
store float %220, ptr %35, align 4
%221 = load float, ptr %35, align 4
%222 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 8
%223 = load float, ptr %222, align 16
%224 = load float, ptr %25, align 4
%225 = fmul float %223, %224
%226 = load float, ptr %29, align 4
%227 = call float @llvm.fmuladd.f32(float %225, float %226, float %221)
%228 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 9
%229 = load float, ptr %228, align 4
%230 = load float, ptr %24, align 4
%231 = fmul float %229, %230
%232 = load float, ptr %30, align 4
%233 = call float @llvm.fmuladd.f32(float %231, float %232, float %227)
%234 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 10
%235 = load float, ptr %234, align 8
%236 = load float, ptr %26, align 4
%237 = fmul float %235, %236
%238 = load float, ptr %30, align 4
%239 = call float @llvm.fmuladd.f32(float %237, float %238, float %233)
%240 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 11
%241 = load float, ptr %240, align 4
%242 = load float, ptr %25, align 4
%243 = fmul float %241, %242
%244 = load float, ptr %31, align 4
%245 = call float @llvm.fmuladd.f32(float %243, float %244, float %239)
%246 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 12
%247 = load float, ptr %246, align 16
%248 = load float, ptr %23, align 4
%249 = fmul float %247, %248
%250 = load float, ptr %29, align 4
%251 = call float @llvm.fmuladd.f32(float %249, float %250, float %245)
%252 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 13
%253 = load float, ptr %252, align 4
%254 = load float, ptr %24, align 4
%255 = fmul float %253, %254
%256 = load float, ptr %32, align 4
%257 = call float @llvm.fmuladd.f32(float %255, float %256, float %251)
%258 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 14
%259 = load float, ptr %258, align 8
%260 = load float, ptr %24, align 4
%261 = call float @llvm.fmuladd.f32(float %259, float %260, float %257)
%262 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 15
%263 = load float, ptr %262, align 4
%264 = load float, ptr %27, align 4
%265 = fmul float %263, %264
%266 = load float, ptr %30, align 4
%267 = call float @llvm.fmuladd.f32(float %265, float %266, float %261)
%268 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 16
%269 = load float, ptr %268, align 16
%270 = load float, ptr %23, align 4
%271 = fmul float %269, %270
%272 = load float, ptr %31, align 4
%273 = call float @llvm.fmuladd.f32(float %271, float %272, float %267)
store float %273, ptr %35, align 4
%274 = load float, ptr %35, align 4
%275 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 17
%276 = load float, ptr %275, align 4
%277 = load float, ptr %32, align 4
%278 = call float @llvm.fmuladd.f32(float %276, float %277, float %274)
store float %278, ptr %35, align 4
%279 = load float, ptr %16, align 4
%280 = fadd float 0.000000e+00, %279
%281 = load float, ptr %18, align 4
%282 = fadd float %280, %281
%283 = load float, ptr %20, align 4
%284 = fadd float %282, %283
%285 = load float, ptr %22, align 4
%286 = fadd float %284, %285
store float %286, ptr %36, align 4
%287 = load float, ptr %36, align 4
%288 = fcmp oeq float %287, 0.000000e+00
br i1 %288, label %289, label %290
289: ; preds = %86
br label %453
290: ; preds = %86
%291 = load float, ptr %16, align 4
%292 = load float, ptr %16, align 4
%293 = fmul float %291, %292
%294 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 7
%295 = load float, ptr %294, align 4
%296 = fmul float 4.000000e+00, %295
%297 = load float, ptr %25, align 4
%298 = call float @llvm.fmuladd.f32(float %296, float %297, float 0.000000e+00)
%299 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 8
%300 = load float, ptr %299, align 16
%301 = fmul float 3.000000e+00, %300
%302 = load float, ptr %24, align 4
%303 = fmul float %301, %302
%304 = load float, ptr %29, align 4
%305 = call float @llvm.fmuladd.f32(float %303, float %304, float %298)
%306 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 9
%307 = load float, ptr %306, align 4
%308 = fmul float 2.000000e+00, %307
%309 = load float, ptr %23, align 4
%310 = fmul float %308, %309
%311 = load float, ptr %30, align 4
%312 = call float @llvm.fmuladd.f32(float %310, float %311, float %305)
%313 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 10
%314 = load float, ptr %313, align 8
%315 = fmul float 4.000000e+00, %314
%316 = load float, ptr %25, align 4
%317 = fmul float %315, %316
%318 = load float, ptr %30, align 4
%319 = call float @llvm.fmuladd.f32(float %317, float %318, float %312)
%320 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 11
%321 = load float, ptr %320, align 4
%322 = fmul float 3.000000e+00, %321
%323 = load float, ptr %24, align 4
%324 = fmul float %322, %323
%325 = load float, ptr %31, align 4
%326 = call float @llvm.fmuladd.f32(float %324, float %325, float %319)
%327 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 12
%328 = load float, ptr %327, align 16
%329 = load float, ptr %29, align 4
%330 = call float @llvm.fmuladd.f32(float %328, float %329, float %326)
%331 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 13
%332 = load float, ptr %331, align 4
%333 = fmul float 2.000000e+00, %332
%334 = load float, ptr %23, align 4
%335 = fmul float %333, %334
%336 = load float, ptr %32, align 4
%337 = call float @llvm.fmuladd.f32(float %335, float %336, float %330)
%338 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 14
%339 = load float, ptr %338, align 8
%340 = fmul float 2.000000e+00, %339
%341 = load float, ptr %23, align 4
%342 = call float @llvm.fmuladd.f32(float %340, float %341, float %337)
%343 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 16
%344 = load float, ptr %343, align 16
%345 = load float, ptr %31, align 4
%346 = call float @llvm.fmuladd.f32(float %344, float %345, float %342)
%347 = call float @pow(float noundef %346, i32 noundef 2)
%348 = load float, ptr %18, align 4
%349 = load float, ptr %18, align 4
%350 = fmul float %348, %349
%351 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 1
%352 = load float, ptr %351, align 4
%353 = fadd float 0.000000e+00, %352
%354 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 3
%355 = load float, ptr %354, align 4
%356 = load float, ptr %33, align 4
%357 = call float @llvm.fmuladd.f32(float %355, float %356, float %353)
%358 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 5
%359 = load float, ptr %358, align 4
%360 = fmul float 2.000000e+00, %359
%361 = load float, ptr %27, align 4
%362 = call float @llvm.fmuladd.f32(float %360, float %361, float %357)
%363 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 15
%364 = load float, ptr %363, align 4
%365 = load float, ptr %30, align 4
%366 = call float @llvm.fmuladd.f32(float %364, float %365, float %362)
%367 = call float @pow(float noundef %366, i32 noundef 2)
%368 = fmul float %350, %367
%369 = call float @llvm.fmuladd.f32(float %293, float %347, float %368)
%370 = load float, ptr %20, align 4
%371 = load float, ptr %20, align 4
%372 = fmul float %370, %371
%373 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 6
%374 = load float, ptr %373, align 8
%375 = fmul float 2.000000e+00, %374
%376 = load float, ptr %29, align 4
%377 = call float @llvm.fmuladd.f32(float %375, float %376, float 0.000000e+00)
%378 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 8
%379 = load float, ptr %378, align 16
%380 = load float, ptr %25, align 4
%381 = call float @llvm.fmuladd.f32(float %379, float %380, float %377)
%382 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 9
%383 = load float, ptr %382, align 4
%384 = fmul float 2.000000e+00, %383
%385 = load float, ptr %29, align 4
%386 = fmul float %384, %385
%387 = load float, ptr %24, align 4
%388 = call float @llvm.fmuladd.f32(float %386, float %387, float %381)
%389 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 10
%390 = load float, ptr %389, align 8
%391 = fmul float 2.000000e+00, %390
%392 = load float, ptr %29, align 4
%393 = fmul float %391, %392
%394 = load float, ptr %26, align 4
%395 = call float @llvm.fmuladd.f32(float %393, float %394, float %388)
%396 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 11
%397 = load float, ptr %396, align 4
%398 = fmul float 3.000000e+00, %397
%399 = load float, ptr %30, align 4
%400 = fmul float %398, %399
%401 = load float, ptr %25, align 4
%402 = call float @llvm.fmuladd.f32(float %400, float %401, float %395)
%403 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 12
%404 = load float, ptr %403, align 16
%405 = load float, ptr %23, align 4
%406 = call float @llvm.fmuladd.f32(float %404, float %405, float %402)
%407 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 13
%408 = load float, ptr %407, align 4
%409 = fmul float 4.000000e+00, %408
%410 = load float, ptr %31, align 4
%411 = fmul float %409, %410
%412 = load float, ptr %24, align 4
%413 = call float @llvm.fmuladd.f32(float %411, float %412, float %406)
%414 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 15
%415 = load float, ptr %414, align 4
%416 = fmul float 2.000000e+00, %415
%417 = load float, ptr %29, align 4
%418 = fmul float %416, %417
%419 = load float, ptr %27, align 4
%420 = call float @llvm.fmuladd.f32(float %418, float %419, float %413)
%421 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 16
%422 = load float, ptr %421, align 16
%423 = fmul float 3.000000e+00, %422
%424 = load float, ptr %30, align 4
%425 = fmul float %423, %424
%426 = load float, ptr %23, align 4
%427 = call float @llvm.fmuladd.f32(float %425, float %426, float %420)
%428 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 17
%429 = load float, ptr %428, align 4
%430 = fmul float 4.000000e+00, %429
%431 = load float, ptr %31, align 4
%432 = call float @llvm.fmuladd.f32(float %430, float %431, float %427)
%433 = call float @pow(float noundef %432, i32 noundef 2)
%434 = call float @llvm.fmuladd.f32(float %372, float %433, float %369)
%435 = load float, ptr %22, align 4
%436 = load float, ptr %22, align 4
%437 = fmul float %435, %436
%438 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 2
%439 = load float, ptr %438, align 8
%440 = fadd float 0.000000e+00, %439
%441 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 3
%442 = load float, ptr %441, align 4
%443 = load float, ptr %27, align 4
%444 = call float @llvm.fmuladd.f32(float %442, float %443, float %440)
%445 = getelementptr inbounds [19 x float], ptr %12, i64 0, i64 4
%446 = load float, ptr %445, align 16
%447 = fmul float 2.000000e+00, %446
%448 = load float, ptr %33, align 4
%449 = call float @llvm.fmuladd.f32(float %447, float %448, float %444)
%450 = call float @pow(float noundef %449, i32 noundef 2)
%451 = call float @llvm.fmuladd.f32(float %437, float %450, float %434)
%452 = call float @sqrt(float noundef %451)
br label %453
453: ; preds = %290, %289
%454 = phi float [ 0.000000e+00, %289 ], [ %452, %290 ]
store float %454, ptr %37, align 4
%455 = load float, ptr %37, align 4
%456 = load ptr, ptr %5, align 8
%457 = getelementptr inbounds float, ptr %456, i64 0
store float %455, ptr %457, align 4
%458 = load float, ptr %35, align 4
ret float %458
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp09ix4iel.c'
source_filename = "/tmp/tmp09ix4iel.c"
target datalayout = "e-m:e-p270: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/tmp09ix4iel.c"
target datalayout = "e-m:e-p270: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/tmp7zuqthxl.c'
source_filename = "/tmp/tmp7zuqthxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i16
store i16 %30, ptr %9, align 2
%31 = load i16, ptr %9, align 2
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33
store i16 %31, ptr %34, align 2
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%42 = load i16, ptr %41, align 2
%43 = zext i16 %42 to i32
%44 = icmp eq i32 %43, 51423
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %52, %48
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
br label %49, !llvm.loop !8
61: ; preds = %49
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7zuqthxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i16
store i16 %29, ptr %9, align 2
%30 = load i16, ptr %9, align 2
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32
store i16 %30, ptr %33, align 2
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%43 = load i16, ptr %42, align 2
%44 = zext i16 %43 to i32
%45 = icmp eq i32 %44, 51423
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %49
48: ; preds = %38
br label %49
49: ; preds = %48, %46
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 1
br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %63
63: ; preds = %._crit_edge3, %49
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpb73klwga.c'
source_filename = "/tmp/tmpb73klwga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hl_lookup_country(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @country_map_lookup(ptr noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %2, align 8
br label %13
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %2, align 8
br label %13
13: ; preds = %11, %9
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare ptr @country_map_lookup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb73klwga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hl_lookup_country(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @country_map_lookup(ptr noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %2, align 8
br label %13
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %2, align 8
br label %13
13: ; preds = %11, %9
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare ptr @country_map_lookup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkkqgqt6i.c'
source_filename = "/tmp/tmpkkqgqt6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r+\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"fdopen()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @send_message(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = call ptr @fdopen(i32 noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @slog(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %2
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @message_serialize(ptr noundef %13, ptr noundef %14)
ret i32 %15
}
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @slog(ptr noundef) #1
declare i32 @message_serialize(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkkqgqt6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r+\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"fdopen()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @send_message(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = call ptr @fdopen(i32 noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @slog(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %2
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @message_serialize(ptr noundef %13, ptr noundef %14)
ret i32 %15
}
declare ptr @fdopen(i32 noundef, ptr noundef) #1
declare i32 @slog(ptr noundef) #1
declare i32 @message_serialize(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0d1314xo.c'
source_filename = "/tmp/tmp0d1314xo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"drow spore servant\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"OofA 229, MM 230\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d: %d hp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @drowspore(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @nicename(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %20, %1
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp ult i32 %7, %8
br i1 %9, label %10, label %23
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
%13 = call i32 @d(i32 noundef 8)
%14 = call i32 @d(i32 noundef 8)
%15 = add nsw i32 %13, %14
%16 = call i32 @d(i32 noundef 8)
%17 = add nsw i32 %15, %16
%18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %12, i32 noundef %17)
%19 = call i32 @putchar(i8 noundef signext 10)
br label %20
20: ; preds = %10
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %6, !llvm.loop !6
23: ; preds = %6
%24 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @nicename(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @d(i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0d1314xo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"drow spore servant\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"OofA 229, MM 230\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d: %d hp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @drowspore(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @nicename(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp ult i32 %6, %7
br i1 %8, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %19
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
%12 = call i32 @d(i32 noundef 8)
%13 = call i32 @d(i32 noundef 8)
%14 = add nsw i32 %12, %13
%15 = call i32 @d(i32 noundef 8)
%16 = add nsw i32 %14, %15
%17 = call i32 @printf(ptr noundef @.str.2, i32 noundef %11, i32 noundef %16)
%18 = call i32 @putchar(i8 noundef signext 10)
br label %19
19: ; preds = %9
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp ult i32 %22, %23
br i1 %24, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %1
%26 = call i32 @putchar(i8 noundef signext 10)
ret void
}
declare i32 @nicename(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @d(i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeag7tb7n.c'
source_filename = "/tmp/tmpeag7tb7n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_REALTIME = 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/tmpeag7tb7n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCK_REALTIME = 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/tmp_ly2ceqv.c'
source_filename = "/tmp/tmp_ly2ceqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"socket error\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"setsockopt error\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"bind error\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"listen error\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"My Web Server is Ready!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @init_socket(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%8 = load i32, ptr @AF_INET, align 4
%9 = load i32, ptr @SOCK_STREAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %16
13: ; preds = %1
%14 = call i32 @perror(ptr noundef @.str)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %1
%17 = load i32, ptr @AF_INET, align 4
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 3
store i32 %17, ptr %18, align 4
%19 = load i32, ptr @INADDR_ANY, align 4
%20 = call i32 @htonl(i32 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0
store i32 %20, ptr %22, align 4
%23 = load i32, ptr %2, align 4
%24 = call i32 @htons(i32 noundef %23)
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
store i32 %24, ptr %25, align 4
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = call i32 @memset(i32 noundef %27, i32 noundef 0, i32 noundef 4)
store i32 1, ptr %5, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr @SOL_SOCKET, align 4
%31 = load i32, ptr @SO_REUSEADDR, align 4
%32 = call i32 @setsockopt(i32 noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %5, i32 noundef 4)
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %38
35: ; preds = %16
%36 = call i32 @perror(ptr noundef @.str.1)
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %16
%39 = load i32, ptr %3, align 4
%40 = call i32 @bind(i32 noundef %39, ptr noundef %4, i32 noundef 16)
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %46
43: ; preds = %38
%44 = call i32 @perror(ptr noundef @.str.2)
%45 = call i32 @exit(i32 noundef 1) #3
unreachable
46: ; preds = %38
%47 = load i32, ptr %3, align 4
%48 = call i32 @listen(i32 noundef %47, i32 noundef 20)
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp eq i32 %49, -1
br i1 %50, label %51, label %54
51: ; preds = %46
%52 = call i32 @perror(ptr noundef @.str.3)
%53 = call i32 @exit(i32 noundef 1) #3
unreachable
54: ; preds = %46
%55 = call i32 @printf(ptr noundef @.str.4)
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp_ly2ceqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"socket error\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"setsockopt error\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"bind error\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"listen error\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"My Web Server is Ready!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @init_socket(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%8 = load i32, ptr @AF_INET, align 4
%9 = load i32, ptr @SOCK_STREAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %16
13: ; preds = %1
%14 = call i32 @perror(ptr noundef @.str)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %1
%17 = load i32, ptr @AF_INET, align 4
%18 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 3
store i32 %17, ptr %18, align 4
%19 = load i32, ptr @INADDR_ANY, align 4
%20 = call i32 @htonl(i32 noundef %19)
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2
%22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 0
store i32 %20, ptr %22, align 4
%23 = load i32, ptr %2, align 4
%24 = call i32 @htons(i32 noundef %23)
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1
store i32 %24, ptr %25, align 4
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = call i32 @memset(i32 noundef %27, i32 noundef 0, i32 noundef 4)
store i32 1, ptr %5, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr @SOL_SOCKET, align 4
%31 = load i32, ptr @SO_REUSEADDR, align 4
%32 = call i32 @setsockopt(i32 noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %5, i32 noundef 4)
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %38
35: ; preds = %16
%36 = call i32 @perror(ptr noundef @.str.1)
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %16
%39 = load i32, ptr %3, align 4
%40 = call i32 @bind(i32 noundef %39, ptr noundef %4, i32 noundef 16)
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %46
43: ; preds = %38
%44 = call i32 @perror(ptr noundef @.str.2)
%45 = call i32 @exit(i32 noundef 1) #3
unreachable
46: ; preds = %38
%47 = load i32, ptr %3, align 4
%48 = call i32 @listen(i32 noundef %47, i32 noundef 20)
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = icmp eq i32 %49, -1
br i1 %50, label %51, label %54
51: ; preds = %46
%52 = call i32 @perror(ptr noundef @.str.3)
%53 = call i32 @exit(i32 noundef 1) #3
unreachable
54: ; preds = %46
%55 = call i32 @printf(ptr noundef @.str.4)
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpqtff3zez.c'
source_filename = "/tmp/tmpqtff3zez.c"
target datalayout = "e-m:e-p270: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/tmpqtff3zez.c"
target datalayout = "e-m:e-p270: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/tmpzdj9cvlj.c'
source_filename = "/tmp/tmpzdj9cvlj.c"
target datalayout = "e-m:e-p270: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/tmpzdj9cvlj.c"
target datalayout = "e-m:e-p270: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/tmpjdtbbhdf.c'
source_filename = "/tmp/tmpjdtbbhdf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [20 x i32] [i32 20, i32 19, i32 18, i32 17, i32 16, i32 15, i32 14, i32 13, i32 12, i32 11, i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 80, i1 false)
%3 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @sort(ptr noundef %3)
%5 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 1
%6 = load i32, ptr %5, align 4
%7 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%8 = load i32, ptr %7, align 16
%9 = mul nsw i32 2, %8
%10 = add nsw i32 %6, %9
ret i32 %10
}
; 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 @sort(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjdtbbhdf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [20 x i32] [i32 20, i32 19, i32 18, i32 17, i32 16, i32 15, i32 14, i32 13, i32 12, i32 11, i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 80, i1 false)
%3 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @sort(ptr noundef %3)
%5 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 1
%6 = load i32, ptr %5, align 4
%7 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%8 = load i32, ptr %7, align 16
%9 = mul nsw i32 2, %8
%10 = add nsw i32 %6, %9
ret i32 %10
}
; 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 @sort(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6krxs3ur.c'
source_filename = "/tmp/tmp6krxs3ur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dbd_argv_len(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %19, %1
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %22
10: ; preds = %6
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = add nsw i64 %13, 1
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = add nsw i64 %16, %14
%18 = trunc i64 %17 to i32
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %10
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds ptr, ptr %20, i32 1
store ptr %21, ptr %4, align 8
br label %6, !llvm.loop !6
22: ; preds = %6
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
ret i32 %24
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6krxs3ur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dbd_argv_len(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %6, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %18
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %10, align 8
%12 = call i64 @strlen(ptr noundef %11)
%13 = add nsw i64 %12, 1
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = add nsw i64 %15, %13
%17 = trunc i64 %16 to i32
store i32 %17, ptr %3, align 4
br label %18
18: ; preds = %9
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds ptr, ptr %19, i32 1
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %21, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %1
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
ret i32 %26
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpns0o4qn2.c'
source_filename = "/tmp/tmpns0o4qn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_strnew(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = add i64 %5, 1
%7 = call i64 @ft_memalloc(i64 noundef %6)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
store ptr null, ptr %2, align 8
br label %13
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %2, align 8
br label %13
13: ; preds = %11, %10
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare i64 @ft_memalloc(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/tmpns0o4qn2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_strnew(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = add i64 %5, 1
%7 = call i64 @ft_memalloc(i64 noundef %6)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
store ptr null, ptr %2, align 8
br label %13
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %2, align 8
br label %13
13: ; preds = %11, %10
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare i64 @ft_memalloc(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/tmpi19nao8v.c'
source_filename = "/tmp/tmpi19nao8v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (...) @test_rotate_long()
%2 = call i32 (...) @test_shift_byte()
ret void
}
declare i32 @test_rotate_long(...) #1
declare i32 @test_shift_byte(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi19nao8v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 (...) @test_rotate_long()
%2 = call i32 (...) @test_shift_byte()
ret void
}
declare i32 @test_rotate_long(...) #1
declare i32 @test_shift_byte(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr3sn5wp2.c'
source_filename = "/tmp/tmpr3sn5wp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [16 x i8] c"not in sys :%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"not a subdir :%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"/devices/\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"/uevent\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"not a device: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"directory not found: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c"device %p has devpath '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @udev_device_new_from_syspath(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca [1024 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca %struct.stat, align 4
%11 = alloca ptr, align 8
%12 = alloca [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
store ptr null, ptr %3, align 8
br label %112
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %16
store ptr null, ptr %3, align 8
br label %112
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = call ptr @udev_get_sys_path(ptr noundef %21)
%23 = call i64 @strlen(ptr noundef %22)
store i64 %23, ptr %6, align 8
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %4, align 8
%26 = call ptr @udev_get_sys_path(ptr noundef %25)
%27 = load i64, ptr %6, align 8
%28 = trunc i64 %27 to i32
%29 = call i64 @strncmp(ptr noundef %24, ptr noundef %26, i32 noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %20
%32 = load ptr, ptr %4, align 8
%33 = load ptr, ptr %5, align 8
%34 = call i32 (ptr, ptr, ptr, ...) @udev_log_null(ptr noundef %32, ptr noundef @.str, ptr noundef %33)
store ptr null, ptr %3, align 8
br label %112
35: ; preds = %20
%36 = load ptr, ptr %5, align 8
%37 = load i64, ptr %6, align 8
%38 = add i64 %37, 1
%39 = getelementptr inbounds i8, ptr %36, i64 %38
store ptr %39, ptr %7, align 8
%40 = load ptr, ptr %7, align 8
%41 = call ptr @strrchr(ptr noundef %40, i8 noundef signext 47)
store ptr %41, ptr %9, align 8
%42 = load ptr, ptr %9, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %55, label %44
44: ; preds = %35
%45 = load ptr, ptr %9, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 1
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 0
br i1 %49, label %55, label %50
50: ; preds = %44
%51 = load ptr, ptr %9, align 8
%52 = load ptr, ptr %7, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 2
%54 = icmp ult ptr %51, %53
br i1 %54, label %55, label %59
55: ; preds = %50, %44, %35
%56 = load ptr, ptr %4, align 8
%57 = load ptr, ptr %5, align 8
%58 = call i32 (ptr, ptr, ptr, ...) @udev_log_null(ptr noundef %56, ptr noundef @.str.1, ptr noundef %57)
store ptr null, ptr %3, align 8
br label %112
59: ; preds = %50
%60 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%61 = load ptr, ptr %5, align 8
%62 = call i32 @util_strscpy(ptr noundef %60, i32 noundef 1024, ptr noundef %61)
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%65 = call i32 @util_resolve_sys_link(ptr noundef %63, ptr noundef %64, i32 noundef 1024)
%66 = load i64, ptr %6, align 8
%67 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 %66
%68 = call i64 @strncmp(ptr noundef %67, ptr noundef @.str.2, i32 noundef 9)
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %82
70: ; preds = %59
%71 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%72 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%73 = call i32 @util_strscpyl(ptr noundef %71, i32 noundef 1024, ptr noundef %72, ptr noundef @.str.3, ptr noundef null)
%74 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%75 = call i64 @stat(ptr noundef %74, ptr noundef %10)
%76 = icmp ne i64 %75, 0
br i1 %76, label %77, label %81
77: ; preds = %70
%78 = load ptr, ptr %4, align 8
%79 = load ptr, ptr %5, align 8
%80 = call i32 (ptr, ptr, ptr, ...) @udev_log_null(ptr noundef %78, ptr noundef @.str.4, ptr noundef %79)
store ptr null, ptr %3, align 8
br label %112
81: ; preds = %70
br label %96
82: ; preds = %59
%83 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%84 = call i64 @stat(ptr noundef %83, ptr noundef %10)
%85 = icmp ne i64 %84, 0
br i1 %85, label %91, label %86
86: ; preds = %82
%87 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%88 = load i32, ptr %87, align 4
%89 = call i32 @S_ISDIR(i32 noundef %88)
%90 = icmp ne i32 %89, 0
br i1 %90, label %95, label %91
91: ; preds = %86, %82
%92 = load ptr, ptr %4, align 8
%93 = load ptr, ptr %5, align 8
%94 = call i32 (ptr, ptr, ptr, ...) @udev_log_null(ptr noundef %92, ptr noundef @.str.5, ptr noundef %93)
store ptr null, ptr %3, align 8
br label %112
95: ; preds = %86
br label %96
96: ; preds = %95, %81
%97 = load ptr, ptr %4, align 8
%98 = call ptr @udev_device_new(ptr noundef %97)
store ptr %98, ptr %11, align 8
%99 = load ptr, ptr %11, align 8
%100 = icmp eq ptr %99, null
br i1 %100, label %101, label %102
101: ; preds = %96
store ptr null, ptr %3, align 8
br label %112
102: ; preds = %96
%103 = load ptr, ptr %11, align 8
%104 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%105 = call i32 @udev_device_set_syspath(ptr noundef %103, ptr noundef %104)
%106 = load ptr, ptr %4, align 8
%107 = load ptr, ptr %11, align 8
%108 = load ptr, ptr %11, align 8
%109 = call i32 @udev_device_get_devpath(ptr noundef %108)
%110 = call i32 (ptr, ptr, ptr, ...) @udev_log_null(ptr noundef %106, ptr noundef @.str.6, ptr noundef %107, i32 noundef %109)
%111 = load ptr, ptr %11, align 8
store ptr %111, ptr %3, align 8
br label %112
112: ; preds = %102, %101, %91, %77, %55, %31, %19, %15
%113 = load ptr, ptr %3, align 8
ret ptr %113
}
declare i64 @strlen(ptr noundef) #1
declare ptr @udev_get_sys_path(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @udev_log_null(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @util_strscpy(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @util_resolve_sys_link(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @util_strscpyl(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @S_ISDIR(i32 noundef) #1
declare ptr @udev_device_new(ptr noundef) #1
declare i32 @udev_device_set_syspath(ptr noundef, ptr noundef) #1
declare i32 @udev_device_get_devpath(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr3sn5wp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [16 x i8] c"not in sys :%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"not a subdir :%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"/devices/\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"/uevent\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"not a device: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"directory not found: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c"device %p has devpath '%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @udev_device_new_from_syspath(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca [1024 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca %struct.stat, align 4
%11 = alloca ptr, align 8
%12 = alloca [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
store ptr null, ptr %3, align 8
br label %112
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %16
store ptr null, ptr %3, align 8
br label %112
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = call ptr @udev_get_sys_path(ptr noundef %21)
%23 = call i64 @strlen(ptr noundef %22)
store i64 %23, ptr %6, align 8
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %4, align 8
%26 = call ptr @udev_get_sys_path(ptr noundef %25)
%27 = load i64, ptr %6, align 8
%28 = trunc i64 %27 to i32
%29 = call i64 @strncmp(ptr noundef %24, ptr noundef %26, i32 noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %20
%32 = load ptr, ptr %4, align 8
%33 = load ptr, ptr %5, align 8
%34 = call i32 (ptr, ptr, ptr, ...) @udev_log_null(ptr noundef %32, ptr noundef @.str, ptr noundef %33)
store ptr null, ptr %3, align 8
br label %112
35: ; preds = %20
%36 = load ptr, ptr %5, align 8
%37 = load i64, ptr %6, align 8
%38 = add i64 %37, 1
%39 = getelementptr inbounds i8, ptr %36, i64 %38
store ptr %39, ptr %7, align 8
%40 = load ptr, ptr %7, align 8
%41 = call ptr @strrchr(ptr noundef %40, i8 noundef signext 47)
store ptr %41, ptr %9, align 8
%42 = load ptr, ptr %9, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %55, label %44
44: ; preds = %35
%45 = load ptr, ptr %9, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 1
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 0
br i1 %49, label %55, label %50
50: ; preds = %44
%51 = load ptr, ptr %9, align 8
%52 = load ptr, ptr %7, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 2
%54 = icmp ult ptr %51, %53
br i1 %54, label %55, label %59
55: ; preds = %50, %44, %35
%56 = load ptr, ptr %4, align 8
%57 = load ptr, ptr %5, align 8
%58 = call i32 (ptr, ptr, ptr, ...) @udev_log_null(ptr noundef %56, ptr noundef @.str.1, ptr noundef %57)
store ptr null, ptr %3, align 8
br label %112
59: ; preds = %50
%60 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%61 = load ptr, ptr %5, align 8
%62 = call i32 @util_strscpy(ptr noundef %60, i32 noundef 1024, ptr noundef %61)
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%65 = call i32 @util_resolve_sys_link(ptr noundef %63, ptr noundef %64, i32 noundef 1024)
%66 = load i64, ptr %6, align 8
%67 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 %66
%68 = call i64 @strncmp(ptr noundef %67, ptr noundef @.str.2, i32 noundef 9)
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %82
70: ; preds = %59
%71 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%72 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%73 = call i32 @util_strscpyl(ptr noundef %71, i32 noundef 1024, ptr noundef %72, ptr noundef @.str.3, ptr noundef null)
%74 = getelementptr inbounds [1024 x i8], ptr %12, i64 0, i64 0
%75 = call i64 @stat(ptr noundef %74, ptr noundef %10)
%76 = icmp ne i64 %75, 0
br i1 %76, label %77, label %81
77: ; preds = %70
%78 = load ptr, ptr %4, align 8
%79 = load ptr, ptr %5, align 8
%80 = call i32 (ptr, ptr, ptr, ...) @udev_log_null(ptr noundef %78, ptr noundef @.str.4, ptr noundef %79)
store ptr null, ptr %3, align 8
br label %112
81: ; preds = %70
br label %96
82: ; preds = %59
%83 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%84 = call i64 @stat(ptr noundef %83, ptr noundef %10)
%85 = icmp ne i64 %84, 0
br i1 %85, label %91, label %86
86: ; preds = %82
%87 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%88 = load i32, ptr %87, align 4
%89 = call i32 @S_ISDIR(i32 noundef %88)
%90 = icmp ne i32 %89, 0
br i1 %90, label %95, label %91
91: ; preds = %86, %82
%92 = load ptr, ptr %4, align 8
%93 = load ptr, ptr %5, align 8
%94 = call i32 (ptr, ptr, ptr, ...) @udev_log_null(ptr noundef %92, ptr noundef @.str.5, ptr noundef %93)
store ptr null, ptr %3, align 8
br label %112
95: ; preds = %86
br label %96
96: ; preds = %95, %81
%97 = load ptr, ptr %4, align 8
%98 = call ptr @udev_device_new(ptr noundef %97)
store ptr %98, ptr %11, align 8
%99 = load ptr, ptr %11, align 8
%100 = icmp eq ptr %99, null
br i1 %100, label %101, label %102
101: ; preds = %96
store ptr null, ptr %3, align 8
br label %112
102: ; preds = %96
%103 = load ptr, ptr %11, align 8
%104 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%105 = call i32 @udev_device_set_syspath(ptr noundef %103, ptr noundef %104)
%106 = load ptr, ptr %4, align 8
%107 = load ptr, ptr %11, align 8
%108 = load ptr, ptr %11, align 8
%109 = call i32 @udev_device_get_devpath(ptr noundef %108)
%110 = call i32 (ptr, ptr, ptr, ...) @udev_log_null(ptr noundef %106, ptr noundef @.str.6, ptr noundef %107, i32 noundef %109)
%111 = load ptr, ptr %11, align 8
store ptr %111, ptr %3, align 8
br label %112
112: ; preds = %102, %101, %91, %77, %55, %31, %19, %15
%113 = load ptr, ptr %3, align 8
ret ptr %113
}
declare i64 @strlen(ptr noundef) #1
declare ptr @udev_get_sys_path(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @udev_log_null(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @util_strscpy(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @util_resolve_sys_link(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @util_strscpyl(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @S_ISDIR(i32 noundef) #1
declare ptr @udev_device_new(ptr noundef) #1
declare i32 @udev_device_set_syspath(ptr noundef, ptr noundef) #1
declare i32 @udev_device_get_devpath(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyfds4qew.c'
source_filename = "/tmp/tmpyfds4qew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d_%m_%Y\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @string_date(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @time(ptr noundef %3)
%6 = call ptr @localtime(ptr noundef %3)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strftime(ptr noundef %7, i32 noundef 80, ptr noundef @.str, ptr noundef %8)
%10 = load ptr, ptr %2, align 8
ret ptr %10
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyfds4qew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d_%m_%Y\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @string_date(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @time(ptr noundef %3)
%6 = call ptr @localtime(ptr noundef %3)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strftime(ptr noundef %7, i32 noundef 80, ptr noundef @.str, ptr noundef %8)
%10 = load ptr, ptr %2, align 8
ret ptr %10
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzfh9st9d.c'
source_filename = "/tmp/tmpzfh9st9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"%f %f %f\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.1f\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 float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %23, %0
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %26
12: ; preds = %8
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%14 = load float, ptr %3, align 4
%15 = load float, ptr %4, align 4
%16 = fmul float 3.000000e+00, %15
%17 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %14, float %16)
%18 = load float, ptr %5, align 4
%19 = call float @llvm.fmuladd.f32(float 5.000000e+00, float %18, float %17)
%20 = fdiv float %19, 1.000000e+01
%21 = fptosi float %20 to i32
%22 = call i32 @printf(ptr noundef @.str.2, i32 noundef %21)
br label %23
23: ; preds = %12
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
br label %8, !llvm.loop !6
26: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzfh9st9d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"%f %f %f\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.1f\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 float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %22
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%13 = load float, ptr %3, align 4
%14 = load float, ptr %4, align 4
%15 = fmul float 3.000000e+00, %14
%16 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %13, float %15)
%17 = load float, ptr %5, align 4
%18 = call float @llvm.fmuladd.f32(float 5.000000e+00, float %17, float %16)
%19 = fdiv float %18, 1.000000e+01
%20 = fptosi float %19 to i32
%21 = call i32 @printf(ptr noundef @.str.2, i32 noundef %20)
br label %22
22: ; preds = %11
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpg41qkwpp.c'
source_filename = "/tmp/tmpg41qkwpp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 5, ptr %6, align 4
store i32 7, ptr %7, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %7, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9)
%11 = call i32 @swap(ptr noundef %6, ptr noundef %7)
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13)
%15 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %15
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg41qkwpp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 5, ptr %6, align 4
store i32 7, ptr %7, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %7, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9)
%11 = call i32 @swap(ptr noundef %6, ptr noundef %7)
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13)
%15 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %15
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
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"}
|
; ModuleID = '/tmp/tmporyxc9ln.c'
source_filename = "/tmp/tmporyxc9ln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"Hello\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"-------- Before -------\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"-------- After -------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i64, align 8
%2 = alloca ptr, align 8
%3 = call i32 @print(ptr noundef @.str)
store i64 10, ptr %1, align 8
%4 = load i64, ptr %1, align 8
%5 = mul nsw i64 %4, 8
%6 = call ptr @malloc(i64 noundef %5)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i64, ptr %7, i64 0
store i64 8, ptr %8, align 8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i64, ptr %9, i64 1
store i64 7, ptr %10, align 8
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i64, ptr %11, i64 2
store i64 1, ptr %12, align 8
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i64, ptr %13, i64 3
store i64 9, ptr %14, align 8
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i64, ptr %15, i64 4
store i64 11, ptr %16, align 8
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i64, ptr %17, i64 5
store i64 83, ptr %18, align 8
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i64, ptr %19, i64 6
store i64 7, ptr %20, align 8
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds i64, ptr %21, i64 7
store i64 13, ptr %22, align 8
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds i64, ptr %23, i64 8
store i64 94, ptr %24, align 8
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds i64, ptr %25, i64 9
store i64 1, ptr %26, align 8
%27 = call i32 @printf(ptr noundef @.str.1)
%28 = load ptr, ptr %2, align 8
%29 = load i64, ptr %1, align 8
%30 = sub nsw i64 %29, 1
%31 = call i32 @printArray(ptr noundef %28, i32 noundef 0, i64 noundef %30)
%32 = load ptr, ptr %2, align 8
%33 = load i64, ptr %1, align 8
%34 = call i32 @quicksort(ptr noundef %32, i64 noundef %33)
%35 = call i32 @printf(ptr noundef @.str.2)
%36 = load ptr, ptr %2, align 8
%37 = load i64, ptr %1, align 8
%38 = sub nsw i64 %37, 1
%39 = call i32 @printArray(ptr noundef %36, i32 noundef 0, i64 noundef %38)
ret void
}
declare i32 @print(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @printArray(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @quicksort(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmporyxc9ln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"Hello\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"-------- Before -------\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"-------- After -------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i64, align 8
%2 = alloca ptr, align 8
%3 = call i32 @print(ptr noundef @.str)
store i64 10, ptr %1, align 8
%4 = load i64, ptr %1, align 8
%5 = mul nsw i64 %4, 8
%6 = call ptr @malloc(i64 noundef %5)
store ptr %6, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i64, ptr %7, i64 0
store i64 8, ptr %8, align 8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i64, ptr %9, i64 1
store i64 7, ptr %10, align 8
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i64, ptr %11, i64 2
store i64 1, ptr %12, align 8
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i64, ptr %13, i64 3
store i64 9, ptr %14, align 8
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds i64, ptr %15, i64 4
store i64 11, ptr %16, align 8
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i64, ptr %17, i64 5
store i64 83, ptr %18, align 8
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i64, ptr %19, i64 6
store i64 7, ptr %20, align 8
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds i64, ptr %21, i64 7
store i64 13, ptr %22, align 8
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds i64, ptr %23, i64 8
store i64 94, ptr %24, align 8
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds i64, ptr %25, i64 9
store i64 1, ptr %26, align 8
%27 = call i32 @printf(ptr noundef @.str.1)
%28 = load ptr, ptr %2, align 8
%29 = load i64, ptr %1, align 8
%30 = sub nsw i64 %29, 1
%31 = call i32 @printArray(ptr noundef %28, i32 noundef 0, i64 noundef %30)
%32 = load ptr, ptr %2, align 8
%33 = load i64, ptr %1, align 8
%34 = call i32 @quicksort(ptr noundef %32, i64 noundef %33)
%35 = call i32 @printf(ptr noundef @.str.2)
%36 = load ptr, ptr %2, align 8
%37 = load i64, ptr %1, align 8
%38 = sub nsw i64 %37, 1
%39 = call i32 @printArray(ptr noundef %36, i32 noundef 0, i64 noundef %38)
ret void
}
declare i32 @print(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @printArray(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @quicksort(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0yrrsb8d.c'
source_filename = "/tmp/tmp0yrrsb8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex_to_dec(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %99, %1
%14 = load i32, ptr %3, align 4
%15 = icmp sge i32 %14, 0
br i1 %15, label %16, label %102
16: ; preds = %13
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sge i32 %22, 48
br i1 %23, label %24, label %40
24: ; preds = %16
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp sle i32 %30, 57
br i1 %31, label %32, label %40
32: ; preds = %24
%33 = load ptr, ptr %2, align 8
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = sub nsw i32 %38, 48
store i32 %39, ptr %5, align 4
br label %90
40: ; preds = %24, %16
%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
%46 = sext i8 %45 to i32
%47 = icmp sge i32 %46, 65
br i1 %47, label %48, label %64
48: ; preds = %40
%49 = load ptr, ptr %2, align 8
%50 = load i32, ptr %3, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp sle i32 %54, 70
br i1 %55, label %56, label %64
56: ; preds = %48
%57 = load ptr, ptr %2, align 8
%58 = load i32, ptr %3, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = sub nsw i32 %62, 55
store i32 %63, ptr %5, align 4
br label %89
64: ; preds = %48, %40
%65 = load ptr, ptr %2, align 8
%66 = load i32, ptr %3, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp sge i32 %70, 97
br i1 %71, label %72, label %88
72: ; preds = %64
%73 = load ptr, ptr %2, align 8
%74 = load i32, ptr %3, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp sle i32 %78, 102
br i1 %79, label %80, label %88
80: ; preds = %72
%81 = load ptr, ptr %2, align 8
%82 = load i32, ptr %3, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %81, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = sub nsw i32 %86, 87
store i32 %87, ptr %5, align 4
br label %88
88: ; preds = %80, %72, %64
br label %89
89: ; preds = %88, %56
br label %90
90: ; preds = %89, %32
%91 = load i32, ptr %8, align 4
%92 = load i32, ptr %7, align 4
%93 = call i32 @pow(i32 noundef 16, i32 noundef %92)
%94 = load i32, ptr %5, align 4
%95 = mul nsw i32 %93, %94
%96 = add nsw i32 %91, %95
store i32 %96, ptr %8, align 4
%97 = load i32, ptr %7, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %7, align 4
br label %99
99: ; preds = %90
%100 = load i32, ptr %3, align 4
%101 = add nsw i32 %100, -1
store i32 %101, ptr %3, align 4
br label %13, !llvm.loop !6
102: ; preds = %13
%103 = load i32, ptr %8, align 4
ret i32 %103
}
declare i32 @strlen(ptr noundef) #1
declare i32 @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/tmp0yrrsb8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex_to_dec(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp sge i32 %13, 0
br i1 %14, label %.lr.ph, label %103
.lr.ph: ; preds = %1
br label %15
15: ; preds = %.lr.ph, %98
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp sge i32 %21, 48
br i1 %22, label %23, label %39
23: ; preds = %15
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp sle i32 %29, 57
br i1 %30, label %31, label %39
31: ; preds = %23
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = sub nsw i32 %37, 48
store i32 %38, ptr %5, align 4
br label %89
39: ; preds = %23, %15
%40 = load ptr, ptr %2, align 8
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp sge i32 %45, 65
br i1 %46, label %47, label %63
47: ; preds = %39
%48 = load ptr, ptr %2, align 8
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp sle i32 %53, 70
br i1 %54, label %55, label %63
55: ; preds = %47
%56 = load ptr, ptr %2, align 8
%57 = load i32, ptr %3, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = sub nsw i32 %61, 55
store i32 %62, ptr %5, align 4
br label %88
63: ; preds = %47, %39
%64 = load ptr, ptr %2, align 8
%65 = load i32, ptr %3, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp sge i32 %69, 97
br i1 %70, label %71, label %87
71: ; preds = %63
%72 = load ptr, ptr %2, align 8
%73 = load i32, ptr %3, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp sle i32 %77, 102
br i1 %78, label %79, label %87
79: ; preds = %71
%80 = load ptr, ptr %2, align 8
%81 = load i32, ptr %3, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %80, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = sub nsw i32 %85, 87
store i32 %86, ptr %5, align 4
br label %87
87: ; preds = %79, %71, %63
br label %88
88: ; preds = %87, %55
br label %89
89: ; preds = %88, %31
%90 = load i32, ptr %8, align 4
%91 = load i32, ptr %7, align 4
%92 = call i32 @pow(i32 noundef 16, i32 noundef %91)
%93 = load i32, ptr %5, align 4
%94 = mul nsw i32 %92, %93
%95 = add nsw i32 %90, %94
store i32 %95, ptr %8, align 4
%96 = load i32, ptr %7, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %7, align 4
br label %98
98: ; preds = %89
%99 = load i32, ptr %3, align 4
%100 = add nsw i32 %99, -1
store i32 %100, ptr %3, align 4
%101 = load i32, ptr %3, align 4
%102 = icmp sge i32 %101, 0
br i1 %102, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %98
br label %103
103: ; preds = %._crit_edge, %1
%104 = load i32, ptr %8, align 4
ret i32 %104
}
declare i32 @strlen(ptr noundef) #1
declare i32 @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/tmpw0ai5b93.c'
source_filename = "/tmp/tmpw0ai5b93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = load i32, ptr %7, align 4
%11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = icmp ne i32 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %16
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %15, %14
%17 = load i32, ptr %4, align 4
ret i32 %17
}
declare i32 @write(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/tmpw0ai5b93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = load i32, ptr %7, align 4
%11 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %10)
%12 = load i32, ptr %7, align 4
%13 = icmp ne i32 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %16
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %15, %14
%17 = load i32, ptr %4, align 4
ret i32 %17
}
declare i32 @write(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/tmpjhu1k_r0.c'
source_filename = "/tmp/tmpjhu1k_r0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Dump of %d's memory [0x%08X : 0x%08X]\0A\00", align 1
@PTRACE_PEEKTEXT = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [8 x i8] c"ptrace3\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c" 0x%08X: %02x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dump_process_memory(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %8, align 4
%16 = add i32 %14, %15
%17 = call i32 @procmsg(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %16)
store i32 0, ptr %10, align 4
br label %18
18: ; preds = %49, %4
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %52
22: ; preds = %18
%23 = load i32, ptr @PTRACE_PEEKTEXT, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %10, align 4
%27 = add i32 %25, %26
%28 = call i32 @ptrace(i32 noundef %23, i32 noundef %24, i32 noundef %27, i32 noundef 0)
store i32 %28, ptr %11, align 4
%29 = icmp eq i32 %28, -1
br i1 %29, label %30, label %35
30: ; preds = %22
%31 = load i64, ptr @errno, align 8
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %5, align 4
br label %53
35: ; preds = %30, %22
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %8, align 4
%38 = add i32 %36, %37
%39 = load i32, ptr %11, align 4
%40 = and i32 %39, 255
%41 = call i32 @printf(ptr noundef @.str.2, i32 noundef %38, i32 noundef %40)
%42 = load i32, ptr %11, align 4
%43 = and i32 %42, 255
%44 = trunc i32 %43 to i8
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %10, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
store i8 %44, ptr %48, align 1
br label %49
49: ; preds = %35
%50 = load i32, ptr %10, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %10, align 4
br label %18, !llvm.loop !6
52: ; preds = %18
store i32 0, ptr %5, align 4
br label %53
53: ; preds = %52, %33
%54 = load i32, ptr %5, align 4
ret i32 %54
}
declare i32 @procmsg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @ptrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjhu1k_r0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Dump of %d's memory [0x%08X : 0x%08X]\0A\00", align 1
@PTRACE_PEEKTEXT = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [8 x i8] c"ptrace3\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c" 0x%08X: %02x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dump_process_memory(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %8, align 4
%16 = add i32 %14, %15
%17 = call i32 @procmsg(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %16)
store i32 0, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %54
.lr.ph: ; preds = %4
br label %21
21: ; preds = %.lr.ph, %48
%22 = load i32, ptr @PTRACE_PEEKTEXT, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %10, align 4
%26 = add i32 %24, %25
%27 = call i32 @ptrace(i32 noundef %22, i32 noundef %23, i32 noundef %26, i32 noundef 0)
store i32 %27, ptr %11, align 4
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %34
29: ; preds = %21
%30 = load i64, ptr @errno, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %5, align 4
br label %55
34: ; preds = %29, %21
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %8, align 4
%37 = add i32 %35, %36
%38 = load i32, ptr %11, align 4
%39 = and i32 %38, 255
%40 = call i32 @printf(ptr noundef @.str.2, i32 noundef %37, i32 noundef %39)
%41 = load i32, ptr %11, align 4
%42 = and i32 %41, 255
%43 = trunc i32 %42 to i8
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr %10, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 %43, ptr %47, align 1
br label %48
48: ; preds = %34
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %10, align 4
%51 = load i32, ptr %10, align 4
%52 = load i32, ptr %8, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %4
store i32 0, ptr %5, align 4
br label %55
55: ; preds = %54, %32
%56 = load i32, ptr %5, align 4
ret i32 %56
}
declare i32 @procmsg(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @ptrace(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbktytyxd.c'
source_filename = "/tmp/tmpbktytyxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @q() #0 {
%1 = alloca i32, align 4
%2 = call i32 @t(i32 noundef 1)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %0
%6 = call i32 @t(i32 noundef 1)
store i32 %6, ptr %1, align 4
br label %7
7: ; preds = %5, %0
ret void
}
declare i32 @t(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/tmpbktytyxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @q() #0 {
%1 = alloca i32, align 4
%2 = call i32 @t(i32 noundef 1)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %0
%6 = call i32 @t(i32 noundef 1)
store i32 %6, ptr %1, align 4
br label %7
7: ; preds = %5, %0
ret void
}
declare i32 @t(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/tmp4m8pbfce.c'
source_filename = "/tmp/tmp4m8pbfce.c"
target datalayout = "e-m:e-p270: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/tmp4m8pbfce.c"
target datalayout = "e-m:e-p270: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/tmpq6tsp3jk.c'
source_filename = "/tmp/tmpq6tsp3jk.c"
target datalayout = "e-m:e-p270: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/tmpq6tsp3jk.c"
target datalayout = "e-m:e-p270: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/tmpb67x7c03.c'
source_filename = "/tmp/tmpb67x7c03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ledtest(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @sw_led_init()
br label %6
6: ; preds = %2, %6
%7 = call i32 (...) @sw_led_off()
%8 = call i32 @sw_usleep(i32 noundef 500000)
%9 = call i32 (...) @sw_led_on()
%10 = call i32 @sw_usleep(i32 noundef 500000)
br label %6
}
declare i32 @sw_led_init(...) #1
declare i32 @sw_led_off(...) #1
declare i32 @sw_usleep(i32 noundef) #1
declare i32 @sw_led_on(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb67x7c03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ledtest(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @sw_led_init()
br label %6
6: ; preds = %6, %2
%7 = call i32 (...) @sw_led_off()
%8 = call i32 @sw_usleep(i32 noundef 500000)
%9 = call i32 (...) @sw_led_on()
%10 = call i32 @sw_usleep(i32 noundef 500000)
br label %6
}
declare i32 @sw_led_init(...) #1
declare i32 @sw_led_off(...) #1
declare i32 @sw_usleep(i32 noundef) #1
declare i32 @sw_led_on(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdo8hqmna.c'
source_filename = "/tmp/tmpdo8hqmna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @HO_deriv_57(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = call double @pow(double noundef %6, double noundef 2.100000e+01) #3
%8 = fmul double 0x43A66BAB43B154D7, %7
%9 = load double, ptr %4, align 8
%10 = call double @pow(double noundef %9, double noundef 4.200000e+01) #3
%11 = load double, ptr %3, align 8
%12 = call double @pow(double noundef %11, double noundef 2.500000e+01) #3
%13 = fmul double 0x420AA97436118000, %12
%14 = load double, ptr %4, align 8
%15 = call double @pow(double noundef %14, double noundef 5.000000e+01) #3
%16 = fmul double %13, %15
%17 = call double @llvm.fmuladd.f64(double %8, double %10, double %16)
%18 = load double, ptr %3, align 8
%19 = call double @pow(double noundef %18, double noundef 2.000000e+01) #3
%20 = fmul double 0x440135BED02D45A0, %19
%21 = load double, ptr %4, align 8
%22 = call double @pow(double noundef %21, double noundef 4.000000e+01) #3
%23 = fneg double %20
%24 = call double @llvm.fmuladd.f64(double %23, double %22, double %17)
%25 = load double, ptr %3, align 8
%26 = call double @pow(double noundef %25, double noundef 2.800000e+01) #3
%27 = fmul double 8.550000e+02, %26
%28 = load double, ptr %4, align 8
%29 = call double @pow(double noundef %28, double noundef 5.600000e+01) #3
%30 = fneg double %27
%31 = call double @llvm.fmuladd.f64(double %30, double %29, double %24)
%32 = load double, ptr %3, align 8
%33 = call double @pow(double noundef %32, double noundef 1.900000e+01) #3
%34 = fmul double 0x445586CE0AB54240, %33
%35 = load double, ptr %4, align 8
%36 = call double @pow(double noundef %35, double noundef 3.800000e+01) #3
%37 = call double @llvm.fmuladd.f64(double %34, double %36, double %31)
%38 = load double, ptr %3, align 8
%39 = call double @pow(double noundef %38, double noundef 2.300000e+01) #3
%40 = fmul double 0x42E3DFCBA70E2566, %39
%41 = load double, ptr %4, align 8
%42 = call double @pow(double noundef %41, double noundef 4.600000e+01) #3
%43 = call double @llvm.fmuladd.f64(double %40, double %42, double %37)
%44 = fsub double %43, 0x4637488278D3A909
%45 = load double, ptr %3, align 8
%46 = call double @pow(double noundef %45, double noundef 2.700000e+01) #3
%47 = fmul double 0x4114C2CE00000000, %46
%48 = load double, ptr %4, align 8
%49 = call double @pow(double noundef %48, double noundef 5.400000e+01) #3
%50 = call double @llvm.fmuladd.f64(double %47, double %49, double %44)
%51 = load double, ptr %3, align 8
%52 = call double @pow(double noundef %51, double noundef 1.200000e+01) #3
%53 = fmul double 0x4628D32DB9212061, %52
%54 = load double, ptr %4, align 8
%55 = call double @pow(double noundef %54, double noundef 2.400000e+01) #3
%56 = fneg double %53
%57 = call double @llvm.fmuladd.f64(double %56, double %55, double %50)
%58 = load double, ptr %3, align 8
%59 = call double @pow(double noundef %58, double noundef 9.000000e+00) #3
%60 = fmul double 0x46A6DE068E17D3A4, %59
%61 = load double, ptr %4, align 8
%62 = call double @pow(double noundef %61, double noundef 1.800000e+01) #3
%63 = call double @llvm.fmuladd.f64(double %60, double %62, double %57)
%64 = load double, ptr %3, align 8
%65 = call double @pow(double noundef %64, double noundef 8.000000e+00) #3
%66 = fmul double 0x46C54025CFCD5F5C, %65
%67 = load double, ptr %4, align 8
%68 = call double @pow(double noundef %67, double noundef 1.600000e+01) #3
%69 = fneg double %66
%70 = call double @llvm.fmuladd.f64(double %69, double %68, double %63)
%71 = load double, ptr %3, align 8
%72 = call double @pow(double noundef %71, double noundef 2.200000e+01) #3
%73 = fmul double 0x43479D007F76D92B, %72
%74 = load double, ptr %4, align 8
%75 = call double @pow(double noundef %74, double noundef 4.400000e+01) #3
%76 = fneg double %73
%77 = call double @llvm.fmuladd.f64(double %76, double %75, double %70)
%78 = load double, ptr %3, align 8
%79 = call double @pow(double noundef %78, double noundef 1.300000e+01) #3
%80 = fmul double 0x45F4532B6D9E1E47, %79
%81 = load double, ptr %4, align 8
%82 = call double @pow(double noundef %81, double noundef 2.600000e+01) #3
%83 = call double @llvm.fmuladd.f64(double %80, double %82, double %77)
%84 = load double, ptr %3, align 8
%85 = call double @pow(double noundef %84, double noundef 1.600000e+01) #3
%86 = fmul double 0x45399BE23ACE6058, %85
%87 = load double, ptr %4, align 8
%88 = call double @pow(double noundef %87, double noundef 3.200000e+01) #3
%89 = fneg double %86
%90 = call double @llvm.fmuladd.f64(double %89, double %88, double %83)
%91 = load double, ptr %3, align 8
%92 = call double @pow(double noundef %91, double noundef 2.600000e+01) #3
%93 = fmul double 0x4193F736A0000000, %92
%94 = load double, ptr %4, align 8
%95 = call double @pow(double noundef %94, double noundef 5.200000e+01) #3
%96 = fneg double %93
%97 = call double @llvm.fmuladd.f64(double %96, double %95, double %90)
%98 = load double, ptr %3, align 8
%99 = call double @pow(double noundef %98, double noundef 1.700000e+01) #3
%100 = fmul double 0x44F289A7FFFA539B, %99
%101 = load double, ptr %4, align 8
%102 = call double @pow(double noundef %101, double noundef 3.400000e+01) #3
%103 = call double @llvm.fmuladd.f64(double %100, double %102, double %97)
%104 = load double, ptr %3, align 8
%105 = call double @pow(double noundef %104, double noundef 1.800000e+01) #3
%106 = fmul double 0x44A60C1437DF166C, %105
%107 = load double, ptr %4, align 8
%108 = call double @pow(double noundef %107, double noundef 3.600000e+01) #3
%109 = fneg double %106
%110 = call double @llvm.fmuladd.f64(double %109, double %108, double %103)
%111 = load double, ptr %3, align 8
%112 = call double @pow(double noundef %111, double noundef 1.500000e+01) #3
%113 = fmul double 0x457D071DD1E523A1, %112
%114 = load double, ptr %4, align 8
%115 = call double @pow(double noundef %114, double noundef 3.000000e+01) #3
%116 = call double @llvm.fmuladd.f64(double %113, double %115, double %110)
%117 = load double, ptr %3, align 8
%118 = call double @pow(double noundef %117, double noundef 1.000000e+01) #3
%119 = fmul double 0x4682DD197AFD61DE, %118
%120 = load double, ptr %4, align 8
%121 = call double @pow(double noundef %120, double noundef 2.000000e+01) #3
%122 = fneg double %119
%123 = call double @llvm.fmuladd.f64(double %122, double %121, double %116)
%124 = load double, ptr %3, align 8
%125 = call double @pow(double noundef %124, double noundef 2.400000e+01) #3
%126 = fmul double 0x427A4A1E0AE38F00, %125
%127 = load double, ptr %4, align 8
%128 = call double @pow(double noundef %127, double noundef 4.800000e+01) #3
%129 = fneg double %126
%130 = call double @llvm.fmuladd.f64(double %129, double %128, double %123)
%131 = load double, ptr %3, align 8
%132 = call double @pow(double noundef %131, double noundef 7.000000e+00) #3
%133 = fmul double 0x46DD8EC03AA24F1C, %132
%134 = load double, ptr %4, align 8
%135 = call double @pow(double noundef %134, double noundef 1.400000e+01) #3
%136 = call double @llvm.fmuladd.f64(double %133, double %135, double %130)
%137 = load double, ptr %3, align 8
%138 = call double @pow(double noundef %137, double noundef 1.100000e+01) #3
%139 = fmul double 0x46584EC76FF06FB5, %138
%140 = load double, ptr %4, align 8
%141 = call double @pow(double noundef %140, double noundef 2.200000e+01) #3
%142 = call double @llvm.fmuladd.f64(double %139, double %141, double %136)
%143 = load double, ptr %3, align 8
%144 = call double @pow(double noundef %143, double noundef 1.400000e+01) #3
%145 = fmul double 0x45BAEB107D6E887B, %144
%146 = load double, ptr %4, align 8
%147 = call double @pow(double noundef %146, double noundef 2.800000e+01) #3
%148 = fneg double %145
%149 = call double @llvm.fmuladd.f64(double %148, double %147, double %142)
%150 = load double, ptr %3, align 8
%151 = call double @pow(double noundef %150, double noundef 5.000000e+00) #3
%152 = fmul double 0x46F4E3626265E351, %151
%153 = load double, ptr %4, align 8
%154 = call double @pow(double noundef %153, double noundef 1.000000e+01) #3
%155 = call double @llvm.fmuladd.f64(double %152, double %154, double %149)
%156 = load double, ptr %3, align 8
%157 = call double @pow(double noundef %156, double noundef 4.000000e+00) #3
%158 = fmul double 0x46F3277355661FA9, %157
%159 = load double, ptr %4, align 8
%160 = call double @pow(double noundef %159, double noundef 8.000000e+00) #3
%161 = fneg double %158
%162 = call double @llvm.fmuladd.f64(double %161, double %160, double %155)
%163 = load double, ptr %3, align 8
%164 = call double @pow(double noundef %163, double noundef 3.000000e+00) #3
%165 = fmul double 0x46E5026DBB06FD87, %164
%166 = load double, ptr %4, align 8
%167 = call double @pow(double noundef %166, double noundef 6.000000e+00) #3
%168 = call double @llvm.fmuladd.f64(double %165, double %167, double %162)
%169 = load double, ptr %3, align 8
%170 = fmul double 0x46C7C4AFDB5811E4, %169
%171 = load double, ptr %3, align 8
%172 = fmul double %170, %171
%173 = load double, ptr %4, align 8
%174 = call double @pow(double noundef %173, double noundef 4.000000e+00) #3
%175 = fneg double %172
%176 = call double @llvm.fmuladd.f64(double %175, double %174, double %168)
%177 = load double, ptr %3, align 8
%178 = fmul double 0x4694BC94339C828C, %177
%179 = load double, ptr %4, align 8
%180 = fmul double %178, %179
%181 = load double, ptr %4, align 8
%182 = call double @llvm.fmuladd.f64(double %180, double %181, double %176)
%183 = load double, ptr %3, align 8
%184 = call double @pow(double noundef %183, double noundef 6.000000e+00) #3
%185 = fmul double 0x46EDCF4231F7B773, %184
%186 = load double, ptr %4, align 8
%187 = call double @pow(double noundef %186, double noundef 1.200000e+01) #3
%188 = fneg double %185
%189 = call double @llvm.fmuladd.f64(double %188, double %187, double %182)
%190 = load double, ptr %3, align 8
%191 = call double @pow(double noundef %190, double noundef 2.900000e+01) #3
%192 = load double, ptr %4, align 8
%193 = call double @pow(double noundef %192, double noundef 5.800000e+01) #3
%194 = call double @llvm.fmuladd.f64(double %191, double %193, double %189)
%195 = fmul double 0xB805FD74F512D38C, %194
%196 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3
%197 = fmul double %195, %196
%198 = load double, ptr %3, align 8
%199 = call double @pow(double noundef %198, double noundef 7.500000e-01) #3
%200 = fmul double %197, %199
%201 = load double, ptr %3, align 8
%202 = fneg double %201
%203 = load double, ptr %4, align 8
%204 = fmul double %202, %203
%205 = load double, ptr %4, align 8
%206 = fmul double %204, %205
%207 = fdiv double %206, 2.000000e+00
%208 = call double @exp(double noundef %207) #3
%209 = fmul double %200, %208
%210 = call double @sqrt(double noundef 0x4368339522B22F3B) #3
%211 = fmul double %209, %210
store double %211, ptr %5, align 8
%212 = load double, ptr %5, align 8
ret double %212
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdo8hqmna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @HO_deriv_57(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = call double @pow(double noundef %6, double noundef 2.100000e+01) #3
%8 = fmul double 0x43A66BAB43B154D7, %7
%9 = load double, ptr %4, align 8
%10 = call double @pow(double noundef %9, double noundef 4.200000e+01) #3
%11 = load double, ptr %3, align 8
%12 = call double @pow(double noundef %11, double noundef 2.500000e+01) #3
%13 = fmul double 0x420AA97436118000, %12
%14 = load double, ptr %4, align 8
%15 = call double @pow(double noundef %14, double noundef 5.000000e+01) #3
%16 = fmul double %13, %15
%17 = call double @llvm.fmuladd.f64(double %8, double %10, double %16)
%18 = load double, ptr %3, align 8
%19 = call double @pow(double noundef %18, double noundef 2.000000e+01) #3
%20 = fmul double 0x440135BED02D45A0, %19
%21 = load double, ptr %4, align 8
%22 = call double @pow(double noundef %21, double noundef 4.000000e+01) #3
%23 = fneg double %20
%24 = call double @llvm.fmuladd.f64(double %23, double %22, double %17)
%25 = load double, ptr %3, align 8
%26 = call double @pow(double noundef %25, double noundef 2.800000e+01) #3
%27 = fmul double 8.550000e+02, %26
%28 = load double, ptr %4, align 8
%29 = call double @pow(double noundef %28, double noundef 5.600000e+01) #3
%30 = fneg double %27
%31 = call double @llvm.fmuladd.f64(double %30, double %29, double %24)
%32 = load double, ptr %3, align 8
%33 = call double @pow(double noundef %32, double noundef 1.900000e+01) #3
%34 = fmul double 0x445586CE0AB54240, %33
%35 = load double, ptr %4, align 8
%36 = call double @pow(double noundef %35, double noundef 3.800000e+01) #3
%37 = call double @llvm.fmuladd.f64(double %34, double %36, double %31)
%38 = load double, ptr %3, align 8
%39 = call double @pow(double noundef %38, double noundef 2.300000e+01) #3
%40 = fmul double 0x42E3DFCBA70E2566, %39
%41 = load double, ptr %4, align 8
%42 = call double @pow(double noundef %41, double noundef 4.600000e+01) #3
%43 = call double @llvm.fmuladd.f64(double %40, double %42, double %37)
%44 = fsub double %43, 0x4637488278D3A909
%45 = load double, ptr %3, align 8
%46 = call double @pow(double noundef %45, double noundef 2.700000e+01) #3
%47 = fmul double 0x4114C2CE00000000, %46
%48 = load double, ptr %4, align 8
%49 = call double @pow(double noundef %48, double noundef 5.400000e+01) #3
%50 = call double @llvm.fmuladd.f64(double %47, double %49, double %44)
%51 = load double, ptr %3, align 8
%52 = call double @pow(double noundef %51, double noundef 1.200000e+01) #3
%53 = fmul double 0x4628D32DB9212061, %52
%54 = load double, ptr %4, align 8
%55 = call double @pow(double noundef %54, double noundef 2.400000e+01) #3
%56 = fneg double %53
%57 = call double @llvm.fmuladd.f64(double %56, double %55, double %50)
%58 = load double, ptr %3, align 8
%59 = call double @pow(double noundef %58, double noundef 9.000000e+00) #3
%60 = fmul double 0x46A6DE068E17D3A4, %59
%61 = load double, ptr %4, align 8
%62 = call double @pow(double noundef %61, double noundef 1.800000e+01) #3
%63 = call double @llvm.fmuladd.f64(double %60, double %62, double %57)
%64 = load double, ptr %3, align 8
%65 = call double @pow(double noundef %64, double noundef 8.000000e+00) #3
%66 = fmul double 0x46C54025CFCD5F5C, %65
%67 = load double, ptr %4, align 8
%68 = call double @pow(double noundef %67, double noundef 1.600000e+01) #3
%69 = fneg double %66
%70 = call double @llvm.fmuladd.f64(double %69, double %68, double %63)
%71 = load double, ptr %3, align 8
%72 = call double @pow(double noundef %71, double noundef 2.200000e+01) #3
%73 = fmul double 0x43479D007F76D92B, %72
%74 = load double, ptr %4, align 8
%75 = call double @pow(double noundef %74, double noundef 4.400000e+01) #3
%76 = fneg double %73
%77 = call double @llvm.fmuladd.f64(double %76, double %75, double %70)
%78 = load double, ptr %3, align 8
%79 = call double @pow(double noundef %78, double noundef 1.300000e+01) #3
%80 = fmul double 0x45F4532B6D9E1E47, %79
%81 = load double, ptr %4, align 8
%82 = call double @pow(double noundef %81, double noundef 2.600000e+01) #3
%83 = call double @llvm.fmuladd.f64(double %80, double %82, double %77)
%84 = load double, ptr %3, align 8
%85 = call double @pow(double noundef %84, double noundef 1.600000e+01) #3
%86 = fmul double 0x45399BE23ACE6058, %85
%87 = load double, ptr %4, align 8
%88 = call double @pow(double noundef %87, double noundef 3.200000e+01) #3
%89 = fneg double %86
%90 = call double @llvm.fmuladd.f64(double %89, double %88, double %83)
%91 = load double, ptr %3, align 8
%92 = call double @pow(double noundef %91, double noundef 2.600000e+01) #3
%93 = fmul double 0x4193F736A0000000, %92
%94 = load double, ptr %4, align 8
%95 = call double @pow(double noundef %94, double noundef 5.200000e+01) #3
%96 = fneg double %93
%97 = call double @llvm.fmuladd.f64(double %96, double %95, double %90)
%98 = load double, ptr %3, align 8
%99 = call double @pow(double noundef %98, double noundef 1.700000e+01) #3
%100 = fmul double 0x44F289A7FFFA539B, %99
%101 = load double, ptr %4, align 8
%102 = call double @pow(double noundef %101, double noundef 3.400000e+01) #3
%103 = call double @llvm.fmuladd.f64(double %100, double %102, double %97)
%104 = load double, ptr %3, align 8
%105 = call double @pow(double noundef %104, double noundef 1.800000e+01) #3
%106 = fmul double 0x44A60C1437DF166C, %105
%107 = load double, ptr %4, align 8
%108 = call double @pow(double noundef %107, double noundef 3.600000e+01) #3
%109 = fneg double %106
%110 = call double @llvm.fmuladd.f64(double %109, double %108, double %103)
%111 = load double, ptr %3, align 8
%112 = call double @pow(double noundef %111, double noundef 1.500000e+01) #3
%113 = fmul double 0x457D071DD1E523A1, %112
%114 = load double, ptr %4, align 8
%115 = call double @pow(double noundef %114, double noundef 3.000000e+01) #3
%116 = call double @llvm.fmuladd.f64(double %113, double %115, double %110)
%117 = load double, ptr %3, align 8
%118 = call double @pow(double noundef %117, double noundef 1.000000e+01) #3
%119 = fmul double 0x4682DD197AFD61DE, %118
%120 = load double, ptr %4, align 8
%121 = call double @pow(double noundef %120, double noundef 2.000000e+01) #3
%122 = fneg double %119
%123 = call double @llvm.fmuladd.f64(double %122, double %121, double %116)
%124 = load double, ptr %3, align 8
%125 = call double @pow(double noundef %124, double noundef 2.400000e+01) #3
%126 = fmul double 0x427A4A1E0AE38F00, %125
%127 = load double, ptr %4, align 8
%128 = call double @pow(double noundef %127, double noundef 4.800000e+01) #3
%129 = fneg double %126
%130 = call double @llvm.fmuladd.f64(double %129, double %128, double %123)
%131 = load double, ptr %3, align 8
%132 = call double @pow(double noundef %131, double noundef 7.000000e+00) #3
%133 = fmul double 0x46DD8EC03AA24F1C, %132
%134 = load double, ptr %4, align 8
%135 = call double @pow(double noundef %134, double noundef 1.400000e+01) #3
%136 = call double @llvm.fmuladd.f64(double %133, double %135, double %130)
%137 = load double, ptr %3, align 8
%138 = call double @pow(double noundef %137, double noundef 1.100000e+01) #3
%139 = fmul double 0x46584EC76FF06FB5, %138
%140 = load double, ptr %4, align 8
%141 = call double @pow(double noundef %140, double noundef 2.200000e+01) #3
%142 = call double @llvm.fmuladd.f64(double %139, double %141, double %136)
%143 = load double, ptr %3, align 8
%144 = call double @pow(double noundef %143, double noundef 1.400000e+01) #3
%145 = fmul double 0x45BAEB107D6E887B, %144
%146 = load double, ptr %4, align 8
%147 = call double @pow(double noundef %146, double noundef 2.800000e+01) #3
%148 = fneg double %145
%149 = call double @llvm.fmuladd.f64(double %148, double %147, double %142)
%150 = load double, ptr %3, align 8
%151 = call double @pow(double noundef %150, double noundef 5.000000e+00) #3
%152 = fmul double 0x46F4E3626265E351, %151
%153 = load double, ptr %4, align 8
%154 = call double @pow(double noundef %153, double noundef 1.000000e+01) #3
%155 = call double @llvm.fmuladd.f64(double %152, double %154, double %149)
%156 = load double, ptr %3, align 8
%157 = call double @pow(double noundef %156, double noundef 4.000000e+00) #3
%158 = fmul double 0x46F3277355661FA9, %157
%159 = load double, ptr %4, align 8
%160 = call double @pow(double noundef %159, double noundef 8.000000e+00) #3
%161 = fneg double %158
%162 = call double @llvm.fmuladd.f64(double %161, double %160, double %155)
%163 = load double, ptr %3, align 8
%164 = call double @pow(double noundef %163, double noundef 3.000000e+00) #3
%165 = fmul double 0x46E5026DBB06FD87, %164
%166 = load double, ptr %4, align 8
%167 = call double @pow(double noundef %166, double noundef 6.000000e+00) #3
%168 = call double @llvm.fmuladd.f64(double %165, double %167, double %162)
%169 = load double, ptr %3, align 8
%170 = fmul double 0x46C7C4AFDB5811E4, %169
%171 = load double, ptr %3, align 8
%172 = fmul double %170, %171
%173 = load double, ptr %4, align 8
%174 = call double @pow(double noundef %173, double noundef 4.000000e+00) #3
%175 = fneg double %172
%176 = call double @llvm.fmuladd.f64(double %175, double %174, double %168)
%177 = load double, ptr %3, align 8
%178 = fmul double 0x4694BC94339C828C, %177
%179 = load double, ptr %4, align 8
%180 = fmul double %178, %179
%181 = load double, ptr %4, align 8
%182 = call double @llvm.fmuladd.f64(double %180, double %181, double %176)
%183 = load double, ptr %3, align 8
%184 = call double @pow(double noundef %183, double noundef 6.000000e+00) #3
%185 = fmul double 0x46EDCF4231F7B773, %184
%186 = load double, ptr %4, align 8
%187 = call double @pow(double noundef %186, double noundef 1.200000e+01) #3
%188 = fneg double %185
%189 = call double @llvm.fmuladd.f64(double %188, double %187, double %182)
%190 = load double, ptr %3, align 8
%191 = call double @pow(double noundef %190, double noundef 2.900000e+01) #3
%192 = load double, ptr %4, align 8
%193 = call double @pow(double noundef %192, double noundef 5.800000e+01) #3
%194 = call double @llvm.fmuladd.f64(double %191, double %193, double %189)
%195 = fmul double 0xB805FD74F512D38C, %194
%196 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01) #3
%197 = fmul double %195, %196
%198 = load double, ptr %3, align 8
%199 = call double @pow(double noundef %198, double noundef 7.500000e-01) #3
%200 = fmul double %197, %199
%201 = load double, ptr %3, align 8
%202 = fneg double %201
%203 = load double, ptr %4, align 8
%204 = fmul double %202, %203
%205 = load double, ptr %4, align 8
%206 = fmul double %204, %205
%207 = fdiv double %206, 2.000000e+00
%208 = call double @exp(double noundef %207) #3
%209 = fmul double %200, %208
%210 = call double @sqrt(double noundef 0x4368339522B22F3B) #3
%211 = fmul double %209, %210
store double %211, ptr %5, align 8
%212 = load double, ptr %5, align 8
ret double %212
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @exp(double noundef) #1
; 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplauamh07.c'
source_filename = "/tmp/tmplauamh07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strv_merge(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call ptr @strv_copy(ptr noundef %11)
store ptr %12, ptr %3, align 8
br label %81
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
%18 = call ptr @strv_copy(ptr noundef %17)
store ptr %18, ptr %3, align 8
br label %81
19: ; preds = %13
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strv_length(ptr noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strv_length(ptr noundef %22)
%24 = add nsw i32 %21, %23
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = mul i64 8, %26
%28 = trunc i64 %27 to i32
%29 = call i64 @malloc(i32 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %6, align 8
%31 = load ptr, ptr %6, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %34, label %33
33: ; preds = %19
store ptr null, ptr %3, align 8
br label %81
34: ; preds = %19
%35 = load ptr, ptr %6, align 8
store ptr %35, ptr %7, align 8
br label %36
36: ; preds = %50, %34
%37 = load ptr, ptr %4, align 8
%38 = load ptr, ptr %37, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %55
40: ; preds = %36
%41 = load ptr, ptr %4, align 8
%42 = load ptr, ptr %41, align 8
%43 = call ptr @strdup(ptr noundef %42)
%44 = load ptr, ptr %7, align 8
store ptr %43, ptr %44, align 8
%45 = load ptr, ptr %7, align 8
%46 = load ptr, ptr %45, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %49, label %48
48: ; preds = %40
br label %78
49: ; preds = %40
br label %50
50: ; preds = %49
%51 = load ptr, ptr %7, align 8
%52 = getelementptr inbounds ptr, ptr %51, i32 1
store ptr %52, ptr %7, align 8
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds ptr, ptr %53, i32 1
store ptr %54, ptr %4, align 8
br label %36, !llvm.loop !6
55: ; preds = %36
br label %56
56: ; preds = %70, %55
%57 = load ptr, ptr %5, align 8
%58 = load ptr, ptr %57, align 8
%59 = icmp ne ptr %58, null
br i1 %59, label %60, label %75
60: ; preds = %56
%61 = load ptr, ptr %5, align 8
%62 = load ptr, ptr %61, align 8
%63 = call ptr @strdup(ptr noundef %62)
%64 = load ptr, ptr %7, align 8
store ptr %63, ptr %64, align 8
%65 = load ptr, ptr %7, align 8
%66 = load ptr, ptr %65, align 8
%67 = icmp ne ptr %66, null
br i1 %67, label %69, label %68
68: ; preds = %60
br label %78
69: ; preds = %60
br label %70
70: ; preds = %69
%71 = load ptr, ptr %7, align 8
%72 = getelementptr inbounds ptr, ptr %71, i32 1
store ptr %72, ptr %7, align 8
%73 = load ptr, ptr %5, align 8
%74 = getelementptr inbounds ptr, ptr %73, i32 1
store ptr %74, ptr %5, align 8
br label %56, !llvm.loop !8
75: ; preds = %56
%76 = load ptr, ptr %7, align 8
store ptr null, ptr %76, align 8
%77 = load ptr, ptr %6, align 8
store ptr %77, ptr %3, align 8
br label %81
78: ; preds = %68, %48
%79 = load ptr, ptr %6, align 8
%80 = call i32 @strv_free(ptr noundef %79)
store ptr null, ptr %3, align 8
br label %81
81: ; preds = %78, %75, %33, %16, %10
%82 = load ptr, ptr %3, align 8
ret ptr %82
}
declare ptr @strv_copy(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strv_length(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @strv_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplauamh07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strv_merge(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %13, label %10
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call ptr @strv_copy(ptr noundef %11)
store ptr %12, ptr %3, align 8
br label %85
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
%18 = call ptr @strv_copy(ptr noundef %17)
store ptr %18, ptr %3, align 8
br label %85
19: ; preds = %13
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strv_length(ptr noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strv_length(ptr noundef %22)
%24 = add nsw i32 %21, %23
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = mul i64 8, %26
%28 = trunc i64 %27 to i32
%29 = call i64 @malloc(i32 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %6, align 8
%31 = load ptr, ptr %6, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %34, label %33
33: ; preds = %19
store ptr null, ptr %3, align 8
br label %85
34: ; preds = %19
%35 = load ptr, ptr %6, align 8
store ptr %35, ptr %7, align 8
%36 = load ptr, ptr %4, align 8
%37 = load ptr, ptr %36, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %.lr.ph, label %57
.lr.ph: ; preds = %34
br label %39
39: ; preds = %.lr.ph, %49
%40 = load ptr, ptr %4, align 8
%41 = load ptr, ptr %40, align 8
%42 = call ptr @strdup(ptr noundef %41)
%43 = load ptr, ptr %7, align 8
store ptr %42, ptr %43, align 8
%44 = load ptr, ptr %7, align 8
%45 = load ptr, ptr %44, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %48, label %47
47: ; preds = %39
br label %82
48: ; preds = %39
br label %49
49: ; preds = %48
%50 = load ptr, ptr %7, align 8
%51 = getelementptr inbounds ptr, ptr %50, i32 1
store ptr %51, ptr %7, align 8
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds ptr, ptr %52, i32 1
store ptr %53, ptr %4, align 8
%54 = load ptr, ptr %4, align 8
%55 = load ptr, ptr %54, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %57
57: ; preds = %._crit_edge, %34
%58 = load ptr, ptr %5, align 8
%59 = load ptr, ptr %58, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %.lr.ph2, label %79
.lr.ph2: ; preds = %57
br label %61
61: ; preds = %.lr.ph2, %71
%62 = load ptr, ptr %5, align 8
%63 = load ptr, ptr %62, align 8
%64 = call ptr @strdup(ptr noundef %63)
%65 = load ptr, ptr %7, align 8
store ptr %64, ptr %65, align 8
%66 = load ptr, ptr %7, align 8
%67 = load ptr, ptr %66, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %70, label %69
69: ; preds = %61
br label %82
70: ; preds = %61
br label %71
71: ; preds = %70
%72 = load ptr, ptr %7, align 8
%73 = getelementptr inbounds ptr, ptr %72, i32 1
store ptr %73, ptr %7, align 8
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds ptr, ptr %74, i32 1
store ptr %75, ptr %5, align 8
%76 = load ptr, ptr %5, align 8
%77 = load ptr, ptr %76, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %61, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %71
br label %79
79: ; preds = %._crit_edge3, %57
%80 = load ptr, ptr %7, align 8
store ptr null, ptr %80, align 8
%81 = load ptr, ptr %6, align 8
store ptr %81, ptr %3, align 8
br label %85
82: ; preds = %69, %47
%83 = load ptr, ptr %6, align 8
%84 = call i32 @strv_free(ptr noundef %83)
store ptr null, ptr %3, align 8
br label %85
85: ; preds = %82, %79, %33, %16, %10
%86 = load ptr, ptr %3, align 8
ret ptr %86
}
declare ptr @strv_copy(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strv_length(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @strv_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpyvsp_zc3.c'
source_filename = "/tmp/tmpyvsp_zc3.c"
target datalayout = "e-m:e-p270: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/tmpyvsp_zc3.c"
target datalayout = "e-m:e-p270: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/tmp8m1ti7dk.c'
source_filename = "/tmp/tmp8m1ti7dk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gloc_stdin() #0 {
%1 = call i32 @exit(i32 noundef 1) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8m1ti7dk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gloc_stdin() #0 {
%1 = call i32 @exit(i32 noundef 1) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa25z5t1k.c'
source_filename = "/tmp/tmpa25z5t1k.c"
target datalayout = "e-m:e-p270: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/tmpa25z5t1k.c"
target datalayout = "e-m:e-p270: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/tmp2s2soknq.c'
source_filename = "/tmp/tmp2s2soknq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timer_elapsed_seconds(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = mul nsw i64 %5, 1000
store i64 %6, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i64, ptr %4, align 8
%9 = call i32 @timer_elapsed_milliseconds(ptr noundef %7, i64 noundef %8)
ret i32 %9
}
declare i32 @timer_elapsed_milliseconds(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2s2soknq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timer_elapsed_seconds(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = mul nsw i64 %5, 1000
store i64 %6, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i64, ptr %4, align 8
%9 = call i32 @timer_elapsed_milliseconds(ptr noundef %7, i64 noundef %8)
ret i32 %9
}
declare i32 @timer_elapsed_milliseconds(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiof_uwtf.c'
source_filename = "/tmp/tmpiof_uwtf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_debug_print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @_debug_print_format(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @_debug_print_format(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiof_uwtf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_debug_print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @_debug_print_format(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @_debug_print_format(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkhe_oeew.c'
source_filename = "/tmp/tmpkhe_oeew.c"
target datalayout = "e-m:e-p270: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 [51 x i8] c"\0AWelcome to ascend.c \0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"This program reads a mask file and generates a new\0A\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"maskfile with unique integers in each valid cell. \0A\00", align 1
@.str.3 = private unnamed_addr constant [52 x i8] c"The inputfile have to be an ArcInfo asciigridfile \0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"NODATA_value have to be an integer, \0A\00", align 1
@.str.5 = private unnamed_addr constant [52 x i8] c"-9999, -99 or 0, etc.. \0A\00", align 1
@.str.6 = private unnamed_addr constant [52 x i8] c"Usage: ascend maskfile > newmaskfile \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @welcome() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkhe_oeew.c"
target datalayout = "e-m:e-p270: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 [51 x i8] c"\0AWelcome to ascend.c \0A\00", align 1
@.str.1 = private unnamed_addr constant [52 x i8] c"This program reads a mask file and generates a new\0A\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"maskfile with unique integers in each valid cell. \0A\00", align 1
@.str.3 = private unnamed_addr constant [52 x i8] c"The inputfile have to be an ArcInfo asciigridfile \0A\00", align 1
@.str.4 = private unnamed_addr constant [52 x i8] c"NODATA_value have to be an integer, \0A\00", align 1
@.str.5 = private unnamed_addr constant [52 x i8] c"-9999, -99 or 0, etc.. \0A\00", align 1
@.str.6 = private unnamed_addr constant [52 x i8] c"Usage: ascend maskfile > newmaskfile \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @welcome() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5zeywc9k.c'
source_filename = "/tmp/tmp5zeywc9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Function1IntPtr(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = add nsw i64 %3, 42
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/tmp5zeywc9k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Function1IntPtr(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = add nsw i64 %3, 42
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/tmp4x_83o43.c'
source_filename = "/tmp/tmp4x_83o43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findKey(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %21, %1
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2043
br i1 %7, label %8, label %26
8: ; preds = %5
%9 = load i32, ptr %4, align 4
%10 = call i32 @findoccupied(i32 noundef %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %14
13: ; preds = %8
store i32 -1, ptr %2, align 4
br label %27
14: ; preds = %8
%15 = load i32, ptr %4, align 4
%16 = load ptr, ptr %3, align 8
%17 = call i64 @eestrmatch(i32 noundef %15, ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = load i32, ptr %4, align 4
store i32 %20, ptr %2, align 4
br label %27
21: ; preds = %14
%22 = load i32, ptr %4, align 4
%23 = call i32 @findend(i32 noundef %22)
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = call i32 @findend(i32 noundef %24)
store i32 %25, ptr %4, align 4
br label %5, !llvm.loop !6
26: ; preds = %5
store i32 -1, ptr %2, align 4
br label %27
27: ; preds = %26, %19, %13
%28 = load i32, ptr %2, align 4
ret i32 %28
}
declare i32 @findoccupied(i32 noundef) #1
declare i64 @eestrmatch(i32 noundef, ptr noundef) #1
declare i32 @findend(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/tmp4x_83o43.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findKey(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 2043
br i1 %6, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %20
%8 = load i32, ptr %4, align 4
%9 = call i32 @findoccupied(i32 noundef %8)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %13
12: ; preds = %7
store i32 -1, ptr %2, align 4
br label %28
13: ; preds = %7
%14 = load i32, ptr %4, align 4
%15 = load ptr, ptr %3, align 8
%16 = call i64 @eestrmatch(i32 noundef %14, ptr noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %13
%19 = load i32, ptr %4, align 4
store i32 %19, ptr %2, align 4
br label %28
20: ; preds = %13
%21 = load i32, ptr %4, align 4
%22 = call i32 @findend(i32 noundef %21)
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = call i32 @findend(i32 noundef %23)
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %25, 2043
br i1 %26, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %1
store i32 -1, ptr %2, align 4
br label %28
28: ; preds = %27, %18, %12
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i32 @findoccupied(i32 noundef) #1
declare i64 @eestrmatch(i32 noundef, ptr noundef) #1
declare i32 @findend(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/tmpylubrp3e.c'
source_filename = "/tmp/tmpylubrp3e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@d2i_X509_SIG = dso_local global i64 0, align 8
@PEM_STRING_PKCS8 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PEM_read_PKCS8(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i64, ptr @d2i_X509_SIG, align 8
%10 = inttoptr i64 %9 to ptr
%11 = load i32, ptr @PEM_STRING_PKCS8, align 4
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = call ptr @PEM_ASN1_read(ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15)
ret ptr %16
}
declare ptr @PEM_ASN1_read(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpylubrp3e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@d2i_X509_SIG = dso_local global i64 0, align 8
@PEM_STRING_PKCS8 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PEM_read_PKCS8(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load i64, ptr @d2i_X509_SIG, align 8
%10 = inttoptr i64 %9 to ptr
%11 = load i32, ptr @PEM_STRING_PKCS8, align 4
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = call ptr @PEM_ASN1_read(ptr noundef %10, i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15)
ret ptr %16
}
declare ptr @PEM_ASN1_read(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr4515uj3.c'
source_filename = "/tmp/tmpr4515uj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve_by_quaddobl_homotopy_continuation(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 246, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr4515uj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve_by_quaddobl_homotopy_continuation(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 246, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1hy_uskj.c'
source_filename = "/tmp/tmp1hy_uskj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; 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
br label %5
5: ; preds = %44, %0
%6 = call i32 (...) @getchar()
store i32 %6, ptr %4, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %45
9: ; preds = %5
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 32
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
br label %44
15: ; preds = %9
%16 = load i32, ptr %2, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %41
18: ; preds = %15
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %26, %18
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %2, align 4
%22 = sdiv i32 %21, 4
%23 = icmp slt i32 %20, %22
br i1 %23, label %24, label %29
24: ; preds = %19
%25 = call i32 @putchar(i32 noundef 9)
br label %26
26: ; preds = %24
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %19, !llvm.loop !6
29: ; preds = %19
store i32 0, ptr %3, align 4
br label %30
30: ; preds = %37, %29
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %2, align 4
%33 = srem i32 %32, 4
%34 = icmp slt i32 %31, %33
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = call i32 @putchar(i32 noundef 32)
br label %37
37: ; preds = %35
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
br label %30, !llvm.loop !8
40: ; preds = %30
store i32 0, ptr %2, align 4
br label %41
41: ; preds = %40, %15
%42 = load i32, ptr %4, align 4
%43 = call i32 @putchar(i32 noundef %42)
br label %44
44: ; preds = %41, %12
br label %5, !llvm.loop !9
45: ; preds = %5
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1hy_uskj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; 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
%5 = call i32 (...) @getchar()
store i32 %5, ptr %4, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %.lr.ph5, label %53
.lr.ph5: ; preds = %0
br label %8
8: ; preds = %.lr.ph5, %49
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 32
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
br label %49
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %17, label %46
17: ; preds = %14
store i32 0, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = sdiv i32 %19, 4
%21 = icmp slt i32 %18, %20
br i1 %21, label %.lr.ph, label %31
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %24
%23 = call i32 @putchar(i32 noundef 9)
br label %24
24: ; preds = %22
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %2, align 4
%29 = sdiv i32 %28, 4
%30 = icmp slt i32 %27, %29
br i1 %30, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %31
31: ; preds = %._crit_edge, %17
store i32 0, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %2, align 4
%34 = srem i32 %33, 4
%35 = icmp slt i32 %32, %34
br i1 %35, label %.lr.ph2, label %45
.lr.ph2: ; preds = %31
br label %36
36: ; preds = %.lr.ph2, %38
%37 = call i32 @putchar(i32 noundef 32)
br label %38
38: ; preds = %36
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %2, align 4
%43 = srem i32 %42, 4
%44 = icmp slt i32 %41, %43
br i1 %44, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %45
45: ; preds = %._crit_edge3, %31
store i32 0, ptr %2, align 4
br label %46
46: ; preds = %45, %14
%47 = load i32, ptr %4, align 4
%48 = call i32 @putchar(i32 noundef %47)
br label %49
49: ; preds = %46, %11
%50 = call i32 (...) @getchar()
store i32 %50, ptr %4, align 4
%51 = load i32, ptr @EOF, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %8, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %49
br label %53
53: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpo_gsppo8.c'
source_filename = "/tmp/tmpo_gsppo8.c"
target datalayout = "e-m:e-p270: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.ifreq = type { ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr_in = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"virbr0\00", align 1
@IFNAMSIZ = dso_local global i32 0, align 4
@SIOCGIFADDR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_iface_addr() #0 {
%1 = alloca %struct.ifreq, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = load i32, ptr @AF_INET, align 4
%5 = load i32, ptr @SOCK_DGRAM, align 4
%6 = call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr @AF_INET, align 4
%8 = getelementptr inbounds %struct.ifreq, ptr %1, i32 0, i32 1
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i32 0, i32 0
store i32 %7, ptr %9, align 8
%10 = call ptr (...) @find_wifi_interface()
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %21
13: ; preds = %0
%14 = getelementptr inbounds %struct.ifreq, ptr %1, i32 0, i32 0
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr @IFNAMSIZ, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @strncpy(ptr noundef %15, ptr noundef @.str, i32 noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = call i32 @free(ptr noundef %19)
store ptr null, ptr %3, align 8
br label %21
21: ; preds = %13, %0
%22 = getelementptr inbounds %struct.ifreq, ptr %1, i32 0, i32 0
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr @IFNAMSIZ, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
store i8 0, ptr %27, align 1
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr @SIOCGIFADDR, align 4
%30 = call i32 @ioctl(i32 noundef %28, i32 noundef %29, ptr noundef %1)
%31 = load i32, ptr %2, align 4
%32 = call i32 @close(i32 noundef %31)
%33 = getelementptr inbounds %struct.ifreq, ptr %1, i32 0, i32 1
%34 = getelementptr inbounds %struct.sockaddr_in, ptr %33, i32 0, i32 0
%35 = load i32, ptr %34, align 8
%36 = call ptr @inet_ntoa(i32 noundef %35)
ret ptr %36
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @find_wifi_interface(...) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare ptr @inet_ntoa(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/tmpo_gsppo8.c"
target datalayout = "e-m:e-p270: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.ifreq = type { ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
%struct.sockaddr_in = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"virbr0\00", align 1
@IFNAMSIZ = dso_local global i32 0, align 4
@SIOCGIFADDR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_iface_addr() #0 {
%1 = alloca %struct.ifreq, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = load i32, ptr @AF_INET, align 4
%5 = load i32, ptr @SOCK_DGRAM, align 4
%6 = call i32 @socket(i32 noundef %4, i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr @AF_INET, align 4
%8 = getelementptr inbounds %struct.ifreq, ptr %1, i32 0, i32 1
%9 = getelementptr inbounds %struct.TYPE_2__, ptr %8, i32 0, i32 0
store i32 %7, ptr %9, align 8
%10 = call ptr (...) @find_wifi_interface()
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %21
13: ; preds = %0
%14 = getelementptr inbounds %struct.ifreq, ptr %1, i32 0, i32 0
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr @IFNAMSIZ, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @strncpy(ptr noundef %15, ptr noundef @.str, i32 noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = call i32 @free(ptr noundef %19)
store ptr null, ptr %3, align 8
br label %21
21: ; preds = %13, %0
%22 = getelementptr inbounds %struct.ifreq, ptr %1, i32 0, i32 0
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr @IFNAMSIZ, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
store i8 0, ptr %27, align 1
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr @SIOCGIFADDR, align 4
%30 = call i32 @ioctl(i32 noundef %28, i32 noundef %29, ptr noundef %1)
%31 = load i32, ptr %2, align 4
%32 = call i32 @close(i32 noundef %31)
%33 = getelementptr inbounds %struct.ifreq, ptr %1, i32 0, i32 1
%34 = getelementptr inbounds %struct.sockaddr_in, ptr %33, i32 0, i32 0
%35 = load i32, ptr %34, align 8
%36 = call ptr @inet_ntoa(i32 noundef %35)
ret ptr %36
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @find_wifi_interface(...) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare ptr @inet_ntoa(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/tmpxbi3q8j2.c'
source_filename = "/tmp/tmpxbi3q8j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"server.pem\00", align 1
@SSL_FILETYPE_PEM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"server.key\00", align 1
@SSL_ERROR_WANT_WRITE = dso_local global i64 0, align 8
@SSL_ERROR_WANT_READ = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"packet-%i\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"server state: %s / %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"client state: %s / %s\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 [4096 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [15 x i8], align 1
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = 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
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %21, 3
br i1 %22, label %23, label %24
23: ; preds = %2
store i32 -1, ptr %8, align 4
br label %35
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = sub nsw i32 %30, 48
store i32 %31, ptr %8, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
store ptr %34, ptr %10, align 8
br label %35
35: ; preds = %24, %23
%36 = call i32 (...) @SSL_library_init()
%37 = call i32 (...) @SSL_load_error_strings()
%38 = call i32 (...) @ERR_load_BIO_strings()
%39 = call i32 (...) @OpenSSL_add_all_algorithms()
%40 = call i32 (...) @TLSv1_method()
%41 = call ptr @SSL_CTX_new(i32 noundef %40)
store ptr %41, ptr %13, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %45, label %43
43: ; preds = %35
%44 = call i32 (...) @err()
br label %45
45: ; preds = %43, %35
%46 = load ptr, ptr %13, align 8
%47 = load i32, ptr @SSL_FILETYPE_PEM, align 4
%48 = call i32 @SSL_CTX_use_certificate_file(ptr noundef %46, ptr noundef @.str, i32 noundef %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %45
%51 = call i32 (...) @err()
br label %52
52: ; preds = %50, %45
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr @SSL_FILETYPE_PEM, align 4
%55 = call i32 @SSL_CTX_use_PrivateKey_file(ptr noundef %53, ptr noundef @.str.1, i32 noundef %54)
%56 = icmp ne i32 %55, 0
br i1 %56, label %59, label %57
57: ; preds = %52
%58 = call i32 (...) @err()
br label %59
59: ; preds = %57, %52
%60 = load ptr, ptr %13, align 8
%61 = call ptr @SSL_new(ptr noundef %60)
store ptr %61, ptr %15, align 8
%62 = icmp ne ptr %61, null
br i1 %62, label %65, label %63
63: ; preds = %59
%64 = call i32 (...) @err()
br label %65
65: ; preds = %63, %59
%66 = call i32 (...) @BIO_s_mem()
%67 = call ptr @BIO_new(i32 noundef %66)
store ptr %67, ptr %17, align 8
%68 = call i32 (...) @BIO_s_mem()
%69 = call ptr @BIO_new(i32 noundef %68)
store ptr %69, ptr %18, align 8
%70 = load ptr, ptr %15, align 8
%71 = load ptr, ptr %17, align 8
%72 = load ptr, ptr %18, align 8
%73 = call i32 @SSL_set_bio(ptr noundef %70, ptr noundef %71, ptr noundef %72)
%74 = load ptr, ptr %15, align 8
%75 = call i32 @SSL_set_accept_state(ptr noundef %74)
%76 = call i32 (...) @TLSv1_method()
%77 = call ptr @SSL_CTX_new(i32 noundef %76)
store ptr %77, ptr %14, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %81, label %79
79: ; preds = %65
%80 = call i32 (...) @err()
br label %81
81: ; preds = %79, %65
%82 = load ptr, ptr %14, align 8
%83 = call ptr @SSL_new(ptr noundef %82)
store ptr %83, ptr %16, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %87, label %85
85: ; preds = %81
%86 = call i32 (...) @err()
br label %87
87: ; preds = %85, %81
%88 = call i32 (...) @BIO_s_mem()
%89 = call ptr @BIO_new(i32 noundef %88)
store ptr %89, ptr %19, align 8
%90 = call i32 (...) @BIO_s_mem()
%91 = call ptr @BIO_new(i32 noundef %90)
store ptr %91, ptr %20, align 8
%92 = load ptr, ptr %16, align 8
%93 = load ptr, ptr %19, align 8
%94 = load ptr, ptr %20, align 8
%95 = call i32 @SSL_set_bio(ptr noundef %92, ptr noundef %93, ptr noundef %94)
%96 = load ptr, ptr %16, align 8
%97 = call i32 @SSL_set_connect_state(ptr noundef %96)
store i32 0, ptr %7, align 4
br label %98
98: ; preds = %236, %87
%99 = load ptr, ptr %16, align 8
%100 = call i32 @SSL_do_handshake(ptr noundef %99)
store i32 %100, ptr %6, align 4
%101 = load i32, ptr %6, align 4
%102 = icmp eq i32 %101, -1
br i1 %102, label %103, label %118
103: ; preds = %98
%104 = load ptr, ptr %16, align 8
%105 = load i32, ptr %6, align 4
%106 = call i64 @SSL_get_error(ptr noundef %104, i32 noundef %105)
%107 = load i64, ptr @SSL_ERROR_WANT_WRITE, align 8
%108 = icmp ne i64 %106, %107
br i1 %108, label %109, label %117
109: ; preds = %103
%110 = load ptr, ptr %16, align 8
%111 = load i32, ptr %6, align 4
%112 = call i64 @SSL_get_error(ptr noundef %110, i32 noundef %111)
%113 = load i64, ptr @SSL_ERROR_WANT_READ, align 8
%114 = icmp ne i64 %112, %113
br i1 %114, label %115, label %117
115: ; preds = %109
%116 = call i32 (...) @err()
br label %117
117: ; preds = %115, %109, %103
br label %118
118: ; preds = %117, %98
%119 = load ptr, ptr %20, align 8
%120 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%121 = call i32 @BIO_read(ptr noundef %119, ptr noundef %120, i32 noundef 4096)
store i32 %121, ptr %6, align 4
%122 = load i32, ptr %6, align 4
%123 = icmp eq i32 %122, -1
br i1 %123, label %124, label %126
124: ; preds = %118
%125 = call i32 (...) @err()
br label %126
126: ; preds = %124, %118
%127 = load i32, ptr %7, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %7, align 4
%129 = load i32, ptr %7, align 4
%130 = load i32, ptr %8, align 4
%131 = icmp eq i32 %129, %130
br i1 %131, label %132, label %138
132: ; preds = %126
%133 = load ptr, ptr %10, align 8
%134 = call ptr @fopen(ptr noundef %133, ptr noundef @.str.2)
store ptr %134, ptr %11, align 8
%135 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%136 = load ptr, ptr %11, align 8
%137 = call i32 @fread(ptr noundef %135, i32 noundef 1, i32 noundef 4096, ptr noundef %136)
store i32 %137, ptr %6, align 4
br label %152
138: ; preds = %126
%139 = load i32, ptr %8, align 4
%140 = icmp eq i32 %139, -1
br i1 %140, label %141, label %151
141: ; preds = %138
%142 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%143 = load i32, ptr %7, align 4
%144 = call i32 @sprintf(ptr noundef %142, ptr noundef @.str.3, i32 noundef %143)
%145 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%146 = call ptr @fopen(ptr noundef %145, ptr noundef @.str.4)
store ptr %146, ptr %11, align 8
%147 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%148 = load i32, ptr %6, align 4
%149 = load ptr, ptr %11, align 8
%150 = call i32 @fwrite(ptr noundef %147, i32 noundef 1, i32 noundef %148, ptr noundef %149)
br label %151
151: ; preds = %141, %138
br label %152
152: ; preds = %151, %132
%153 = load ptr, ptr %17, align 8
%154 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%155 = load i32, ptr %6, align 4
%156 = call i32 @BIO_write(ptr noundef %153, ptr noundef %154, i32 noundef %155)
%157 = load ptr, ptr %15, align 8
%158 = call i32 @SSL_do_handshake(ptr noundef %157)
store i32 %158, ptr %6, align 4
%159 = load i32, ptr %6, align 4
%160 = icmp eq i32 %159, -1
br i1 %160, label %161, label %176
161: ; preds = %152
%162 = load ptr, ptr %15, align 8
%163 = load i32, ptr %6, align 4
%164 = call i64 @SSL_get_error(ptr noundef %162, i32 noundef %163)
%165 = load i64, ptr @SSL_ERROR_WANT_WRITE, align 8
%166 = icmp ne i64 %164, %165
br i1 %166, label %167, label %175
167: ; preds = %161
%168 = load ptr, ptr %15, align 8
%169 = load i32, ptr %6, align 4
%170 = call i64 @SSL_get_error(ptr noundef %168, i32 noundef %169)
%171 = load i64, ptr @SSL_ERROR_WANT_READ, align 8
%172 = icmp ne i64 %170, %171
br i1 %172, label %173, label %175
173: ; preds = %167
%174 = call i32 (...) @err()
br label %175
175: ; preds = %173, %167, %161
br label %176
176: ; preds = %175, %152
%177 = load ptr, ptr %18, align 8
%178 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%179 = call i32 @BIO_read(ptr noundef %177, ptr noundef %178, i32 noundef 4096)
store i32 %179, ptr %6, align 4
%180 = load i32, ptr %6, align 4
%181 = icmp eq i32 %180, -1
br i1 %181, label %182, label %184
182: ; preds = %176
%183 = call i32 (...) @err()
br label %184
184: ; preds = %182, %176
%185 = load i32, ptr %7, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %7, align 4
%187 = load i32, ptr %7, align 4
%188 = load i32, ptr %8, align 4
%189 = icmp eq i32 %187, %188
br i1 %189, label %190, label %196
190: ; preds = %184
%191 = load ptr, ptr %10, align 8
%192 = call ptr @fopen(ptr noundef %191, ptr noundef @.str.2)
store ptr %192, ptr %11, align 8
%193 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%194 = load ptr, ptr %11, align 8
%195 = call i32 @fread(ptr noundef %193, i32 noundef 1, i32 noundef 4096, ptr noundef %194)
store i32 %195, ptr %6, align 4
br label %210
196: ; preds = %184
%197 = load i32, ptr %8, align 4
%198 = icmp eq i32 %197, -1
br i1 %198, label %199, label %209
199: ; preds = %196
%200 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%201 = load i32, ptr %7, align 4
%202 = call i32 @sprintf(ptr noundef %200, ptr noundef @.str.3, i32 noundef %201)
%203 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%204 = call ptr @fopen(ptr noundef %203, ptr noundef @.str.4)
store ptr %204, ptr %11, align 8
%205 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%206 = load i32, ptr %6, align 4
%207 = load ptr, ptr %11, align 8
%208 = call i32 @fwrite(ptr noundef %205, i32 noundef 1, i32 noundef %206, ptr noundef %207)
br label %209
209: ; preds = %199, %196
br label %210
210: ; preds = %209, %190
%211 = load ptr, ptr %19, align 8
%212 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%213 = load i32, ptr %6, align 4
%214 = call i32 @BIO_write(ptr noundef %211, ptr noundef %212, i32 noundef %213)
%215 = load ptr, ptr %15, align 8
%216 = call ptr @SSL_state_string(ptr noundef %215)
%217 = load ptr, ptr %15, align 8
%218 = call ptr @SSL_state_string_long(ptr noundef %217)
%219 = call i32 @printf(ptr noundef @.str.5, ptr noundef %216, ptr noundef %218)
%220 = load ptr, ptr %16, align 8
%221 = call ptr @SSL_state_string(ptr noundef %220)
%222 = load ptr, ptr %16, align 8
%223 = call ptr @SSL_state_string_long(ptr noundef %222)
%224 = call i32 @printf(ptr noundef @.str.6, ptr noundef %221, ptr noundef %223)
br label %225
225: ; preds = %210
%226 = load ptr, ptr %15, align 8
%227 = call i32 @SSL_is_init_finished(ptr noundef %226)
%228 = icmp ne i32 %227, 0
br i1 %228, label %229, label %233
229: ; preds = %225
%230 = load ptr, ptr %16, align 8
%231 = call i32 @SSL_is_init_finished(ptr noundef %230)
%232 = icmp ne i32 %231, 0
br i1 %232, label %236, label %233
233: ; preds = %229, %225
%234 = load i32, ptr %7, align 4
%235 = icmp slt i32 %234, 10
br label %236
236: ; preds = %233, %229
%237 = phi i1 [ false, %229 ], [ %235, %233 ]
br i1 %237, label %98, label %238, !llvm.loop !6
238: ; preds = %236
ret i32 0
}
declare i32 @SSL_library_init(...) #1
declare i32 @SSL_load_error_strings(...) #1
declare i32 @ERR_load_BIO_strings(...) #1
declare i32 @OpenSSL_add_all_algorithms(...) #1
declare ptr @SSL_CTX_new(i32 noundef) #1
declare i32 @TLSv1_method(...) #1
declare i32 @err(...) #1
declare i32 @SSL_CTX_use_certificate_file(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SSL_CTX_use_PrivateKey_file(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @SSL_new(ptr noundef) #1
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_mem(...) #1
declare i32 @SSL_set_bio(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @SSL_set_accept_state(ptr noundef) #1
declare i32 @SSL_set_connect_state(ptr noundef) #1
declare i32 @SSL_do_handshake(ptr noundef) #1
declare i64 @SSL_get_error(ptr noundef, i32 noundef) #1
declare i32 @BIO_read(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @SSL_state_string(ptr noundef) #1
declare ptr @SSL_state_string_long(ptr noundef) #1
declare i32 @SSL_is_init_finished(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpxbi3q8j2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"server.pem\00", align 1
@SSL_FILETYPE_PEM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"server.key\00", align 1
@SSL_ERROR_WANT_WRITE = dso_local global i64 0, align 8
@SSL_ERROR_WANT_READ = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"packet-%i\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"server state: %s / %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"client state: %s / %s\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 [4096 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [15 x i8], align 1
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = 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
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %21, 3
br i1 %22, label %23, label %24
23: ; preds = %2
store i32 -1, ptr %8, align 4
br label %35
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = sub nsw i32 %30, 48
store i32 %31, ptr %8, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
store ptr %34, ptr %10, align 8
br label %35
35: ; preds = %24, %23
%36 = call i32 (...) @SSL_library_init()
%37 = call i32 (...) @SSL_load_error_strings()
%38 = call i32 (...) @ERR_load_BIO_strings()
%39 = call i32 (...) @OpenSSL_add_all_algorithms()
%40 = call i32 (...) @TLSv1_method()
%41 = call ptr @SSL_CTX_new(i32 noundef %40)
store ptr %41, ptr %13, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %45, label %43
43: ; preds = %35
%44 = call i32 (...) @err()
br label %45
45: ; preds = %43, %35
%46 = load ptr, ptr %13, align 8
%47 = load i32, ptr @SSL_FILETYPE_PEM, align 4
%48 = call i32 @SSL_CTX_use_certificate_file(ptr noundef %46, ptr noundef @.str, i32 noundef %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %45
%51 = call i32 (...) @err()
br label %52
52: ; preds = %50, %45
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr @SSL_FILETYPE_PEM, align 4
%55 = call i32 @SSL_CTX_use_PrivateKey_file(ptr noundef %53, ptr noundef @.str.1, i32 noundef %54)
%56 = icmp ne i32 %55, 0
br i1 %56, label %59, label %57
57: ; preds = %52
%58 = call i32 (...) @err()
br label %59
59: ; preds = %57, %52
%60 = load ptr, ptr %13, align 8
%61 = call ptr @SSL_new(ptr noundef %60)
store ptr %61, ptr %15, align 8
%62 = icmp ne ptr %61, null
br i1 %62, label %65, label %63
63: ; preds = %59
%64 = call i32 (...) @err()
br label %65
65: ; preds = %63, %59
%66 = call i32 (...) @BIO_s_mem()
%67 = call ptr @BIO_new(i32 noundef %66)
store ptr %67, ptr %17, align 8
%68 = call i32 (...) @BIO_s_mem()
%69 = call ptr @BIO_new(i32 noundef %68)
store ptr %69, ptr %18, align 8
%70 = load ptr, ptr %15, align 8
%71 = load ptr, ptr %17, align 8
%72 = load ptr, ptr %18, align 8
%73 = call i32 @SSL_set_bio(ptr noundef %70, ptr noundef %71, ptr noundef %72)
%74 = load ptr, ptr %15, align 8
%75 = call i32 @SSL_set_accept_state(ptr noundef %74)
%76 = call i32 (...) @TLSv1_method()
%77 = call ptr @SSL_CTX_new(i32 noundef %76)
store ptr %77, ptr %14, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %81, label %79
79: ; preds = %65
%80 = call i32 (...) @err()
br label %81
81: ; preds = %79, %65
%82 = load ptr, ptr %14, align 8
%83 = call ptr @SSL_new(ptr noundef %82)
store ptr %83, ptr %16, align 8
%84 = icmp ne ptr %83, null
br i1 %84, label %87, label %85
85: ; preds = %81
%86 = call i32 (...) @err()
br label %87
87: ; preds = %85, %81
%88 = call i32 (...) @BIO_s_mem()
%89 = call ptr @BIO_new(i32 noundef %88)
store ptr %89, ptr %19, align 8
%90 = call i32 (...) @BIO_s_mem()
%91 = call ptr @BIO_new(i32 noundef %90)
store ptr %91, ptr %20, align 8
%92 = load ptr, ptr %16, align 8
%93 = load ptr, ptr %19, align 8
%94 = load ptr, ptr %20, align 8
%95 = call i32 @SSL_set_bio(ptr noundef %92, ptr noundef %93, ptr noundef %94)
%96 = load ptr, ptr %16, align 8
%97 = call i32 @SSL_set_connect_state(ptr noundef %96)
store i32 0, ptr %7, align 4
br label %98
98: ; preds = %236, %87
%99 = load ptr, ptr %16, align 8
%100 = call i32 @SSL_do_handshake(ptr noundef %99)
store i32 %100, ptr %6, align 4
%101 = load i32, ptr %6, align 4
%102 = icmp eq i32 %101, -1
br i1 %102, label %103, label %118
103: ; preds = %98
%104 = load ptr, ptr %16, align 8
%105 = load i32, ptr %6, align 4
%106 = call i64 @SSL_get_error(ptr noundef %104, i32 noundef %105)
%107 = load i64, ptr @SSL_ERROR_WANT_WRITE, align 8
%108 = icmp ne i64 %106, %107
br i1 %108, label %109, label %117
109: ; preds = %103
%110 = load ptr, ptr %16, align 8
%111 = load i32, ptr %6, align 4
%112 = call i64 @SSL_get_error(ptr noundef %110, i32 noundef %111)
%113 = load i64, ptr @SSL_ERROR_WANT_READ, align 8
%114 = icmp ne i64 %112, %113
br i1 %114, label %115, label %117
115: ; preds = %109
%116 = call i32 (...) @err()
br label %117
117: ; preds = %115, %109, %103
br label %118
118: ; preds = %117, %98
%119 = load ptr, ptr %20, align 8
%120 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%121 = call i32 @BIO_read(ptr noundef %119, ptr noundef %120, i32 noundef 4096)
store i32 %121, ptr %6, align 4
%122 = load i32, ptr %6, align 4
%123 = icmp eq i32 %122, -1
br i1 %123, label %124, label %126
124: ; preds = %118
%125 = call i32 (...) @err()
br label %126
126: ; preds = %124, %118
%127 = load i32, ptr %7, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %7, align 4
%129 = load i32, ptr %7, align 4
%130 = load i32, ptr %8, align 4
%131 = icmp eq i32 %129, %130
br i1 %131, label %132, label %138
132: ; preds = %126
%133 = load ptr, ptr %10, align 8
%134 = call ptr @fopen(ptr noundef %133, ptr noundef @.str.2)
store ptr %134, ptr %11, align 8
%135 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%136 = load ptr, ptr %11, align 8
%137 = call i32 @fread(ptr noundef %135, i32 noundef 1, i32 noundef 4096, ptr noundef %136)
store i32 %137, ptr %6, align 4
br label %152
138: ; preds = %126
%139 = load i32, ptr %8, align 4
%140 = icmp eq i32 %139, -1
br i1 %140, label %141, label %151
141: ; preds = %138
%142 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%143 = load i32, ptr %7, align 4
%144 = call i32 @sprintf(ptr noundef %142, ptr noundef @.str.3, i32 noundef %143)
%145 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%146 = call ptr @fopen(ptr noundef %145, ptr noundef @.str.4)
store ptr %146, ptr %11, align 8
%147 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%148 = load i32, ptr %6, align 4
%149 = load ptr, ptr %11, align 8
%150 = call i32 @fwrite(ptr noundef %147, i32 noundef 1, i32 noundef %148, ptr noundef %149)
br label %151
151: ; preds = %141, %138
br label %152
152: ; preds = %151, %132
%153 = load ptr, ptr %17, align 8
%154 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%155 = load i32, ptr %6, align 4
%156 = call i32 @BIO_write(ptr noundef %153, ptr noundef %154, i32 noundef %155)
%157 = load ptr, ptr %15, align 8
%158 = call i32 @SSL_do_handshake(ptr noundef %157)
store i32 %158, ptr %6, align 4
%159 = load i32, ptr %6, align 4
%160 = icmp eq i32 %159, -1
br i1 %160, label %161, label %176
161: ; preds = %152
%162 = load ptr, ptr %15, align 8
%163 = load i32, ptr %6, align 4
%164 = call i64 @SSL_get_error(ptr noundef %162, i32 noundef %163)
%165 = load i64, ptr @SSL_ERROR_WANT_WRITE, align 8
%166 = icmp ne i64 %164, %165
br i1 %166, label %167, label %175
167: ; preds = %161
%168 = load ptr, ptr %15, align 8
%169 = load i32, ptr %6, align 4
%170 = call i64 @SSL_get_error(ptr noundef %168, i32 noundef %169)
%171 = load i64, ptr @SSL_ERROR_WANT_READ, align 8
%172 = icmp ne i64 %170, %171
br i1 %172, label %173, label %175
173: ; preds = %167
%174 = call i32 (...) @err()
br label %175
175: ; preds = %173, %167, %161
br label %176
176: ; preds = %175, %152
%177 = load ptr, ptr %18, align 8
%178 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%179 = call i32 @BIO_read(ptr noundef %177, ptr noundef %178, i32 noundef 4096)
store i32 %179, ptr %6, align 4
%180 = load i32, ptr %6, align 4
%181 = icmp eq i32 %180, -1
br i1 %181, label %182, label %184
182: ; preds = %176
%183 = call i32 (...) @err()
br label %184
184: ; preds = %182, %176
%185 = load i32, ptr %7, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %7, align 4
%187 = load i32, ptr %7, align 4
%188 = load i32, ptr %8, align 4
%189 = icmp eq i32 %187, %188
br i1 %189, label %190, label %196
190: ; preds = %184
%191 = load ptr, ptr %10, align 8
%192 = call ptr @fopen(ptr noundef %191, ptr noundef @.str.2)
store ptr %192, ptr %11, align 8
%193 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%194 = load ptr, ptr %11, align 8
%195 = call i32 @fread(ptr noundef %193, i32 noundef 1, i32 noundef 4096, ptr noundef %194)
store i32 %195, ptr %6, align 4
br label %210
196: ; preds = %184
%197 = load i32, ptr %8, align 4
%198 = icmp eq i32 %197, -1
br i1 %198, label %199, label %209
199: ; preds = %196
%200 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%201 = load i32, ptr %7, align 4
%202 = call i32 @sprintf(ptr noundef %200, ptr noundef @.str.3, i32 noundef %201)
%203 = getelementptr inbounds [15 x i8], ptr %12, i64 0, i64 0
%204 = call ptr @fopen(ptr noundef %203, ptr noundef @.str.4)
store ptr %204, ptr %11, align 8
%205 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%206 = load i32, ptr %6, align 4
%207 = load ptr, ptr %11, align 8
%208 = call i32 @fwrite(ptr noundef %205, i32 noundef 1, i32 noundef %206, ptr noundef %207)
br label %209
209: ; preds = %199, %196
br label %210
210: ; preds = %209, %190
%211 = load ptr, ptr %19, align 8
%212 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0
%213 = load i32, ptr %6, align 4
%214 = call i32 @BIO_write(ptr noundef %211, ptr noundef %212, i32 noundef %213)
%215 = load ptr, ptr %15, align 8
%216 = call ptr @SSL_state_string(ptr noundef %215)
%217 = load ptr, ptr %15, align 8
%218 = call ptr @SSL_state_string_long(ptr noundef %217)
%219 = call i32 @printf(ptr noundef @.str.5, ptr noundef %216, ptr noundef %218)
%220 = load ptr, ptr %16, align 8
%221 = call ptr @SSL_state_string(ptr noundef %220)
%222 = load ptr, ptr %16, align 8
%223 = call ptr @SSL_state_string_long(ptr noundef %222)
%224 = call i32 @printf(ptr noundef @.str.6, ptr noundef %221, ptr noundef %223)
br label %225
225: ; preds = %210
%226 = load ptr, ptr %15, align 8
%227 = call i32 @SSL_is_init_finished(ptr noundef %226)
%228 = icmp ne i32 %227, 0
br i1 %228, label %229, label %233
229: ; preds = %225
%230 = load ptr, ptr %16, align 8
%231 = call i32 @SSL_is_init_finished(ptr noundef %230)
%232 = icmp ne i32 %231, 0
br i1 %232, label %236, label %233
233: ; preds = %229, %225
%234 = load i32, ptr %7, align 4
%235 = icmp slt i32 %234, 10
br label %236
236: ; preds = %233, %229
%237 = phi i1 [ false, %229 ], [ %235, %233 ]
br i1 %237, label %98, label %238, !llvm.loop !6
238: ; preds = %236
ret i32 0
}
declare i32 @SSL_library_init(...) #1
declare i32 @SSL_load_error_strings(...) #1
declare i32 @ERR_load_BIO_strings(...) #1
declare i32 @OpenSSL_add_all_algorithms(...) #1
declare ptr @SSL_CTX_new(i32 noundef) #1
declare i32 @TLSv1_method(...) #1
declare i32 @err(...) #1
declare i32 @SSL_CTX_use_certificate_file(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SSL_CTX_use_PrivateKey_file(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @SSL_new(ptr noundef) #1
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_mem(...) #1
declare i32 @SSL_set_bio(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @SSL_set_accept_state(ptr noundef) #1
declare i32 @SSL_set_connect_state(ptr noundef) #1
declare i32 @SSL_do_handshake(ptr noundef) #1
declare i64 @SSL_get_error(ptr noundef, i32 noundef) #1
declare i32 @BIO_read(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @SSL_state_string(ptr noundef) #1
declare ptr @SSL_state_string_long(ptr noundef) #1
declare i32 @SSL_is_init_finished(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpl6qms_kb.c'
source_filename = "/tmp/tmpl6qms_kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Integer value = %lli\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ICPrintIntValue(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, i64 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl6qms_kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Integer value = %lli\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ICPrintIntValue(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, i64 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwqnxscay.c'
source_filename = "/tmp/tmpwqnxscay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @f(i32 noundef 42)
ret i32 %2
}
declare i32 @f(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/tmpwqnxscay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @f(i32 noundef 42)
ret i32 %2
}
declare i32 @f(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/tmpspe4m4za.c'
source_filename = "/tmp/tmpspe4m4za.c"
target datalayout = "e-m:e-p270: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/tmpspe4m4za.c"
target datalayout = "e-m:e-p270: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/tmp0ow25y1q.c'
source_filename = "/tmp/tmp0ow25y1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %2, align 4
%4 = call ptr @malloc(i32 noundef 4)
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %13, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %8, label %16
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %11
store i32 %9, ptr %12, align 4
br label %13
13: ; preds = %8
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %5, !llvm.loop !6
16: ; preds = %5
store i32 0, ptr %2, align 4
br label %17
17: ; preds = %26, %16
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %20, label %29
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
br label %26
26: ; preds = %20
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
br label %17, !llvm.loop !8
29: ; preds = %17
%30 = load ptr, ptr %3, align 8
%31 = call i32 @free(ptr noundef %30)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ow25y1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %2, align 4
%4 = call ptr @malloc(i32 noundef 4)
store ptr %4, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %12
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %10
store i32 %8, ptr %11, align 4
br label %12
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 10
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %.lr.ph2, label %31
.lr.ph2: ; preds = %17
br label %20
20: ; preds = %.lr.ph2, %26
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %24)
br label %26
26: ; preds = %20
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %29, 10
br i1 %30, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %26
br label %31
31: ; preds = %._crit_edge3, %17
%32 = load ptr, ptr %3, align 8
%33 = call i32 @free(ptr noundef %32)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp4v5vfomg.c'
source_filename = "/tmp/tmp4v5vfomg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CMPRegionHeapToStack() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 8)
store ptr %4, ptr %2, align 8
store ptr %1, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @clang_analyzer_eval(i32 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @free(ptr noundef %10)
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare ptr @malloc(i32 noundef) #1
declare i32 @clang_analyzer_eval(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4v5vfomg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CMPRegionHeapToStack() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 8)
store ptr %4, ptr %2, align 8
store ptr %1, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @clang_analyzer_eval(i32 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @free(ptr noundef %10)
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare ptr @malloc(i32 noundef) #1
declare i32 @clang_analyzer_eval(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc0gxxv93.c'
source_filename = "/tmp/tmpc0gxxv93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
%struct.timespec = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @utimensat(i32 noundef %0, ptr noundef %1, ptr 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 [2 x %struct.timeval], align 16
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %4
br label %13
13: ; preds = %12, %4
%14 = load ptr, ptr %7, align 8
%15 = getelementptr inbounds %struct.timespec, ptr %14, i64 0
%16 = getelementptr inbounds %struct.timespec, ptr %15, i32 0, i32 1
%17 = load i32, ptr %16, align 4
%18 = getelementptr inbounds [2 x %struct.timeval], ptr %9, i64 0, i64 0
%19 = getelementptr inbounds %struct.timeval, ptr %18, i32 0, i32 1
store i32 %17, ptr %19, align 4
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds %struct.timespec, ptr %20, i64 0
%22 = getelementptr inbounds %struct.timespec, ptr %21, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = sdiv i32 %23, 1000
%25 = getelementptr inbounds [2 x %struct.timeval], ptr %9, i64 0, i64 0
%26 = getelementptr inbounds %struct.timeval, ptr %25, i32 0, i32 0
store i32 %24, ptr %26, align 16
%27 = load ptr, ptr %7, align 8
%28 = getelementptr inbounds %struct.timespec, ptr %27, i64 1
%29 = getelementptr inbounds %struct.timespec, ptr %28, i32 0, i32 1
%30 = load i32, ptr %29, align 4
%31 = getelementptr inbounds [2 x %struct.timeval], ptr %9, i64 0, i64 1
%32 = getelementptr inbounds %struct.timeval, ptr %31, i32 0, i32 1
store i32 %30, ptr %32, align 4
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds %struct.timespec, ptr %33, i64 1
%35 = getelementptr inbounds %struct.timespec, ptr %34, i32 0, i32 0
%36 = load i32, ptr %35, align 4
%37 = sdiv i32 %36, 1000
%38 = getelementptr inbounds [2 x %struct.timeval], ptr %9, i64 0, i64 1
%39 = getelementptr inbounds %struct.timeval, ptr %38, i32 0, i32 0
store i32 %37, ptr %39, align 8
%40 = load i32, ptr %5, align 4
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds [2 x %struct.timeval], ptr %9, i64 0, i64 0
%43 = call i32 @futimesat(i32 noundef %40, ptr noundef %41, ptr noundef %42)
ret i32 %43
}
declare i32 @futimesat(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc0gxxv93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
%struct.timespec = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @utimensat(i32 noundef %0, ptr noundef %1, ptr 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 [2 x %struct.timeval], align 16
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %4
br label %13
13: ; preds = %12, %4
%14 = load ptr, ptr %7, align 8
%15 = getelementptr inbounds %struct.timespec, ptr %14, i64 0
%16 = getelementptr inbounds %struct.timespec, ptr %15, i32 0, i32 1
%17 = load i32, ptr %16, align 4
%18 = getelementptr inbounds [2 x %struct.timeval], ptr %9, i64 0, i64 0
%19 = getelementptr inbounds %struct.timeval, ptr %18, i32 0, i32 1
store i32 %17, ptr %19, align 4
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds %struct.timespec, ptr %20, i64 0
%22 = getelementptr inbounds %struct.timespec, ptr %21, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = sdiv i32 %23, 1000
%25 = getelementptr inbounds [2 x %struct.timeval], ptr %9, i64 0, i64 0
%26 = getelementptr inbounds %struct.timeval, ptr %25, i32 0, i32 0
store i32 %24, ptr %26, align 16
%27 = load ptr, ptr %7, align 8
%28 = getelementptr inbounds %struct.timespec, ptr %27, i64 1
%29 = getelementptr inbounds %struct.timespec, ptr %28, i32 0, i32 1
%30 = load i32, ptr %29, align 4
%31 = getelementptr inbounds [2 x %struct.timeval], ptr %9, i64 0, i64 1
%32 = getelementptr inbounds %struct.timeval, ptr %31, i32 0, i32 1
store i32 %30, ptr %32, align 4
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds %struct.timespec, ptr %33, i64 1
%35 = getelementptr inbounds %struct.timespec, ptr %34, i32 0, i32 0
%36 = load i32, ptr %35, align 4
%37 = sdiv i32 %36, 1000
%38 = getelementptr inbounds [2 x %struct.timeval], ptr %9, i64 0, i64 1
%39 = getelementptr inbounds %struct.timeval, ptr %38, i32 0, i32 0
store i32 %37, ptr %39, align 8
%40 = load i32, ptr %5, align 4
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds [2 x %struct.timeval], ptr %9, i64 0, i64 0
%43 = call i32 @futimesat(i32 noundef %40, ptr noundef %41, ptr noundef %42)
ret i32 %43
}
declare i32 @futimesat(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq8bm7dpj.c'
source_filename = "/tmp/tmpq8bm7dpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@EBADF = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_isatty(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr @STDOUT_FILENO, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %4, %5
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %10
8: ; preds = %1
%9 = load i32, ptr @EBADF, align 4
store i32 %9, ptr @errno, align 4
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %8, %7
%11 = load i32, ptr %2, align 4
ret i32 %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq8bm7dpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@EBADF = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_isatty(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr @STDOUT_FILENO, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %4, %5
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %10
8: ; preds = %1
%9 = load i32, ptr @EBADF, align 4
store i32 %9, ptr @errno, align 4
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %8, %7
%11 = load i32, ptr %2, align 4
ret i32 %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9a2lkfo1.c'
source_filename = "/tmp/tmp9a2lkfo1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_cvolume_max_mask\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_cvolume_max_mask() #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/tmp9a2lkfo1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_cvolume_max_mask\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_cvolume_max_mask() #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/tmp5802pm_i.c'
source_filename = "/tmp/tmp5802pm_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fillLine(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
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %27, %2
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %10, %11
br i1 %12, label %13, label %31
13: ; preds = %9
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = sdiv i32 %15, 2
%17 = load i32, ptr %6, align 4
%18 = sdiv i32 %17, 2
%19 = sub nsw i32 %16, %18
%20 = icmp eq i32 %14, %19
br i1 %20, label %21, label %27
21: ; preds = %13
%22 = load ptr, ptr %3, align 8
%23 = call i32 (ptr, ...) @printw(ptr noundef @.str, ptr noundef %22)
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, %24
store i32 %26, ptr %5, align 4
br label %27
27: ; preds = %21, %13
%28 = call i32 (ptr, ...) @printw(ptr noundef @.str.1)
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %9, !llvm.loop !6
31: ; preds = %9
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printw(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp5802pm_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fillLine(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
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %26
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = sdiv i32 %14, 2
%16 = load i32, ptr %6, align 4
%17 = sdiv i32 %16, 2
%18 = sub nsw i32 %15, %17
%19 = icmp eq i32 %13, %18
br i1 %19, label %20, label %26
20: ; preds = %12
%21 = load ptr, ptr %3, align 8
%22 = call i32 (ptr, ...) @printw(ptr noundef @.str, ptr noundef %21)
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, %23
store i32 %25, ptr %5, align 4
br label %26
26: ; preds = %20, %12
%27 = call i32 (ptr, ...) @printw(ptr noundef @.str.1)
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp ne i32 %30, %31
br i1 %32, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %33
33: ; preds = %._crit_edge, %2
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @printw(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpt8z0ktng.c'
source_filename = "/tmp/tmpt8z0ktng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_line(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 = icmp ne ptr %5, null
br i1 %6, label %7, label %15
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %8, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %12, align 8
%14 = call i32 @free(ptr noundef %13)
br label %15
15: ; preds = %11, %7, %2
%16 = load ptr, ptr %3, align 8
store ptr null, ptr %16, align 8
%17 = load i32, ptr %4, align 4
ret i32 %17
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt8z0ktng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_line(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 = icmp ne ptr %5, null
br i1 %6, label %7, label %15
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %8, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %12, align 8
%14 = call i32 @free(ptr noundef %13)
br label %15
15: ; preds = %11, %7, %2
%16 = load ptr, ptr %3, align 8
store ptr null, ptr %16, align 8
%17 = load i32, ptr %4, align 4
ret i32 %17
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp7xgepl5.c'
source_filename = "/tmp/tmpp7xgepl5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dc\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @be_dc(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 0
%7 = load i32, ptr %6, align 4
%8 = call i32 @dup2(i32 noundef %7, i32 noundef 0)
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
%11 = load i32, ptr %10, align 4
%12 = call i32 @close(i32 noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 1
%15 = load i32, ptr %14, align 4
%16 = call i32 @close(i32 noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i32, ptr %17, i64 1
%19 = load i32, ptr %18, align 4
%20 = call i32 @dup2(i32 noundef %19, i32 noundef 1)
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 1
%23 = load i32, ptr %22, align 4
%24 = call i32 @close(i32 noundef %23)
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 0
%27 = load i32, ptr %26, align 4
%28 = call i32 @close(i32 noundef %27)
%29 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef @.str.1, ptr noundef null)
ret void
}
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp7xgepl5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dc\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @be_dc(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 0
%7 = load i32, ptr %6, align 4
%8 = call i32 @dup2(i32 noundef %7, i32 noundef 0)
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
%11 = load i32, ptr %10, align 4
%12 = call i32 @close(i32 noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 1
%15 = load i32, ptr %14, align 4
%16 = call i32 @close(i32 noundef %15)
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i32, ptr %17, i64 1
%19 = load i32, ptr %18, align 4
%20 = call i32 @dup2(i32 noundef %19, i32 noundef 1)
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 1
%23 = load i32, ptr %22, align 4
%24 = call i32 @close(i32 noundef %23)
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 0
%27 = load i32, ptr %26, align 4
%28 = call i32 @close(i32 noundef %27)
%29 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef @.str.1, ptr noundef null)
ret void
}
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5hjez5f8.c'
source_filename = "/tmp/tmp5hjez5f8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"P3 %d %d 255\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_color_header(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
ret void
}
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/tmp5hjez5f8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"P3 %d %d 255\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_color_header(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
ret void
}
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/tmpm9hdx3dh.c'
source_filename = "/tmp/tmpm9hdx3dh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pack_wordimage_f_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [1024 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%17 = call i32 @long_to_char(ptr noundef %15, ptr noundef %16)
%18 = call i32 @pack_wordimage_c(ptr noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %17)
ret void
}
declare i32 @pack_wordimage_c(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @long_to_char(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm9hdx3dh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pack_wordimage_f_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [1024 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%17 = call i32 @long_to_char(ptr noundef %15, ptr noundef %16)
%18 = call i32 @pack_wordimage_c(ptr noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %17)
ret void
}
declare i32 @pack_wordimage_c(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @long_to_char(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw5cnfhsu.c'
source_filename = "/tmp/tmpw5cnfhsu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CryptLibTest\0A------------\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Test MD5 - %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Pass\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"Fail\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Test SHA1 - %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Test SHA256 - %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"Test SHA512 - %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"Test RC4 - %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"All tests passed.\0A\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"Fail.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 (...) @TestMd5()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %0
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %8, %0
%10 = load i32, ptr %2, align 4
%11 = icmp ne i32 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, ptr @.str.2, ptr @.str.3
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13)
%15 = call i32 (...) @TestSha1()
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %9
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %18, %9
%20 = load i32, ptr %2, align 4
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i64
%23 = select i1 %21, ptr @.str.2, ptr @.str.3
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %23)
%25 = call i32 (...) @TestSha256()
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %19
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %28, %19
%30 = load i32, ptr %2, align 4
%31 = icmp ne i32 %30, 0
%32 = zext i1 %31 to i64
%33 = select i1 %31, ptr @.str.2, ptr @.str.3
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %33)
%35 = call i32 (...) @TestSha512()
store i32 %35, ptr %2, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %29
store i32 0, ptr %3, align 4
br label %39
39: ; preds = %38, %29
%40 = load i32, ptr %2, align 4
%41 = icmp ne i32 %40, 0
%42 = zext i1 %41 to i64
%43 = select i1 %41, ptr @.str.2, ptr @.str.3
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %43)
%45 = call i32 (...) @TestRc4()
store i32 %45, ptr %2, align 4
%46 = load i32, ptr %2, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %49, label %48
48: ; preds = %39
store i32 0, ptr %3, align 4
br label %49
49: ; preds = %48, %39
%50 = load i32, ptr %2, align 4
%51 = icmp ne i32 %50, 0
%52 = zext i1 %51 to i64
%53 = select i1 %51, ptr @.str.2, ptr @.str.3
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %53)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%56 = load i32, ptr %3, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %49
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %62
60: ; preds = %49
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 1, ptr %1, align 4
br label %63
62: ; preds = %58
store i32 0, ptr %1, align 4
br label %63
63: ; preds = %62, %60
%64 = load i32, ptr %1, align 4
ret i32 %64
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @TestMd5(...) #1
declare i32 @TestSha1(...) #1
declare i32 @TestSha256(...) #1
declare i32 @TestSha512(...) #1
declare i32 @TestRc4(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw5cnfhsu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CryptLibTest\0A------------\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Test MD5 - %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Pass\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"Fail\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Test SHA1 - %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Test SHA256 - %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"Test SHA512 - %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"Test RC4 - %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.9 = private unnamed_addr constant [19 x i8] c"All tests passed.\0A\00", align 1
@.str.10 = private unnamed_addr constant [7 x i8] c"Fail.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 (...) @TestMd5()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %0
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %8, %0
%10 = load i32, ptr %2, align 4
%11 = icmp ne i32 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, ptr @.str.2, ptr @.str.3
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13)
%15 = call i32 (...) @TestSha1()
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %9
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %18, %9
%20 = load i32, ptr %2, align 4
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i64
%23 = select i1 %21, ptr @.str.2, ptr @.str.3
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %23)
%25 = call i32 (...) @TestSha256()
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %19
store i32 0, ptr %3, align 4
br label %29
29: ; preds = %28, %19
%30 = load i32, ptr %2, align 4
%31 = icmp ne i32 %30, 0
%32 = zext i1 %31 to i64
%33 = select i1 %31, ptr @.str.2, ptr @.str.3
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %33)
%35 = call i32 (...) @TestSha512()
store i32 %35, ptr %2, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %29
store i32 0, ptr %3, align 4
br label %39
39: ; preds = %38, %29
%40 = load i32, ptr %2, align 4
%41 = icmp ne i32 %40, 0
%42 = zext i1 %41 to i64
%43 = select i1 %41, ptr @.str.2, ptr @.str.3
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %43)
%45 = call i32 (...) @TestRc4()
store i32 %45, ptr %2, align 4
%46 = load i32, ptr %2, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %49, label %48
48: ; preds = %39
store i32 0, ptr %3, align 4
br label %49
49: ; preds = %48, %39
%50 = load i32, ptr %2, align 4
%51 = icmp ne i32 %50, 0
%52 = zext i1 %51 to i64
%53 = select i1 %51, ptr @.str.2, ptr @.str.3
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %53)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%56 = load i32, ptr %3, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %60
58: ; preds = %49
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %62
60: ; preds = %49
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 1, ptr %1, align 4
br label %63
62: ; preds = %58
store i32 0, ptr %1, align 4
br label %63
63: ; preds = %62, %60
%64 = load i32, ptr %1, align 4
ret i32 %64
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @TestMd5(...) #1
declare i32 @TestSha1(...) #1
declare i32 @TestSha256(...) #1
declare i32 @TestSha512(...) #1
declare i32 @TestRc4(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdo4jyswi.c'
source_filename = "/tmp/tmpdo4jyswi.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"usage: brainfuck [-eih] file...\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"\09-e run code directly\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"\09-h show a help message\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdo4jyswi.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"usage: brainfuck [-eih] file...\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"\09-e run code directly\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"\09-h show a help message\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfqrekc3a.c'
source_filename = "/tmp/tmpfqrekc3a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@h_errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfqrekc3a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@h_errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphd7mak_b.c'
source_filename = "/tmp/tmphd7mak_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"
@MEMBARRIER_CMD_GLOBAL_EXPEDITED = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphd7mak_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"
@MEMBARRIER_CMD_GLOBAL_EXPEDITED = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4qt37h7e.c'
source_filename = "/tmp/tmp4qt37h7e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Here is some data\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"A write error has occurred on file descriptor 1\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 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 18)
%3 = icmp ne i32 %2, 18
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 @write(i32 noundef 2, ptr noundef @.str.1, i32 noundef 46)
br label %6
6: ; preds = %4, %0
%7 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4qt37h7e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Here is some data\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"A write error has occurred on file descriptor 1\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 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 18)
%3 = icmp ne i32 %2, 18
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 @write(i32 noundef 2, ptr noundef @.str.1, i32 noundef 46)
br label %6
6: ; preds = %4, %0
%7 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6v_c1_n1.c'
source_filename = "/tmp/tmp6v_c1_n1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ULLONG_MAX = dso_local global i32 0, align 4
@LLONG_MIN = dso_local global i32 0, align 4
@LLONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @string2ll(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
store i64 0, ptr %9, align 8
store i32 0, ptr %10, align 4
%13 = load i64, ptr %9, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %3
store i32 0, ptr %4, align 4
br label %174
17: ; preds = %3
%18 = load i64, ptr %6, align 8
%19 = icmp eq i64 %18, 1
br i1 %19, label %20, label %32
20: ; preds = %17
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 48
br i1 %25, label %26, label %32
26: ; preds = %20
%27 = load ptr, ptr %7, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = load ptr, ptr %7, align 8
store i64 0, ptr %30, align 8
br label %31
31: ; preds = %29, %26
store i32 1, ptr %4, align 4
br label %174
32: ; preds = %20, %17
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 0
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 45
br i1 %37, label %38, label %48
38: ; preds = %32
store i32 1, ptr %10, align 4
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %8, align 8
%41 = load i64, ptr %9, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %9, align 8
%43 = load i64, ptr %9, align 8
%44 = load i64, ptr %6, align 8
%45 = icmp eq i64 %43, %44
br i1 %45, label %46, label %47
46: ; preds = %38
store i32 0, ptr %4, align 4
br label %174
47: ; preds = %38
br label %48
48: ; preds = %47, %32
%49 = load ptr, ptr %8, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 0
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp sge i32 %52, 49
br i1 %53, label %54, label %71
54: ; preds = %48
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 0
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp sle i32 %58, 57
br i1 %59, label %60, label %71
60: ; preds = %54
%61 = load ptr, ptr %8, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 0
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = sub nsw i32 %64, 48
%66 = sext i32 %65 to i64
store i64 %66, ptr %11, align 8
%67 = load ptr, ptr %8, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %8, align 8
%69 = load i64, ptr %9, align 8
%70 = add i64 %69, 1
store i64 %70, ptr %9, align 8
br label %83
71: ; preds = %54, %48
%72 = load ptr, ptr %8, align 8
%73 = getelementptr inbounds i8, ptr %72, i64 0
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %75, 48
br i1 %76, label %77, label %82
77: ; preds = %71
%78 = load i64, ptr %6, align 8
%79 = icmp eq i64 %78, 1
br i1 %79, label %80, label %82
80: ; preds = %77
%81 = load ptr, ptr %7, align 8
store i64 0, ptr %81, align 8
store i32 1, ptr %4, align 4
br label %174
82: ; preds = %77, %71
store i32 0, ptr %4, align 4
br label %174
83: ; preds = %60
br label %84
84: ; preds = %123, %83
%85 = load i64, ptr %9, align 8
%86 = load i64, ptr %6, align 8
%87 = icmp ult i64 %85, %86
br i1 %87, label %88, label %100
88: ; preds = %84
%89 = load ptr, ptr %8, align 8
%90 = getelementptr inbounds i8, ptr %89, i64 0
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp sge i32 %92, 48
br i1 %93, label %94, label %100
94: ; preds = %88
%95 = load ptr, ptr %8, align 8
%96 = getelementptr inbounds i8, ptr %95, i64 0
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp sle i32 %98, 57
br label %100
100: ; preds = %94, %88, %84
%101 = phi i1 [ false, %88 ], [ false, %84 ], [ %99, %94 ]
br i1 %101, label %102, label %136
102: ; preds = %100
%103 = load i64, ptr %11, align 8
%104 = load i32, ptr @ULLONG_MAX, align 4
%105 = sdiv i32 %104, 10
%106 = sext i32 %105 to i64
%107 = icmp ugt i64 %103, %106
br i1 %107, label %108, label %109
108: ; preds = %102
store i32 0, ptr %4, align 4
br label %174
109: ; preds = %102
%110 = load i64, ptr %11, align 8
%111 = mul i64 %110, 10
store i64 %111, ptr %11, align 8
%112 = load i64, ptr %11, align 8
%113 = load i32, ptr @ULLONG_MAX, align 4
%114 = load ptr, ptr %8, align 8
%115 = getelementptr inbounds i8, ptr %114, i64 0
%116 = load i8, ptr %115, align 1
%117 = sext i8 %116 to i32
%118 = sub nsw i32 %117, 48
%119 = sub nsw i32 %113, %118
%120 = sext i32 %119 to i64
%121 = icmp ugt i64 %112, %120
br i1 %121, label %122, label %123
122: ; preds = %109
store i32 0, ptr %4, align 4
br label %174
123: ; preds = %109
%124 = load ptr, ptr %8, align 8
%125 = getelementptr inbounds i8, ptr %124, i64 0
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = sub nsw i32 %127, 48
%129 = sext i32 %128 to i64
%130 = load i64, ptr %11, align 8
%131 = add i64 %130, %129
store i64 %131, ptr %11, align 8
%132 = load ptr, ptr %8, align 8
%133 = getelementptr inbounds i8, ptr %132, i32 1
store ptr %133, ptr %8, align 8
%134 = load i64, ptr %9, align 8
%135 = add i64 %134, 1
store i64 %135, ptr %9, align 8
br label %84, !llvm.loop !6
136: ; preds = %100
%137 = load i64, ptr %9, align 8
%138 = load i64, ptr %6, align 8
%139 = icmp ult i64 %137, %138
br i1 %139, label %140, label %141
140: ; preds = %136
store i32 0, ptr %4, align 4
br label %174
141: ; preds = %136
%142 = load i32, ptr %10, align 4
%143 = icmp ne i32 %142, 0
br i1 %143, label %144, label %161
144: ; preds = %141
%145 = load i64, ptr %11, align 8
%146 = load i32, ptr @LLONG_MIN, align 4
%147 = add nsw i32 %146, 1
%148 = sub nsw i32 0, %147
%149 = sext i32 %148 to i64
%150 = add i64 %149, 1
%151 = icmp ugt i64 %145, %150
br i1 %151, label %152, label %153
152: ; preds = %144
store i32 0, ptr %4, align 4
br label %174
153: ; preds = %144
%154 = load ptr, ptr %7, align 8
%155 = icmp ne ptr %154, null
br i1 %155, label %156, label %160
156: ; preds = %153
%157 = load i64, ptr %11, align 8
%158 = sub i64 0, %157
%159 = load ptr, ptr %7, align 8
store i64 %158, ptr %159, align 8
br label %160
160: ; preds = %156, %153
br label %173
161: ; preds = %141
%162 = load i64, ptr %11, align 8
%163 = load i64, ptr @LLONG_MAX, align 8
%164 = icmp ugt i64 %162, %163
br i1 %164, label %165, label %166
165: ; preds = %161
store i32 0, ptr %4, align 4
br label %174
166: ; preds = %161
%167 = load ptr, ptr %7, align 8
%168 = icmp ne ptr %167, null
br i1 %168, label %169, label %172
169: ; preds = %166
%170 = load i64, ptr %11, align 8
%171 = load ptr, ptr %7, align 8
store i64 %170, ptr %171, align 8
br label %172
172: ; preds = %169, %166
br label %173
173: ; preds = %172, %160
store i32 1, ptr %4, align 4
br label %174
174: ; preds = %173, %165, %152, %140, %122, %108, %82, %80, %46, %31, %16
%175 = load i32, ptr %4, align 4
ret i32 %175
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp6v_c1_n1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ULLONG_MAX = dso_local global i32 0, align 4
@LLONG_MIN = dso_local global i32 0, align 4
@LLONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @string2ll(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
store i64 0, ptr %9, align 8
store i32 0, ptr %10, align 4
%13 = load i64, ptr %9, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp eq i64 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %3
store i32 0, ptr %4, align 4
br label %174
17: ; preds = %3
%18 = load i64, ptr %6, align 8
%19 = icmp eq i64 %18, 1
br i1 %19, label %20, label %32
20: ; preds = %17
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 48
br i1 %25, label %26, label %32
26: ; preds = %20
%27 = load ptr, ptr %7, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = load ptr, ptr %7, align 8
store i64 0, ptr %30, align 8
br label %31
31: ; preds = %29, %26
store i32 1, ptr %4, align 4
br label %174
32: ; preds = %20, %17
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 0
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 45
br i1 %37, label %38, label %48
38: ; preds = %32
store i32 1, ptr %10, align 4
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %8, align 8
%41 = load i64, ptr %9, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %9, align 8
%43 = load i64, ptr %9, align 8
%44 = load i64, ptr %6, align 8
%45 = icmp eq i64 %43, %44
br i1 %45, label %46, label %47
46: ; preds = %38
store i32 0, ptr %4, align 4
br label %174
47: ; preds = %38
br label %48
48: ; preds = %47, %32
%49 = load ptr, ptr %8, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 0
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp sge i32 %52, 49
br i1 %53, label %54, label %71
54: ; preds = %48
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 0
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp sle i32 %58, 57
br i1 %59, label %60, label %71
60: ; preds = %54
%61 = load ptr, ptr %8, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 0
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = sub nsw i32 %64, 48
%66 = sext i32 %65 to i64
store i64 %66, ptr %11, align 8
%67 = load ptr, ptr %8, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %8, align 8
%69 = load i64, ptr %9, align 8
%70 = add i64 %69, 1
store i64 %70, ptr %9, align 8
br label %83
71: ; preds = %54, %48
%72 = load ptr, ptr %8, align 8
%73 = getelementptr inbounds i8, ptr %72, i64 0
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %75, 48
br i1 %76, label %77, label %82
77: ; preds = %71
%78 = load i64, ptr %6, align 8
%79 = icmp eq i64 %78, 1
br i1 %79, label %80, label %82
80: ; preds = %77
%81 = load ptr, ptr %7, align 8
store i64 0, ptr %81, align 8
store i32 1, ptr %4, align 4
br label %174
82: ; preds = %77, %71
store i32 0, ptr %4, align 4
br label %174
83: ; preds = %60
br label %84
84: ; preds = %123, %83
%85 = load i64, ptr %9, align 8
%86 = load i64, ptr %6, align 8
%87 = icmp ult i64 %85, %86
br i1 %87, label %88, label %100
88: ; preds = %84
%89 = load ptr, ptr %8, align 8
%90 = getelementptr inbounds i8, ptr %89, i64 0
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp sge i32 %92, 48
br i1 %93, label %94, label %100
94: ; preds = %88
%95 = load ptr, ptr %8, align 8
%96 = getelementptr inbounds i8, ptr %95, i64 0
%97 = load i8, ptr %96, align 1
%98 = sext i8 %97 to i32
%99 = icmp sle i32 %98, 57
br label %100
100: ; preds = %94, %88, %84
%101 = phi i1 [ false, %88 ], [ false, %84 ], [ %99, %94 ]
br i1 %101, label %102, label %136
102: ; preds = %100
%103 = load i64, ptr %11, align 8
%104 = load i32, ptr @ULLONG_MAX, align 4
%105 = sdiv i32 %104, 10
%106 = sext i32 %105 to i64
%107 = icmp ugt i64 %103, %106
br i1 %107, label %108, label %109
108: ; preds = %102
store i32 0, ptr %4, align 4
br label %174
109: ; preds = %102
%110 = load i64, ptr %11, align 8
%111 = mul i64 %110, 10
store i64 %111, ptr %11, align 8
%112 = load i64, ptr %11, align 8
%113 = load i32, ptr @ULLONG_MAX, align 4
%114 = load ptr, ptr %8, align 8
%115 = getelementptr inbounds i8, ptr %114, i64 0
%116 = load i8, ptr %115, align 1
%117 = sext i8 %116 to i32
%118 = sub nsw i32 %117, 48
%119 = sub nsw i32 %113, %118
%120 = sext i32 %119 to i64
%121 = icmp ugt i64 %112, %120
br i1 %121, label %122, label %123
122: ; preds = %109
store i32 0, ptr %4, align 4
br label %174
123: ; preds = %109
%124 = load ptr, ptr %8, align 8
%125 = getelementptr inbounds i8, ptr %124, i64 0
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = sub nsw i32 %127, 48
%129 = sext i32 %128 to i64
%130 = load i64, ptr %11, align 8
%131 = add i64 %130, %129
store i64 %131, ptr %11, align 8
%132 = load ptr, ptr %8, align 8
%133 = getelementptr inbounds i8, ptr %132, i32 1
store ptr %133, ptr %8, align 8
%134 = load i64, ptr %9, align 8
%135 = add i64 %134, 1
store i64 %135, ptr %9, align 8
br label %84, !llvm.loop !6
136: ; preds = %100
%137 = load i64, ptr %9, align 8
%138 = load i64, ptr %6, align 8
%139 = icmp ult i64 %137, %138
br i1 %139, label %140, label %141
140: ; preds = %136
store i32 0, ptr %4, align 4
br label %174
141: ; preds = %136
%142 = load i32, ptr %10, align 4
%143 = icmp ne i32 %142, 0
br i1 %143, label %144, label %161
144: ; preds = %141
%145 = load i64, ptr %11, align 8
%146 = load i32, ptr @LLONG_MIN, align 4
%147 = add nsw i32 %146, 1
%148 = sub nsw i32 0, %147
%149 = sext i32 %148 to i64
%150 = add i64 %149, 1
%151 = icmp ugt i64 %145, %150
br i1 %151, label %152, label %153
152: ; preds = %144
store i32 0, ptr %4, align 4
br label %174
153: ; preds = %144
%154 = load ptr, ptr %7, align 8
%155 = icmp ne ptr %154, null
br i1 %155, label %156, label %160
156: ; preds = %153
%157 = load i64, ptr %11, align 8
%158 = sub i64 0, %157
%159 = load ptr, ptr %7, align 8
store i64 %158, ptr %159, align 8
br label %160
160: ; preds = %156, %153
br label %173
161: ; preds = %141
%162 = load i64, ptr %11, align 8
%163 = load i64, ptr @LLONG_MAX, align 8
%164 = icmp ugt i64 %162, %163
br i1 %164, label %165, label %166
165: ; preds = %161
store i32 0, ptr %4, align 4
br label %174
166: ; preds = %161
%167 = load ptr, ptr %7, align 8
%168 = icmp ne ptr %167, null
br i1 %168, label %169, label %172
169: ; preds = %166
%170 = load i64, ptr %11, align 8
%171 = load ptr, ptr %7, align 8
store i64 %170, ptr %171, align 8
br label %172
172: ; preds = %169, %166
br label %173
173: ; preds = %172, %160
store i32 1, ptr %4, align 4
br label %174
174: ; preds = %173, %165, %152, %140, %122, %108, %82, %80, %46, %31, %16
%175 = load i32, ptr %4, align 4
ret i32 %175
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpjijtee6t.c'
source_filename = "/tmp/tmpjijtee6t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @phase_1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @invalid_phase(ptr noundef @.str)
ret void
}
declare i32 @invalid_phase(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjijtee6t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @phase_1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @invalid_phase(ptr noundef @.str)
ret void
}
declare i32 @invalid_phase(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwyi8tv70.c'
source_filename = "/tmp/tmpwyi8tv70.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"printf: not enough arguments\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @puts(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %18
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 2
%16 = call i32 @print(ptr noundef %13, ptr noundef %15)
br label %17
17: ; preds = %10
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %17, %8
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare i32 @puts(ptr noundef) #1
declare i32 @print(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwyi8tv70.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"printf: not enough arguments\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @puts(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %18
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 2
%16 = call i32 @print(ptr noundef %13, ptr noundef %15)
br label %17
17: ; preds = %10
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %17, %8
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare i32 @puts(ptr noundef) #1
declare i32 @print(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqjwm36u_.c'
source_filename = "/tmp/tmpqjwm36u_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_et(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqjwm36u_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_et(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu4qvhp9y.c'
source_filename = "/tmp/tmpu4qvhp9y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @acosh(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = call double @llvm.fmuladd.f64(double %4, double %5, double -1.000000e+00)
%7 = call i64 @sqrt(double noundef %6)
%8 = sitofp i64 %7 to double
%9 = fadd double %3, %8
%10 = fptosi double %9 to i64
%11 = call double @log(i64 noundef %10)
ret double %11
}
declare double @log(i64 noundef) #1
declare i64 @sqrt(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu4qvhp9y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @acosh(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = call double @llvm.fmuladd.f64(double %4, double %5, double -1.000000e+00)
%7 = call i64 @sqrt(double noundef %6)
%8 = sitofp i64 %7 to double
%9 = fadd double %3, %8
%10 = fptosi double %9 to i64
%11 = call double @log(i64 noundef %10)
ret double %11
}
declare double @log(i64 noundef) #1
declare i64 @sqrt(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp71fxwtw4.c'
source_filename = "/tmp/tmp71fxwtw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bayesreg(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
%18 = load i32, ptr %14, align 4
%19 = call ptr @dvector(i32 noundef %18)
store ptr %19, ptr %17, align 8
store i32 0, ptr %15, align 4
br label %20
20: ; preds = %65, %7
%21 = load i32, ptr %15, align 4
%22 = load i32, ptr %14, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %68
24: ; preds = %20
%25 = load ptr, ptr %12, align 8
%26 = load i32, ptr %15, 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
store i32 0, ptr %16, align 4
br label %29
29: ; preds = %61, %24
%30 = load i32, ptr %16, align 4
%31 = load i32, ptr %14, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %64
33: ; preds = %29
%34 = load ptr, ptr %8, align 8
%35 = load i32, ptr %15, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %16, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %38, i64 %40
%42 = load double, ptr %41, align 8
%43 = load ptr, ptr %11, align 8
%44 = load i32, ptr %15, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %16, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
%51 = load double, ptr %50, align 8
%52 = fadd double %42, %51
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr %15, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = load i32, ptr %16, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %57, i64 %59
store double %52, ptr %60, align 8
br label %61
61: ; preds = %33
%62 = load i32, ptr %16, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %16, align 4
br label %29, !llvm.loop !6
64: ; preds = %29
br label %65
65: ; preds = %64
%66 = load i32, ptr %15, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %15, align 4
br label %20, !llvm.loop !8
68: ; preds = %20
store i32 0, ptr %15, align 4
br label %69
69: ; preds = %122, %68
%70 = load i32, ptr %15, align 4
%71 = load i32, ptr %14, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %73, label %125
73: ; preds = %69
%74 = load ptr, ptr %17, align 8
%75 = load i32, ptr %15, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %74, i64 %76
store double 0.000000e+00, ptr %77, align 8
store i32 0, ptr %16, align 4
br label %78
78: ; preds = %103, %73
%79 = load i32, ptr %16, align 4
%80 = load i32, ptr %14, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %82, label %106
82: ; preds = %78
%83 = load ptr, ptr %11, align 8
%84 = load i32, ptr %15, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds ptr, ptr %83, i64 %85
%87 = load ptr, ptr %86, align 8
%88 = load i32, ptr %16, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %87, i64 %89
%91 = load double, ptr %90, align 8
%92 = load ptr, ptr %10, align 8
%93 = load i32, ptr %16, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, ptr %92, i64 %94
%96 = load double, ptr %95, align 8
%97 = load ptr, ptr %17, align 8
%98 = load i32, ptr %15, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, ptr %97, i64 %99
%101 = load double, ptr %100, align 8
%102 = call double @llvm.fmuladd.f64(double %91, double %96, double %101)
store double %102, ptr %100, align 8
br label %103
103: ; preds = %82
%104 = load i32, ptr %16, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %16, align 4
br label %78, !llvm.loop !9
106: ; preds = %78
%107 = load ptr, ptr %9, align 8
%108 = load i32, ptr %15, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, ptr %107, i64 %109
%111 = load double, ptr %110, align 8
%112 = load ptr, ptr %17, align 8
%113 = load i32, ptr %15, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
%116 = load double, ptr %115, align 8
%117 = fadd double %111, %116
%118 = load ptr, ptr %12, align 8
%119 = load i32, ptr %15, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds double, ptr %118, i64 %120
store double %117, ptr %121, align 8
br label %122
122: ; preds = %106
%123 = load i32, ptr %15, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %15, align 4
br label %69, !llvm.loop !10
125: ; preds = %69
%126 = load ptr, ptr %13, align 8
%127 = load i32, ptr %14, align 4
%128 = load ptr, ptr %12, align 8
%129 = call i32 @gaussj(ptr noundef %126, i32 noundef %127, ptr noundef %128, i32 noundef 1)
%130 = load ptr, ptr %17, align 8
%131 = call i32 @free(ptr noundef %130)
ret void
}
declare ptr @dvector(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @gaussj(ptr noundef, i32 noundef, ptr noundef, i32 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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp71fxwtw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bayesreg(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
%18 = load i32, ptr %14, align 4
%19 = call ptr @dvector(i32 noundef %18)
store ptr %19, ptr %17, align 8
store i32 0, ptr %15, align 4
%20 = load i32, ptr %15, align 4
%21 = load i32, ptr %14, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph2, label %72
.lr.ph2: ; preds = %7
br label %23
23: ; preds = %.lr.ph2, %66
%24 = load ptr, ptr %12, align 8
%25 = load i32, ptr %15, 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
store i32 0, ptr %16, align 4
%28 = load i32, ptr %16, align 4
%29 = load i32, ptr %14, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph, label %65
.lr.ph: ; preds = %23
br label %31
31: ; preds = %.lr.ph, %59
%32 = load ptr, ptr %8, align 8
%33 = load i32, ptr %15, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load i32, ptr %16, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %36, i64 %38
%40 = load double, ptr %39, align 8
%41 = load ptr, ptr %11, align 8
%42 = load i32, ptr %15, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = load i32, ptr %16, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %45, i64 %47
%49 = load double, ptr %48, align 8
%50 = fadd double %40, %49
%51 = load ptr, ptr %13, align 8
%52 = load i32, ptr %15, 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 i32, ptr %16, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, ptr %55, i64 %57
store double %50, ptr %58, align 8
br label %59
59: ; preds = %31
%60 = load i32, ptr %16, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %16, align 4
%62 = load i32, ptr %16, align 4
%63 = load i32, ptr %14, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %23
br label %66
66: ; preds = %65
%67 = load i32, ptr %15, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %15, align 4
%69 = load i32, ptr %15, align 4
%70 = load i32, ptr %14, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %66
br label %72
72: ; preds = %._crit_edge3, %7
store i32 0, ptr %15, align 4
%73 = load i32, ptr %15, align 4
%74 = load i32, ptr %14, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %.lr.ph8, label %133
.lr.ph8: ; preds = %72
br label %76
76: ; preds = %.lr.ph8, %127
%77 = load ptr, ptr %17, align 8
%78 = load i32, ptr %15, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, ptr %77, i64 %79
store double 0.000000e+00, ptr %80, align 8
store i32 0, ptr %16, align 4
%81 = load i32, ptr %16, align 4
%82 = load i32, ptr %14, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %.lr.ph5, label %111
.lr.ph5: ; preds = %76
br label %84
84: ; preds = %.lr.ph5, %105
%85 = load ptr, ptr %11, align 8
%86 = load i32, ptr %15, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds ptr, ptr %85, i64 %87
%89 = load ptr, ptr %88, align 8
%90 = load i32, ptr %16, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, ptr %89, i64 %91
%93 = load double, ptr %92, align 8
%94 = load ptr, ptr %10, align 8
%95 = load i32, ptr %16, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double, ptr %94, i64 %96
%98 = load double, ptr %97, align 8
%99 = load ptr, ptr %17, align 8
%100 = load i32, ptr %15, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, ptr %99, i64 %101
%103 = load double, ptr %102, align 8
%104 = call double @llvm.fmuladd.f64(double %93, double %98, double %103)
store double %104, ptr %102, align 8
br label %105
105: ; preds = %84
%106 = load i32, ptr %16, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %16, align 4
%108 = load i32, ptr %16, align 4
%109 = load i32, ptr %14, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %84, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %105
br label %111
111: ; preds = %._crit_edge6, %76
%112 = load ptr, ptr %9, align 8
%113 = load i32, ptr %15, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
%116 = load double, ptr %115, align 8
%117 = load ptr, ptr %17, align 8
%118 = load i32, ptr %15, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, ptr %117, i64 %119
%121 = load double, ptr %120, align 8
%122 = fadd double %116, %121
%123 = load ptr, ptr %12, align 8
%124 = load i32, ptr %15, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds double, ptr %123, i64 %125
store double %122, ptr %126, align 8
br label %127
127: ; preds = %111
%128 = load i32, ptr %15, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %15, align 4
%130 = load i32, ptr %15, align 4
%131 = load i32, ptr %14, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %76, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %127
br label %133
133: ; preds = %._crit_edge9, %72
%134 = load ptr, ptr %13, align 8
%135 = load i32, ptr %14, align 4
%136 = load ptr, ptr %12, align 8
%137 = call i32 @gaussj(ptr noundef %134, i32 noundef %135, ptr noundef %136, i32 noundef 1)
%138 = load ptr, ptr %17, align 8
%139 = call i32 @free(ptr noundef %138)
ret void
}
declare ptr @dvector(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @gaussj(ptr noundef, i32 noundef, ptr noundef, i32 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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpz7uvxntt.c'
source_filename = "/tmp/tmpz7uvxntt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"W003\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"[%s]: Reallocating to 0 bytes in file `%s' at line %ld.\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"F003\00", align 1
@.str.3 = private unnamed_addr constant [57 x i8] c"[%s]: Memory allocation failed in file `%s' at line %ld.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @MA_Realloc(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp ne i64 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %5
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load i64, ptr %10, align 8
%17 = call i32 @print_message(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %14, ptr noundef %15, i64 noundef %16)
br label %18
18: ; preds = %13, %5
%19 = load i64, ptr %7, align 8
%20 = load ptr, ptr %9, align 8
%21 = load i64, ptr %10, align 8
%22 = call i32 @MA_assure_alloc(i64 noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = load i64, ptr %7, align 8
%25 = call ptr @realloc(ptr noundef %23, i64 noundef %24)
store ptr %25, ptr %6, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %33, label %27
27: ; preds = %18
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %9, align 8
%30 = load i64, ptr %10, align 8
%31 = call i32 @print_message(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %28, ptr noundef %29, i64 noundef %30)
%32 = call i32 @exit(i32 noundef 1) #3
unreachable
33: ; preds = %18
%34 = load ptr, ptr %6, align 8
ret ptr %34
}
declare i32 @print_message(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @MA_assure_alloc(i64 noundef, ptr noundef, i64 noundef) #1
declare ptr @realloc(ptr noundef, 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/tmpz7uvxntt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"W003\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"[%s]: Reallocating to 0 bytes in file `%s' at line %ld.\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"F003\00", align 1
@.str.3 = private unnamed_addr constant [57 x i8] c"[%s]: Memory allocation failed in file `%s' at line %ld.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @MA_Realloc(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp ne i64 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %5
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load i64, ptr %10, align 8
%17 = call i32 @print_message(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %14, ptr noundef %15, i64 noundef %16)
br label %18
18: ; preds = %13, %5
%19 = load i64, ptr %7, align 8
%20 = load ptr, ptr %9, align 8
%21 = load i64, ptr %10, align 8
%22 = call i32 @MA_assure_alloc(i64 noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = load i64, ptr %7, align 8
%25 = call ptr @realloc(ptr noundef %23, i64 noundef %24)
store ptr %25, ptr %6, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %33, label %27
27: ; preds = %18
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %9, align 8
%30 = load i64, ptr %10, align 8
%31 = call i32 @print_message(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %28, ptr noundef %29, i64 noundef %30)
%32 = call i32 @exit(i32 noundef 1) #3
unreachable
33: ; preds = %18
%34 = load ptr, ptr %6, align 8
ret ptr %34
}
declare i32 @print_message(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @MA_assure_alloc(i64 noundef, ptr noundef, i64 noundef) #1
declare ptr @realloc(ptr noundef, 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/tmpra_kjx8k.c'
source_filename = "/tmp/tmpra_kjx8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap_slices() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %1, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 46, ptr noundef %5, ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpra_kjx8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap_slices() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %1, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 46, ptr noundef %5, ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcmen6je1.c'
source_filename = "/tmp/tmpcmen6je1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @_Exit(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 @_exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmpcmen6je1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @_Exit(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 @_exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmpl41zm785.c'
source_filename = "/tmp/tmpl41zm785.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @elipse(ptr noundef %0, ptr noundef %1, i32 noundef %2, float noundef %3, float noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14, float noundef %15, float noundef %16, float noundef %17, float noundef %18, float noundef %19) #0 {
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca float, align 4
%37 = alloca float, align 4
%38 = alloca float, align 4
%39 = alloca float, align 4
%40 = alloca float, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i32, align 4
%46 = alloca i32, align 4
%47 = alloca i32, align 4
%48 = alloca float, align 4
%49 = alloca float, align 4
%50 = alloca float, align 4
store ptr %0, ptr %21, align 8
store ptr %1, ptr %22, align 8
store i32 %2, ptr %23, align 4
store float %3, ptr %24, align 4
store float %4, ptr %25, align 4
store ptr %5, ptr %26, align 8
store ptr %6, ptr %27, align 8
store ptr %7, ptr %28, align 8
store ptr %8, ptr %29, align 8
store ptr %9, ptr %30, align 8
store ptr %10, ptr %31, align 8
store ptr %11, ptr %32, align 8
store ptr %12, ptr %33, align 8
store i32 %13, ptr %34, align 4
store i32 %14, ptr %35, align 4
store float %15, ptr %36, align 4
store float %16, ptr %37, align 4
store float %17, ptr %38, align 4
store float %18, ptr %39, align 4
store float %19, ptr %40, align 4
%51 = load float, ptr %36, align 4
%52 = load float, ptr %25, align 4
%53 = fdiv float %51, %52
%54 = fpext float %53 to double
%55 = fcmp ogt double %54, 0.000000e+00
br i1 %55, label %56, label %62
56: ; preds = %20
%57 = load float, ptr %36, align 4
%58 = load float, ptr %25, align 4
%59 = fdiv float %57, %58
%60 = fpext float %59 to double
%61 = fadd double %60, 5.000000e-01
br label %68
62: ; preds = %20
%63 = load float, ptr %36, align 4
%64 = load float, ptr %25, align 4
%65 = fdiv float %63, %64
%66 = fpext float %65 to double
%67 = fsub double %66, 5.000000e-01
br label %68
68: ; preds = %62, %56
%69 = phi double [ %61, %56 ], [ %67, %62 ]
%70 = fptosi double %69 to i32
store i32 %70, ptr %45, align 4
%71 = load float, ptr %37, align 4
%72 = load float, ptr %24, align 4
%73 = fdiv float %71, %72
%74 = fpext float %73 to double
%75 = fcmp ogt double %74, 0.000000e+00
br i1 %75, label %76, label %82
76: ; preds = %68
%77 = load float, ptr %37, align 4
%78 = load float, ptr %24, align 4
%79 = fdiv float %77, %78
%80 = fpext float %79 to double
%81 = fadd double %80, 5.000000e-01
br label %88
82: ; preds = %68
%83 = load float, ptr %37, align 4
%84 = load float, ptr %24, align 4
%85 = fdiv float %83, %84
%86 = fpext float %85 to double
%87 = fsub double %86, 5.000000e-01
br label %88
88: ; preds = %82, %76
%89 = phi double [ %81, %76 ], [ %87, %82 ]
%90 = fptosi double %89 to i32
store i32 %90, ptr %44, align 4
store i32 0, ptr %41, align 4
br label %91
91: ; preds = %104, %88
%92 = load i32, ptr %41, align 4
%93 = load i32, ptr %35, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %95, label %107
95: ; preds = %91
%96 = load ptr, ptr %32, align 8
%97 = load i32, ptr %41, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds float, ptr %96, i64 %98
store float 0.000000e+00, ptr %99, align 4
%100 = load ptr, ptr %33, align 8
%101 = load i32, ptr %41, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, ptr %100, i64 %102
store i32 0, ptr %103, align 4
br label %104
104: ; preds = %95
%105 = load i32, ptr %41, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %41, align 4
br label %91, !llvm.loop !6
107: ; preds = %91
%108 = load ptr, ptr %27, align 8
%109 = icmp eq ptr %108, null
br i1 %109, label %110, label %335
110: ; preds = %107
%111 = load ptr, ptr %28, align 8
%112 = icmp eq ptr %111, null
br i1 %112, label %113, label %335
113: ; preds = %110
store i32 0, ptr %41, align 4
br label %114
114: ; preds = %331, %113
%115 = load i32, ptr %41, align 4
%116 = load i32, ptr %23, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %118, label %334
118: ; preds = %114
%119 = load ptr, ptr %21, align 8
%120 = load i32, ptr %41, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds float, ptr %119, i64 %121
%123 = load float, ptr %122, align 4
%124 = load float, ptr %24, align 4
%125 = fdiv float %123, %124
%126 = fpext float %125 to double
%127 = fcmp ogt double %126, 0.000000e+00
br i1 %127, label %128, label %138
128: ; preds = %118
%129 = load ptr, ptr %21, align 8
%130 = load i32, ptr %41, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds float, ptr %129, i64 %131
%133 = load float, ptr %132, align 4
%134 = load float, ptr %24, align 4
%135 = fdiv float %133, %134
%136 = fpext float %135 to double
%137 = fadd double %136, 5.000000e-01
br label %148
138: ; preds = %118
%139 = load ptr, ptr %21, align 8
%140 = load i32, ptr %41, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds float, ptr %139, i64 %141
%143 = load float, ptr %142, align 4
%144 = load float, ptr %24, align 4
%145 = fdiv float %143, %144
%146 = fpext float %145 to double
%147 = fsub double %146, 5.000000e-01
br label %148
148: ; preds = %138, %128
%149 = phi double [ %137, %128 ], [ %147, %138 ]
%150 = fptosi double %149 to i32
store i32 %150, ptr %46, align 4
%151 = load ptr, ptr %22, align 8
%152 = load i32, ptr %41, 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 float, ptr %25, align 4
%157 = fdiv float %155, %156
%158 = fpext float %157 to double
%159 = fcmp ogt double %158, 0.000000e+00
br i1 %159, label %160, label %170
160: ; preds = %148
%161 = load ptr, ptr %22, align 8
%162 = load i32, ptr %41, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds float, ptr %161, i64 %163
%165 = load float, ptr %164, align 4
%166 = load float, ptr %25, align 4
%167 = fdiv float %165, %166
%168 = fpext float %167 to double
%169 = fadd double %168, 5.000000e-01
br label %180
170: ; preds = %148
%171 = load ptr, ptr %22, align 8
%172 = load i32, ptr %41, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds float, ptr %171, i64 %173
%175 = load float, ptr %174, align 4
%176 = load float, ptr %25, align 4
%177 = fdiv float %175, %176
%178 = fpext float %177 to double
%179 = fsub double %178, 5.000000e-01
br label %180
180: ; preds = %170, %160
%181 = phi double [ %169, %160 ], [ %179, %170 ]
%182 = fptosi double %181 to i32
store i32 %182, ptr %47, align 4
%183 = load ptr, ptr %22, align 8
%184 = load i32, ptr %41, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds float, ptr %183, i64 %185
%187 = load float, ptr %186, align 4
%188 = load ptr, ptr %32, align 8
%189 = load i32, ptr %46, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds float, ptr %188, i64 %190
store float %187, ptr %191, align 4
%192 = load i32, ptr %47, align 4
%193 = load ptr, ptr %33, align 8
%194 = load i32, ptr %46, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds i32, ptr %193, i64 %195
store i32 %192, ptr %196, align 4
%197 = load i32, ptr %46, align 4
%198 = load i32, ptr %44, align 4
%199 = sub nsw i32 %197, %198
%200 = icmp sgt i32 %199, 0
br i1 %200, label %201, label %205
201: ; preds = %180
%202 = load i32, ptr %46, align 4
%203 = load i32, ptr %44, align 4
%204 = sub nsw i32 %202, %203
br label %206
205: ; preds = %180
br label %206
206: ; preds = %205, %201
%207 = phi i32 [ %204, %201 ], [ 0, %205 ]
store i32 %207, ptr %42, align 4
br label %208
208: ; preds = %327, %206
%209 = load i32, ptr %42, align 4
%210 = load i32, ptr %46, align 4
%211 = load i32, ptr %44, align 4
%212 = add nsw i32 %210, %211
%213 = load i32, ptr %35, align 4
%214 = sub nsw i32 %213, 1
%215 = icmp slt i32 %212, %214
br i1 %215, label %216, label %220
216: ; preds = %208
%217 = load i32, ptr %46, align 4
%218 = load i32, ptr %44, align 4
%219 = add nsw i32 %217, %218
br label %223
220: ; preds = %208
%221 = load i32, ptr %35, align 4
%222 = sub nsw i32 %221, 1
br label %223
223: ; preds = %220, %216
%224 = phi i32 [ %219, %216 ], [ %222, %220 ]
%225 = icmp sle i32 %209, %224
br i1 %225, label %226, label %330
226: ; preds = %223
%227 = load i32, ptr %47, align 4
%228 = load i32, ptr %45, align 4
%229 = sub nsw i32 %227, %228
%230 = icmp sgt i32 %229, 0
br i1 %230, label %231, label %235
231: ; preds = %226
%232 = load i32, ptr %47, align 4
%233 = load i32, ptr %45, align 4
%234 = sub nsw i32 %232, %233
br label %236
235: ; preds = %226
br label %236
236: ; preds = %235, %231
%237 = phi i32 [ %234, %231 ], [ 0, %235 ]
store i32 %237, ptr %43, align 4
br label %238
238: ; preds = %323, %236
%239 = load i32, ptr %43, align 4
%240 = load i32, ptr %47, align 4
%241 = load i32, ptr %45, align 4
%242 = add nsw i32 %240, %241
%243 = load i32, ptr %34, align 4
%244 = sub nsw i32 %243, 1
%245 = icmp slt i32 %242, %244
br i1 %245, label %246, label %250
246: ; preds = %238
%247 = load i32, ptr %47, align 4
%248 = load i32, ptr %45, align 4
%249 = add nsw i32 %247, %248
br label %253
250: ; preds = %238
%251 = load i32, ptr %34, align 4
%252 = sub nsw i32 %251, 1
br label %253
253: ; preds = %250, %246
%254 = phi i32 [ %249, %246 ], [ %252, %250 ]
%255 = icmp sle i32 %239, %254
br i1 %255, label %256, label %326
256: ; preds = %253
%257 = load i32, ptr %42, align 4
%258 = load i32, ptr %46, align 4
%259 = sub nsw i32 %257, %258
%260 = sitofp i32 %259 to float
%261 = load float, ptr %24, align 4
%262 = fmul float %260, %261
%263 = load float, ptr %37, align 4
%264 = fdiv float %262, %263
store float %264, ptr %50, align 4
%265 = load i32, ptr %43, align 4
%266 = load i32, ptr %47, align 4
%267 = sub nsw i32 %265, %266
%268 = sitofp i32 %267 to float
%269 = load float, ptr %25, align 4
%270 = fmul float %268, %269
%271 = load float, ptr %36, align 4
%272 = fdiv float %270, %271
store float %272, ptr %49, align 4
%273 = load float, ptr %50, align 4
%274 = load float, ptr %50, align 4
%275 = load float, ptr %49, align 4
%276 = load float, ptr %49, align 4
%277 = fmul float %275, %276
%278 = call float @llvm.fmuladd.f32(float %273, float %274, float %277)
%279 = call float @sqrt(float noundef %278)
store float %279, ptr %48, align 4
%280 = load float, ptr %48, align 4
%281 = fpext float %280 to double
%282 = fcmp ole double %281, 1.000000e+00
br i1 %282, label %283, label %322
283: ; preds = %256
%284 = load ptr, ptr %29, align 8
%285 = getelementptr inbounds ptr, ptr %284, i64 2
%286 = load ptr, ptr %285, align 8
%287 = load i32, ptr %41, align 4
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds float, ptr %286, i64 %288
%290 = load float, ptr %289, align 4
%291 = load ptr, ptr %26, align 8
%292 = load i32, ptr %42, align 4
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds ptr, ptr %291, i64 %293
%295 = load ptr, ptr %294, align 8
%296 = load i32, ptr %43, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds float, ptr %295, i64 %297
store float %290, ptr %298, align 4
%299 = load float, ptr %38, align 4
%300 = fcmp une float %299, 0.000000e+00
br i1 %300, label %301, label %321
301: ; preds = %283
%302 = call double (...) @drand48()
%303 = fsub double %302, 5.000000e-01
%304 = fptrunc double %303 to float
%305 = fpext float %304 to double
%306 = fmul double %305, 2.000000e+00
%307 = load float, ptr %38, align 4
%308 = fpext float %307 to double
%309 = load ptr, ptr %26, align 8
%310 = load i32, ptr %42, align 4
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds ptr, ptr %309, i64 %311
%313 = load ptr, ptr %312, align 8
%314 = load i32, ptr %43, align 4
%315 = sext i32 %314 to i64
%316 = getelementptr inbounds float, ptr %313, i64 %315
%317 = load float, ptr %316, align 4
%318 = fpext float %317 to double
%319 = call double @llvm.fmuladd.f64(double %306, double %308, double %318)
%320 = fptrunc double %319 to float
store float %320, ptr %316, align 4
br label %321
321: ; preds = %301, %283
br label %322
322: ; preds = %321, %256
br label %323
323: ; preds = %322
%324 = load i32, ptr %43, align 4
%325 = add nsw i32 %324, 1
store i32 %325, ptr %43, align 4
br label %238, !llvm.loop !8
326: ; preds = %253
br label %327
327: ; preds = %326
%328 = load i32, ptr %42, align 4
%329 = add nsw i32 %328, 1
store i32 %329, ptr %42, align 4
br label %208, !llvm.loop !9
330: ; preds = %223
br label %331
331: ; preds = %330
%332 = load i32, ptr %41, align 4
%333 = add nsw i32 %332, 1
store i32 %333, ptr %41, align 4
br label %114, !llvm.loop !10
334: ; preds = %114
br label %897
335: ; preds = %110, %107
%336 = load ptr, ptr %27, align 8
%337 = icmp eq ptr %336, null
br i1 %337, label %338, label %598
338: ; preds = %335
store i32 0, ptr %41, align 4
br label %339
339: ; preds = %594, %338
%340 = load i32, ptr %41, align 4
%341 = load i32, ptr %23, align 4
%342 = icmp slt i32 %340, %341
br i1 %342, label %343, label %597
343: ; preds = %339
%344 = load ptr, ptr %21, align 8
%345 = load i32, ptr %41, align 4
%346 = sext i32 %345 to i64
%347 = getelementptr inbounds float, ptr %344, i64 %346
%348 = load float, ptr %347, align 4
%349 = load float, ptr %24, align 4
%350 = fdiv float %348, %349
%351 = fpext float %350 to double
%352 = fcmp ogt double %351, 0.000000e+00
br i1 %352, label %353, label %363
353: ; preds = %343
%354 = load ptr, ptr %21, align 8
%355 = load i32, ptr %41, align 4
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds float, ptr %354, i64 %356
%358 = load float, ptr %357, align 4
%359 = load float, ptr %24, align 4
%360 = fdiv float %358, %359
%361 = fpext float %360 to double
%362 = fadd double %361, 5.000000e-01
br label %373
363: ; preds = %343
%364 = load ptr, ptr %21, align 8
%365 = load i32, ptr %41, align 4
%366 = sext i32 %365 to i64
%367 = getelementptr inbounds float, ptr %364, i64 %366
%368 = load float, ptr %367, align 4
%369 = load float, ptr %24, align 4
%370 = fdiv float %368, %369
%371 = fpext float %370 to double
%372 = fsub double %371, 5.000000e-01
br label %373
373: ; preds = %363, %353
%374 = phi double [ %362, %353 ], [ %372, %363 ]
%375 = fptosi double %374 to i32
store i32 %375, ptr %46, align 4
%376 = load ptr, ptr %22, align 8
%377 = load i32, ptr %41, align 4
%378 = sext i32 %377 to i64
%379 = getelementptr inbounds float, ptr %376, i64 %378
%380 = load float, ptr %379, align 4
%381 = load float, ptr %25, align 4
%382 = fdiv float %380, %381
%383 = fpext float %382 to double
%384 = fcmp ogt double %383, 0.000000e+00
br i1 %384, label %385, label %395
385: ; preds = %373
%386 = load ptr, ptr %22, align 8
%387 = load i32, ptr %41, align 4
%388 = sext i32 %387 to i64
%389 = getelementptr inbounds float, ptr %386, i64 %388
%390 = load float, ptr %389, align 4
%391 = load float, ptr %25, align 4
%392 = fdiv float %390, %391
%393 = fpext float %392 to double
%394 = fadd double %393, 5.000000e-01
br label %405
395: ; preds = %373
%396 = load ptr, ptr %22, align 8
%397 = load i32, ptr %41, align 4
%398 = sext i32 %397 to i64
%399 = getelementptr inbounds float, ptr %396, i64 %398
%400 = load float, ptr %399, align 4
%401 = load float, ptr %25, align 4
%402 = fdiv float %400, %401
%403 = fpext float %402 to double
%404 = fsub double %403, 5.000000e-01
br label %405
405: ; preds = %395, %385
%406 = phi double [ %394, %385 ], [ %404, %395 ]
%407 = fptosi double %406 to i32
store i32 %407, ptr %47, align 4
%408 = load ptr, ptr %22, align 8
%409 = load i32, ptr %41, align 4
%410 = sext i32 %409 to i64
%411 = getelementptr inbounds float, ptr %408, i64 %410
%412 = load float, ptr %411, align 4
%413 = load ptr, ptr %32, align 8
%414 = load i32, ptr %46, align 4
%415 = sext i32 %414 to i64
%416 = getelementptr inbounds float, ptr %413, i64 %415
store float %412, ptr %416, align 4
%417 = load i32, ptr %47, align 4
%418 = load ptr, ptr %33, align 8
%419 = load i32, ptr %46, align 4
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds i32, ptr %418, i64 %420
store i32 %417, ptr %421, align 4
%422 = load i32, ptr %46, align 4
%423 = load i32, ptr %44, align 4
%424 = sub nsw i32 %422, %423
%425 = icmp sgt i32 %424, 0
br i1 %425, label %426, label %430
426: ; preds = %405
%427 = load i32, ptr %46, align 4
%428 = load i32, ptr %44, align 4
%429 = sub nsw i32 %427, %428
br label %431
430: ; preds = %405
br label %431
431: ; preds = %430, %426
%432 = phi i32 [ %429, %426 ], [ 0, %430 ]
store i32 %432, ptr %42, align 4
br label %433
433: ; preds = %590, %431
%434 = load i32, ptr %42, align 4
%435 = load i32, ptr %46, align 4
%436 = load i32, ptr %44, align 4
%437 = add nsw i32 %435, %436
%438 = load i32, ptr %35, align 4
%439 = sub nsw i32 %438, 1
%440 = icmp slt i32 %437, %439
br i1 %440, label %441, label %445
441: ; preds = %433
%442 = load i32, ptr %46, align 4
%443 = load i32, ptr %44, align 4
%444 = add nsw i32 %442, %443
br label %448
445: ; preds = %433
%446 = load i32, ptr %35, align 4
%447 = sub nsw i32 %446, 1
br label %448
448: ; preds = %445, %441
%449 = phi i32 [ %444, %441 ], [ %447, %445 ]
%450 = icmp sle i32 %434, %449
br i1 %450, label %451, label %593
451: ; preds = %448
%452 = load i32, ptr %47, align 4
%453 = load i32, ptr %45, align 4
%454 = sub nsw i32 %452, %453
%455 = icmp sgt i32 %454, 0
br i1 %455, label %456, label %460
456: ; preds = %451
%457 = load i32, ptr %47, align 4
%458 = load i32, ptr %45, align 4
%459 = sub nsw i32 %457, %458
br label %461
460: ; preds = %451
br label %461
461: ; preds = %460, %456
%462 = phi i32 [ %459, %456 ], [ 0, %460 ]
store i32 %462, ptr %43, align 4
br label %463
463: ; preds = %586, %461
%464 = load i32, ptr %43, align 4
%465 = load i32, ptr %47, align 4
%466 = load i32, ptr %45, align 4
%467 = add nsw i32 %465, %466
%468 = load i32, ptr %34, align 4
%469 = sub nsw i32 %468, 1
%470 = icmp slt i32 %467, %469
br i1 %470, label %471, label %475
471: ; preds = %463
%472 = load i32, ptr %47, align 4
%473 = load i32, ptr %45, align 4
%474 = add nsw i32 %472, %473
br label %478
475: ; preds = %463
%476 = load i32, ptr %34, align 4
%477 = sub nsw i32 %476, 1
br label %478
478: ; preds = %475, %471
%479 = phi i32 [ %474, %471 ], [ %477, %475 ]
%480 = icmp sle i32 %464, %479
br i1 %480, label %481, label %589
481: ; preds = %478
%482 = load i32, ptr %42, align 4
%483 = load i32, ptr %46, align 4
%484 = sub nsw i32 %482, %483
%485 = sitofp i32 %484 to float
%486 = load float, ptr %24, align 4
%487 = fmul float %485, %486
%488 = load float, ptr %37, align 4
%489 = fdiv float %487, %488
store float %489, ptr %50, align 4
%490 = load i32, ptr %43, align 4
%491 = load i32, ptr %47, align 4
%492 = sub nsw i32 %490, %491
%493 = sitofp i32 %492 to float
%494 = load float, ptr %25, align 4
%495 = fmul float %493, %494
%496 = load float, ptr %36, align 4
%497 = fdiv float %495, %496
store float %497, ptr %49, align 4
%498 = load float, ptr %50, align 4
%499 = load float, ptr %50, align 4
%500 = load float, ptr %49, align 4
%501 = load float, ptr %49, align 4
%502 = fmul float %500, %501
%503 = call float @llvm.fmuladd.f32(float %498, float %499, float %502)
%504 = call float @sqrt(float noundef %503)
store float %504, ptr %48, align 4
%505 = load float, ptr %48, align 4
%506 = fpext float %505 to double
%507 = fcmp ole double %506, 1.000000e+00
br i1 %507, label %508, label %585
508: ; preds = %481
%509 = load ptr, ptr %29, align 8
%510 = getelementptr inbounds ptr, ptr %509, i64 2
%511 = load ptr, ptr %510, align 8
%512 = load i32, ptr %41, align 4
%513 = sext i32 %512 to i64
%514 = getelementptr inbounds float, ptr %511, i64 %513
%515 = load float, ptr %514, align 4
%516 = load ptr, ptr %26, align 8
%517 = load i32, ptr %42, align 4
%518 = sext i32 %517 to i64
%519 = getelementptr inbounds ptr, ptr %516, i64 %518
%520 = load ptr, ptr %519, align 8
%521 = load i32, ptr %43, align 4
%522 = sext i32 %521 to i64
%523 = getelementptr inbounds float, ptr %520, i64 %522
store float %515, ptr %523, align 4
%524 = load ptr, ptr %31, align 8
%525 = getelementptr inbounds ptr, ptr %524, i64 2
%526 = load ptr, ptr %525, align 8
%527 = load i32, ptr %41, align 4
%528 = sext i32 %527 to i64
%529 = getelementptr inbounds float, ptr %526, i64 %528
%530 = load float, ptr %529, align 4
%531 = load ptr, ptr %28, align 8
%532 = load i32, ptr %42, align 4
%533 = sext i32 %532 to i64
%534 = getelementptr inbounds ptr, ptr %531, i64 %533
%535 = load ptr, ptr %534, align 8
%536 = load i32, ptr %43, align 4
%537 = sext i32 %536 to i64
%538 = getelementptr inbounds float, ptr %535, i64 %537
store float %530, ptr %538, align 4
%539 = load float, ptr %38, align 4
%540 = fcmp une float %539, 0.000000e+00
br i1 %540, label %541, label %561
541: ; preds = %508
%542 = call double (...) @drand48()
%543 = fsub double %542, 5.000000e-01
%544 = fptrunc double %543 to float
%545 = fpext float %544 to double
%546 = fmul double %545, 2.000000e+00
%547 = load float, ptr %38, align 4
%548 = fpext float %547 to double
%549 = load ptr, ptr %26, align 8
%550 = load i32, ptr %42, align 4
%551 = sext i32 %550 to i64
%552 = getelementptr inbounds ptr, ptr %549, i64 %551
%553 = load ptr, ptr %552, align 8
%554 = load i32, ptr %43, align 4
%555 = sext i32 %554 to i64
%556 = getelementptr inbounds float, ptr %553, i64 %555
%557 = load float, ptr %556, align 4
%558 = fpext float %557 to double
%559 = call double @llvm.fmuladd.f64(double %546, double %548, double %558)
%560 = fptrunc double %559 to float
store float %560, ptr %556, align 4
br label %561
561: ; preds = %541, %508
%562 = load float, ptr %40, align 4
%563 = fcmp une float %562, 0.000000e+00
br i1 %563, label %564, label %584
564: ; preds = %561
%565 = call double (...) @drand48()
%566 = fsub double %565, 5.000000e-01
%567 = fptrunc double %566 to float
%568 = fpext float %567 to double
%569 = fmul double %568, 2.000000e+00
%570 = load float, ptr %40, align 4
%571 = fpext float %570 to double
%572 = load ptr, ptr %28, align 8
%573 = load i32, ptr %42, align 4
%574 = sext i32 %573 to i64
%575 = getelementptr inbounds ptr, ptr %572, i64 %574
%576 = load ptr, ptr %575, align 8
%577 = load i32, ptr %43, align 4
%578 = sext i32 %577 to i64
%579 = getelementptr inbounds float, ptr %576, i64 %578
%580 = load float, ptr %579, align 4
%581 = fpext float %580 to double
%582 = call double @llvm.fmuladd.f64(double %569, double %571, double %581)
%583 = fptrunc double %582 to float
store float %583, ptr %579, align 4
br label %584
584: ; preds = %564, %561
br label %585
585: ; preds = %584, %481
br label %586
586: ; preds = %585
%587 = load i32, ptr %43, align 4
%588 = add nsw i32 %587, 1
store i32 %588, ptr %43, align 4
br label %463, !llvm.loop !11
589: ; preds = %478
br label %590
590: ; preds = %589
%591 = load i32, ptr %42, align 4
%592 = add nsw i32 %591, 1
store i32 %592, ptr %42, align 4
br label %433, !llvm.loop !12
593: ; preds = %448
br label %594
594: ; preds = %593
%595 = load i32, ptr %41, align 4
%596 = add nsw i32 %595, 1
store i32 %596, ptr %41, align 4
br label %339, !llvm.loop !13
597: ; preds = %339
br label %896
598: ; preds = %335
store i32 0, ptr %41, align 4
br label %599
599: ; preds = %892, %598
%600 = load i32, ptr %41, align 4
%601 = load i32, ptr %23, align 4
%602 = icmp slt i32 %600, %601
br i1 %602, label %603, label %895
603: ; preds = %599
%604 = load ptr, ptr %21, align 8
%605 = load i32, ptr %41, align 4
%606 = sext i32 %605 to i64
%607 = getelementptr inbounds float, ptr %604, i64 %606
%608 = load float, ptr %607, align 4
%609 = load float, ptr %24, align 4
%610 = fdiv float %608, %609
%611 = fpext float %610 to double
%612 = fcmp ogt double %611, 0.000000e+00
br i1 %612, label %613, label %623
613: ; preds = %603
%614 = load ptr, ptr %21, align 8
%615 = load i32, ptr %41, align 4
%616 = sext i32 %615 to i64
%617 = getelementptr inbounds float, ptr %614, i64 %616
%618 = load float, ptr %617, align 4
%619 = load float, ptr %24, align 4
%620 = fdiv float %618, %619
%621 = fpext float %620 to double
%622 = fadd double %621, 5.000000e-01
br label %633
623: ; preds = %603
%624 = load ptr, ptr %21, align 8
%625 = load i32, ptr %41, align 4
%626 = sext i32 %625 to i64
%627 = getelementptr inbounds float, ptr %624, i64 %626
%628 = load float, ptr %627, align 4
%629 = load float, ptr %24, align 4
%630 = fdiv float %628, %629
%631 = fpext float %630 to double
%632 = fsub double %631, 5.000000e-01
br label %633
633: ; preds = %623, %613
%634 = phi double [ %622, %613 ], [ %632, %623 ]
%635 = fptosi double %634 to i32
store i32 %635, ptr %46, align 4
%636 = load ptr, ptr %22, align 8
%637 = load i32, ptr %41, align 4
%638 = sext i32 %637 to i64
%639 = getelementptr inbounds float, ptr %636, i64 %638
%640 = load float, ptr %639, align 4
%641 = load float, ptr %25, align 4
%642 = fdiv float %640, %641
%643 = fpext float %642 to double
%644 = fcmp ogt double %643, 0.000000e+00
br i1 %644, label %645, label %655
645: ; preds = %633
%646 = load ptr, ptr %22, align 8
%647 = load i32, ptr %41, align 4
%648 = sext i32 %647 to i64
%649 = getelementptr inbounds float, ptr %646, i64 %648
%650 = load float, ptr %649, align 4
%651 = load float, ptr %25, align 4
%652 = fdiv float %650, %651
%653 = fpext float %652 to double
%654 = fadd double %653, 5.000000e-01
br label %665
655: ; preds = %633
%656 = load ptr, ptr %22, align 8
%657 = load i32, ptr %41, align 4
%658 = sext i32 %657 to i64
%659 = getelementptr inbounds float, ptr %656, i64 %658
%660 = load float, ptr %659, align 4
%661 = load float, ptr %25, align 4
%662 = fdiv float %660, %661
%663 = fpext float %662 to double
%664 = fsub double %663, 5.000000e-01
br label %665
665: ; preds = %655, %645
%666 = phi double [ %654, %645 ], [ %664, %655 ]
%667 = fptosi double %666 to i32
store i32 %667, ptr %47, align 4
%668 = load ptr, ptr %22, align 8
%669 = load i32, ptr %41, align 4
%670 = sext i32 %669 to i64
%671 = getelementptr inbounds float, ptr %668, i64 %670
%672 = load float, ptr %671, align 4
%673 = load ptr, ptr %32, align 8
%674 = load i32, ptr %46, align 4
%675 = sext i32 %674 to i64
%676 = getelementptr inbounds float, ptr %673, i64 %675
store float %672, ptr %676, align 4
%677 = load i32, ptr %47, align 4
%678 = load ptr, ptr %33, align 8
%679 = load i32, ptr %46, align 4
%680 = sext i32 %679 to i64
%681 = getelementptr inbounds i32, ptr %678, i64 %680
store i32 %677, ptr %681, align 4
%682 = load i32, ptr %46, align 4
%683 = load i32, ptr %44, align 4
%684 = sub nsw i32 %682, %683
%685 = icmp sgt i32 %684, 0
br i1 %685, label %686, label %690
686: ; preds = %665
%687 = load i32, ptr %46, align 4
%688 = load i32, ptr %44, align 4
%689 = sub nsw i32 %687, %688
br label %691
690: ; preds = %665
br label %691
691: ; preds = %690, %686
%692 = phi i32 [ %689, %686 ], [ 0, %690 ]
store i32 %692, ptr %42, align 4
br label %693
693: ; preds = %888, %691
%694 = load i32, ptr %42, align 4
%695 = load i32, ptr %46, align 4
%696 = load i32, ptr %44, align 4
%697 = add nsw i32 %695, %696
%698 = load i32, ptr %35, align 4
%699 = sub nsw i32 %698, 1
%700 = icmp slt i32 %697, %699
br i1 %700, label %701, label %705
701: ; preds = %693
%702 = load i32, ptr %46, align 4
%703 = load i32, ptr %44, align 4
%704 = add nsw i32 %702, %703
br label %708
705: ; preds = %693
%706 = load i32, ptr %35, align 4
%707 = sub nsw i32 %706, 1
br label %708
708: ; preds = %705, %701
%709 = phi i32 [ %704, %701 ], [ %707, %705 ]
%710 = icmp sle i32 %694, %709
br i1 %710, label %711, label %891
711: ; preds = %708
%712 = load i32, ptr %47, align 4
%713 = load i32, ptr %45, align 4
%714 = sub nsw i32 %712, %713
%715 = icmp sgt i32 %714, 0
br i1 %715, label %716, label %720
716: ; preds = %711
%717 = load i32, ptr %47, align 4
%718 = load i32, ptr %45, align 4
%719 = sub nsw i32 %717, %718
br label %721
720: ; preds = %711
br label %721
721: ; preds = %720, %716
%722 = phi i32 [ %719, %716 ], [ 0, %720 ]
store i32 %722, ptr %43, align 4
br label %723
723: ; preds = %884, %721
%724 = load i32, ptr %43, align 4
%725 = load i32, ptr %47, align 4
%726 = load i32, ptr %45, align 4
%727 = add nsw i32 %725, %726
%728 = load i32, ptr %34, align 4
%729 = sub nsw i32 %728, 1
%730 = icmp slt i32 %727, %729
br i1 %730, label %731, label %735
731: ; preds = %723
%732 = load i32, ptr %47, align 4
%733 = load i32, ptr %45, align 4
%734 = add nsw i32 %732, %733
br label %738
735: ; preds = %723
%736 = load i32, ptr %34, align 4
%737 = sub nsw i32 %736, 1
br label %738
738: ; preds = %735, %731
%739 = phi i32 [ %734, %731 ], [ %737, %735 ]
%740 = icmp sle i32 %724, %739
br i1 %740, label %741, label %887
741: ; preds = %738
%742 = load i32, ptr %42, align 4
%743 = load i32, ptr %46, align 4
%744 = sub nsw i32 %742, %743
%745 = sitofp i32 %744 to float
%746 = load float, ptr %24, align 4
%747 = fmul float %745, %746
%748 = load float, ptr %37, align 4
%749 = fdiv float %747, %748
store float %749, ptr %50, align 4
%750 = load i32, ptr %43, align 4
%751 = load i32, ptr %47, align 4
%752 = sub nsw i32 %750, %751
%753 = sitofp i32 %752 to float
%754 = load float, ptr %25, align 4
%755 = fmul float %753, %754
%756 = load float, ptr %36, align 4
%757 = fdiv float %755, %756
store float %757, ptr %49, align 4
%758 = load float, ptr %50, align 4
%759 = load float, ptr %50, align 4
%760 = load float, ptr %49, align 4
%761 = load float, ptr %49, align 4
%762 = fmul float %760, %761
%763 = call float @llvm.fmuladd.f32(float %758, float %759, float %762)
%764 = call float @sqrt(float noundef %763)
store float %764, ptr %48, align 4
%765 = load float, ptr %48, align 4
%766 = fpext float %765 to double
%767 = fcmp ole double %766, 1.000000e+00
br i1 %767, label %768, label %883
768: ; preds = %741
%769 = load ptr, ptr %29, align 8
%770 = getelementptr inbounds ptr, ptr %769, i64 2
%771 = load ptr, ptr %770, align 8
%772 = load i32, ptr %41, align 4
%773 = sext i32 %772 to i64
%774 = getelementptr inbounds float, ptr %771, i64 %773
%775 = load float, ptr %774, align 4
%776 = load ptr, ptr %26, align 8
%777 = load i32, ptr %42, align 4
%778 = sext i32 %777 to i64
%779 = getelementptr inbounds ptr, ptr %776, i64 %778
%780 = load ptr, ptr %779, align 8
%781 = load i32, ptr %43, align 4
%782 = sext i32 %781 to i64
%783 = getelementptr inbounds float, ptr %780, i64 %782
store float %775, ptr %783, align 4
%784 = load ptr, ptr %31, align 8
%785 = getelementptr inbounds ptr, ptr %784, i64 2
%786 = load ptr, ptr %785, align 8
%787 = load i32, ptr %41, align 4
%788 = sext i32 %787 to i64
%789 = getelementptr inbounds float, ptr %786, i64 %788
%790 = load float, ptr %789, align 4
%791 = load ptr, ptr %28, align 8
%792 = load i32, ptr %42, align 4
%793 = sext i32 %792 to i64
%794 = getelementptr inbounds ptr, ptr %791, i64 %793
%795 = load ptr, ptr %794, align 8
%796 = load i32, ptr %43, align 4
%797 = sext i32 %796 to i64
%798 = getelementptr inbounds float, ptr %795, i64 %797
store float %790, ptr %798, align 4
%799 = load ptr, ptr %30, align 8
%800 = getelementptr inbounds ptr, ptr %799, i64 2
%801 = load ptr, ptr %800, align 8
%802 = load i32, ptr %41, align 4
%803 = sext i32 %802 to i64
%804 = getelementptr inbounds float, ptr %801, i64 %803
%805 = load float, ptr %804, align 4
%806 = load ptr, ptr %27, align 8
%807 = load i32, ptr %42, align 4
%808 = sext i32 %807 to i64
%809 = getelementptr inbounds ptr, ptr %806, i64 %808
%810 = load ptr, ptr %809, align 8
%811 = load i32, ptr %43, align 4
%812 = sext i32 %811 to i64
%813 = getelementptr inbounds float, ptr %810, i64 %812
store float %805, ptr %813, align 4
%814 = load float, ptr %38, align 4
%815 = fcmp une float %814, 0.000000e+00
br i1 %815, label %816, label %836
816: ; preds = %768
%817 = call double (...) @drand48()
%818 = fsub double %817, 5.000000e-01
%819 = fptrunc double %818 to float
%820 = fpext float %819 to double
%821 = fmul double %820, 2.000000e+00
%822 = load float, ptr %38, align 4
%823 = fpext float %822 to double
%824 = load ptr, ptr %26, align 8
%825 = load i32, ptr %42, align 4
%826 = sext i32 %825 to i64
%827 = getelementptr inbounds ptr, ptr %824, i64 %826
%828 = load ptr, ptr %827, align 8
%829 = load i32, ptr %43, align 4
%830 = sext i32 %829 to i64
%831 = getelementptr inbounds float, ptr %828, i64 %830
%832 = load float, ptr %831, align 4
%833 = fpext float %832 to double
%834 = call double @llvm.fmuladd.f64(double %821, double %823, double %833)
%835 = fptrunc double %834 to float
store float %835, ptr %831, align 4
br label %836
836: ; preds = %816, %768
%837 = load float, ptr %39, align 4
%838 = fcmp une float %837, 0.000000e+00
br i1 %838, label %839, label %859
839: ; preds = %836
%840 = call double (...) @drand48()
%841 = fsub double %840, 5.000000e-01
%842 = fptrunc double %841 to float
%843 = fpext float %842 to double
%844 = fmul double %843, 2.000000e+00
%845 = load float, ptr %39, align 4
%846 = fpext float %845 to double
%847 = load ptr, ptr %27, align 8
%848 = load i32, ptr %42, align 4
%849 = sext i32 %848 to i64
%850 = getelementptr inbounds ptr, ptr %847, i64 %849
%851 = load ptr, ptr %850, align 8
%852 = load i32, ptr %43, align 4
%853 = sext i32 %852 to i64
%854 = getelementptr inbounds float, ptr %851, i64 %853
%855 = load float, ptr %854, align 4
%856 = fpext float %855 to double
%857 = call double @llvm.fmuladd.f64(double %844, double %846, double %856)
%858 = fptrunc double %857 to float
store float %858, ptr %854, align 4
br label %859
859: ; preds = %839, %836
%860 = load float, ptr %40, align 4
%861 = fcmp une float %860, 0.000000e+00
br i1 %861, label %862, label %882
862: ; preds = %859
%863 = call double (...) @drand48()
%864 = fsub double %863, 5.000000e-01
%865 = fptrunc double %864 to float
%866 = fpext float %865 to double
%867 = fmul double %866, 2.000000e+00
%868 = load float, ptr %40, align 4
%869 = fpext float %868 to double
%870 = load ptr, ptr %28, align 8
%871 = load i32, ptr %42, align 4
%872 = sext i32 %871 to i64
%873 = getelementptr inbounds ptr, ptr %870, i64 %872
%874 = load ptr, ptr %873, align 8
%875 = load i32, ptr %43, align 4
%876 = sext i32 %875 to i64
%877 = getelementptr inbounds float, ptr %874, i64 %876
%878 = load float, ptr %877, align 4
%879 = fpext float %878 to double
%880 = call double @llvm.fmuladd.f64(double %867, double %869, double %879)
%881 = fptrunc double %880 to float
store float %881, ptr %877, align 4
br label %882
882: ; preds = %862, %859
br label %883
883: ; preds = %882, %741
br label %884
884: ; preds = %883
%885 = load i32, ptr %43, align 4
%886 = add nsw i32 %885, 1
store i32 %886, ptr %43, align 4
br label %723, !llvm.loop !14
887: ; preds = %738
br label %888
888: ; preds = %887
%889 = load i32, ptr %42, align 4
%890 = add nsw i32 %889, 1
store i32 %890, ptr %42, align 4
br label %693, !llvm.loop !15
891: ; preds = %708
br label %892
892: ; preds = %891
%893 = load i32, ptr %41, align 4
%894 = add nsw i32 %893, 1
store i32 %894, ptr %41, align 4
br label %599, !llvm.loop !16
895: ; preds = %599
br label %896
896: ; preds = %895, %597
br label %897
897: ; preds = %896, %334
ret void
}
declare float @sqrt(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare double @drand48(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl41zm785.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @elipse(ptr noundef %0, ptr noundef %1, i32 noundef %2, float noundef %3, float noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14, float noundef %15, float noundef %16, float noundef %17, float noundef %18, float noundef %19) #0 {
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca float, align 4
%37 = alloca float, align 4
%38 = alloca float, align 4
%39 = alloca float, align 4
%40 = alloca float, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca i32, align 4
%46 = alloca i32, align 4
%47 = alloca i32, align 4
%48 = alloca float, align 4
%49 = alloca float, align 4
%50 = alloca float, align 4
store ptr %0, ptr %21, align 8
store ptr %1, ptr %22, align 8
store i32 %2, ptr %23, align 4
store float %3, ptr %24, align 4
store float %4, ptr %25, align 4
store ptr %5, ptr %26, align 8
store ptr %6, ptr %27, align 8
store ptr %7, ptr %28, align 8
store ptr %8, ptr %29, align 8
store ptr %9, ptr %30, align 8
store ptr %10, ptr %31, align 8
store ptr %11, ptr %32, align 8
store ptr %12, ptr %33, align 8
store i32 %13, ptr %34, align 4
store i32 %14, ptr %35, align 4
store float %15, ptr %36, align 4
store float %16, ptr %37, align 4
store float %17, ptr %38, align 4
store float %18, ptr %39, align 4
store float %19, ptr %40, align 4
%51 = load float, ptr %36, align 4
%52 = load float, ptr %25, align 4
%53 = fdiv float %51, %52
%54 = fpext float %53 to double
%55 = fcmp ogt double %54, 0.000000e+00
br i1 %55, label %56, label %62
56: ; preds = %20
%57 = load float, ptr %36, align 4
%58 = load float, ptr %25, align 4
%59 = fdiv float %57, %58
%60 = fpext float %59 to double
%61 = fadd double %60, 5.000000e-01
br label %68
62: ; preds = %20
%63 = load float, ptr %36, align 4
%64 = load float, ptr %25, align 4
%65 = fdiv float %63, %64
%66 = fpext float %65 to double
%67 = fsub double %66, 5.000000e-01
br label %68
68: ; preds = %62, %56
%69 = phi double [ %61, %56 ], [ %67, %62 ]
%70 = fptosi double %69 to i32
store i32 %70, ptr %45, align 4
%71 = load float, ptr %37, align 4
%72 = load float, ptr %24, align 4
%73 = fdiv float %71, %72
%74 = fpext float %73 to double
%75 = fcmp ogt double %74, 0.000000e+00
br i1 %75, label %76, label %82
76: ; preds = %68
%77 = load float, ptr %37, align 4
%78 = load float, ptr %24, align 4
%79 = fdiv float %77, %78
%80 = fpext float %79 to double
%81 = fadd double %80, 5.000000e-01
br label %88
82: ; preds = %68
%83 = load float, ptr %37, align 4
%84 = load float, ptr %24, align 4
%85 = fdiv float %83, %84
%86 = fpext float %85 to double
%87 = fsub double %86, 5.000000e-01
br label %88
88: ; preds = %82, %76
%89 = phi double [ %81, %76 ], [ %87, %82 ]
%90 = fptosi double %89 to i32
store i32 %90, ptr %44, align 4
store i32 0, ptr %41, align 4
%91 = load i32, ptr %41, align 4
%92 = load i32, ptr %35, align 4
%93 = icmp slt i32 %91, %92
br i1 %93, label %.lr.ph, label %109
.lr.ph: ; preds = %88
br label %94
94: ; preds = %.lr.ph, %103
%95 = load ptr, ptr %32, align 8
%96 = load i32, ptr %41, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds float, ptr %95, i64 %97
store float 0.000000e+00, ptr %98, align 4
%99 = load ptr, ptr %33, align 8
%100 = load i32, ptr %41, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
store i32 0, ptr %102, align 4
br label %103
103: ; preds = %94
%104 = load i32, ptr %41, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %41, align 4
%106 = load i32, ptr %41, align 4
%107 = load i32, ptr %35, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %94, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %103
br label %109
109: ; preds = %._crit_edge, %88
%110 = load ptr, ptr %27, align 8
%111 = icmp eq ptr %110, null
br i1 %111, label %112, label %339
112: ; preds = %109
%113 = load ptr, ptr %28, align 8
%114 = icmp eq ptr %113, null
br i1 %114, label %115, label %339
115: ; preds = %112
store i32 0, ptr %41, align 4
%116 = load i32, ptr %41, align 4
%117 = load i32, ptr %23, align 4
%118 = icmp slt i32 %116, %117
br i1 %118, label %.lr.ph8, label %338
.lr.ph8: ; preds = %115
br label %119
119: ; preds = %.lr.ph8, %332
%120 = load ptr, ptr %21, align 8
%121 = load i32, ptr %41, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds float, ptr %120, i64 %122
%124 = load float, ptr %123, align 4
%125 = load float, ptr %24, align 4
%126 = fdiv float %124, %125
%127 = fpext float %126 to double
%128 = fcmp ogt double %127, 0.000000e+00
br i1 %128, label %129, label %139
129: ; preds = %119
%130 = load ptr, ptr %21, align 8
%131 = load i32, ptr %41, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds float, ptr %130, i64 %132
%134 = load float, ptr %133, align 4
%135 = load float, ptr %24, align 4
%136 = fdiv float %134, %135
%137 = fpext float %136 to double
%138 = fadd double %137, 5.000000e-01
br label %149
139: ; preds = %119
%140 = load ptr, ptr %21, align 8
%141 = load i32, ptr %41, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds float, ptr %140, i64 %142
%144 = load float, ptr %143, align 4
%145 = load float, ptr %24, align 4
%146 = fdiv float %144, %145
%147 = fpext float %146 to double
%148 = fsub double %147, 5.000000e-01
br label %149
149: ; preds = %139, %129
%150 = phi double [ %138, %129 ], [ %148, %139 ]
%151 = fptosi double %150 to i32
store i32 %151, ptr %46, align 4
%152 = load ptr, ptr %22, align 8
%153 = load i32, ptr %41, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds float, ptr %152, i64 %154
%156 = load float, ptr %155, align 4
%157 = load float, ptr %25, align 4
%158 = fdiv float %156, %157
%159 = fpext float %158 to double
%160 = fcmp ogt double %159, 0.000000e+00
br i1 %160, label %161, label %171
161: ; preds = %149
%162 = load ptr, ptr %22, align 8
%163 = load i32, ptr %41, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds float, ptr %162, i64 %164
%166 = load float, ptr %165, align 4
%167 = load float, ptr %25, align 4
%168 = fdiv float %166, %167
%169 = fpext float %168 to double
%170 = fadd double %169, 5.000000e-01
br label %181
171: ; preds = %149
%172 = load ptr, ptr %22, align 8
%173 = load i32, ptr %41, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds float, ptr %172, i64 %174
%176 = load float, ptr %175, align 4
%177 = load float, ptr %25, align 4
%178 = fdiv float %176, %177
%179 = fpext float %178 to double
%180 = fsub double %179, 5.000000e-01
br label %181
181: ; preds = %171, %161
%182 = phi double [ %170, %161 ], [ %180, %171 ]
%183 = fptosi double %182 to i32
store i32 %183, ptr %47, align 4
%184 = load ptr, ptr %22, align 8
%185 = load i32, ptr %41, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds float, ptr %184, i64 %186
%188 = load float, ptr %187, align 4
%189 = load ptr, ptr %32, align 8
%190 = load i32, ptr %46, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds float, ptr %189, i64 %191
store float %188, ptr %192, align 4
%193 = load i32, ptr %47, align 4
%194 = load ptr, ptr %33, align 8
%195 = load i32, ptr %46, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i32, ptr %194, i64 %196
store i32 %193, ptr %197, align 4
%198 = load i32, ptr %46, align 4
%199 = load i32, ptr %44, align 4
%200 = sub nsw i32 %198, %199
%201 = icmp sgt i32 %200, 0
br i1 %201, label %202, label %206
202: ; preds = %181
%203 = load i32, ptr %46, align 4
%204 = load i32, ptr %44, align 4
%205 = sub nsw i32 %203, %204
br label %207
206: ; preds = %181
br label %207
207: ; preds = %206, %202
%208 = phi i32 [ %205, %202 ], [ 0, %206 ]
store i32 %208, ptr %42, align 4
br label %209
209: ; preds = %328, %207
%210 = load i32, ptr %42, align 4
%211 = load i32, ptr %46, align 4
%212 = load i32, ptr %44, align 4
%213 = add nsw i32 %211, %212
%214 = load i32, ptr %35, align 4
%215 = sub nsw i32 %214, 1
%216 = icmp slt i32 %213, %215
br i1 %216, label %217, label %221
217: ; preds = %209
%218 = load i32, ptr %46, align 4
%219 = load i32, ptr %44, align 4
%220 = add nsw i32 %218, %219
br label %224
221: ; preds = %209
%222 = load i32, ptr %35, align 4
%223 = sub nsw i32 %222, 1
br label %224
224: ; preds = %221, %217
%225 = phi i32 [ %220, %217 ], [ %223, %221 ]
%226 = icmp sle i32 %210, %225
br i1 %226, label %227, label %331
227: ; preds = %224
%228 = load i32, ptr %47, align 4
%229 = load i32, ptr %45, align 4
%230 = sub nsw i32 %228, %229
%231 = icmp sgt i32 %230, 0
br i1 %231, label %232, label %236
232: ; preds = %227
%233 = load i32, ptr %47, align 4
%234 = load i32, ptr %45, align 4
%235 = sub nsw i32 %233, %234
br label %237
236: ; preds = %227
br label %237
237: ; preds = %236, %232
%238 = phi i32 [ %235, %232 ], [ 0, %236 ]
store i32 %238, ptr %43, align 4
br label %239
239: ; preds = %324, %237
%240 = load i32, ptr %43, align 4
%241 = load i32, ptr %47, align 4
%242 = load i32, ptr %45, align 4
%243 = add nsw i32 %241, %242
%244 = load i32, ptr %34, align 4
%245 = sub nsw i32 %244, 1
%246 = icmp slt i32 %243, %245
br i1 %246, label %247, label %251
247: ; preds = %239
%248 = load i32, ptr %47, align 4
%249 = load i32, ptr %45, align 4
%250 = add nsw i32 %248, %249
br label %254
251: ; preds = %239
%252 = load i32, ptr %34, align 4
%253 = sub nsw i32 %252, 1
br label %254
254: ; preds = %251, %247
%255 = phi i32 [ %250, %247 ], [ %253, %251 ]
%256 = icmp sle i32 %240, %255
br i1 %256, label %257, label %327
257: ; preds = %254
%258 = load i32, ptr %42, align 4
%259 = load i32, ptr %46, align 4
%260 = sub nsw i32 %258, %259
%261 = sitofp i32 %260 to float
%262 = load float, ptr %24, align 4
%263 = fmul float %261, %262
%264 = load float, ptr %37, align 4
%265 = fdiv float %263, %264
store float %265, ptr %50, align 4
%266 = load i32, ptr %43, align 4
%267 = load i32, ptr %47, align 4
%268 = sub nsw i32 %266, %267
%269 = sitofp i32 %268 to float
%270 = load float, ptr %25, align 4
%271 = fmul float %269, %270
%272 = load float, ptr %36, align 4
%273 = fdiv float %271, %272
store float %273, ptr %49, align 4
%274 = load float, ptr %50, align 4
%275 = load float, ptr %50, align 4
%276 = load float, ptr %49, align 4
%277 = load float, ptr %49, align 4
%278 = fmul float %276, %277
%279 = call float @llvm.fmuladd.f32(float %274, float %275, float %278)
%280 = call float @sqrt(float noundef %279)
store float %280, ptr %48, align 4
%281 = load float, ptr %48, align 4
%282 = fpext float %281 to double
%283 = fcmp ole double %282, 1.000000e+00
br i1 %283, label %284, label %323
284: ; preds = %257
%285 = load ptr, ptr %29, align 8
%286 = getelementptr inbounds ptr, ptr %285, i64 2
%287 = load ptr, ptr %286, align 8
%288 = load i32, ptr %41, align 4
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds float, ptr %287, i64 %289
%291 = load float, ptr %290, align 4
%292 = load ptr, ptr %26, align 8
%293 = load i32, ptr %42, 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 %43, align 4
%298 = sext i32 %297 to i64
%299 = getelementptr inbounds float, ptr %296, i64 %298
store float %291, ptr %299, align 4
%300 = load float, ptr %38, align 4
%301 = fcmp une float %300, 0.000000e+00
br i1 %301, label %302, label %322
302: ; preds = %284
%303 = call double (...) @drand48()
%304 = fsub double %303, 5.000000e-01
%305 = fptrunc double %304 to float
%306 = fpext float %305 to double
%307 = fmul double %306, 2.000000e+00
%308 = load float, ptr %38, align 4
%309 = fpext float %308 to double
%310 = load ptr, ptr %26, align 8
%311 = load i32, ptr %42, align 4
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds ptr, ptr %310, i64 %312
%314 = load ptr, ptr %313, align 8
%315 = load i32, ptr %43, align 4
%316 = sext i32 %315 to i64
%317 = getelementptr inbounds float, ptr %314, i64 %316
%318 = load float, ptr %317, align 4
%319 = fpext float %318 to double
%320 = call double @llvm.fmuladd.f64(double %307, double %309, double %319)
%321 = fptrunc double %320 to float
store float %321, ptr %317, align 4
br label %322
322: ; preds = %302, %284
br label %323
323: ; preds = %322, %257
br label %324
324: ; preds = %323
%325 = load i32, ptr %43, align 4
%326 = add nsw i32 %325, 1
store i32 %326, ptr %43, align 4
br label %239, !llvm.loop !8
327: ; preds = %254
br label %328
328: ; preds = %327
%329 = load i32, ptr %42, align 4
%330 = add nsw i32 %329, 1
store i32 %330, ptr %42, align 4
br label %209, !llvm.loop !9
331: ; preds = %224
br label %332
332: ; preds = %331
%333 = load i32, ptr %41, align 4
%334 = add nsw i32 %333, 1
store i32 %334, ptr %41, align 4
%335 = load i32, ptr %41, align 4
%336 = load i32, ptr %23, align 4
%337 = icmp slt i32 %335, %336
br i1 %337, label %119, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %332
br label %338
338: ; preds = %._crit_edge9, %115
br label %905
339: ; preds = %112, %109
%340 = load ptr, ptr %27, align 8
%341 = icmp eq ptr %340, null
br i1 %341, label %342, label %604
342: ; preds = %339
store i32 0, ptr %41, align 4
%343 = load i32, ptr %41, align 4
%344 = load i32, ptr %23, align 4
%345 = icmp slt i32 %343, %344
br i1 %345, label %.lr.ph5, label %603
.lr.ph5: ; preds = %342
br label %346
346: ; preds = %.lr.ph5, %597
%347 = load ptr, ptr %21, align 8
%348 = load i32, ptr %41, align 4
%349 = sext i32 %348 to i64
%350 = getelementptr inbounds float, ptr %347, i64 %349
%351 = load float, ptr %350, align 4
%352 = load float, ptr %24, align 4
%353 = fdiv float %351, %352
%354 = fpext float %353 to double
%355 = fcmp ogt double %354, 0.000000e+00
br i1 %355, label %356, label %366
356: ; preds = %346
%357 = load ptr, ptr %21, align 8
%358 = load i32, ptr %41, align 4
%359 = sext i32 %358 to i64
%360 = getelementptr inbounds float, ptr %357, i64 %359
%361 = load float, ptr %360, align 4
%362 = load float, ptr %24, align 4
%363 = fdiv float %361, %362
%364 = fpext float %363 to double
%365 = fadd double %364, 5.000000e-01
br label %376
366: ; preds = %346
%367 = load ptr, ptr %21, align 8
%368 = load i32, ptr %41, align 4
%369 = sext i32 %368 to i64
%370 = getelementptr inbounds float, ptr %367, i64 %369
%371 = load float, ptr %370, align 4
%372 = load float, ptr %24, align 4
%373 = fdiv float %371, %372
%374 = fpext float %373 to double
%375 = fsub double %374, 5.000000e-01
br label %376
376: ; preds = %366, %356
%377 = phi double [ %365, %356 ], [ %375, %366 ]
%378 = fptosi double %377 to i32
store i32 %378, ptr %46, align 4
%379 = load ptr, ptr %22, align 8
%380 = load i32, ptr %41, align 4
%381 = sext i32 %380 to i64
%382 = getelementptr inbounds float, ptr %379, i64 %381
%383 = load float, ptr %382, align 4
%384 = load float, ptr %25, align 4
%385 = fdiv float %383, %384
%386 = fpext float %385 to double
%387 = fcmp ogt double %386, 0.000000e+00
br i1 %387, label %388, label %398
388: ; preds = %376
%389 = load ptr, ptr %22, align 8
%390 = load i32, ptr %41, align 4
%391 = sext i32 %390 to i64
%392 = getelementptr inbounds float, ptr %389, i64 %391
%393 = load float, ptr %392, align 4
%394 = load float, ptr %25, align 4
%395 = fdiv float %393, %394
%396 = fpext float %395 to double
%397 = fadd double %396, 5.000000e-01
br label %408
398: ; preds = %376
%399 = load ptr, ptr %22, align 8
%400 = load i32, ptr %41, align 4
%401 = sext i32 %400 to i64
%402 = getelementptr inbounds float, ptr %399, i64 %401
%403 = load float, ptr %402, align 4
%404 = load float, ptr %25, align 4
%405 = fdiv float %403, %404
%406 = fpext float %405 to double
%407 = fsub double %406, 5.000000e-01
br label %408
408: ; preds = %398, %388
%409 = phi double [ %397, %388 ], [ %407, %398 ]
%410 = fptosi double %409 to i32
store i32 %410, ptr %47, align 4
%411 = load ptr, ptr %22, align 8
%412 = load i32, ptr %41, align 4
%413 = sext i32 %412 to i64
%414 = getelementptr inbounds float, ptr %411, i64 %413
%415 = load float, ptr %414, align 4
%416 = load ptr, ptr %32, align 8
%417 = load i32, ptr %46, align 4
%418 = sext i32 %417 to i64
%419 = getelementptr inbounds float, ptr %416, i64 %418
store float %415, ptr %419, align 4
%420 = load i32, ptr %47, align 4
%421 = load ptr, ptr %33, align 8
%422 = load i32, ptr %46, align 4
%423 = sext i32 %422 to i64
%424 = getelementptr inbounds i32, ptr %421, i64 %423
store i32 %420, ptr %424, align 4
%425 = load i32, ptr %46, align 4
%426 = load i32, ptr %44, align 4
%427 = sub nsw i32 %425, %426
%428 = icmp sgt i32 %427, 0
br i1 %428, label %429, label %433
429: ; preds = %408
%430 = load i32, ptr %46, align 4
%431 = load i32, ptr %44, align 4
%432 = sub nsw i32 %430, %431
br label %434
433: ; preds = %408
br label %434
434: ; preds = %433, %429
%435 = phi i32 [ %432, %429 ], [ 0, %433 ]
store i32 %435, ptr %42, align 4
br label %436
436: ; preds = %593, %434
%437 = load i32, ptr %42, align 4
%438 = load i32, ptr %46, align 4
%439 = load i32, ptr %44, align 4
%440 = add nsw i32 %438, %439
%441 = load i32, ptr %35, align 4
%442 = sub nsw i32 %441, 1
%443 = icmp slt i32 %440, %442
br i1 %443, label %444, label %448
444: ; preds = %436
%445 = load i32, ptr %46, align 4
%446 = load i32, ptr %44, align 4
%447 = add nsw i32 %445, %446
br label %451
448: ; preds = %436
%449 = load i32, ptr %35, align 4
%450 = sub nsw i32 %449, 1
br label %451
451: ; preds = %448, %444
%452 = phi i32 [ %447, %444 ], [ %450, %448 ]
%453 = icmp sle i32 %437, %452
br i1 %453, label %454, label %596
454: ; preds = %451
%455 = load i32, ptr %47, align 4
%456 = load i32, ptr %45, align 4
%457 = sub nsw i32 %455, %456
%458 = icmp sgt i32 %457, 0
br i1 %458, label %459, label %463
459: ; preds = %454
%460 = load i32, ptr %47, align 4
%461 = load i32, ptr %45, align 4
%462 = sub nsw i32 %460, %461
br label %464
463: ; preds = %454
br label %464
464: ; preds = %463, %459
%465 = phi i32 [ %462, %459 ], [ 0, %463 ]
store i32 %465, ptr %43, align 4
br label %466
466: ; preds = %589, %464
%467 = load i32, ptr %43, align 4
%468 = load i32, ptr %47, align 4
%469 = load i32, ptr %45, align 4
%470 = add nsw i32 %468, %469
%471 = load i32, ptr %34, align 4
%472 = sub nsw i32 %471, 1
%473 = icmp slt i32 %470, %472
br i1 %473, label %474, label %478
474: ; preds = %466
%475 = load i32, ptr %47, align 4
%476 = load i32, ptr %45, align 4
%477 = add nsw i32 %475, %476
br label %481
478: ; preds = %466
%479 = load i32, ptr %34, align 4
%480 = sub nsw i32 %479, 1
br label %481
481: ; preds = %478, %474
%482 = phi i32 [ %477, %474 ], [ %480, %478 ]
%483 = icmp sle i32 %467, %482
br i1 %483, label %484, label %592
484: ; preds = %481
%485 = load i32, ptr %42, align 4
%486 = load i32, ptr %46, align 4
%487 = sub nsw i32 %485, %486
%488 = sitofp i32 %487 to float
%489 = load float, ptr %24, align 4
%490 = fmul float %488, %489
%491 = load float, ptr %37, align 4
%492 = fdiv float %490, %491
store float %492, ptr %50, align 4
%493 = load i32, ptr %43, align 4
%494 = load i32, ptr %47, align 4
%495 = sub nsw i32 %493, %494
%496 = sitofp i32 %495 to float
%497 = load float, ptr %25, align 4
%498 = fmul float %496, %497
%499 = load float, ptr %36, align 4
%500 = fdiv float %498, %499
store float %500, ptr %49, align 4
%501 = load float, ptr %50, align 4
%502 = load float, ptr %50, align 4
%503 = load float, ptr %49, align 4
%504 = load float, ptr %49, align 4
%505 = fmul float %503, %504
%506 = call float @llvm.fmuladd.f32(float %501, float %502, float %505)
%507 = call float @sqrt(float noundef %506)
store float %507, ptr %48, align 4
%508 = load float, ptr %48, align 4
%509 = fpext float %508 to double
%510 = fcmp ole double %509, 1.000000e+00
br i1 %510, label %511, label %588
511: ; preds = %484
%512 = load ptr, ptr %29, align 8
%513 = getelementptr inbounds ptr, ptr %512, i64 2
%514 = load ptr, ptr %513, align 8
%515 = load i32, ptr %41, align 4
%516 = sext i32 %515 to i64
%517 = getelementptr inbounds float, ptr %514, i64 %516
%518 = load float, ptr %517, align 4
%519 = load ptr, ptr %26, align 8
%520 = load i32, ptr %42, align 4
%521 = sext i32 %520 to i64
%522 = getelementptr inbounds ptr, ptr %519, i64 %521
%523 = load ptr, ptr %522, align 8
%524 = load i32, ptr %43, align 4
%525 = sext i32 %524 to i64
%526 = getelementptr inbounds float, ptr %523, i64 %525
store float %518, ptr %526, align 4
%527 = load ptr, ptr %31, align 8
%528 = getelementptr inbounds ptr, ptr %527, i64 2
%529 = load ptr, ptr %528, align 8
%530 = load i32, ptr %41, align 4
%531 = sext i32 %530 to i64
%532 = getelementptr inbounds float, ptr %529, i64 %531
%533 = load float, ptr %532, align 4
%534 = load ptr, ptr %28, align 8
%535 = load i32, ptr %42, align 4
%536 = sext i32 %535 to i64
%537 = getelementptr inbounds ptr, ptr %534, i64 %536
%538 = load ptr, ptr %537, align 8
%539 = load i32, ptr %43, align 4
%540 = sext i32 %539 to i64
%541 = getelementptr inbounds float, ptr %538, i64 %540
store float %533, ptr %541, align 4
%542 = load float, ptr %38, align 4
%543 = fcmp une float %542, 0.000000e+00
br i1 %543, label %544, label %564
544: ; preds = %511
%545 = call double (...) @drand48()
%546 = fsub double %545, 5.000000e-01
%547 = fptrunc double %546 to float
%548 = fpext float %547 to double
%549 = fmul double %548, 2.000000e+00
%550 = load float, ptr %38, align 4
%551 = fpext float %550 to double
%552 = load ptr, ptr %26, align 8
%553 = load i32, ptr %42, align 4
%554 = sext i32 %553 to i64
%555 = getelementptr inbounds ptr, ptr %552, i64 %554
%556 = load ptr, ptr %555, align 8
%557 = load i32, ptr %43, align 4
%558 = sext i32 %557 to i64
%559 = getelementptr inbounds float, ptr %556, i64 %558
%560 = load float, ptr %559, align 4
%561 = fpext float %560 to double
%562 = call double @llvm.fmuladd.f64(double %549, double %551, double %561)
%563 = fptrunc double %562 to float
store float %563, ptr %559, align 4
br label %564
564: ; preds = %544, %511
%565 = load float, ptr %40, align 4
%566 = fcmp une float %565, 0.000000e+00
br i1 %566, label %567, label %587
567: ; preds = %564
%568 = call double (...) @drand48()
%569 = fsub double %568, 5.000000e-01
%570 = fptrunc double %569 to float
%571 = fpext float %570 to double
%572 = fmul double %571, 2.000000e+00
%573 = load float, ptr %40, align 4
%574 = fpext float %573 to double
%575 = load ptr, ptr %28, align 8
%576 = load i32, ptr %42, align 4
%577 = sext i32 %576 to i64
%578 = getelementptr inbounds ptr, ptr %575, i64 %577
%579 = load ptr, ptr %578, align 8
%580 = load i32, ptr %43, align 4
%581 = sext i32 %580 to i64
%582 = getelementptr inbounds float, ptr %579, i64 %581
%583 = load float, ptr %582, align 4
%584 = fpext float %583 to double
%585 = call double @llvm.fmuladd.f64(double %572, double %574, double %584)
%586 = fptrunc double %585 to float
store float %586, ptr %582, align 4
br label %587
587: ; preds = %567, %564
br label %588
588: ; preds = %587, %484
br label %589
589: ; preds = %588
%590 = load i32, ptr %43, align 4
%591 = add nsw i32 %590, 1
store i32 %591, ptr %43, align 4
br label %466, !llvm.loop !11
592: ; preds = %481
br label %593
593: ; preds = %592
%594 = load i32, ptr %42, align 4
%595 = add nsw i32 %594, 1
store i32 %595, ptr %42, align 4
br label %436, !llvm.loop !12
596: ; preds = %451
br label %597
597: ; preds = %596
%598 = load i32, ptr %41, align 4
%599 = add nsw i32 %598, 1
store i32 %599, ptr %41, align 4
%600 = load i32, ptr %41, align 4
%601 = load i32, ptr %23, align 4
%602 = icmp slt i32 %600, %601
br i1 %602, label %346, label %._crit_edge6, !llvm.loop !13
._crit_edge6: ; preds = %597
br label %603
603: ; preds = %._crit_edge6, %342
br label %904
604: ; preds = %339
store i32 0, ptr %41, align 4
%605 = load i32, ptr %41, align 4
%606 = load i32, ptr %23, align 4
%607 = icmp slt i32 %605, %606
br i1 %607, label %.lr.ph2, label %903
.lr.ph2: ; preds = %604
br label %608
608: ; preds = %.lr.ph2, %897
%609 = load ptr, ptr %21, align 8
%610 = load i32, ptr %41, align 4
%611 = sext i32 %610 to i64
%612 = getelementptr inbounds float, ptr %609, i64 %611
%613 = load float, ptr %612, align 4
%614 = load float, ptr %24, align 4
%615 = fdiv float %613, %614
%616 = fpext float %615 to double
%617 = fcmp ogt double %616, 0.000000e+00
br i1 %617, label %618, label %628
618: ; preds = %608
%619 = load ptr, ptr %21, align 8
%620 = load i32, ptr %41, align 4
%621 = sext i32 %620 to i64
%622 = getelementptr inbounds float, ptr %619, i64 %621
%623 = load float, ptr %622, align 4
%624 = load float, ptr %24, align 4
%625 = fdiv float %623, %624
%626 = fpext float %625 to double
%627 = fadd double %626, 5.000000e-01
br label %638
628: ; preds = %608
%629 = load ptr, ptr %21, align 8
%630 = load i32, ptr %41, align 4
%631 = sext i32 %630 to i64
%632 = getelementptr inbounds float, ptr %629, i64 %631
%633 = load float, ptr %632, align 4
%634 = load float, ptr %24, align 4
%635 = fdiv float %633, %634
%636 = fpext float %635 to double
%637 = fsub double %636, 5.000000e-01
br label %638
638: ; preds = %628, %618
%639 = phi double [ %627, %618 ], [ %637, %628 ]
%640 = fptosi double %639 to i32
store i32 %640, ptr %46, align 4
%641 = load ptr, ptr %22, align 8
%642 = load i32, ptr %41, align 4
%643 = sext i32 %642 to i64
%644 = getelementptr inbounds float, ptr %641, i64 %643
%645 = load float, ptr %644, align 4
%646 = load float, ptr %25, align 4
%647 = fdiv float %645, %646
%648 = fpext float %647 to double
%649 = fcmp ogt double %648, 0.000000e+00
br i1 %649, label %650, label %660
650: ; preds = %638
%651 = load ptr, ptr %22, align 8
%652 = load i32, ptr %41, align 4
%653 = sext i32 %652 to i64
%654 = getelementptr inbounds float, ptr %651, i64 %653
%655 = load float, ptr %654, align 4
%656 = load float, ptr %25, align 4
%657 = fdiv float %655, %656
%658 = fpext float %657 to double
%659 = fadd double %658, 5.000000e-01
br label %670
660: ; preds = %638
%661 = load ptr, ptr %22, align 8
%662 = load i32, ptr %41, align 4
%663 = sext i32 %662 to i64
%664 = getelementptr inbounds float, ptr %661, i64 %663
%665 = load float, ptr %664, align 4
%666 = load float, ptr %25, align 4
%667 = fdiv float %665, %666
%668 = fpext float %667 to double
%669 = fsub double %668, 5.000000e-01
br label %670
670: ; preds = %660, %650
%671 = phi double [ %659, %650 ], [ %669, %660 ]
%672 = fptosi double %671 to i32
store i32 %672, ptr %47, align 4
%673 = load ptr, ptr %22, align 8
%674 = load i32, ptr %41, align 4
%675 = sext i32 %674 to i64
%676 = getelementptr inbounds float, ptr %673, i64 %675
%677 = load float, ptr %676, align 4
%678 = load ptr, ptr %32, align 8
%679 = load i32, ptr %46, align 4
%680 = sext i32 %679 to i64
%681 = getelementptr inbounds float, ptr %678, i64 %680
store float %677, ptr %681, align 4
%682 = load i32, ptr %47, align 4
%683 = load ptr, ptr %33, align 8
%684 = load i32, ptr %46, align 4
%685 = sext i32 %684 to i64
%686 = getelementptr inbounds i32, ptr %683, i64 %685
store i32 %682, ptr %686, align 4
%687 = load i32, ptr %46, align 4
%688 = load i32, ptr %44, align 4
%689 = sub nsw i32 %687, %688
%690 = icmp sgt i32 %689, 0
br i1 %690, label %691, label %695
691: ; preds = %670
%692 = load i32, ptr %46, align 4
%693 = load i32, ptr %44, align 4
%694 = sub nsw i32 %692, %693
br label %696
695: ; preds = %670
br label %696
696: ; preds = %695, %691
%697 = phi i32 [ %694, %691 ], [ 0, %695 ]
store i32 %697, ptr %42, align 4
br label %698
698: ; preds = %893, %696
%699 = load i32, ptr %42, align 4
%700 = load i32, ptr %46, align 4
%701 = load i32, ptr %44, align 4
%702 = add nsw i32 %700, %701
%703 = load i32, ptr %35, align 4
%704 = sub nsw i32 %703, 1
%705 = icmp slt i32 %702, %704
br i1 %705, label %706, label %710
706: ; preds = %698
%707 = load i32, ptr %46, align 4
%708 = load i32, ptr %44, align 4
%709 = add nsw i32 %707, %708
br label %713
710: ; preds = %698
%711 = load i32, ptr %35, align 4
%712 = sub nsw i32 %711, 1
br label %713
713: ; preds = %710, %706
%714 = phi i32 [ %709, %706 ], [ %712, %710 ]
%715 = icmp sle i32 %699, %714
br i1 %715, label %716, label %896
716: ; preds = %713
%717 = load i32, ptr %47, align 4
%718 = load i32, ptr %45, align 4
%719 = sub nsw i32 %717, %718
%720 = icmp sgt i32 %719, 0
br i1 %720, label %721, label %725
721: ; preds = %716
%722 = load i32, ptr %47, align 4
%723 = load i32, ptr %45, align 4
%724 = sub nsw i32 %722, %723
br label %726
725: ; preds = %716
br label %726
726: ; preds = %725, %721
%727 = phi i32 [ %724, %721 ], [ 0, %725 ]
store i32 %727, ptr %43, align 4
br label %728
728: ; preds = %889, %726
%729 = load i32, ptr %43, align 4
%730 = load i32, ptr %47, align 4
%731 = load i32, ptr %45, align 4
%732 = add nsw i32 %730, %731
%733 = load i32, ptr %34, align 4
%734 = sub nsw i32 %733, 1
%735 = icmp slt i32 %732, %734
br i1 %735, label %736, label %740
736: ; preds = %728
%737 = load i32, ptr %47, align 4
%738 = load i32, ptr %45, align 4
%739 = add nsw i32 %737, %738
br label %743
740: ; preds = %728
%741 = load i32, ptr %34, align 4
%742 = sub nsw i32 %741, 1
br label %743
743: ; preds = %740, %736
%744 = phi i32 [ %739, %736 ], [ %742, %740 ]
%745 = icmp sle i32 %729, %744
br i1 %745, label %746, label %892
746: ; preds = %743
%747 = load i32, ptr %42, align 4
%748 = load i32, ptr %46, align 4
%749 = sub nsw i32 %747, %748
%750 = sitofp i32 %749 to float
%751 = load float, ptr %24, align 4
%752 = fmul float %750, %751
%753 = load float, ptr %37, align 4
%754 = fdiv float %752, %753
store float %754, ptr %50, align 4
%755 = load i32, ptr %43, align 4
%756 = load i32, ptr %47, align 4
%757 = sub nsw i32 %755, %756
%758 = sitofp i32 %757 to float
%759 = load float, ptr %25, align 4
%760 = fmul float %758, %759
%761 = load float, ptr %36, align 4
%762 = fdiv float %760, %761
store float %762, ptr %49, align 4
%763 = load float, ptr %50, align 4
%764 = load float, ptr %50, align 4
%765 = load float, ptr %49, align 4
%766 = load float, ptr %49, align 4
%767 = fmul float %765, %766
%768 = call float @llvm.fmuladd.f32(float %763, float %764, float %767)
%769 = call float @sqrt(float noundef %768)
store float %769, ptr %48, align 4
%770 = load float, ptr %48, align 4
%771 = fpext float %770 to double
%772 = fcmp ole double %771, 1.000000e+00
br i1 %772, label %773, label %888
773: ; preds = %746
%774 = load ptr, ptr %29, align 8
%775 = getelementptr inbounds ptr, ptr %774, i64 2
%776 = load ptr, ptr %775, align 8
%777 = load i32, ptr %41, align 4
%778 = sext i32 %777 to i64
%779 = getelementptr inbounds float, ptr %776, i64 %778
%780 = load float, ptr %779, align 4
%781 = load ptr, ptr %26, align 8
%782 = load i32, ptr %42, align 4
%783 = sext i32 %782 to i64
%784 = getelementptr inbounds ptr, ptr %781, i64 %783
%785 = load ptr, ptr %784, align 8
%786 = load i32, ptr %43, align 4
%787 = sext i32 %786 to i64
%788 = getelementptr inbounds float, ptr %785, i64 %787
store float %780, ptr %788, align 4
%789 = load ptr, ptr %31, align 8
%790 = getelementptr inbounds ptr, ptr %789, i64 2
%791 = load ptr, ptr %790, align 8
%792 = load i32, ptr %41, align 4
%793 = sext i32 %792 to i64
%794 = getelementptr inbounds float, ptr %791, i64 %793
%795 = load float, ptr %794, align 4
%796 = load ptr, ptr %28, align 8
%797 = load i32, ptr %42, align 4
%798 = sext i32 %797 to i64
%799 = getelementptr inbounds ptr, ptr %796, i64 %798
%800 = load ptr, ptr %799, align 8
%801 = load i32, ptr %43, align 4
%802 = sext i32 %801 to i64
%803 = getelementptr inbounds float, ptr %800, i64 %802
store float %795, ptr %803, align 4
%804 = load ptr, ptr %30, align 8
%805 = getelementptr inbounds ptr, ptr %804, i64 2
%806 = load ptr, ptr %805, align 8
%807 = load i32, ptr %41, align 4
%808 = sext i32 %807 to i64
%809 = getelementptr inbounds float, ptr %806, i64 %808
%810 = load float, ptr %809, align 4
%811 = load ptr, ptr %27, align 8
%812 = load i32, ptr %42, align 4
%813 = sext i32 %812 to i64
%814 = getelementptr inbounds ptr, ptr %811, i64 %813
%815 = load ptr, ptr %814, align 8
%816 = load i32, ptr %43, align 4
%817 = sext i32 %816 to i64
%818 = getelementptr inbounds float, ptr %815, i64 %817
store float %810, ptr %818, align 4
%819 = load float, ptr %38, align 4
%820 = fcmp une float %819, 0.000000e+00
br i1 %820, label %821, label %841
821: ; preds = %773
%822 = call double (...) @drand48()
%823 = fsub double %822, 5.000000e-01
%824 = fptrunc double %823 to float
%825 = fpext float %824 to double
%826 = fmul double %825, 2.000000e+00
%827 = load float, ptr %38, align 4
%828 = fpext float %827 to double
%829 = load ptr, ptr %26, align 8
%830 = load i32, ptr %42, align 4
%831 = sext i32 %830 to i64
%832 = getelementptr inbounds ptr, ptr %829, i64 %831
%833 = load ptr, ptr %832, align 8
%834 = load i32, ptr %43, align 4
%835 = sext i32 %834 to i64
%836 = getelementptr inbounds float, ptr %833, i64 %835
%837 = load float, ptr %836, align 4
%838 = fpext float %837 to double
%839 = call double @llvm.fmuladd.f64(double %826, double %828, double %838)
%840 = fptrunc double %839 to float
store float %840, ptr %836, align 4
br label %841
841: ; preds = %821, %773
%842 = load float, ptr %39, align 4
%843 = fcmp une float %842, 0.000000e+00
br i1 %843, label %844, label %864
844: ; preds = %841
%845 = call double (...) @drand48()
%846 = fsub double %845, 5.000000e-01
%847 = fptrunc double %846 to float
%848 = fpext float %847 to double
%849 = fmul double %848, 2.000000e+00
%850 = load float, ptr %39, align 4
%851 = fpext float %850 to double
%852 = load ptr, ptr %27, align 8
%853 = load i32, ptr %42, align 4
%854 = sext i32 %853 to i64
%855 = getelementptr inbounds ptr, ptr %852, i64 %854
%856 = load ptr, ptr %855, align 8
%857 = load i32, ptr %43, align 4
%858 = sext i32 %857 to i64
%859 = getelementptr inbounds float, ptr %856, i64 %858
%860 = load float, ptr %859, align 4
%861 = fpext float %860 to double
%862 = call double @llvm.fmuladd.f64(double %849, double %851, double %861)
%863 = fptrunc double %862 to float
store float %863, ptr %859, align 4
br label %864
864: ; preds = %844, %841
%865 = load float, ptr %40, align 4
%866 = fcmp une float %865, 0.000000e+00
br i1 %866, label %867, label %887
867: ; preds = %864
%868 = call double (...) @drand48()
%869 = fsub double %868, 5.000000e-01
%870 = fptrunc double %869 to float
%871 = fpext float %870 to double
%872 = fmul double %871, 2.000000e+00
%873 = load float, ptr %40, align 4
%874 = fpext float %873 to double
%875 = load ptr, ptr %28, align 8
%876 = load i32, ptr %42, align 4
%877 = sext i32 %876 to i64
%878 = getelementptr inbounds ptr, ptr %875, i64 %877
%879 = load ptr, ptr %878, align 8
%880 = load i32, ptr %43, align 4
%881 = sext i32 %880 to i64
%882 = getelementptr inbounds float, ptr %879, i64 %881
%883 = load float, ptr %882, align 4
%884 = fpext float %883 to double
%885 = call double @llvm.fmuladd.f64(double %872, double %874, double %884)
%886 = fptrunc double %885 to float
store float %886, ptr %882, align 4
br label %887
887: ; preds = %867, %864
br label %888
888: ; preds = %887, %746
br label %889
889: ; preds = %888
%890 = load i32, ptr %43, align 4
%891 = add nsw i32 %890, 1
store i32 %891, ptr %43, align 4
br label %728, !llvm.loop !14
892: ; preds = %743
br label %893
893: ; preds = %892
%894 = load i32, ptr %42, align 4
%895 = add nsw i32 %894, 1
store i32 %895, ptr %42, align 4
br label %698, !llvm.loop !15
896: ; preds = %713
br label %897
897: ; preds = %896
%898 = load i32, ptr %41, align 4
%899 = add nsw i32 %898, 1
store i32 %899, ptr %41, align 4
%900 = load i32, ptr %41, align 4
%901 = load i32, ptr %23, align 4
%902 = icmp slt i32 %900, %901
br i1 %902, label %608, label %._crit_edge3, !llvm.loop !16
._crit_edge3: ; preds = %897
br label %903
903: ; preds = %._crit_edge3, %604
br label %904
904: ; preds = %903, %603
br label %905
905: ; preds = %904, %338
ret void
}
declare float @sqrt(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare double @drand48(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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}
|
; ModuleID = '/tmp/tmpqtyyecmn.c'
source_filename = "/tmp/tmpqtyyecmn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCD_Init() #0 {
%1 = call i32 (...) @LCD_Boot_Init()
%2 = call i32 (...) @LCD_Clear()
ret void
}
declare i32 @LCD_Boot_Init(...) #1
declare i32 @LCD_Clear(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqtyyecmn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCD_Init() #0 {
%1 = call i32 (...) @LCD_Boot_Init()
%2 = call i32 (...) @LCD_Clear()
ret void
}
declare i32 @LCD_Boot_Init(...) #1
declare i32 @LCD_Clear(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph4aow7x8.c'
source_filename = "/tmp/tmph4aow7x8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_monodromy(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [2 x i32], align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
store i32 %10, ptr %11, align 4
%12 = load i32, ptr %6, align 4
%13 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
store i32 %12, ptr %13, align 4
%14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%15 = load ptr, ptr %8, align 8
%16 = call i32 @_ada_use_c2phc(i32 noundef 50, ptr noundef %4, ptr noundef %14, ptr noundef %15)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
ret i32 %17
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph4aow7x8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initialize_monodromy(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [2 x i32], align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
store i32 %10, ptr %11, align 4
%12 = load i32, ptr %6, align 4
%13 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
store i32 %12, ptr %13, align 4
%14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%15 = load ptr, ptr %8, align 8
%16 = call i32 @_ada_use_c2phc(i32 noundef 50, ptr noundef %4, ptr noundef %14, ptr noundef %15)
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %7, align 4
ret i32 %17
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppau34s72.c'
source_filename = "/tmp/tmppau34s72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppau34s72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz7k6xaqh.c'
source_filename = "/tmp/tmpz7k6xaqh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"Error: incorrect number of lines in %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ancestrymap2geno(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @nb_ind_ancestrymap(ptr noundef %12)
%14 = load ptr, ptr %7, align 8
store i32 %13, ptr %14, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @nb_lines(ptr noundef %15, i32 noundef 1000)
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = sitofp i32 %17 to double
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %19, align 4
%21 = sitofp i32 %20 to double
%22 = fdiv double %18, %21
store double %22, ptr %11, align 8
%23 = load double, ptr %11, align 8
%24 = load double, ptr %11, align 8
%25 = call double @llvm.floor.f64(double %24)
%26 = fcmp une double %23, %25
br i1 %26, label %27, label %31
27: ; preds = %4
%28 = load ptr, ptr %5, align 8
%29 = call i32 @printf(ptr noundef @.str, ptr noundef %28)
%30 = call i32 @exit(i32 noundef 1) #4
unreachable
31: ; preds = %4
%32 = load double, ptr %11, align 8
%33 = fptosi double %32 to i32
%34 = load ptr, ptr %8, align 8
store i32 %33, ptr %34, align 4
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %37, align 4
%39 = mul nsw i32 %36, %38
%40 = sext i32 %39 to i64
%41 = mul i64 %40, 4
%42 = trunc i64 %41 to i32
%43 = call i64 @malloc(i32 noundef %42)
%44 = inttoptr i64 %43 to ptr
store ptr %44, ptr %9, align 8
%45 = load ptr, ptr %5, align 8
%46 = load ptr, ptr %7, align 8
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %48, align 4
%50 = load ptr, ptr %9, align 8
%51 = call i32 @read_ancestrymap(ptr noundef %45, i32 noundef %47, i32 noundef %49, ptr noundef %50)
%52 = load ptr, ptr %6, align 8
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %53, align 4
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %55, align 4
%57 = load ptr, ptr %9, align 8
%58 = call i32 @write_geno(ptr noundef %52, i32 noundef %54, i32 noundef %56, ptr noundef %57)
%59 = load ptr, ptr %9, align 8
%60 = call i32 @free(ptr noundef %59)
ret void
}
declare i32 @nb_ind_ancestrymap(ptr noundef) #1
declare i32 @nb_lines(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #2
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i64 @malloc(i32 noundef) #1
declare i32 @read_ancestrymap(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @write_geno(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz7k6xaqh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"Error: incorrect number of lines in %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ancestrymap2geno(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @nb_ind_ancestrymap(ptr noundef %12)
%14 = load ptr, ptr %7, align 8
store i32 %13, ptr %14, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @nb_lines(ptr noundef %15, i32 noundef 1000)
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %10, align 4
%18 = sitofp i32 %17 to double
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %19, align 4
%21 = sitofp i32 %20 to double
%22 = fdiv double %18, %21
store double %22, ptr %11, align 8
%23 = load double, ptr %11, align 8
%24 = load double, ptr %11, align 8
%25 = call double @llvm.floor.f64(double %24)
%26 = fcmp une double %23, %25
br i1 %26, label %27, label %31
27: ; preds = %4
%28 = load ptr, ptr %5, align 8
%29 = call i32 @printf(ptr noundef @.str, ptr noundef %28)
%30 = call i32 @exit(i32 noundef 1) #4
unreachable
31: ; preds = %4
%32 = load double, ptr %11, align 8
%33 = fptosi double %32 to i32
%34 = load ptr, ptr %8, align 8
store i32 %33, ptr %34, align 4
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %37, align 4
%39 = mul nsw i32 %36, %38
%40 = sext i32 %39 to i64
%41 = mul i64 %40, 4
%42 = trunc i64 %41 to i32
%43 = call i64 @malloc(i32 noundef %42)
%44 = inttoptr i64 %43 to ptr
store ptr %44, ptr %9, align 8
%45 = load ptr, ptr %5, align 8
%46 = load ptr, ptr %7, align 8
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %48, align 4
%50 = load ptr, ptr %9, align 8
%51 = call i32 @read_ancestrymap(ptr noundef %45, i32 noundef %47, i32 noundef %49, ptr noundef %50)
%52 = load ptr, ptr %6, align 8
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %53, align 4
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %55, align 4
%57 = load ptr, ptr %9, align 8
%58 = call i32 @write_geno(ptr noundef %52, i32 noundef %54, i32 noundef %56, ptr noundef %57)
%59 = load ptr, ptr %9, align 8
%60 = call i32 @free(ptr noundef %59)
ret void
}
declare i32 @nb_ind_ancestrymap(ptr noundef) #1
declare i32 @nb_lines(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #2
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i64 @malloc(i32 noundef) #1
declare i32 @read_ancestrymap(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @write_geno(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpimrzeapi.c'
source_filename = "/tmp/tmpimrzeapi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fftrxb(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp sgt i32 %12, %13
br i1 %14, label %15, label %27
15: ; preds = %4
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds float, ptr %16, i64 %18
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %7, align 4
%22 = sub nsw i32 %20, %21
%23 = sext i32 %22 to i64
%24 = mul i64 4, %23
%25 = trunc i64 %24 to i32
%26 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef %25)
br label %27
27: ; preds = %15, %4
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = mul i64 4, %30
%32 = mul i64 %31, 2
%33 = trunc i64 %32 to i32
%34 = call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %33)
%35 = load i32, ptr %8, align 4
%36 = mul nsw i32 2, %35
store i32 %36, ptr %10, align 4
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %8, align 4
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds float, ptr %37, i64 %40
%42 = load float, ptr %41, align 4
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds float, ptr %43, i64 %45
store float %42, ptr %46, align 4
store i32 1, ptr %9, align 4
br label %47
47: ; preds = %63, %27
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %8, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %66
51: ; preds = %47
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %9, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds float, ptr %52, i64 %54
%56 = load float, ptr %55, align 4
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr %9, align 4
%60 = sub nsw i32 %58, %59
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds float, ptr %57, i64 %61
store float %56, ptr %62, align 4
br label %63
63: ; preds = %51
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %9, align 4
br label %47, !llvm.loop !6
66: ; preds = %47
%67 = load i32, ptr %8, align 4
%68 = mul nsw i32 %67, 2
%69 = load ptr, ptr %5, align 8
%70 = load ptr, ptr %6, align 8
%71 = call i32 @fft(double noundef -1.000000e+00, i32 noundef %68, ptr noundef %69, ptr noundef %70)
%72 = load i32, ptr %8, align 4
%73 = sitofp i32 %72 to double
%74 = fdiv double 1.000000e+00, %73
%75 = fptrunc double %74 to float
store float %75, ptr %11, align 4
store i32 0, ptr %9, align 4
br label %76
76: ; preds = %95, %66
%77 = load i32, ptr %9, align 4
%78 = load i32, ptr %7, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %98
80: ; preds = %76
%81 = load float, ptr %11, align 4
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr %9, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds float, ptr %82, i64 %84
%86 = load float, ptr %85, align 4
%87 = fmul float %86, %81
store float %87, ptr %85, align 4
%88 = load float, ptr %11, align 4
%89 = load ptr, ptr %6, align 8
%90 = load i32, ptr %9, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds float, ptr %89, i64 %91
%93 = load float, ptr %92, align 4
%94 = fmul float %93, %88
store float %94, ptr %92, align 4
br label %95
95: ; preds = %80
%96 = load i32, ptr %9, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %9, align 4
br label %76, !llvm.loop !8
98: ; preds = %76
%99 = load i32, ptr %8, align 4
ret i32 %99
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fft(double noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpimrzeapi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fftrxb(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp sgt i32 %12, %13
br i1 %14, label %15, label %27
15: ; preds = %4
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds float, ptr %16, i64 %18
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %7, align 4
%22 = sub nsw i32 %20, %21
%23 = sext i32 %22 to i64
%24 = mul i64 4, %23
%25 = trunc i64 %24 to i32
%26 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef %25)
br label %27
27: ; preds = %15, %4
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = mul i64 4, %30
%32 = mul i64 %31, 2
%33 = trunc i64 %32 to i32
%34 = call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %33)
%35 = load i32, ptr %8, align 4
%36 = mul nsw i32 2, %35
store i32 %36, ptr %10, align 4
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %8, align 4
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds float, ptr %37, i64 %40
%42 = load float, ptr %41, align 4
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds float, ptr %43, i64 %45
store float %42, ptr %46, align 4
store i32 1, ptr %9, align 4
%47 = load i32, ptr %9, align 4
%48 = load i32, ptr %8, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %.lr.ph, label %68
.lr.ph: ; preds = %27
br label %50
50: ; preds = %.lr.ph, %62
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %9, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, ptr %51, i64 %53
%55 = load float, ptr %54, align 4
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %10, align 4
%58 = load i32, ptr %9, align 4
%59 = sub nsw i32 %57, %58
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds float, ptr %56, i64 %60
store float %55, ptr %61, align 4
br label %62
62: ; preds = %50
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
%65 = load i32, ptr %9, align 4
%66 = load i32, ptr %8, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %50, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %27
%69 = load i32, ptr %8, align 4
%70 = mul nsw i32 %69, 2
%71 = load ptr, ptr %5, align 8
%72 = load ptr, ptr %6, align 8
%73 = call i32 @fft(double noundef -1.000000e+00, i32 noundef %70, ptr noundef %71, ptr noundef %72)
%74 = load i32, ptr %8, align 4
%75 = sitofp i32 %74 to double
%76 = fdiv double 1.000000e+00, %75
%77 = fptrunc double %76 to float
store float %77, ptr %11, align 4
store i32 0, ptr %9, align 4
%78 = load i32, ptr %9, align 4
%79 = load i32, ptr %7, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %.lr.ph2, label %102
.lr.ph2: ; preds = %68
br label %81
81: ; preds = %.lr.ph2, %96
%82 = load float, ptr %11, align 4
%83 = load ptr, ptr %5, align 8
%84 = load i32, ptr %9, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds float, ptr %83, i64 %85
%87 = load float, ptr %86, align 4
%88 = fmul float %87, %82
store float %88, ptr %86, align 4
%89 = load float, ptr %11, align 4
%90 = load ptr, ptr %6, align 8
%91 = load i32, ptr %9, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds float, ptr %90, i64 %92
%94 = load float, ptr %93, align 4
%95 = fmul float %94, %89
store float %95, ptr %93, align 4
br label %96
96: ; preds = %81
%97 = load i32, ptr %9, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %9, align 4
%99 = load i32, ptr %9, align 4
%100 = load i32, ptr %7, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %81, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %96
br label %102
102: ; preds = %._crit_edge3, %68
%103 = load i32, ptr %8, align 4
ret i32 %103
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fft(double noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnagcuxgn.c'
source_filename = "/tmp/tmpnagcuxgn.c"
target datalayout = "e-m:e-p270: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/tmpnagcuxgn.c"
target datalayout = "e-m:e-p270: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/tmpnz7735fz.c'
source_filename = "/tmp/tmpnz7735fz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPPROTO_IP = dso_local global i32 0, align 4
@IP_TTL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sock_set_ttl(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr @IPPROTO_IP, align 4
%9 = load i32, ptr @IP_TTL, align 4
%10 = call i32 @setsockopt(i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %6, i32 noundef 4)
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %15
13: ; preds = %2
%14 = load i32, ptr %6, align 4
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %13, %12
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @setsockopt(i32 noundef, i32 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/tmpnz7735fz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPPROTO_IP = dso_local global i32 0, align 4
@IP_TTL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sock_set_ttl(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr @IPPROTO_IP, align 4
%9 = load i32, ptr @IP_TTL, align 4
%10 = call i32 @setsockopt(i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %6, i32 noundef 4)
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %15
13: ; preds = %2
%14 = load i32, ptr %6, align 4
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %13, %12
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @setsockopt(i32 noundef, i32 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/tmp1v4oxpln.c'
source_filename = "/tmp/tmp1v4oxpln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M107_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M107_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1v4oxpln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"M107_f(const char *s) is not yet implemented!\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @M107_f(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @debug(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @debug(ptr noundef @.str.1, ptr noundef %4)
ret i32 1
}
declare i32 @debug(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpudx3xmvu.c'
source_filename = "/tmp/tmpudx3xmvu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IO_Read_Str(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %15
9: ; preds = %3
%10 = load i32, ptr %5, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
br label %15
15: ; preds = %12, %9, %3
%16 = phi i1 [ false, %9 ], [ false, %3 ], [ %14, %12 ]
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fread(ptr noundef %19, i32 noundef 1, i32 noundef %20, ptr noundef %21)
%23 = load i32, ptr %5, align 4
%24 = icmp eq i32 %22, %23
%25 = zext i1 %24 to i32
ret i32 %25
}
declare i32 @assert(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudx3xmvu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IO_Read_Str(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %15
9: ; preds = %3
%10 = load i32, ptr %5, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
br label %15
15: ; preds = %12, %9, %3
%16 = phi i1 [ false, %9 ], [ false, %3 ], [ %14, %12 ]
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fread(ptr noundef %19, i32 noundef 1, i32 noundef %20, ptr noundef %21)
%23 = load i32, ptr %5, align 4
%24 = icmp eq i32 %22, %23
%25 = zext i1 %24 to i32
ret i32 %25
}
declare i32 @assert(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3khbhm_a.c'
source_filename = "/tmp/tmp3khbhm_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clear\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clear() #0 {
%1 = alloca i32, align 4
%2 = call i32 @system(ptr noundef @.str)
store i32 %2, ptr %1, align 4
ret void
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3khbhm_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"clear\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clear() #0 {
%1 = alloca i32, align 4
%2 = call i32 @system(ptr noundef @.str)
store i32 %2, ptr %1, align 4
ret void
}
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj_u3822z.c'
source_filename = "/tmp/tmpj_u3822z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitstream_writer_write_repeated_bit(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 i32, ptr %5, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %3
store i32 255, ptr %5, align 4
br label %11
11: ; preds = %10, %3
%12 = load i32, ptr %6, align 4
%13 = srem i32 %12, 8
store i32 %13, ptr %7, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %7, align 4
%17 = shl i32 1, %16
%18 = sub nsw i32 %17, 1
%19 = and i32 %15, %18
%20 = load i32, ptr %7, align 4
%21 = call i32 @bitstream_writer_write_u64_bits(ptr noundef %14, i32 noundef %19, i32 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %6, align 4
%25 = sdiv i32 %24, 8
%26 = call i32 @bitstream_writer_write_repeated_u8(ptr noundef %22, i32 noundef %23, i32 noundef %25)
ret void
}
declare i32 @bitstream_writer_write_u64_bits(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @bitstream_writer_write_repeated_u8(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/tmpj_u3822z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitstream_writer_write_repeated_bit(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 i32, ptr %5, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %3
store i32 255, ptr %5, align 4
br label %11
11: ; preds = %10, %3
%12 = load i32, ptr %6, align 4
%13 = srem i32 %12, 8
store i32 %13, ptr %7, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %7, align 4
%17 = shl i32 1, %16
%18 = sub nsw i32 %17, 1
%19 = and i32 %15, %18
%20 = load i32, ptr %7, align 4
%21 = call i32 @bitstream_writer_write_u64_bits(ptr noundef %14, i32 noundef %19, i32 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %6, align 4
%25 = sdiv i32 %24, 8
%26 = call i32 @bitstream_writer_write_repeated_u8(ptr noundef %22, i32 noundef %23, i32 noundef %25)
ret void
}
declare i32 @bitstream_writer_write_u64_bits(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @bitstream_writer_write_repeated_u8(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/tmpsz4lrt62.c'
source_filename = "/tmp/tmpsz4lrt62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @n_printf(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef %3)
%5 = 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/tmpsz4lrt62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @n_printf(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef %3)
%5 = 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/tmpsaopppt6.c'
source_filename = "/tmp/tmpsaopppt6.c"
target datalayout = "e-m:e-p270: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/tmpsaopppt6.c"
target datalayout = "e-m:e-p270: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/tmph9wm4zf4.c'
source_filename = "/tmp/tmph9wm4zf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initArr(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = call i64 @time(ptr noundef null)
%12 = trunc i64 %11 to i32
%13 = call i32 @srand(i32 noundef %12)
store i32 0, ptr %9, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %6, align 4
%16 = sub nsw i32 %14, %15
store i32 %16, ptr %10, align 4
br label %17
17: ; preds = %31, %4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %34
21: ; preds = %17
%22 = call i32 (...) @rand()
%23 = load i32, ptr %10, align 4
%24 = srem i32 %22, %23
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %24, %25
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 %26, ptr %30, align 4
br label %31
31: ; preds = %21
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
br label %17, !llvm.loop !6
34: ; preds = %17
ret void
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph9wm4zf4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initArr(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = call i64 @time(ptr noundef null)
%12 = trunc i64 %11 to i32
%13 = call i32 @srand(i32 noundef %12)
store i32 0, ptr %9, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %6, align 4
%16 = sub nsw i32 %14, %15
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %36
.lr.ph: ; preds = %4
br label %20
20: ; preds = %.lr.ph, %30
%21 = call i32 (...) @rand()
%22 = load i32, ptr %10, align 4
%23 = srem i32 %21, %22
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %23, %24
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
store i32 %25, ptr %29, align 4
br label %30
30: ; preds = %20
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %9, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %8, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %4
ret void
}
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpi10o_vxm.c'
source_filename = "/tmp/tmpi10o_vxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"File name missing.\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Too many arguments.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %19
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @ft_putstr(ptr noundef @.str)
br label %13
13: ; preds = %11, %8
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 2
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @ft_putstr(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %13
store i32 1, ptr %3, align 4
br label %27
19: ; preds = %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 i32 @ft_display_file(ptr noundef %22)
%24 = icmp eq i32 %23, 1
br i1 %24, label %25, label %26
25: ; preds = %19
store i32 1, ptr %3, align 4
br label %27
26: ; preds = %19
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %26, %25, %18
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @ft_display_file(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi10o_vxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"File name missing.\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"Too many arguments.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %19
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @ft_putstr(ptr noundef @.str)
br label %13
13: ; preds = %11, %8
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 2
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 @ft_putstr(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %13
store i32 1, ptr %3, align 4
br label %27
19: ; preds = %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 i32 @ft_display_file(ptr noundef %22)
%24 = icmp eq i32 %23, 1
br i1 %24, label %25, label %26
25: ; preds = %19
store i32 1, ptr %3, align 4
br label %27
26: ; preds = %19
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %26, %25, %18
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @ft_display_file(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr4ks4e8z.c'
source_filename = "/tmp/tmpr4ks4e8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mjson_get_hex(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %8, align 4
%18 = load ptr, ptr %9, align 8
%19 = call i32 @mjson_find(ptr noundef %16, i32 noundef %17, ptr noundef %18, ptr noundef %12, ptr noundef %15)
%20 = icmp ne i32 %19, 11
br i1 %20, label %21, label %22
21: ; preds = %5
store i32 -1, ptr %6, align 4
br label %61
22: ; preds = %5
store i32 0, ptr %14, align 4
store i32 0, ptr %13, align 4
br label %23
23: ; preds = %45, %22
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %15, align 4
%26 = sub nsw i32 %25, 3
%27 = icmp slt i32 %24, %26
br i1 %27, label %28, label %32
28: ; preds = %23
%29 = load i32, ptr %14, align 4
%30 = load i32, ptr %11, align 4
%31 = icmp slt i32 %29, %30
br label %32
32: ; preds = %28, %23
%33 = phi i1 [ false, %23 ], [ %31, %28 ]
br i1 %33, label %34, label %50
34: ; preds = %32
%35 = load ptr, ptr %12, align 8
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = getelementptr inbounds i8, ptr %38, i64 1
%40 = call zeroext i8 @mjson_unhex_nimble(ptr noundef %39)
%41 = load ptr, ptr %10, align 8
%42 = load i32, ptr %14, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
store i8 %40, ptr %44, align 1
br label %45
45: ; preds = %34
%46 = load i32, ptr %13, align 4
%47 = add nsw i32 %46, 2
store i32 %47, ptr %13, align 4
%48 = load i32, ptr %14, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %14, align 4
br label %23, !llvm.loop !6
50: ; preds = %32
%51 = load i32, ptr %14, align 4
%52 = load i32, ptr %11, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %59
54: ; preds = %50
%55 = load ptr, ptr %10, align 8
%56 = load i32, ptr %14, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
store i8 0, ptr %58, align 1
br label %59
59: ; preds = %54, %50
%60 = load i32, ptr %14, align 4
store i32 %60, ptr %6, align 4
br label %61
61: ; preds = %59, %21
%62 = load i32, ptr %6, align 4
ret i32 %62
}
declare i32 @mjson_find(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare zeroext i8 @mjson_unhex_nimble(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpr4ks4e8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mjson_get_hex(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %8, align 4
%18 = load ptr, ptr %9, align 8
%19 = call i32 @mjson_find(ptr noundef %16, i32 noundef %17, ptr noundef %18, ptr noundef %12, ptr noundef %15)
%20 = icmp ne i32 %19, 11
br i1 %20, label %21, label %22
21: ; preds = %5
store i32 -1, ptr %6, align 4
br label %61
22: ; preds = %5
store i32 0, ptr %14, align 4
store i32 0, ptr %13, align 4
br label %23
23: ; preds = %45, %22
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %15, align 4
%26 = sub nsw i32 %25, 3
%27 = icmp slt i32 %24, %26
br i1 %27, label %28, label %32
28: ; preds = %23
%29 = load i32, ptr %14, align 4
%30 = load i32, ptr %11, align 4
%31 = icmp slt i32 %29, %30
br label %32
32: ; preds = %28, %23
%33 = phi i1 [ false, %23 ], [ %31, %28 ]
br i1 %33, label %34, label %50
34: ; preds = %32
%35 = load ptr, ptr %12, align 8
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = getelementptr inbounds i8, ptr %38, i64 1
%40 = call zeroext i8 @mjson_unhex_nimble(ptr noundef %39)
%41 = load ptr, ptr %10, align 8
%42 = load i32, ptr %14, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
store i8 %40, ptr %44, align 1
br label %45
45: ; preds = %34
%46 = load i32, ptr %13, align 4
%47 = add nsw i32 %46, 2
store i32 %47, ptr %13, align 4
%48 = load i32, ptr %14, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %14, align 4
br label %23, !llvm.loop !6
50: ; preds = %32
%51 = load i32, ptr %14, align 4
%52 = load i32, ptr %11, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %59
54: ; preds = %50
%55 = load ptr, ptr %10, align 8
%56 = load i32, ptr %14, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
store i8 0, ptr %58, align 1
br label %59
59: ; preds = %54, %50
%60 = load i32, ptr %14, align 4
store i32 %60, ptr %6, align 4
br label %61
61: ; preds = %59, %21
%62 = load i32, ptr %6, align 4
ret i32 %62
}
declare i32 @mjson_find(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare zeroext i8 @mjson_unhex_nimble(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp8s3xc5vd.c'
source_filename = "/tmp/tmp8s3xc5vd.c"
target datalayout = "e-m:e-p270: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/tmp8s3xc5vd.c"
target datalayout = "e-m:e-p270: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/tmpm7j0xjnx.c'
source_filename = "/tmp/tmpm7j0xjnx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @use_s1()
ret i32 0
}
declare i32 @use_s1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm7j0xjnx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @use_s1()
ret i32 0
}
declare i32 @use_s1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu57wh0e5.c'
source_filename = "/tmp/tmpu57wh0e5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @test(i32 noundef 0)
%3 = call i32 @test(i32 noundef 1)
%4 = call i32 @test(i32 noundef 20)
%5 = call i32 @test(i32 noundef 300)
%6 = call i32 @test(i32 noundef 4000)
%7 = call i32 @test(i32 noundef 5555)
%8 = call i32 @test(i32 noundef 6789)
%9 = call i32 @test(i32 noundef 9999)
ret i32 0
}
declare i32 @test(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/tmpu57wh0e5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @test(i32 noundef 0)
%3 = call i32 @test(i32 noundef 1)
%4 = call i32 @test(i32 noundef 20)
%5 = call i32 @test(i32 noundef 300)
%6 = call i32 @test(i32 noundef 4000)
%7 = call i32 @test(i32 noundef 5555)
%8 = call i32 @test(i32 noundef 6789)
%9 = call i32 @test(i32 noundef 9999)
ret i32 0
}
declare i32 @test(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/tmpyj588ybz.c'
source_filename = "/tmp/tmpyj588ybz.c"
target datalayout = "e-m:e-p270: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/tmpyj588ybz.c"
target datalayout = "e-m:e-p270: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/tmpx4a6qd92.c'
source_filename = "/tmp/tmpx4a6qd92.c"
target datalayout = "e-m:e-p270: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/tmpx4a6qd92.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.